aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portupgrade
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2007-03-01 09:09:01 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2007-03-01 09:09:01 +0000
commita48c576322caeef6fecf2ec642f1bcc408b8dbca (patch)
tree56c9f5d41c9cba65471cf4a5033f3f54af1f2493 /ports-mgmt/portupgrade
parent6da59fcb91606e087dda52c59499343a2bd42195 (diff)
downloadports-a48c576322caeef6fecf2ec642f1bcc408b8dbca.tar.gz
ports-a48c576322caeef6fecf2ec642f1bcc408b8dbca.zip
Notes
Diffstat (limited to 'ports-mgmt/portupgrade')
-rw-r--r--ports-mgmt/portupgrade/Makefile4
-rw-r--r--ports-mgmt/portupgrade/distinfo6
-rw-r--r--ports-mgmt/portupgrade/files/patch-bin-pkgdb17
-rw-r--r--ports-mgmt/portupgrade/files/patch-portsdb.rb22
-rw-r--r--ports-mgmt/portupgrade/files/patch-portupgrade11
-rw-r--r--ports-mgmt/portupgrade/pkg-message12
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',
+ }
+-----------------------------------------------------------------------