aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-02-18 02:39:11 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-02-18 02:39:11 +0000
commit52e9260b5931e223167b60c90b490fbda1ec6d9c (patch)
tree62722e4e4c4fc71d28cfa2444d72904a1c44c4c7 /ports-mgmt
parent54d17363ce6980622e2593b1b86d6378c6019513 (diff)
downloadports-52e9260b5931e223167b60c90b490fbda1ec6d9c.tar.gz
ports-52e9260b5931e223167b60c90b490fbda1ec6d9c.zip
Add a patch to suppress NameError during fixing a bsdpan-* origin.
Reported by: "Daniel M. Zimmerman" <dmz@tffenterprises.com>
Notes
Notes: svn path=/head/; revision=75761
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portupgrade-devel/Makefile2
-rw-r--r--ports-mgmt/portupgrade-devel/files/patch-pkgdb18
-rw-r--r--ports-mgmt/portupgrade/Makefile2
-rw-r--r--ports-mgmt/portupgrade/files/patch-pkgdb18
4 files changed, 38 insertions, 2 deletions
diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile
index 48ae675d72bd..3e6f1723a83d 100644
--- a/ports-mgmt/portupgrade-devel/Makefile
+++ b/ports-mgmt/portupgrade-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20030217
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
${MASTER_SITE_LOCAL}
diff --git a/ports-mgmt/portupgrade-devel/files/patch-pkgdb b/ports-mgmt/portupgrade-devel/files/patch-pkgdb
new file mode 100644
index 000000000000..4c39db724c09
--- /dev/null
+++ b/ports-mgmt/portupgrade-devel/files/patch-pkgdb
@@ -0,0 +1,18 @@
+Index: bin/pkgdb
+===================================================================
+RCS file: /home/cvs/pkgtools/bin/pkgdb,v
+retrieving revision 1.64
+retrieving revision 1.65
+diff -u -1 -r1.64 -r1.65
+--- bin/pkgdb 16 Feb 2003 15:11:32 -0000 1.64
++++ bin/pkgdb 18 Feb 2003 02:33:59 -0000 1.65
+@@ -29,3 +29,3 @@
+
+-RCS_ID = %q$Idaemons: /home/cvs/pkgtools/bin/pkgdb,v 1.64 2003/02/16 15:11:32 knu Exp $
++RCS_ID = %q$Idaemons: /home/cvs/pkgtools/bin/pkgdb,v 1.65 2003/02/18 02:33:59 knu Exp $
+ RCS_REVISION = RCS_ID.split[2]
+@@ -392,3 +392,3 @@
+ if !origin && /^bsdpan-(.*)/ =~ pkg.name and
+- ports = $portsdb.glob("p5-#{$1}")
++ ports = $portsdb.glob("p5-#{$1}") and !ports.empty?
+ special_guess = ports.first.origin
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile
index 48ae675d72bd..3e6f1723a83d 100644
--- a/ports-mgmt/portupgrade/Makefile
+++ b/ports-mgmt/portupgrade/Makefile
@@ -7,7 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20030217
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
${MASTER_SITE_LOCAL}
diff --git a/ports-mgmt/portupgrade/files/patch-pkgdb b/ports-mgmt/portupgrade/files/patch-pkgdb
new file mode 100644
index 000000000000..4c39db724c09
--- /dev/null
+++ b/ports-mgmt/portupgrade/files/patch-pkgdb
@@ -0,0 +1,18 @@
+Index: bin/pkgdb
+===================================================================
+RCS file: /home/cvs/pkgtools/bin/pkgdb,v
+retrieving revision 1.64
+retrieving revision 1.65
+diff -u -1 -r1.64 -r1.65
+--- bin/pkgdb 16 Feb 2003 15:11:32 -0000 1.64
++++ bin/pkgdb 18 Feb 2003 02:33:59 -0000 1.65
+@@ -29,3 +29,3 @@
+
+-RCS_ID = %q$Idaemons: /home/cvs/pkgtools/bin/pkgdb,v 1.64 2003/02/16 15:11:32 knu Exp $
++RCS_ID = %q$Idaemons: /home/cvs/pkgtools/bin/pkgdb,v 1.65 2003/02/18 02:33:59 knu Exp $
+ RCS_REVISION = RCS_ID.split[2]
+@@ -392,3 +392,3 @@
+ if !origin && /^bsdpan-(.*)/ =~ pkg.name and
+- ports = $portsdb.glob("p5-#{$1}")
++ ports = $portsdb.glob("p5-#{$1}") and !ports.empty?
+ special_guess = ports.first.origin