r1126 - crux-2.1/ports/opt/ketchup crux-2.2/ports/opt/ketchup
Author: jheino Date: 2006-04-04 05:41:50 +0200 (Tue, 04 Apr 2006) New Revision: 1126 Added: crux-2.1/ports/opt/ketchup/ketchup-list.patch crux-2.2/ports/opt/ketchup/ketchup-list.patch Modified: crux-2.1/ports/opt/ketchup/.md5sum crux-2.1/ports/opt/ketchup/Pkgfile crux-2.2/ports/opt/ketchup/.md5sum crux-2.2/ports/opt/ketchup/Pkgfile Log: ketchup: fixed problem listing supported kernel trees Modified: crux-2.1/ports/opt/ketchup/.md5sum =================================================================== --- crux-2.1/ports/opt/ketchup/.md5sum 2006-04-03 21:02:33 UTC (rev 1125) +++ crux-2.1/ports/opt/ketchup/.md5sum 2006-04-04 03:41:50 UTC (rev 1126) @@ -1 +1,2 @@ 1653d39ea2ba534543dd87b133502e24 ketchup-0.9.6.tar.bz2 +d086689be24172c9d9110cdf9f75dcc3 ketchup-list.patch Modified: crux-2.1/ports/opt/ketchup/Pkgfile =================================================================== --- crux-2.1/ports/opt/ketchup/Pkgfile 2006-04-03 21:02:33 UTC (rev 1125) +++ crux-2.1/ports/opt/ketchup/Pkgfile 2006-04-04 03:41:50 UTC (rev 1126) @@ -6,10 +6,12 @@ name=ketchup version=0.9.6 -release=1 -source=(http://www.selenic.com/$name/$name-$version.tar.bz2) +release=2 +source=(http://www.selenic.com/$name/$name-$version.tar.bz2 \ + ketchup-list.patch) build() { + patch -p1 < $SRC/ketchup-list.patch install -D -m 0755 $name $PKG/usr/bin/$name install -D -m 0644 $name.1 $PKG/usr/man/man1/$name.1 } Added: crux-2.1/ports/opt/ketchup/ketchup-list.patch =================================================================== --- crux-2.1/ports/opt/ketchup/ketchup-list.patch (rev 0) +++ crux-2.1/ports/opt/ketchup/ketchup-list.patch 2006-04-04 03:41:50 UTC (rev 1126) @@ -0,0 +1,13 @@ +--- a/ketchup Sun Mar 5 11:06:59 2006 -0600 ++++ b/ketchup Sun Mar 5 11:10:11 2006 -0600 +@@ -687,7 +687,10 @@ if options["list-trees"]: + l = version_info.keys() + l.sort() + for tree in l: +- lprint(tree, ["(unsigned)","(signed)"][version_info[tree][3]]) ++ if version_info[tree][3] == 0: ++ lprint(tree, "(unsigned)") ++ else: ++ lprint(tree, "(signed)") + lprint(" " + version_info[tree][4]) + sys.exit(0) Modified: crux-2.2/ports/opt/ketchup/.md5sum =================================================================== --- crux-2.2/ports/opt/ketchup/.md5sum 2006-04-03 21:02:33 UTC (rev 1125) +++ crux-2.2/ports/opt/ketchup/.md5sum 2006-04-04 03:41:50 UTC (rev 1126) @@ -1 +1,2 @@ 1653d39ea2ba534543dd87b133502e24 ketchup-0.9.6.tar.bz2 +d086689be24172c9d9110cdf9f75dcc3 ketchup-list.patch Modified: crux-2.2/ports/opt/ketchup/Pkgfile =================================================================== --- crux-2.2/ports/opt/ketchup/Pkgfile 2006-04-03 21:02:33 UTC (rev 1125) +++ crux-2.2/ports/opt/ketchup/Pkgfile 2006-04-04 03:41:50 UTC (rev 1126) @@ -6,10 +6,12 @@ name=ketchup version=0.9.6 -release=1 -source=(http://www.selenic.com/$name/$name-$version.tar.bz2) +release=2 +source=(http://www.selenic.com/$name/$name-$version.tar.bz2 \ + ketchup-list.patch) build() { + patch -p1 < $SRC/ketchup-list.patch install -D -m 0755 $name $PKG/usr/bin/$name install -D -m 0644 $name.1 $PKG/usr/man/man1/$name.1 } Added: crux-2.2/ports/opt/ketchup/ketchup-list.patch =================================================================== --- crux-2.2/ports/opt/ketchup/ketchup-list.patch (rev 0) +++ crux-2.2/ports/opt/ketchup/ketchup-list.patch 2006-04-04 03:41:50 UTC (rev 1126) @@ -0,0 +1,13 @@ +--- a/ketchup Sun Mar 5 11:06:59 2006 -0600 ++++ b/ketchup Sun Mar 5 11:10:11 2006 -0600 +@@ -687,7 +687,10 @@ if options["list-trees"]: + l = version_info.keys() + l.sort() + for tree in l: +- lprint(tree, ["(unsigned)","(signed)"][version_info[tree][3]]) ++ if version_info[tree][3] == 0: ++ lprint(tree, "(unsigned)") ++ else: ++ lprint(tree, "(signed)") + lprint(" " + version_info[tree][4]) + sys.exit(0)
participants (1)
-
crux@crux.nu