Author: jheino Date: 2006-05-01 03:20:22 +0200 (Mon, 01 May 2006) New Revision: 1331 Added: crux-2.2/ports/opt/ketchup/ketchup.patch Modified: crux-2.2/ports/opt/ketchup/.md5sum crux-2.2/ports/opt/ketchup/Pkgfile Log: ketchup: fixed braindead untested safety check Modified: crux-2.2/ports/opt/ketchup/.md5sum =================================================================== --- crux-2.2/ports/opt/ketchup/.md5sum 2006-04-30 20:09:24 UTC (rev 1330) +++ crux-2.2/ports/opt/ketchup/.md5sum 2006-05-01 01:20:22 UTC (rev 1331) @@ -1 +1,2 @@ 6fbc5e50eea7e93e982aba036ae9b3ad ketchup-0.9.7.tar.bz2 +585b99a08fdb1d695add96749473761b ketchup.patch Modified: crux-2.2/ports/opt/ketchup/Pkgfile =================================================================== --- crux-2.2/ports/opt/ketchup/Pkgfile 2006-04-30 20:09:24 UTC (rev 1330) +++ crux-2.2/ports/opt/ketchup/Pkgfile 2006-05-01 01:20:22 UTC (rev 1331) @@ -6,10 +6,12 @@ name=ketchup version=0.9.7 -release=1 -source=(http://www.selenic.com/$name/$name-$version.tar.bz2) +release=2 +source=(http://www.selenic.com/$name/$name-$version.tar.bz2 \ + $name.patch) build() { + patch < $SRC/$name.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.patch =================================================================== --- crux-2.2/ports/opt/ketchup/ketchup.patch (rev 0) +++ crux-2.2/ports/opt/ketchup/ketchup.patch 2006-05-01 01:20:22 UTC (rev 1331) @@ -0,0 +1,12 @@ +diff -Nru ketchup-orig/ketchup ketchup/ketchup +--- ketchup-orig/ketchup 2006-04-24 19:35:28.000000000 +0300 ++++ ketchup/ketchup 2006-05-01 04:18:20.000000000 +0300 +@@ -728,7 +728,7 @@ + except: + a = None + +-if os.listdir("."): ++if not a and os.listdir("."): + error("Can't find kernel version for non-empty directory") + sys.exit(-1) +