summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-07-12 16:55:40 +0000
committeragc <agc@pkgsrc.org>2002-07-12 16:55:40 +0000
commitf97fb9cc5bb627f1adc38147398e27ec4b8da6eb (patch)
treeb7b12784804f08ad66fa2f5ce134224a2ab54acc /net
parent55e8bb2143d480b8ed5e295129c8846fa7a811ea (diff)
downloadpkgsrc-f97fb9cc5bb627f1adc38147398e27ec4b8da6eb.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"