aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/portupgrade
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2006-06-19 20:41:58 +0800
committersem <sem@FreeBSD.org>2006-06-19 20:41:58 +0800
commit168e12c32b41acdf3d316d24d87714008a5d3fb5 (patch)
tree39678887b6499814f599d0587f3f20b0865ab8ec /ports-mgmt/portupgrade
parent40c510c1a2716b9f2d1324365e40a2af9c3dbf92 (diff)
downloadfreebsd-ports-graphics-168e12c32b41acdf3d316d24d87714008a5d3fb5.tar.gz
freebsd-ports-graphics-168e12c32b41acdf3d316d24d87714008a5d3fb5.tar.zst
freebsd-ports-graphics-168e12c32b41acdf3d316d24d87714008a5d3fb5.zip
- Roll back to stable 2.1.1 version.
I'd like to wait a repocopy but marcus seems will unaccessible for a week.
Diffstat (limited to 'ports-mgmt/portupgrade')
-rw-r--r--ports-mgmt/portupgrade/Makefile9
-rw-r--r--ports-mgmt/portupgrade/distinfo6
-rw-r--r--ports-mgmt/portupgrade/files/patch-bin-portsclean11
-rw-r--r--ports-mgmt/portupgrade/files/patch-bin-portupgrade28
-rw-r--r--ports-mgmt/portupgrade/files/patch-lib-pkgdb.rb25
-rw-r--r--ports-mgmt/portupgrade/files/patch-lib-pkgtools.rb20
6 files changed, 27 insertions, 72 deletions
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile
index b9995529b30..f8985a3f7ce 100644
--- a/ports-mgmt/portupgrade/Makefile
+++ b/ports-mgmt/portupgrade/Makefile
@@ -6,13 +6,12 @@
#
PORTNAME= portupgrade
-PORTVERSION= 2.1.4
-PORTREVISION= 5
-PORTEPOCH= 1
+PORTVERSION= 2.1.1
+PORTEPOCH= 2
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
+MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://sunner.elcomnet.ru/~sem/
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITE_SUBDIR= sem
DISTNAME= pkgtools-${DISTVERSION}
MAINTAINER= sem@FreeBSD.org
diff --git a/ports-mgmt/portupgrade/distinfo b/ports-mgmt/portupgrade/distinfo
index acca13c8fdd..96b8f1d9278 100644
--- a/ports-mgmt/portupgrade/distinfo
+++ b/ports-mgmt/portupgrade/distinfo
@@ -1,3 +1,3 @@
-MD5 (pkgtools-2.1.4.tar.bz2) = 981140075b6937dca9439336815f4d41
-SHA256 (pkgtools-2.1.4.tar.bz2) = 8579915de00efa0bb13385f3bf7e4198e73d28d16a6e01a906583386e90c18f4
-SIZE (pkgtools-2.1.4.tar.bz2) = 110722
+MD5 (pkgtools-2.1.1.tar.bz2) = a3848cf5cffedf196a28b4c3b20746cb
+SHA256 (pkgtools-2.1.1.tar.bz2) = 6b6369fe18a9a2fdb1062361d4211a2e31e49999a0c037f963c7e781af7c1d4c
+SIZE (pkgtools-2.1.1.tar.bz2) = 108685
diff --git a/ports-mgmt/portupgrade/files/patch-bin-portsclean b/ports-mgmt/portupgrade/files/patch-bin-portsclean
deleted file mode 100644
index dd2c4d0de81..00000000000
--- a/ports-mgmt/portupgrade/files/patch-bin-portsclean
+++ /dev/null
@@ -1,11 +0,0 @@
---- bin/portsclean.orig Sun Jun 18 20:02:01 2006
-+++ bin/portsclean Mon Jun 19 11:50:54 2006
-@@ -141,6 +141,8 @@
-
- dry_parse = false
-
-+ $distclean = 0
-+ $pkgclean = 0
- opts.order!(argv)
-
- if !$workclean && $distclean.zero? && $pkgclean.zero? && !$libclean
diff --git a/ports-mgmt/portupgrade/files/patch-bin-portupgrade b/ports-mgmt/portupgrade/files/patch-bin-portupgrade
deleted file mode 100644
index 9f86ece3736..00000000000
--- a/ports-mgmt/portupgrade/files/patch-bin-portupgrade
+++ /dev/null
@@ -1,28 +0,0 @@
---- bin/portupgrade.orig Sun Jun 18 19:14:02 2006
-+++ bin/portupgrade Mon Jun 19 11:49:42 2006
-@@ -513,6 +513,7 @@
-
- dry_parse = false
-
-+ $distclean = 0
- opts.order!(argv)
-
- if envopt = config_value(:PORTUPGRADE_ARGS)
-@@ -716,7 +717,7 @@
- ntasks = upgrade_tasks.size + install_tasks.size
- ctask = 0
-
-- if ! $jet_mode
-+ if false
- config_tasks = upgrade_tasks.dup
- config_tasks.concat(install_tasks)
-
-@@ -774,7 +775,7 @@
- cmdargs << 'ECHO_MSG=/usr/bin/true'
- end
-
-- cmdargs << 'config'
-+ cmdargs << 'config-conditional'
-
- progress_message "Run 'make config' for #{origin}"
- if ! system "cd #{portdir} && #{shelljoin(*cmdargs)}"
diff --git a/ports-mgmt/portupgrade/files/patch-lib-pkgdb.rb b/ports-mgmt/portupgrade/files/patch-lib-pkgdb.rb
deleted file mode 100644
index ae6a8eb1f95..00000000000
--- a/ports-mgmt/portupgrade/files/patch-lib-pkgdb.rb
+++ /dev/null
@@ -1,25 +0,0 @@
---- lib/pkgdb.rb.orig Mon Jun 19 13:50:29 2006
-+++ lib/pkgdb.rb Mon Jun 19 13:51:35 2006
-@@ -606,17 +606,17 @@
- def get_db(mode, perm)
- case db_driver
- when :bdb_btree
-- db = BDB::Btree.open @db_file, nil, mode, perm, *@db_params
-+ db = BDB::Btree.open @db_file, nil, mode.to_i, perm, *@db_params
- when :bdb_hash
-- db = BDB::Hash.open @db_file, nil, mode, perm, *@db_params
-+ db = BDB::Hash.open @db_file, nil, mode.to_i, perm, *@db_params
- when :bdb1_btree
-- db = BDB1::Btree.open @db_file, mode, perm, *@db_params
-+ db = BDB1::Btree.open @db_file, mode.to_i, perm, *@db_params
- when :bdb1_hash
-- db = BDB1::Hash.open @db_file, mode, perm, *@db_params
-+ db = BDB1::Hash.open @db_file, mode.to_i, perm, *@db_params
- else
- if mode == 'w+'
- File.unlink(@db_file) if File.exist?(@db_file)
-- db = DBM.open(@db_filebase, mode)
-+ db = DBM.open(@db_filebase, mode.to_i)
- else
- db = DBM.open(@db_filebase)
- end
diff --git a/ports-mgmt/portupgrade/files/patch-lib-pkgtools.rb b/ports-mgmt/portupgrade/files/patch-lib-pkgtools.rb
new file mode 100644
index 00000000000..87dcfe5ff3a
--- /dev/null
+++ b/ports-mgmt/portupgrade/files/patch-lib-pkgtools.rb
@@ -0,0 +1,20 @@
+--- lib/pkgtools.rb.orig Sat Jun 3 10:05:09 2006
++++ lib/pkgtools.rb Mon Jun 19 16:36:55 2006
+@@ -1048,7 +1048,7 @@
+
+ pkg = PkgInfo.new(pkgname)
+
+- re = %r"^((?:#{Regexp.quote(localbase())}|#{Regexp.quote(x11base())})/etc/rc\.d/[^/]+(\.sh))(\.\w+)?$"
++ re = %r"^((?:#{Regexp.quote(localbase())}|#{Regexp.quote(x11base())})/etc/rc\.d/[^/]+(\.sh)?)(\.\w+)?$"
+
+ ret = []
+ pkg.files.each { |file|
+@@ -1066,7 +1066,7 @@
+
+ pkg = PkgInfo.new(pkgname)
+
+- re = %r"^((?:#{Regexp.quote(localbase())}|#{Regexp.quote(x11base())})/etc/rc\.d/[^/]+\.sh)(\.\w+)$"
++ re = %r"^((?:#{Regexp.quote(localbase())}|#{Regexp.quote(x11base())})/etc/rc\.d/[^/]+(\.sh)?)(\.\w+)$"
+
+ pkg.files.select { |file|
+ re =~ file && File.executable?(file)