[Bug 202340] [PATCH] ports-mgmt/fastest_sites: use PORTSDIR to find where is the ports tree.
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Aug 15 02:28:29 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202340
Bug ID: 202340
Summary: [PATCH] ports-mgmt/fastest_sites: use PORTSDIR to find
where is the ports tree.
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: wxs at FreeBSD.org
Reporter: egypcio at googlemail.com
Keywords: patch
Flags: maintainer-feedback?(wxs at FreeBSD.org)
Assignee: wxs at FreeBSD.org
Created attachment 159891
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159891&action=edit
[PATCH] ports-mgmt/fastest_sites: use PORTSDIR to find where is the ports tree.
Allow users to use it with a "non-default" PORTSDIR value. First test went well
with a patched version of 'fastest_sites' running under FreeBSD 11.0-CURRENT
r284645 (amd64).
# pkg info -d fastest_sites
fastest_sites-20110317:
python27-2.7.10
BEFORE:
# fastest_sites > fsites.conf
make: cannot open /usr/ports/Makefile.
Traceback (most recent call last):
File "/usr/local/bin/fastest_sites", line 145, in <module>
fd = open(sites_mk, "r")
IOError: [Errno 2] No such file or directory: '\nmake: stopped in
/root/Mk/bsd.sites.mk'
# grep PORTSDIR /etc/make.conf
PORTSDIR=/panzer/ports
# make -V PORTSDIR
/panzer/ports
AFTER:
# fastest_sites > fsites.conf
=> Checking servers for MASTER_SITE_GENTOO (59 servers)
=> Checking servers for MASTER_SITE_TCLTK (8 servers)
=> Checking servers for MASTER_SITE_APACHE (26 servers)
=> Checking servers for MASTER_SITE_EASYSW (4 servers)
=> Checking servers for MASTER_SITE_PACKETSTORM (15 servers)
...
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list