summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoragc <agc>2002-07-12 16:55:40 +0000
committeragc <agc>2002-07-12 16:55:40 +0000
commit566832dafc320ffd29d6b1e3a679086beece49a5 (patch)
treeb7b12784804f08ad66fa2f5ce134224a2ab54acc /net
parentf6fa4934f6309026fadb86f8b30c56449eeb79ed (diff)
downloadpkgsrc-566832dafc320ffd29d6b1e3a679086beece49a5.tar.gz
Initial import of snort-mysql into the NetBSD packages collection.
Provided by Tracy Di Marco White in PR 17449 snort-mysql is a libpcap-based packet sniffer/logger using a MySQL database
Diffstat (limited to 'net')
-rw-r--r--net/snort-mysql/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/net/snort-mysql/Makefile b/net/snort-mysql/Makefile
new file mode 100644
index 00000000000..8e7dff9f680
--- /dev/null
+++ b/net/snort-mysql/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/07/12 16:55:40 agc Exp $
+#
+
+.include "../../net/snort/Makefile.common"
+
+PKGNAME= ${DISTNAME:S/-/-mysql-/}
+
+COMMENT= Libpcap-based packet sniffer/logger using a MySQL database
+
+CONFLICTS+= snort-[0-9]*
+CONFLICTS+= snort-pgsql-[0-9]*
+
+CONFIGURE_ARGS+=--with-mysql=${BUILDLINK_DIR}
+
+PKGDIR= ${.CURDIR}/../../net/snort
+PATCHDIR= ${PKGDIR}/patches
+DISTINFO_FILE= ${PKGDIR}/distinfo
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${_USE_RPATH} == "yes"
+LDFLAGS+= -Wl,-R${LOCALBASE}/lib/mysql
+.endif
+
+.include "../../databases/mysql-client/buildlink.mk"
+.include "../../net/libpcap/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"