Author: sip Date: 2006-07-17 13:04:45 +0200 (Mon, 17 Jul 2006) New Revision: 1622 Added: crux-2.2/ports/opt/pkg-get/pkg-get.patch Modified: crux-2.2/ports/opt/pkg-get/.md5sum crux-2.2/ports/opt/pkg-get/Pkgfile Log: pkg-get: added small fixup for warnings Modified: crux-2.2/ports/opt/pkg-get/.md5sum =================================================================== --- crux-2.2/ports/opt/pkg-get/.md5sum 2006-07-16 18:49:43 UTC (rev 1621) +++ crux-2.2/ports/opt/pkg-get/.md5sum 2006-07-17 11:04:45 UTC (rev 1622) @@ -1 +1,2 @@ 5ee169f2f99fc501387219b6b96ca9ef pkg-get-0.4.5.tar.gz +c3fb4f7ca868903da78d316be77cca16 pkg-get.patch Modified: crux-2.2/ports/opt/pkg-get/Pkgfile =================================================================== --- crux-2.2/ports/opt/pkg-get/Pkgfile 2006-07-16 18:49:43 UTC (rev 1621) +++ crux-2.2/ports/opt/pkg-get/Pkgfile 2006-07-17 11:04:45 UTC (rev 1622) @@ -6,10 +6,12 @@ name=pkg-get version=0.4.5 -release=1 -source=(http://www.varlock.com/files/$name-$version.tar.gz) +release=2 +source=(http://www.varlock.com/files/$name-$version.tar.gz \ + $name.patch) build() { cd $name-$version + patch -p1 < ../$name.patch make PREFIX=$PKG/usr CFGDIR=$PKG/etc install } Added: crux-2.2/ports/opt/pkg-get/pkg-get.patch =================================================================== --- crux-2.2/ports/opt/pkg-get/pkg-get.patch (rev 0) +++ crux-2.2/ports/opt/pkg-get/pkg-get.patch 2006-07-17 11:04:45 UTC (rev 1622) @@ -0,0 +1,12 @@ +diff -Nru pkg-get-0.4.5.orig/scripts/pkg-get.pl pkg-get-0.4.5/scripts/pkg-get.pl +--- pkg-get-0.4.5.orig/scripts/pkg-get.pl 2006-07-13 05:04:11.000000000 +0200 ++++ pkg-get-0.4.5/scripts/pkg-get.pl 2006-07-17 13:01:37.524719500 +0200 +@@ -943,7 +943,7 @@ + printf("%-19s %-19s %-19s\n\n","Package","Installed","Available in the repositories"); + $gotdiff = 1; + } +- printf("%-19s %-19s %-19s %-19s\n", $pkg{'name'}, $pkg{'instversion'}, $pkg{'version'}."-".$pkg{'release'}); ++ printf("%-19s %-19s %-19s\n", $pkg{'name'}, $pkg{'instversion'}, $pkg{'version'}."-".$pkg{'release'}); + } elsif ($all) { # yeah, it blows, at least avoid to read the locked state twice. + if ($gotdiff == 0){ + print "Differences between installed packages and packages repo:\n\n";