Date: Sat, 15 Aug 2015 02:28:28 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 202340] [PATCH] ports-mgmt/fastest_sites: use PORTSDIR to find where is the ports tree. Message-ID: <bug-202340-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: egypcio@googlemail.com Keywords: patch Flags: maintainer-feedback?(wxs@FreeBSD.org) Assignee: wxs@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202340-13>