aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portupgrade
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2005-10-19 07:47:48 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2005-10-19 07:47:48 +0000
commit286429f6023db86c395f1a8c2f222c94d775dae4 (patch)
tree1f9451ef508306e14b46849eb18fa4042b20a668 /ports-mgmt/portupgrade
parent19360aabaa8b16cb1f9927be18f1ec235cd4aff5 (diff)
downloadports-286429f6023db86c395f1a8c2f222c94d775dae4.tar.gz
ports-286429f6023db86c395f1a8c2f222c94d775dae4.zip
Notes
Diffstat (limited to 'ports-mgmt/portupgrade')
-rw-r--r--ports-mgmt/portupgrade/Makefile2
-rw-r--r--ports-mgmt/portupgrade/files/patch-bin-pkgdb13
-rw-r--r--ports-mgmt/portupgrade/files/patch-etc-pkgtools.conf16
3 files changed, 30 insertions, 1 deletions
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile
index d872013ac335..4a4469e2dabe 100644
--- a/ports-mgmt/portupgrade/Makefile
+++ b/ports-mgmt/portupgrade/Makefile
@@ -7,7 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20041226
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
${MASTER_SITE_LOCAL}
diff --git a/ports-mgmt/portupgrade/files/patch-bin-pkgdb b/ports-mgmt/portupgrade/files/patch-bin-pkgdb
new file mode 100644
index 000000000000..94bd4843b037
--- /dev/null
+++ b/ports-mgmt/portupgrade/files/patch-bin-pkgdb
@@ -0,0 +1,13 @@
+Index: bin/pkgdb
+===================================================================
+--- bin/pkgdb (revision 38)
++++ bin/pkgdb (working copy)
+@@ -615,7 +615,7 @@
+ next
+ end
+
+- if $pkgdb.match?(pat, dep)
++ if File.fnmatch?(pat, dep)
+ case alt
+ when :delete, :skip
+ return [alt]
diff --git a/ports-mgmt/portupgrade/files/patch-etc-pkgtools.conf b/ports-mgmt/portupgrade/files/patch-etc-pkgtools.conf
new file mode 100644
index 000000000000..84ec52278a32
--- /dev/null
+++ b/ports-mgmt/portupgrade/files/patch-etc-pkgtools.conf
@@ -0,0 +1,16 @@
+Index: etc/pkgtools.conf
+===================================================================
+--- etc/pkgtools.conf (revision 39)
++++ etc/pkgtools.conf (revision 40)
+@@ -252,8 +252,10 @@
+ # be used as B values, instead of pkgname glob patterns. <:delete>
+ # means to delete the dependency and <:skip> to skip it.
+ #
+- # cf. pkg_glob(1)
++ # This replacement is done when "pkgdb -F" is executed.
+ #
++ # cf. pkg_glob(1), pkgdb(1)
++ #
+ # e.g.:
+ # ALT_PKGDEP = {
+ # # If you use apache13-modssl instead of apache13