aboutsummaryrefslogtreecommitdiff
path: root/security/prelude-pflogger
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-05-23 14:08:35 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-05-23 14:08:35 +0000
commit7a5515161e61207f750c3dc6b8bbbc2011b36e36 (patch)
tree431041f50111e892896f522d474649f07831397e /security/prelude-pflogger
parent297a4876b5cfec98e5c39d8c687d5fcafaef06c3 (diff)
downloadports-7a5515161e61207f750c3dc6b8bbbc2011b36e36.tar.gz
ports-7a5515161e61207f750c3dc6b8bbbc2011b36e36.zip
Notes
Diffstat (limited to 'security/prelude-pflogger')
-rw-r--r--security/prelude-pflogger/Makefile21
-rw-r--r--security/prelude-pflogger/distinfo3
-rw-r--r--security/prelude-pflogger/files/prelude-pflogger.in27
-rw-r--r--security/prelude-pflogger/pkg-descr7
-rw-r--r--security/prelude-pflogger/pkg-plist3
5 files changed, 61 insertions, 0 deletions
diff --git a/security/prelude-pflogger/Makefile b/security/prelude-pflogger/Makefile
new file mode 100644
index 000000000000..bc3c65fe45a7
--- /dev/null
+++ b/security/prelude-pflogger/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: prelude-pflogger
+# Date created: 19 May 2009
+# Whom: Anders Troback <freebsd@troback.com>
+#
+# $FreeBSD$
+
+PORTNAME= prelude-pflogger
+DISTVERSION= 0.9.0-rc2
+CATEGORIES= security
+MASTER_SITES= http://www.prelude-ids.com/download/releases/${PORTNAME}/
+
+MAINTAINER= freebsd@troback.com
+COMMENT= Prelude-PFlogger Listens at OpenBSD PF
+
+LIB_DEPENDS+= prelude.19:${PORTSDIR}/security/libprelude
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_RC_SUBR= prelude-pflogger
+
+.include <bsd.port.mk>
diff --git a/security/prelude-pflogger/distinfo b/security/prelude-pflogger/distinfo
new file mode 100644
index 000000000000..c3e568f9b641
--- /dev/null
+++ b/security/prelude-pflogger/distinfo
@@ -0,0 +1,3 @@
+MD5 (prelude-pflogger-0.9.0-rc2.tar.gz) = 0e4941e2fe9bec6bccfdd69904bde7ee
+SHA256 (prelude-pflogger-0.9.0-rc2.tar.gz) = 748083406d3188219be502449eddcaa219b946aa8bf3c9653487dfd2e8bad919
+SIZE (prelude-pflogger-0.9.0-rc2.tar.gz) = 303763
diff --git a/security/prelude-pflogger/files/prelude-pflogger.in b/security/prelude-pflogger/files/prelude-pflogger.in
new file mode 100644
index 000000000000..5ddf09a9860b
--- /dev/null
+++ b/security/prelude-pflogger/files/prelude-pflogger.in
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+# PROVIDE: prelude_pflogger
+# REQUIRE: NETWORKING SERVERS
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
+# to enable this service:
+#
+# prelude_pflogger_enable (bool): Set to NO by default.
+# Set it to YES to enable Prelude PFLogger.
+# prelude_pflogger_flags (flags): Set arguments to use with Prelude PFLogger
+#
+
+. %%RC_SUBR%%
+
+name="prelude_pflogger"
+rcvar=${name}_enable
+
+command=%%PREFIX%%/bin/prelude-pflogger
+pidfile=/var/run/prelude-pflogger.pid
+
+load_rc_config $name
+
+: ${prelude_pflogger_enable="NO"}
+: ${prelude_pflogger_flags="-d -P ${pidfile}"}
+
+run_rc_command "$1"
diff --git a/security/prelude-pflogger/pkg-descr b/security/prelude-pflogger/pkg-descr
new file mode 100644
index 000000000000..7be4454ef464
--- /dev/null
+++ b/security/prelude-pflogger/pkg-descr
@@ -0,0 +1,7 @@
+Prelude is a new innovative hybrid Intrusion Detection system designed
+to be very modular, distributed, rock solid and fast.
+
+Prelude-PFlogger Listens at OpenBSD PF redirect logged packet, and
+send alerts to the Prelude Manager.
+
+WWW: http://www.prelude-ids.org/
diff --git a/security/prelude-pflogger/pkg-plist b/security/prelude-pflogger/pkg-plist
new file mode 100644
index 000000000000..c00becd12e26
--- /dev/null
+++ b/security/prelude-pflogger/pkg-plist
@@ -0,0 +1,3 @@
+bin/prelude-pflogger
+%%ETCDIR%%/prelude-pflogger.conf
+@dirrm %%ETCDIR%%