diff options
author | Foxfair Hu <foxfair@FreeBSD.org> | 2003-06-18 02:52:48 +0000 |
---|---|---|
committer | Foxfair Hu <foxfair@FreeBSD.org> | 2003-06-18 02:52:48 +0000 |
commit | 5d3b4fd7b0471ed29c18565ab377171f2836f49c (patch) | |
tree | 8a237740a402f604a5e6d25c73d552d5f00d8a39 /security/prelude-manager | |
parent | a3e283b292f64ee64e2c94b8c0fc9878718a0acd (diff) | |
download | ports-5d3b4fd7b0471ed29c18565ab377171f2836f49c.tar.gz ports-5d3b4fd7b0471ed29c18565ab377171f2836f49c.zip |
Notes
Diffstat (limited to 'security/prelude-manager')
-rw-r--r-- | security/prelude-manager/Makefile | 59 | ||||
-rw-r--r-- | security/prelude-manager/distinfo | 1 | ||||
-rw-r--r-- | security/prelude-manager/files/patch-Makefile.in | 21 | ||||
-rw-r--r-- | security/prelude-manager/pkg-descr | 9 | ||||
-rw-r--r-- | security/prelude-manager/pkg-plist | 41 |
5 files changed, 131 insertions, 0 deletions
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 |