1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Add a patch to suppress NameError during fixing a bsdpan-* origin.

Reported by:	"Daniel M. Zimmerman" <dmz@tffenterprises.com>
This commit is contained in:
Akinori MUSHA 2003-02-18 02:39:11 +00:00
parent 54d17363ce
commit 52e9260b59
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75761
8 changed files with 76 additions and 4 deletions

View File

@ -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}

View File

@ -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

View File

@ -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}

View File

@ -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

View File

@ -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}

View File

@ -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

View File

@ -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}

View File

@ -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