- A patch to fix fetching of packages problem.

This commit is contained in:
Sergey Matveychuk 2009-03-31 16:03:36 +00:00
parent 3c66c62381
commit 6446ec02df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231393
2 changed files with 12 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 2.4.6
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= ports-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}

View file

@ -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