On 2012-10-04 at 08:35:32 -0400, Adam Jeanguenat wrote: > On 2012-10-03 at 23:24:40 +0200, Markus Lude wrote: > > > > IIRC this URL is only valid until a newer version is released. The > > older tarball isn't available any more with this. > > Not to worry; this should be okay. I tried several older versions > before recommending this change, as I also use it extensively in > documentation. > > I also just tried every release back to 2.9.0.4 (released Feb 2011) > using that URL scheme and each still points to the correct version. > Those are just redirects to the AWS storage, and more likely -- in my > experience -- to remain active than the previously-used URLs.
As a point of clarification, I spoke with Joel Esler at Sourcefire and he said he would ensure the web team keeps the snort-current URL scheme around and functioning, as it has been for some time now. Alternatively, he mentioned FreeBSD's use of the Sourceforge site for downloads. Perhaps using SF for net/snort and net/daq while keeping the snort.org site as a backup would be desirable. (For reference, NetBSD is only using the snort.org URL scheme.) Everything works as committed now (and will for the foreseeable future), but if you'd like to use SF instead as a primary, the attached diff works perfectly against currently-committed code. --avj
Index: daq/Makefile =================================================================== RCS file: /cvs/ports/net/daq/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- daq/Makefile 28 Sep 2012 19:30:55 -0000 1.2 +++ daq/Makefile 4 Oct 2012 15:14:33 -0000 @@ -21,7 +21,8 @@ WANTLIB = pcap -MASTER_SITES = http://www.snort.org/dl/snort-current/ +MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=snort/} \ + http://www.snort.org/dl/snort-current/ USE_LIBTOOL = Yes Index: snort/Makefile =================================================================== RCS file: /cvs/ports/net/snort/Makefile,v retrieving revision 1.69 diff -u -r1.69 Makefile --- snort/Makefile 28 Sep 2012 19:30:54 -0000 1.69 +++ snort/Makefile 4 Oct 2012 15:14:33 -0000 @@ -20,7 +20,8 @@ WANTLIB = c daq dnet m pcap pcre pthread z -MASTER_SITES = http://www.snort.org/dl/snort-current/ +MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=snort/} \ + http://www.snort.org/dl/snort-current/ USE_LIBTOOL = Yes USE_GROFF = Yes