diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-11-25 15:28:37 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-11-25 15:28:37 +0000 |
commit | 095db66735255bc30718efe0adb8791bfef55a9e (patch) | |
tree | 130b6165a29f35002927d4969a10408ff63d59e7 /ports-mgmt/portupgrade | |
parent | - Update to 0.96b (diff) |
- Change the name of the ports database file (INDEX.db) to
$(basename ${INDEXFILE}).db, e.g. INDEX-6.db. (requested by kris)
- Add SHA256.
PR: ports/89520
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=149428
Diffstat (limited to 'ports-mgmt/portupgrade')
-rw-r--r-- | ports-mgmt/portupgrade/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/portupgrade/distinfo | 2 | ||||
-rw-r--r-- | ports-mgmt/portupgrade/files/patch-lib_portsdb.rb | 17 |
3 files changed, 18 insertions, 3 deletions
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile index 4a4469e2dabe..0aa59b77c0a8 100644 --- a/ports-mgmt/portupgrade/Makefile +++ b/ports-mgmt/portupgrade/Makefile @@ -7,7 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 20041226 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \ ${MASTER_SITE_LOCAL} diff --git a/ports-mgmt/portupgrade/distinfo b/ports-mgmt/portupgrade/distinfo index 607f7ef6d1e9..fef8ec70c6be 100644 --- a/ports-mgmt/portupgrade/distinfo +++ b/ports-mgmt/portupgrade/distinfo @@ -1,4 +1,6 @@ MD5 (pkgtools-20041224.tar.bz2) = 1c69732e569fa423152cc792d2c40113 +SHA256 (pkgtools-20041224.tar.bz2) = bf637cdcadc1bc843f300bf3d2628cf576c5d2252932f0f09188e8dd9d4803b7 SIZE (pkgtools-20041224.tar.bz2) = 104308 MD5 (pkgtools-20041224-20041226.diff.bz2) = aab3f2885424d5f25c8ab08d48da5f34 +SHA256 (pkgtools-20041224-20041226.diff.bz2) = 1900a764a50396d8f45b25576005533878bebcc37f5187099632ee591989ea63 SIZE (pkgtools-20041224-20041226.diff.bz2) = 1086 diff --git a/ports-mgmt/portupgrade/files/patch-lib_portsdb.rb b/ports-mgmt/portupgrade/files/patch-lib_portsdb.rb index d4342c93f67b..149bf63987c1 100644 --- a/ports-mgmt/portupgrade/files/patch-lib_portsdb.rb +++ b/ports-mgmt/portupgrade/files/patch-lib_portsdb.rb @@ -1,5 +1,18 @@ ---- lib/portsdb.rb.orig Tue Aug 2 10:24:50 2005 -+++ lib/portsdb.rb Tue Aug 2 10:25:17 2005 +Index: lib/portsdb.rb +=================================================================== +--- lib/portsdb.rb (.../vendor/portupgrade/trunk/lib/portsdb.rb) (revision 2) ++++ lib/portsdb.rb (.../branches/ports/lib/portsdb.rb) (revision 41) +@@ -194,8 +194,8 @@ + def db_dir=(new_db_dir) + @db_dir = new_db_dir || ENV['PORTS_DBDIR'] || ports_dir + +- @db_file = File.join(@db_dir, 'INDEX.db') +- @db_filebase = @db_file.sub(/\.db$/, '') ++ @db_filebase = File.join(@db_dir, File.basename(index_file())) ++ @db_file = @db_filebase + '.db' + + close_db + @@ -846,7 +846,7 @@ def all_depends_list(origin, before_args = nil, after_args = nil) |