diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-02 11:03:25 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-02 11:03:25 +0000 |
commit | 0401294d1a9fbab07f8c94e4575cdadc41b86d49 (patch) | |
tree | 311f7e8e62ad7e97cd409e16aa6289c461484052 /ports-mgmt/portupgrade | |
parent | 51dc1295219b8e1c8e2f226377d9be7a540fb4b7 (diff) | |
download | FreeBSD-ports-0401294d1a9fbab07f8c94e4575cdadc41b86d49.zip FreeBSD-ports-0401294d1a9fbab07f8c94e4575cdadc41b86d49.tar.gz |
Problem with portupgrade 2.0
Thank you for reporting. I also discovered this problem a few hours ago.
The source of this trouble is that the following line exists in MOVED,
lang/php4|lang/php4|2003-05-22|re-separated from www/mod_php4
where "moved from" and "moved to" is the same, but portupgrade
does not check this case and infinite loop occurs.
Fix to this problem will be in the next portupgrade release,
but in the meanwhile, whould you commit the following patch,
please?
PR: ports/91209
Submitted by: KOMATSU Shinichiro <koma2@lovepeers.org>
Diffstat (limited to 'ports-mgmt/portupgrade')
-rw-r--r-- | ports-mgmt/portupgrade/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/portupgrade/files/patch-lib-portsdb.rb | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile index ad357af..c4ec8d5 100644 --- a/ports-mgmt/portupgrade/Makefile +++ b/ports-mgmt/portupgrade/Makefile @@ -7,7 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 2.0.0 -PORTREVISION= 0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= sysutils MASTER_SITES= http://dists.lovepeers.org/distfiles/portupgrade/ diff --git a/ports-mgmt/portupgrade/files/patch-lib-portsdb.rb b/ports-mgmt/portupgrade/files/patch-lib-portsdb.rb new file mode 100644 index 0000000..2a7d989 --- /dev/null +++ b/ports-mgmt/portupgrade/files/patch-lib-portsdb.rb @@ -0,0 +1,16 @@ +--- lib/portsdb.rb.orig Mon Jan 2 21:58:23 2006 ++++ lib/portsdb.rb Mon Jan 2 21:58:55 2006 +@@ -87,8 +87,11 @@ + while true + if moved = @moved[me] + t << moved +- me = moved.to +- break if me.nil? ++ if me.nil? or me == moved.to ++ break ++ else ++ me = moved.to ++ end + else + break + end |