Date: Sat, 7 Jun 2003 12:03:15 +0200 From: "Clement Laforet" <sheepkiller@cultdeadsheep.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Clement Laforet <sheepkiller@cultdeadsheep.org> Subject: ports/53012: [New port]: security/prelude-lml (part of Prelude NIDS port, 2/4) Message-ID: <20030607100334.72A6B43FBD@mx1.FreeBSD.org> Resent-Message-ID: <200306071010.h57AA72U096242@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 53012 >Category: ports >Synopsis: [New port]: security/prelude-lml (part of Prelude NIDS port, 2/4) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jun 07 03:10:07 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Clement Laforet >Release: FreeBSD 4.8-STABLE i386 >Organization: cotds.org >Environment: System: FreeBSD lucifer.cultdeadsheep.org 4.8-STABLE FreeBSD 4.8-STABLE #2: Fri Jun 6 19:30:55 CEST 2003 root@lucifer.cultdeadsheep.org:/usr/src/sys/compile/LUCIFER i386 >Description: Rewrite of ports/41324 PR. prelude-lml : the Prelude Log Monitoring Lackey monitors local logfiles and sends alerts to the manager if something suspicious is found. It is also a sensor. >How-To-Repeat: N/A. >Fix: --- prelude-lml.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # prelude-lml # prelude-lml/distinfo # prelude-lml/Makefile # prelude-lml/pkg-plist # prelude-lml/pkg-descr # prelude-lml/files # prelude-lml/files/patch-Makefile.in # echo c - prelude-lml mkdir -p prelude-lml > /dev/null 2>&1 echo x - prelude-lml/distinfo sed 's/^X//' >prelude-lml/distinfo << 'END-of-prelude-lml/distinfo' XMD5 (prelude-lml-0.8.3.tar.gz) = 2dd22a105da2c93a529202d2621e9c1c END-of-prelude-lml/distinfo echo x - prelude-lml/Makefile sed 's/^X//' >prelude-lml/Makefile << 'END-of-prelude-lml/Makefile' X# New ports collection makefile for: prelude-lml X# Date created: Sun Aug 4 19:31:17 CEST 2002 X# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org> X# X# $FreeBSD$ X XPORTNAME= prelude-lml XPORTVERSION= 0.8.3 XCATEGORIES= security XMASTER_SITES= http://www.prelude-ids.org/download/releases/ X XMAINTAINER= sheepkiller@cultdeadsheep.org XCOMMENT= Prelude Network Intrusion Detection System Log Monitoring Lackey X XLIB_DEPENDS+= prelude.0:${PORTSDIR}/security/libprelude \ X pcre.0:${PORTSDIR}/devel/pcre X XGNU_MAKE= yes XGNU_CONFIGURE= yes XCONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc \ X --program-prefix="" X X.include <bsd.port.mk> END-of-prelude-lml/Makefile echo x - prelude-lml/pkg-plist sed 's/^X//' >prelude-lml/pkg-plist << 'END-of-prelude-lml/pkg-plist' Xbin/prelude-lml Xetc/prelude-lml/ruleset/checkpoint.rules Xetc/prelude-lml/ruleset/cisco.rules Xetc/prelude-lml/ruleset/exim.rules Xetc/prelude-lml/ruleset/grsecurity.rules Xetc/prelude-lml/ruleset/ipfw.rules Xetc/prelude-lml/ruleset/ipso.rules Xetc/prelude-lml/ruleset/netfilter.rules Xetc/prelude-lml/ruleset/ntsyslog.rules Xetc/prelude-lml/ruleset/proftpd.rules Xetc/prelude-lml/ruleset/qpopper.rules Xetc/prelude-lml/ruleset/simple.rules Xetc/prelude-lml/ruleset/squid.rules Xetc/prelude-lml/ruleset/ssh.rules Xetc/prelude-lml/ruleset/vpopmail.rules Xetc/prelude-lml/ruleset/zywall.rules Xetc/prelude-lml/ruleset/zyxel.rules X@unexec [ -f %D/etc/prelude-lml/plugins.rules-dist ] && rm %D/etc/prelude-lml/plugins.rules-dist || true X@unexec [ -f %D/etc/prelude-lml/prelude-lml.conf-dist ] && rm %D/etc/prelude-lml/prelude-lml.conf-dist || true Xinclude/prelude-lml/lml-alert.h Xinclude/prelude-lml/log-common.h Xinclude/prelude-lml/plugin-log.h Xlib/prelude-lml/debug.so Xlib/prelude-lml/debug.la Xlib/prelude-lml/simple.so Xlib/prelude-lml/simple.la Xlib/prelude-lml/pax.so Xlib/prelude-lml/pax.la X@unexec rmdir %D/etc/prelude-lml/ruleset 2>/dev/null || true X@unexec rmdir %D/etc/prelude-lml/metadata 2>/dev/null || true X@unexec rmdir %D/etc/prelude-lml 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf ${PKG_PREFIX}/etc/prelude-lml`` to remove any configuration files left." | fmt X@dirrm include/prelude-lml X@dirrm lib/prelude-lml END-of-prelude-lml/pkg-plist echo x - prelude-lml/pkg-descr sed 's/^X//' >prelude-lml/pkg-descr << 'END-of-prelude-lml/pkg-descr' XPrelude is a new innovative hybrid Intrusion Detection system designed Xto be very modular, distributed, rock solid and fast. X XThe Prelude Log Monitoring Lackey monitors local logfiles and sends Xalerts to the manager if something suspicious is found. It is also a sensor X XWWW: http://www.prelude-ids.org/ END-of-prelude-lml/pkg-descr echo c - prelude-lml/files mkdir -p prelude-lml/files > /dev/null 2>&1 echo x - prelude-lml/files/patch-Makefile.in sed 's/^X//' >prelude-lml/files/patch-Makefile.in << 'END-of-prelude-lml/files/patch-Makefile.in' X--- Makefile.in.orig Sat Apr 26 16:39:13 2003 X+++ Makefile.in Sat Jun 7 10:38:05 2003 X@@ -172,11 +172,11 @@ X $(mkinstalldirs) $(DESTDIR)$(preludeconfdir) X @list='$(preludeconf_DATA)'; for p in $$list; do \ X if test -f $(srcdir)/$$p; then \ X- echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(preludeconfdir)/$$p"; \ X- $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(preludeconfdir)/$$p; \ X+ echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(preludeconfdir)/$$p-dist"; \ X+ $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(preludeconfdir)/$$p-dist; \ X else if test -f $$p; then \ X- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(preludeconfdir)/$$p"; \ X- $(INSTALL_DATA) $$p $(DESTDIR)$(preludeconfdir)/$$p; \ X+ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(preludeconfdir)/$$p-dist"; \ X+ $(INSTALL_DATA) $$p $(DESTDIR)$(preludeconfdir)/$$p-dist; \ X fi; fi; \ X done X X@@ -413,17 +413,7 @@ X X install-data-local: X $(INSTALL) -m 700 -d $(DESTDIR)/$(configdir)/metadata; X- @if test -f $(DESTDIR)/$(configdir)/prelude-lml.conf; then \ X- echo "********************************************************************************"; \ X- echo; \ X- echo "$(DESTDIR)/$(configdir)/prelude-lml.conf already exist..."; \ X- echo "Installing default configuration in $(DESTDIR)/$(configdir)/prelude-lml.conf-dist"; \ X- echo; \ X- echo "********************************************************************************"; \ X- $(INSTALL) -m 600 $(top_srcdir)/prelude-lml.conf $(DESTDIR)/$(configdir)/prelude-lml.conf-dist; \ X- else \ X- $(INSTALL) -m 600 $(top_srcdir)/prelude-lml.conf $(DESTDIR)/$(configdir)/; \ X- fi X+ $(INSTALL) -m 600 $(top_srcdir)/prelude-lml.conf $(DESTDIR)/$(configdir)/prelude-lml.conf-dist; X X nickel: distclean X @find . -type f -name Makefile.in | xargs rm END-of-prelude-lml/files/patch-Makefile.in exit --- prelude-lml.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030607100334.72A6B43FBD>