aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2009-03-31 16:03:36 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2009-03-31 16:03:36 +0000
commit6446ec02df5efde20490d202ebeee9aedd4419ed (patch)
tree489eda4e6f3ebd92269340c9bb79ea1b4876a9e7
parent3c66c6238117c35b33f8406ccf687174b83a5547 (diff)
downloadports-6446ec02df5efde20490d202ebeee9aedd4419ed.tar.gz
ports-6446ec02df5efde20490d202ebeee9aedd4419ed.zip
- A patch to fix fetching of packages problem.
Notes
Notes: svn path=/head/; revision=231393
-rw-r--r--ports-mgmt/portupgrade/Makefile1
-rw-r--r--ports-mgmt/portupgrade/files/patch-lib-pkgtools.rb11
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