diff options
author | sem <sem@FreeBSD.org> | 2009-04-01 00:03:36 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2009-04-01 00:03:36 +0800 |
commit | 3c5e5f515a35e907297b096f14ef52f8de38c4f1 (patch) | |
tree | 6fb872e214220c7c4bda30cb47ef74ffd93bebfb /ports-mgmt | |
parent | 3f1d0285ff3b156ae4352555349bdebeb2038ab5 (diff) | |
download | freebsd-ports-gnome-3c5e5f515a35e907297b096f14ef52f8de38c4f1.tar.gz freebsd-ports-gnome-3c5e5f515a35e907297b096f14ef52f8de38c4f1.tar.zst freebsd-ports-gnome-3c5e5f515a35e907297b096f14ef52f8de38c4f1.zip |
- A patch to fix fetching of packages problem.
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portupgrade/Makefile | 1 | ||||
-rw-r--r-- | ports-mgmt/portupgrade/files/patch-lib-pkgtools.rb | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile index db0dfd945758..82717bf85fa3 100644 --- a/ports-mgmt/portupgrade/Makefile +++ b/ports-mgmt/portupgrade/Makefile @@ -7,6 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 2.4.6 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= ports-mgmt MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} 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 000000000000..c7f6e20c9eac --- /dev/null +++ b/ports-mgmt/portupgrade/files/patch-lib-pkgtools.rb @@ -0,0 +1,11 @@ +--- lib/pkgtools.rb.orig 2009-03-31 19:59:37.000000000 +0400 ++++ lib/pkgtools.rb 2009-03-31 20:00:11.000000000 +0400 +@@ -1165,7 +1165,7 @@ + STDERR.puts "uname(1) could be broken - cannot parse the output: #{uname}" + end + +- def pkg_site_mirror(root = ENV['PACKAGEROOT'] || 'ftp://ftp.FreeBSD.org') ++ def pkg_site_mirror(root = ENV['PACKAGEROOT'] || 'ftp://ftp.FreeBSD.org/') + sprintf('%s/pub/FreeBSD/ports/%s/packages-%s/', + root, OS_PLATFORM, OS_PKGBRANCH) + end |