tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: snort-2.9.1



2011/10/4 Shin'ichiro TAYA <taya%ba2.so-net.ne.jp@localhost>:
> Hi,
>
> I'm trying to update snort package to 2.9.1.
> First problem is fetching distribution file.
> URL of distfile is http://www.snort.org/downloads/1107 , but it's just
> cgi or some kind of script and redirect to another site.
>
> e.g.
> $ ftp http://www.snort.org/downloads/1107
> Requesting http://www.snort.org/downloads/1107
> Redirected to
> http://s3.amazonaws.com/snort-org/www/snort-current/20110823/snort-2.9.1.tar.gz?AWSAccessKeyId=AKIAJJSHU7YNPLE5MKOQ&Expires=1317736110&Signature=d21%2FNuneZb6wR7qP6IeLgGosXZo%3D
> Requesting
> http://s3.amazonaws.com/snort-org/www/snort-current/20110823/snort-2.9.1.tar.gz?AWSAccessKeyId=AKIAJJSHU7YNPLE5MKOQ&Expires=1317736110&Signature=d21%2FNuneZb6wR7qP6IeLgGosXZo%3D
>
> How should I deal this with pkgsc?
>
> btw, ftp saved fetched file above to the file "NuneZb6wR7qP6IeLgGosXZo= ".
> I think it should be saved to "snort-2.9.1.tar.gz"
>
> taya%NetBSD.org@localhost
>

$NetBSD$

--- Makefile    2011-10-06 10:48:27.000000000 +0000
+++ Makefile.orig
@@ -2,10 +2,12 @@
 #

-DISTNAME=              snort-2.8.5.1
+DISTNAME=              snort-2.9.1
 PKGREVISION=           1
 CATEGORIES=            net security
 MASTER_SITES=          http://www.snort.org/dl/ \
+                       http://www.snort.org/dl/snort-current/ \
                        http://www.snort.org/dl/current/ \
                        http://www.snort.org/dl/old/
+FETCH_BEFORE_ARGS+=    "-o  ${DISTNAME}${EXTRACT_SUFX}"

 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index