Update to snort-1.8.7

Submitted by:	Paul Marquis <pmarquis@pobox.com>
PR:		ports/40528
This commit is contained in:
Kris Kennaway 2002-08-24 03:18:28 +00:00
parent 628175f16b
commit 587f0be5eb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64936
4 changed files with 18 additions and 23 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= snort
PORTVERSION= 1.8.6
PORTVERSION= 1.8.7
CATEGORIES= security
MASTER_SITES= http://www.snort.org/dl/
@ -51,16 +51,11 @@ pre-configure:
@${ECHO} ""
post-install:
${MKDIR} ${PREFIX}/share/snort
.for i in CREDITS RULES.SAMPLE USAGE attack-responses.rules backdoor.rules \
bad-traffic.rules ddos.rules dns.rules dos.rules exploit.rules \
finger.rules ftp.rules icmp.rules icmp-info.rules info.rules local.rules \
misc.rules netbios.rules policy.rules porn.rules rpc.rules rservices.rules \
scan.rules shellcode.rules smtp.rules sql.rules telnet.rules tftp.rules \
virus.rules web-attacks.rules web-cgi.rules web-coldfusion.rules \
web-frontpage.rules web-iis.rules web-misc.rules x11.rules
${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/snort
.endfor
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/CREDITS ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/RULES.SAMPLE ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/USAGE ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.rules ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/classification.config ${PREFIX}/etc/classification.config-sample
${INSTALL_DATA} ${WRKSRC}/snort.conf ${PREFIX}/etc/snort.conf-sample
@${SED} -e 's#/usr/local#${PREFIX}#g' ${PKGMESSAGE}

View file

@ -1 +1 @@
MD5 (snort-1.8.6.tar.gz) = 6bba7e1cbc837a5c7404d7c0b496780b
MD5 (snort-1.8.7.tar.gz) = 29c81d0bc243edb21ba4ab33ee80457e

View file

@ -1,11 +0,0 @@
--- plugbase.h.orig Mon Jun 3 03:06:52 2002
+++ plugbase.h Mon Jun 3 03:06:59 2002
@@ -99,7 +99,7 @@
#endif
#if defined(FREEBSD) || defined(OPENBSD)
- #include <machine/param.h>
+ #include <sys/param.h>
#endif
#if defined(SOLARIS)

View file

@ -0,0 +1,11 @@
--- snort.c.orig Fri Jun 28 10:22:59 2002
+++ snort.c Sat Jul 13 11:13:16 2002
@@ -1694,7 +1694,7 @@
difftime.tv_sec = endtime.tv_sec - starttime.tv_sec;
difftime.tv_usec = endtime.tv_usec - starttime.tv_usec;
- printf("Run time for packet processing was %u.%u seconds\n",
+ printf("Run time for packet processing was %lu.%lu seconds\n",
difftime.tv_sec, difftime.tv_usec);
CleanExit(SIGQUIT);