snort 1.7

This commit is contained in:
jeremy 2001-02-11 23:51:12 +00:00
parent c991470887
commit def806be57

View File

@ -1,15 +1,14 @@
# $OpenBSD: Makefile,v 1.9 2000/10/23 16:08:12 espie Exp $
DISTNAME= snort-1.6.3
CATEGORIES= net security
NEED_VERSION= 1.310
MASTER_SITES= http://www.snort.org/Files/ \
ftp://the.wiretapped.net/pub/security/network-intrusion-detection/snort/ \
http://snort.safenetworks.com/Files/
# $OpenBSD: Makefile,v 1.10 2001/02/11 23:51:12 jeremy Exp $
DISTNAME= snort-1.7
HOMEPAGE= http://www.snort.org/
CATEGORIES= net security
NEED_VERSION= 1.348
MAINTAINER= Kyle Hargraves <halogen@nol.net>
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= snort
MAINTAINER= Brian Caswell <bmc@mitre.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
@ -19,8 +18,38 @@ PERMIT_DISTFILES_FTP= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
FLAVORS= postgresql mysql smbalert flexresp
FLAVOR?=
.if ${FLAVOR:L:Mflexresp}
BUILD_DEPENDS+= ${PREFIX}/lib/libnet.a::net/libnet
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
CONFIGURE_ARGS+= --enable-flexresp
.endif
.if ${FLAVOR:L:Mpostgresql}
LIB_DEPENDS+= pg::databases/postgresql
CONFIGURE_ARGS+= --with-postgresql=${PREFIX}/pgsql
.else
CONFIGURE_ARGS+= --without-postgresql
.endif
.if ${FLAVOR:L:Mmysql}
LIB_DEPENDS+=mysqlclient.6::databases/mysql
CONFIGURE_ARGS+= --with-mysql=${PREFIX}
.else
CONFIGURE_ARGS+= --without-mysql
.endif
.if ${FLAVOR:L:Msmbalert}
BUILD_DEPENDS+= smbclient::net/samba
RUN_DEPENDS+= smbclient::net/samba
CONFIGURE_ARGS+= --enable-smbalerts
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/snort
${INSTALL_DATA} ${WRKSRC}/*-lib ${PREFIX}/share/snort
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/snort
${INSTALL_DATA} ${WRKSRC}/snort.conf ${PREFIX}/share/examples/snort
${INSTALL_DATA} ${WRKSRC}/*-lib ${PREFIX}/share/examples/snort
.include <bsd.port.mk>