openbsd-ports/net/snort/Makefile
bmc 08acdf148f Updated to snort-1.8.6
--
This update contains a ton of fixes and features.  Included is a small bit
from the ChangeLog:
* corrected big endian rpc decoding
* stop stream4 from clobbering itself
* fixed file rotation bug in spo_unified
* massive speed patch for multiple CIDR blocks
* corrected ICMP printing
* added a ton of new signatures
2002-04-26 12:51:39 +00:00

57 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.23 2002/04/26 12:51:39 bmc Exp $
COMMENT= "highly flexible sniffer/NIDS"
DISTNAME= snort-1.8.6
CATEGORIES= net security
NEED_VERSION= 1.525
MASTER_SITES= ${HOMEPAGE}/dl/
HOMEPAGE= http://www.snort.org
MAINTAINER= Brian Caswell <bmc@openbsd.org>
# License: GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
FLAVORS= postgresql mysql smbalert flexresp
FLAVOR?=
.if ${FLAVOR:L:Mflexresp}
LIB_DEPENDS+= net::net/libnet
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+= --enable-flexresp
.endif
.if ${FLAVOR:L:Mpostgresql}
LIB_DEPENDS+= pq.2::databases/postgresql
CONFIGURE_ARGS+= --with-postgresql="${LOCALBASE}"
.endif
.if ${FLAVOR:L:Mmysql}
LIB_DEPENDS+= lib/mysql/mysqlclient.10:mysql-client-3.23.*:databases/mysql
CONFIGURE_ARGS+= --with-mysql="${LOCALBASE}"
.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/examples/snort
${INSTALL_DATA} ${WRKSRC}/snort.conf ${PREFIX}/share/examples/snort
${INSTALL_DATA} ${WRKSRC}/sid-msg.map ${PREFIX}/share/examples/snort
${INSTALL_DATA} ${WRKSRC}/classification.config \
${PREFIX}/share/examples/snort
${INSTALL_DATA} ${WRKSRC}/*.rules ${PREFIX}/share/examples/snort
.include <bsd.port.mk>