diff options
author | Foxfair Hu <foxfair@FreeBSD.org> | 2003-06-18 02:40:11 +0000 |
---|---|---|
committer | Foxfair Hu <foxfair@FreeBSD.org> | 2003-06-18 02:40:11 +0000 |
commit | 25d1e2e8fcce6704dea3b23a96b95dac1978313f (patch) | |
tree | acebfb80bebe914d52af73cfc345879d9698bb84 /security/libprelude | |
parent | Fix rendering crash with patch developed by the Ted developer and (diff) |
PR: 53011
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
Reviewed by: me
Add libprelude 0.8.5, libraries of prelude Network Intrusion Detection System.
Notes
Notes:
svn path=/head/; revision=83208
Diffstat (limited to 'security/libprelude')
-rw-r--r-- | security/libprelude/Makefile | 44 | ||||
-rw-r--r-- | security/libprelude/distinfo | 1 | ||||
-rw-r--r-- | security/libprelude/files/patch-Makefile.in | 21 | ||||
-rw-r--r-- | security/libprelude/pkg-descr | 7 | ||||
-rw-r--r-- | security/libprelude/pkg-plist | 86 |
5 files changed, 159 insertions, 0 deletions
diff --git a/security/libprelude/Makefile b/security/libprelude/Makefile new file mode 100644 index 000000000000..fa64e39d3b8b --- /dev/null +++ b/security/libprelude/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: libprelude +# Date created: Sun Aug 4 19:31:17 CEST 2002 +# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org> +# $FreeBSD$ + +PORTNAME= libprelude +PORTVERSION= 0.8.5 +CATEGORIES= security +MASTER_SITES= http://www.prelude-ids.org/download/releases/ + +MAINTAINER= sheepkiller@cultdeadsheep.org +COMMENT= Prelude Network Intrusion Detection System librairies + +USE_REINPLACE= yes +GNU_MAKE= yes +GNU_CONFIGURE= yes +USE_AUTOCONF= yes +WANT_AUTOCONF_VER= 253 +INSTALLS_SHLIB= 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 +.endif + +post-extract: + @${ECHO} "" + @${ECHO} "*------------------------------------------------------------------*" + @${ECHO} "Options:" + @${ECHO} "" + @${ECHO} " WITHOUT_SSL=yes Disable SSL support in libprelude" + @${ECHO} "*------------------------------------------------------------------*" + @${ECHO} "" + +pre-configure: + @${REINPLACE_CMD} 's!\$(prefix)/libprelude/include!\$(prefix)/include/libprelude!' \ + ${WRKSRC}/Makefile.in + @${ECHO} "===> Regenerating libltdl configure script (Please wait...)" + @(cd ${WRKSRC}/libltdl ; autoconf) + +.include <bsd.port.mk> diff --git a/security/libprelude/distinfo b/security/libprelude/distinfo new file mode 100644 index 000000000000..f30e13afad38 --- /dev/null +++ b/security/libprelude/distinfo @@ -0,0 +1 @@ +MD5 (libprelude-0.8.5.tar.gz) = 058a375229af13e30761c45f0d76adbe diff --git a/security/libprelude/files/patch-Makefile.in b/security/libprelude/files/patch-Makefile.in new file mode 100644 index 000000000000..89f5d1a6dc61 --- /dev/null +++ b/security/libprelude/files/patch-Makefile.in @@ -0,0 +1,21 @@ +--- Makefile.in.orig Sat Jun 7 09:55:05 2003 ++++ Makefile.in Sat Jun 7 09:56:20 2003 +@@ -429,17 +429,7 @@ + $(INSTALL) -d -m 755 $(DESTDIR)/$(sensors_config_dir); + $(INSTALL) -d -m 755 $(DESTDIR)/$(sensors_config_dir)/ssl; + $(INSTALL) -d -m 755 $(DESTDIR)/$(sensors_config_dir)/plaintext; +- @if test -f $(DESTDIR)/$(sensors_config_dir)/sensors-default.conf; then \ +- echo "********************************************************************************"; \ +- echo; \ +- echo "$(DESTDIR)/$(sensors_config_dir)/sensors-default.conf already exist..."; \ +- echo "Installing default configuration in $(DESTDIR)/$(sensors_config_dir)/sensors-default.conf-dist"; \ +- echo; \ +- echo "********************************************************************************"; \ +- $(INSTALL) -m 644 $(top_srcdir)/sensors-default.conf $(DESTDIR)/$(sensors_config_dir)/sensors-default.conf-dist;\ +- else \ +- $(INSTALL) -m 644 $(top_srcdir)/sensors-default.conf $(DESTDIR)/$(sensors_config_dir)/; \ +- fi ++ $(INSTALL) -m 644 $(top_srcdir)/sensors-default.conf $(DESTDIR)/$(sensors_config_dir)/sensors-default.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/libprelude/pkg-descr b/security/libprelude/pkg-descr new file mode 100644 index 000000000000..5d58775683e6 --- /dev/null +++ b/security/libprelude/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. + +This library provides a number of features to sensors, including +communication with the manager. + +WWW: http://www.prelude-ids.org/ diff --git a/security/libprelude/pkg-plist b/security/libprelude/pkg-plist new file mode 100644 index 000000000000..7a3489305c21 --- /dev/null +++ b/security/libprelude/pkg-plist @@ -0,0 +1,86 @@ +bin/sensor-adduser +bin/libprelude-config +@unexec [ -f %D/etc/prelude-sensors/sensors-default.conf-dist ] && rm %D/etc/prelude-sensors/sensors-default.conf-dist || true +include/libprelude/config-engine.h +include/libprelude/idmef-message-id.h +include/libprelude/idmef-tree.h +include/libprelude/idmef-tree-func.h +include/libprelude/idmef-msg-send.h +include/libprelude/plugin-common.h +include/libprelude/plugin-common-prv.h +include/libprelude/ssl-gencrypto.h +include/libprelude/ssl-settings.h +include/libprelude/ssl-registration-msg.h +include/libprelude/daemonize.h +include/libprelude/string-matching.h +include/libprelude/timer.h +include/libprelude/list.h +include/libprelude/variable.h +include/libprelude/prelude-auth.h +include/libprelude/prelude-list.h +include/libprelude/prelude-client.h +include/libprelude/prelude-client-mgr.h +include/libprelude/prelude-getopt.h +include/libprelude/prelude-getopt-wide.h +include/libprelude/prelude-io.h +include/libprelude/prelude-message.h +include/libprelude/prelude-message-buffered.h +include/libprelude/prelude-message-id.h +include/libprelude/prelude-async.h +include/libprelude/prelude-ident.h +include/libprelude/prelude-path.h +include/libprelude/prelude-log.h +include/libprelude/sensor.h +include/libprelude/threads.h +include/libprelude/extract.h +include/libprelude/common.h +include/libprelude/config.h +lib/libprelude.so.0 +lib/libprelude.so +lib/libprelude.la +share/doc/libprelude/c4.html +share/doc/libprelude/index.html +share/doc/libprelude/libprelude-client-ident.html +share/doc/libprelude/libprelude-common.html +share/doc/libprelude/libprelude-config-engine.html +share/doc/libprelude/libprelude-daemonize.html +share/doc/libprelude/libprelude-extract.html +share/doc/libprelude/libprelude-idmef-message-id.html +share/doc/libprelude/libprelude-idmef-msg-send.html +share/doc/libprelude/libprelude-idmef-tree-func.html +share/doc/libprelude/libprelude-idmef-tree.html +share/doc/libprelude/libprelude-list.html +share/doc/libprelude/libprelude-plugin-common-prv.html +share/doc/libprelude/libprelude-prelude-io.html +share/doc/libprelude/libprelude-plugin-common.html +share/doc/libprelude/libprelude-prelude-async.html +share/doc/libprelude/libprelude-prelude-auth.html +share/doc/libprelude/libprelude-prelude-client-mgr.html +share/doc/libprelude/libprelude-prelude-client.html +share/doc/libprelude/libprelude-prelude-getopt-wide.html +share/doc/libprelude/libprelude-prelude-getopt.html +share/doc/libprelude/libprelude-prelude-ident.html +share/doc/libprelude/libprelude-prelude-list.html +share/doc/libprelude/libprelude-prelude-log.html +share/doc/libprelude/libprelude-prelude-message-buffered.html +share/doc/libprelude/libprelude-prelude-message-id.html +share/doc/libprelude/libprelude-prelude-message.html +share/doc/libprelude/libprelude-prelude-path.html +share/doc/libprelude/libprelude-sensor.html +share/doc/libprelude/libprelude-ssl-gencrypto.html +share/doc/libprelude/libprelude-ssl-registration-msg.html +share/doc/libprelude/libprelude-ssl-settings.html +share/doc/libprelude/libprelude-ssl.html +share/doc/libprelude/libprelude-string-matching.html +share/doc/libprelude/libprelude-threads.html +share/doc/libprelude/libprelude-timer.html +share/doc/libprelude/libprelude-variable.html +share/doc/libprelude/index.sgml +@unexec rmdir %D/etc/prelude-sensors/ssl 2>/dev/null || true +@unexec rmdir %D/etc/prelude-sensors/plaintext 2>/dev/null || true +@unexec rmdir %D/etc/prelude-sensors 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf ${PKG_PREFIX}/etc/prelude-sensors`` to remove any configuration files left." | fmt +@dirrm include/libprelude +@dirrm share/doc/libprelude +@unexec rmdir /var/spool/prelude-sensors 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf /var/spool/prelude-sensors`` to remove any files left." | fmt +@exec /sbin/ldconfig -m +@unexec /sbin/ldconfig -R |