aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfoxfair <foxfair@FreeBSD.org>2003-06-18 10:52:48 +0800
committerfoxfair <foxfair@FreeBSD.org>2003-06-18 10:52:48 +0800
commitfb50e08e09c1133d009cdc8581fdd56f620c4e78 (patch)
tree6a41dd8e0809b7297f5cd1c6c7dd4bebe38c19b4
parentcbf1c2c07bc9045ce777597e44a6750a61b40915 (diff)
downloadfreebsd-ports-gnome-fb50e08e09c1133d009cdc8581fdd56f620c4e78.tar.gz
freebsd-ports-gnome-fb50e08e09c1133d009cdc8581fdd56f620c4e78.tar.zst
freebsd-ports-gnome-fb50e08e09c1133d009cdc8581fdd56f620c4e78.zip
PR: 53014
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org> Add prelude-manager 0.8.7, System central logging point of prelude Network Intrusion Detection. prelude-manager : the manager is the central logging point. It receives alerts from sensors and logs them using one or several plugins (the default logging being to a text file, but logging to a database is also possible - and recommended).
-rw-r--r--security/Makefile1
-rw-r--r--security/prelude-manager/Makefile59
-rw-r--r--security/prelude-manager/distinfo1
-rw-r--r--security/prelude-manager/files/patch-Makefile.in21
-rw-r--r--security/prelude-manager/pkg-descr9
-rw-r--r--security/prelude-manager/pkg-plist41
6 files changed, 132 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 78dc4f361611..caffdbac2679 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -266,6 +266,7 @@
SUBDIR += portsentry
SUBDIR += ppgen
SUBDIR += prelude-lml
+ SUBDIR += prelude-manager
SUBDIR += prelude-nids
SUBDIR += proxycheck
SUBDIR += proxytunnel
diff --git a/security/prelude-manager/Makefile b/security/prelude-manager/Makefile
new file mode 100644
index 000000000000..c950f302b98b
--- /dev/null
+++ b/security/prelude-manager/Makefile
@@ -0,0 +1,59 @@
+# New ports collection makefile for: prelude-manager
+# Date created: Sun Aug 4 19:31:17 CEST 2002
+# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
+#
+# $FreeBSD$
+
+PORTNAME= prelude-manager
+PORTVERSION= 0.8.7
+CATEGORIES= security
+MASTER_SITES= http://www.prelude-ids.org/download/releases/
+
+MAINTAINER= sheepkiller@cultdeadsheep.org
+COMMENT= Prelude Network Intrusion Detection System central logging point
+
+LIB_DEPENDS+= prelude.0:${PORTSDIR}/security/libprelude \
+ xml2.5:${PORTSDIR}/textproc/libxml2
+
+GNU_MAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc \
+ --program-prefix="" --localstatedir=/var
+
+.if defined(WITHOUT_SSL)
+CONFIGURE_ARGS+= --disable-openssl
+.else
+USE_OPENSSL= YES
+CONFIGURE_ARGS+= --enable-openssl
+.endif
+
+.if defined(WITH_MYSQL)
+LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
+CONFIGURE_ARGS+= --enable-mysql
+PLIST_SUB+= MYSQL=""
+.else
+CONFIGURE_ARGS+= --disable-mysql
+PLIST_SUB+= MYSQL="@comment "
+.endif
+
+.if defined(WITH_POSTGRES)
+LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7
+CONFIGURE_ARGS+= --enable-pgsql
+PLIST_SUB+= PGSQL=""
+.else
+CONFIGURE_ARGS+= --disable-pgsql
+PLIST_SUB+= PGSQL="@comment "
+.endif
+
+post-patch:
+ @${ECHO} ""
+ @${ECHO} "*---------------------------------------------------------------------------*"
+ @${ECHO} "Options:"
+ @${ECHO} ""
+ @${ECHO} " WITHOUT_SSL=yes Disable SSL support"
+ @${ECHO} " WITH_MYSQL=yes Enable MySQL support"
+ @${ECHO} " WITH_POSTGRES=yes Enable PostreSQL support"
+ @${ECHO} "*---------------------------------------------------------------------------*"
+ @${ECHO} ""
+
+.include <bsd.port.mk>
diff --git a/security/prelude-manager/distinfo b/security/prelude-manager/distinfo
new file mode 100644
index 000000000000..e6d606042128
--- /dev/null
+++ b/security/prelude-manager/distinfo
@@ -0,0 +1 @@
+MD5 (prelude-manager-0.8.7.tar.gz) = c36667a893abecd731eac5d8b6157e02
diff --git a/security/prelude-manager/files/patch-Makefile.in b/security/prelude-manager/files/patch-Makefile.in
new file mode 100644
index 000000000000..decc3582c755
--- /dev/null
+++ b/security/prelude-manager/files/patch-Makefile.in
@@ -0,0 +1,21 @@
+--- Makefile.in.orig Sat Jun 7 11:01:57 2003
++++ Makefile.in Sat Jun 7 11:02:54 2003
+@@ -420,17 +420,7 @@
+ install-data-local:
+ $(INSTALL) -d -m 700 $(DESTDIR)/$(configdir);
+ $(INSTALL) -d -m 700 $(DESTDIR)/$(manager_fifo_dir)
+- @if test -f $(DESTDIR)/$(configdir)/prelude-manager.conf; then \
+- $(INSTALL) -m 600 $(top_srcdir)/prelude-manager.conf $(DESTDIR)/$(configdir)/prelude-manager.conf-dist; \
+- echo "********************************************************************************"; \
+- echo; \
+- echo "$(DESTDIR)/$(configdir)/prelude-manager.conf already exist..."; \
+- echo "Installing default configuration in $(DESTDIR)/$(configdir)/prelude-manager.conf-dist"; \
+- echo; \
+- echo "********************************************************************************"; \
+- else \
+- $(INSTALL) -m 600 $(top_srcdir)/prelude-manager.conf $(DESTDIR)/$(configdir)/; \
+- fi
++ $(INSTALL) -m 600 $(top_srcdir)/prelude-manager.conf $(DESTDIR)/$(configdir)/prelude-manager.conf-dist;
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/security/prelude-manager/pkg-descr b/security/prelude-manager/pkg-descr
new file mode 100644
index 000000000000..72ab71019c45
--- /dev/null
+++ b/security/prelude-manager/pkg-descr
@@ -0,0 +1,9 @@
+Prelude is a new innovative hybrid Intrusion Detection system designed
+to be very modular, distributed, rock solid and fast.
+
+The manager is the central logging point. It receives alerts from
+sensors and logs them using one or several plugins (the default logging
+being to a text file, but logging to a database is also possible - and
+recommended).
+
+WWW: http://www.prelude-ids.org/
diff --git a/security/prelude-manager/pkg-plist b/security/prelude-manager/pkg-plist
new file mode 100644
index 000000000000..bd21794cefe0
--- /dev/null
+++ b/security/prelude-manager/pkg-plist
@@ -0,0 +1,41 @@
+bin/manager-adduser
+bin/prelude-manager
+bin/prelude-manager-db-create.sh
+@unexec [ -f %D/etc/prelude-manager/prelude-manager.conf-dist ] && rm %D/etc/prelude-manager/prelude-manager.conf-dist || true
+include/prelude-manager/plugin-db.h
+include/prelude-manager/db.h
+include/prelude-manager/plugin-decode.h
+include/prelude-manager/plugin-report.h
+include/prelude-manager/plugin-filter.h
+include/prelude-manager/plugin-util.h
+include/prelude-manager/report.h
+include/prelude-manager/idmef-util.h
+include/prelude-manager/decode.h
+%%MYSQL%%lib/prelude-manager/db/mysql.so
+%%MYSQL%%lib/prelude-manager/db/mysql.la
+%%PGSQL%%lib/prelude-manager/db/pgsql.so
+%%PGSQL%%lib/prelude-manager/db/pgsql.la
+lib/prelude-manager/decodes/prelude-nids.so
+lib/prelude-manager/decodes/prelude-nids.la
+lib/prelude-manager/reports/debug.so
+lib/prelude-manager/reports/debug.la
+lib/prelude-manager/reports/textmod.so
+lib/prelude-manager/reports/textmod.la
+lib/prelude-manager/reports/xmlmod.so
+lib/prelude-manager/reports/xmlmod.la
+share/prelude-manager/mysql/mysql.sql
+share/prelude-manager/pgsql/postgres.sql
+share/prelude-manager/xmlmod/idmef-message.dtd
+%%MYSQL%%share/prelude-manager/mysql/mysql.sql
+%%PGSQL%%share/prelude-manager/pgsql/postgres.sql
+@unexec rmdir %D/etc/prelude-manager 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf ${PKG_PREFIX}/etc/prelude-manager`` to remove any configuration files left." | fmt
+@dirrm include/prelude-manager
+@dirrm lib/prelude-manager/decodes
+@dirrm lib/prelude-manager/reports
+@dirrm lib/prelude-manager
+@dirrm share/doc/prelude-manager
+@dirrm share/prelude-manager/mysql
+@dirrm share/prelude-manager/pgsql
+@dirrm share/prelude-manager/xmlmod
+@dirrm share/prelude-manager
+@unexec rmdir /var/spool/prelude-manager 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf /var/spool/prelude-manager`` to remove any files left." | fmt