--- /tmp/Makefile 2011-02-09 01:50:03.000000000 -0500 +++ Makefile 2011-02-10 15:23:09.000000000 -0500 @@ -6,7 +6,7 @@ # PORTNAME= snort -PORTVERSION= 2.9.0.3 +PORTVERSION= 2.9.0.4 CATEGORIES= security MASTER_SITES= SF/snort/snort @@ -60,8 +60,13 @@ USE_AUTOTOOLS= libtool USE_LDCONFIG= yes LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config +.if exists($(LIBNET_CONFIG})) LIBNET_CFLAGS!= ${LIBNET_CONFIG} --cflags LIBNET_LIBS!= ${LIBNET_CONFIG} --libs +.else +LIBNET_CFLAGS=-I${LOCALBASE}/include/libnet11 +LIBNET_LIBS=-L${LOCALBASE}/lib/libnet11 -lnet +.endif LIBNET_INCDIR= ${LIBNET_CFLAGS:M-I*:S/-I//} LIBNET_LIBDIR= ${LIBNET_LIBS:M-L*:S/-L//} @@ -150,8 +155,7 @@ .if defined(WITH_SNORTSAM) USE_AUTOTOOLS+= automake -PATCH_SITES+= http://www.snortsam.net/files/snort-plugin/:snortsam \ - http://www.secnap.com/downloads/:snortsam +PATCH_SITES+= http://www.snortsam.net/files/snort-plugin/:snortsam PATCHFILES+= snortsam-2.9.0.3.diff.gz:snortsam .endif --- /tmp/distinfo 2011-02-10 15:27:14.000000000 -0500 +++ distinfo 2011-02-10 15:08:32.000000000 -0500 @@ -1,4 +1,4 @@ -SHA256 (snort-2.9.0.3.tar.gz) = 382768dc7a47bbf4e1a85cd765d8bf4f245643be2acfc740fda1cd3d24e32a48 -SIZE (snort-2.9.0.3.tar.gz) = 5791144 +SHA256 (snort-2.9.0.4.tar.gz) = 131f54b48005677b73c55a2c3d893ab3607562912272d0810fc9b85c63fc91e9 +SIZE (snort-2.9.0.4.tar.gz) = 5862444 SHA256 (snortsam-2.9.0.3.diff.gz) = f32baf0408e80c7aed3560ce46229d936d71b8e7a4180efdba04f8e0021e70bc SIZE (snortsam-2.9.0.3.diff.gz) = 28890