diff options
author | sem <sem@FreeBSD.org> | 2007-03-01 17:09:01 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2007-03-01 17:09:01 +0800 |
commit | 03a9b0d77834a3b7b8e4094ba6e7a173cb178c32 (patch) | |
tree | d2edc64bf759389b469da7fd742b59124884782d /ports-mgmt | |
parent | 9ee6d31ae2140744888423eeb8f3a45e61f49876 (diff) | |
download | freebsd-ports-gnome-03a9b0d77834a3b7b8e4094ba6e7a173cb178c32.tar.gz freebsd-ports-gnome-03a9b0d77834a3b7b8e4094ba6e7a173cb178c32.tar.zst freebsd-ports-gnome-03a9b0d77834a3b7b8e4094ba6e7a173cb178c32.zip |
- Update to 2.2.6 version.
An unpleasant bug was fixed when pkgdb could accidently remove some
dependencies in +CONTENTS files. It's recomented to run pkgdb -L once
after upgrade to fix dependencies list. See UPDATING file.
Reported and tested by: Randy Pratt <bsd-unix_AT_earthlink.net>
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portupgrade/Makefile | 4 | ||||
-rw-r--r-- | ports-mgmt/portupgrade/distinfo | 6 | ||||
-rw-r--r-- | ports-mgmt/portupgrade/files/patch-bin-pkgdb | 17 | ||||
-rw-r--r-- | ports-mgmt/portupgrade/files/patch-portsdb.rb | 22 | ||||
-rw-r--r-- | ports-mgmt/portupgrade/files/patch-portupgrade | 11 | ||||
-rw-r--r-- | ports-mgmt/portupgrade/pkg-message | 12 |
6 files changed, 34 insertions, 38 deletions
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile index 8154393aa119..b7a0e4e40fb4 100644 --- a/ports-mgmt/portupgrade/Makefile +++ b/ports-mgmt/portupgrade/Makefile @@ -6,8 +6,7 @@ # PORTNAME= portupgrade -PORTVERSION= 2.2.2 -PORTREVISION= 4 +PORTVERSION= 2.2.6 PORTEPOCH= 2 CATEGORIES= ports-mgmt MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} @@ -91,5 +90,6 @@ post-install: install-ldconfig-file ${CP} -p ${PREFIX}/etc/pkgtools.conf.sample ${PREFIX}/etc/pkgtools.conf; \ fi ${MKDIR} ${PREFIX}/lib/compat/pkg + ${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> diff --git a/ports-mgmt/portupgrade/distinfo b/ports-mgmt/portupgrade/distinfo index ca67e0223c3d..5cff9eda73ae 100644 --- a/ports-mgmt/portupgrade/distinfo +++ b/ports-mgmt/portupgrade/distinfo @@ -1,3 +1,3 @@ -MD5 (pkgtools-2.2.2.tar.bz2) = c9e08616c474d776f301ada920735a66 -SHA256 (pkgtools-2.2.2.tar.bz2) = ab5cd8904e69c03be0d37cf71b2d6271ccabed14bca673e5a34a7d21a1af5c02 -SIZE (pkgtools-2.2.2.tar.bz2) = 111055 +MD5 (pkgtools-2.2.6.tar.bz2) = eeecbe495083bb6851575714d8ae1f81 +SHA256 (pkgtools-2.2.6.tar.bz2) = a4cc69fa0c7a9c43caabe3319b192437372895956320a6abbf5f9156f5d5f093 +SIZE (pkgtools-2.2.6.tar.bz2) = 112379 diff --git a/ports-mgmt/portupgrade/files/patch-bin-pkgdb b/ports-mgmt/portupgrade/files/patch-bin-pkgdb new file mode 100644 index 000000000000..f6c5462e06b3 --- /dev/null +++ b/ports-mgmt/portupgrade/files/patch-bin-pkgdb @@ -0,0 +1,17 @@ +Index: bin/pkgdb +=================================================================== +RCS file: /cvsroot/portupgrade/pkgtools/bin/pkgdb,v +retrieving revision 1.9.2.6 +retrieving revision 1.9.2.7 +diff -u -r1.9.2.6 -r1.9.2.7 +--- pkgdb 27 Feb 2007 11:30:31 -0000 1.9.2.6 ++++ pkgdb 27 Feb 2007 17:58:46 -0000 1.9.2.7 +@@ -700,7 +700,7 @@ + hash = config_value(:ALT_PKGDEP) or return nil + + if dep == '' +- dep = $pkgdb.deorigin(origin) ++ dep = $pkgdb.deorigin(origin).to_s + end + + hash.each do |pat, alt| diff --git a/ports-mgmt/portupgrade/files/patch-portsdb.rb b/ports-mgmt/portupgrade/files/patch-portsdb.rb deleted file mode 100644 index c1f6eb7939f8..000000000000 --- a/ports-mgmt/portupgrade/files/patch-portsdb.rb +++ /dev/null @@ -1,22 +0,0 @@ ---- lib/portsdb.rb.orig Sat Nov 11 22:59:24 2006 -+++ lib/portsdb.rb Mon Feb 5 10:15:00 2007 -@@ -56,7 +56,7 @@ - "vietnamese" => "vi-", - } - -- MY_PORT = 'sysutils/portupgrade' -+ MY_PORT = 'ports-mgmt/portupgrade' - - LOCK_FILE = '/var/run/portsdb.lock' - -@@ -387,8 +387,8 @@ - end - - def subdirs(dir) -- %x"fgrep -v bsd.port.subdir.mk #{dir}/Makefile | -- make -f - -V SUBDIR 2> /dev/null".split.select { |i| -+ %x"fgrep SUBDIR #{dir}/Makefile | sed -e 's/SUBDIR +=//' -+ 2> /dev/null".split.select { |i| - File.directory?(File.join(dir, i)) - }.sort - end diff --git a/ports-mgmt/portupgrade/files/patch-portupgrade b/ports-mgmt/portupgrade/files/patch-portupgrade deleted file mode 100644 index 53c9037ebbff..000000000000 --- a/ports-mgmt/portupgrade/files/patch-portupgrade +++ /dev/null @@ -1,11 +0,0 @@ ---- bin/portupgrade.orig Thu Feb 1 15:42:15 2007 -+++ bin/portupgrade Thu Feb 1 15:42:22 2007 -@@ -1594,7 +1594,7 @@ - end - - if $sudo && Process.euid != 0 -- dep_cmdargs = cmdargs.dup << 'fetch-depends' << 'build-depends' << 'lib-depends' << 'misc-depends' -+ dep_cmdargs = cmdargs.dup << 'fetch-depends' << 'build-depends' << 'lib-depends' - - if not system(shelljoin(*dep_cmdargs) + ' DEPENDS_TARGET="-n nonexistent_target" >/dev/null 2>&1') - script!(logfile, *dep_cmdargs) or diff --git a/ports-mgmt/portupgrade/pkg-message b/ports-mgmt/portupgrade/pkg-message new file mode 100644 index 000000000000..c85eef2b2204 --- /dev/null +++ b/ports-mgmt/portupgrade/pkg-message @@ -0,0 +1,12 @@ +----------------------------------------------------------------------- +NOTE: If you upgrade, it's recomended to run pkgdb -L to restore lost + dependencies. + + Fill ALT_PKGDEP section in pkgtools.conf file for portupgrade + be aware of alternative dependencies you use. + E.g. + ALT_PKGDEP = { + 'www/apache13' => 'www/apache13-modssl', + 'print/ghostscript-afpl' => 'print/ghostscript-gnu', + } +----------------------------------------------------------------------- |