diff options
22 files changed, 3 insertions, 481 deletions
@@ -7030,3 +7030,6 @@ lang/caml-light||2014-09-07|Not staged sysutils/fusefs-wdfs||2014-09-07|Not staged devel/pybaz||2014-09-07|Obsolete, use devel/bzr instead devel/baz||2014-09-07|Unstaged, obsolete, distfiles don't exist. Use devel/bzr instead +security/prelude-lml||2014-09-07|Not staged +security/prelude-manager||2014-09-07|Not staged +security/prelude-pflogger||2014-09-07|Not staged diff --git a/security/Makefile b/security/Makefile index dc900d8dc697..d018eb624956 100644 --- a/security/Makefile +++ b/security/Makefile @@ -722,9 +722,6 @@ SUBDIR += pond SUBDIR += portsentry SUBDIR += ppars - SUBDIR += prelude-lml - SUBDIR += prelude-manager - SUBDIR += prelude-pflogger SUBDIR += proftpd-mod_clamav SUBDIR += proxycheck SUBDIR += proxytunnel diff --git a/security/prelude-lml/Makefile b/security/prelude-lml/Makefile deleted file mode 100644 index 6bf3667557a4..000000000000 --- a/security/prelude-lml/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org> -# $FreeBSD$ - -PORTNAME= prelude-lml -PORTVERSION= 1.0.1 -PORTREVISION= 8 -CATEGORIES= security -MASTER_SITES= https://www.prelude-ids.org/attachments/download/242/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Prelude Network Intrusion Detection System Log Monitoring Lackey - -LIB_DEPENDS= libicuuc.so:${PORTSDIR}/devel/icu \ - libpcre.so:${PORTSDIR}/devel/pcre \ - libgmp.so:${PORTSDIR}/math/gmp \ - libgnutls.so:${PORTSDIR}/security/gnutls \ - libgcrypt.so:${PORTSDIR}/security/libgcrypt \ - libgpg-error.so:${PORTSDIR}/security/libgpg-error \ - libprelude.so:${PORTSDIR}/security/libprelude \ - libnettle.so:${PORTSDIR}/security/nettle \ - libp11-kit.so:${PORTSDIR}/security/p11-kit - -USE_AUTOTOOLS= libltdl -GNU_CONFIGURE= yes -USE_RC_SUBR= prelude-lml -CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc -USES= charsetfix gettext iconv pkgconfig gmake - -OPTIONS_DEFINE= FAM -FAM_CONFIGURE_ENABLE= fam -FAM_USES= fam - -NO_STAGE= yes - -post-install: - @if [ ! -f ${PREFIX}/etc/prelude-lml/prelude-lml.conf ]; then \ - ${CP} -p ${PREFIX}/etc/prelude-lml/prelude-lml.conf-dist \ - ${PREFIX}/etc/prelude-lml/prelude-lml.conf ; \ - fi - @if [ ! -f ${PREFIX}/etc/prelude-lml/plugins.rules ]; then \ - ${CP} -p ${PREFIX}/etc/prelude-lml/plugins.rules-dist \ - ${PREFIX}/etc/prelude-lml/plugins.rules ; \ - fi - -.include <bsd.port.mk> diff --git a/security/prelude-lml/distinfo b/security/prelude-lml/distinfo deleted file mode 100644 index a49ffe23a315..000000000000 --- a/security/prelude-lml/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (prelude-lml-1.0.1.tar.gz) = 2cb7c16d99390f72fde6a725cdb14c32beac7342ae37432607ba343550e3ca89 -SIZE (prelude-lml-1.0.1.tar.gz) = 1258694 diff --git a/security/prelude-lml/files/patch-Makefile.in b/security/prelude-lml/files/patch-Makefile.in deleted file mode 100644 index 45a0011c6ef0..000000000000 --- a/security/prelude-lml/files/patch-Makefile.in +++ /dev/null @@ -1,33 +0,0 @@ ---- Makefile.in.orig Thu Nov 24 14:46:25 2005 -+++ Makefile.in Mon Nov 28 18:41:44 2005 -@@ -601,28 +601,8 @@ - - install-data-local: - $(INSTALL) -m 700 -d $(DESTDIR)$(metadata_dir) -- @if test -f $(DESTDIR)$(configdir)/prelude-lml.conf; then \ -- echo "********************************************************************************"; \ -- echo; \ -- echo "$(DESTDIR)$(configdir)/prelude-lml.conf already exist..."; \ -- echo "Installing default configuration in $(DESTDIR)$(configdir)/prelude-lml.conf-dist"; \ -- echo; \ -- echo "********************************************************************************"; \ -- $(INSTALL) -m 600 $(top_srcdir)/prelude-lml.conf $(DESTDIR)$(configdir)/prelude-lml.conf-dist; \ -- else \ -- $(INSTALL) -m 600 $(top_srcdir)/prelude-lml.conf $(DESTDIR)$(configdir)/; \ -- fi -- @if test -f $(DESTDIR)$(configdir)/plugins.rules; then \ -- echo "********************************************************************************"; \ -- echo; \ -- echo "$(DESTDIR)$(configdir)/plugins.rules already exist..."; \ -- echo "Installing default configuration in $(DESTDIR)$(configdir)/plugins.rules-dist"; \ -- echo; \ -- echo "********************************************************************************"; \ -- $(INSTALL) -m 600 $(top_srcdir)/plugins.rules $(DESTDIR)$(configdir)/plugins.rules-dist; \ -- else \ -- $(INSTALL) -m 600 $(top_srcdir)/plugins.rules $(DESTDIR)$(configdir)/; \ -- fi -+ $(INSTALL) -m 600 $(top_srcdir)/prelude-lml.conf $(DESTDIR)$(configdir)/prelude-lml.conf-dist -+ $(INSTALL) -m 600 $(top_srcdir)/plugins.rules $(DESTDIR)$(configdir)/plugins.rules-dist - - uninstall-local: - rm -f $(DESTDIR)$(configdir)/prelude-lml.conf; \ diff --git a/security/prelude-lml/files/patch-configure b/security/prelude-lml/files/patch-configure deleted file mode 100644 index 51dfde514e23..000000000000 --- a/security/prelude-lml/files/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig 2008-04-24 19:48:16.000000000 +0200 -+++ configure 2008-04-29 11:35:19.000000000 +0200 -@@ -34209,7 +34209,7 @@ - configdir=$SYSCONFDIR/prelude-lml - prelude_lml_conf=$configdir/prelude-lml.conf - regex_conf=$configdir/plugins.rules --metadata_dir=$LOCALSTATEDIR/lib/prelude-lml -+metadata_dir=/var/spool/prelude-lml - plugindir=$LIBDIR/prelude-lml - - diff --git a/security/prelude-lml/files/prelude-lml.in b/security/prelude-lml/files/prelude-lml.in deleted file mode 100644 index 9da1f133c303..000000000000 --- a/security/prelude-lml/files/prelude-lml.in +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh - -# $FreeBSD$ -# -# PROVIDE: prelude_lml -# REQUIRE: LOGIN postgresql mysql -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf.local or /etc/rc.conf -# to enable this service: -# -# prelude_lml_enable (bool): Set to NO by default. -# Set it to YES to enable Prelude LML. -# prelude_lml_flags (flags): Set arguments to use with Prelude LML - -. /etc/rc.subr - -name="prelude_lml" -rcvar=prelude_lml_enable - -load_rc_config $name - -: ${prelude_lml_enable:="NO"} - -command=%%PREFIX%%/bin/prelude-lml -pidfile=/var/run/prelude-lml.pid -command_args="-d -P $pidfile" - -run_rc_command "$1" diff --git a/security/prelude-lml/pkg-descr b/security/prelude-lml/pkg-descr deleted file mode 100644 index b2a852c4ee46..000000000000 --- a/security/prelude-lml/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -Prelude is a new innovative hybrid Intrusion Detection system designed -to be very modular, distributed, rock solid and fast. - -The Prelude Log Monitoring Lackey monitors local logfiles and sends -alerts to the manager if something suspicious is found. It is also a sensor - -WWW: http://www.prelude-ids.org/ diff --git a/security/prelude-lml/pkg-plist b/security/prelude-lml/pkg-plist deleted file mode 100644 index 36e63da0dd28..000000000000 --- a/security/prelude-lml/pkg-plist +++ /dev/null @@ -1,83 +0,0 @@ -bin/prelude-lml -@unexec if cmp -s %D/etc/prelude-lml/plugins.rules %D/etc/prelude-lml/plugins.rules-dist; then rm -f %D/etc/prelude-lml/plugins.rules; fi -etc/prelude-lml/plugins.rules-dist -@exec if [ ! -f %D/etc/prelude-lml/plugins.rules ] ; then cp -p %D/%F %B/plugins.rules; fi -@unexec if cmp -s %D/etc/prelude-lml/prelude-lml.conf %D/etc/prelude-lml/prelude-lml.conf-dist; then rm -f %D/etc/prelude-lml/prelude-lml.conf; fi -etc/prelude-lml/prelude-lml.conf-dist -@exec if [ ! -f %D/etc/prelude-lml/prelude-lml.conf ] ; then cp -p %D/%F %B/prelude-lml.conf; fi -etc/prelude-lml/ruleset/apc-emu.rules -etc/prelude-lml/ruleset/arbor.rules -etc/prelude-lml/ruleset/arpwatch.rules -etc/prelude-lml/ruleset/asterisk.rules -etc/prelude-lml/ruleset/bonding.rules -etc/prelude-lml/ruleset/cacti-thold.rules -etc/prelude-lml/ruleset/checkpoint.rules -etc/prelude-lml/ruleset/cisco-asa.rules -etc/prelude-lml/ruleset/cisco-common.rules -etc/prelude-lml/ruleset/cisco-css.rules -etc/prelude-lml/ruleset/cisco-ips-4200.rules -etc/prelude-lml/ruleset/cisco-ips.rules -etc/prelude-lml/ruleset/cisco-router.rules -etc/prelude-lml/ruleset/cisco-vpn.rules -etc/prelude-lml/ruleset/clamav.rules -etc/prelude-lml/ruleset/dell-om.rules -etc/prelude-lml/ruleset/f5-bigip.rules -etc/prelude-lml/ruleset/freeradius.rules -etc/prelude-lml/ruleset/grsecurity.rules -etc/prelude-lml/ruleset/honeyd.rules -etc/prelude-lml/ruleset/honeytrap.rules -etc/prelude-lml/ruleset/httpd.rules -etc/prelude-lml/ruleset/ipchains.rules -etc/prelude-lml/ruleset/ipfw.rules -etc/prelude-lml/ruleset/juniper.rules -etc/prelude-lml/ruleset/kojoney.rules -etc/prelude-lml/ruleset/linksys-wap11.rules -etc/prelude-lml/ruleset/modsecurity.rules -etc/prelude-lml/ruleset/ms-cluster.rules -etc/prelude-lml/ruleset/ms-sql.rules -etc/prelude-lml/ruleset/nagios.rules -etc/prelude-lml/ruleset/navce.rules -etc/prelude-lml/ruleset/netapp-ontap.rules -etc/prelude-lml/ruleset/netfilter.rules -etc/prelude-lml/ruleset/netscreen.rules -etc/prelude-lml/ruleset/ntsyslog.rules -etc/prelude-lml/ruleset/openhostapd.rules -etc/prelude-lml/ruleset/pam.rules -etc/prelude-lml/ruleset/pcanywhere.rules -etc/prelude-lml/ruleset/pcre.rules -etc/prelude-lml/ruleset/portsentry.rules -etc/prelude-lml/ruleset/postfix.rules -etc/prelude-lml/ruleset/ppp.rules -etc/prelude-lml/ruleset/proftpd.rules -etc/prelude-lml/ruleset/qpopper.rules -etc/prelude-lml/ruleset/rishi.rules -etc/prelude-lml/ruleset/selinux.rules -etc/prelude-lml/ruleset/sendmail.rules -etc/prelude-lml/ruleset/shadow-utils.rules -etc/prelude-lml/ruleset/single.rules -etc/prelude-lml/ruleset/snare_windows.rules -etc/prelude-lml/ruleset/sonicwall.rules -etc/prelude-lml/ruleset/spamassassin.rules -etc/prelude-lml/ruleset/squid.rules -etc/prelude-lml/ruleset/ssh.rules -etc/prelude-lml/ruleset/su.rules -etc/prelude-lml/ruleset/sudo.rules -etc/prelude-lml/ruleset/suhosin.rules -etc/prelude-lml/ruleset/symantec.rules -etc/prelude-lml/ruleset/tripwire.rules -etc/prelude-lml/ruleset/vigor.rules -etc/prelude-lml/ruleset/vpopmail.rules -etc/prelude-lml/ruleset/webmin.rules -etc/prelude-lml/ruleset/wu-ftp.rules -include/prelude-lml/prelude-lml.h -lib/prelude-lml/debug.la -lib/prelude-lml/debug.so -lib/prelude-lml/pcre.la -lib/prelude-lml/pcre.so -@dirrm lib/prelude-lml -@dirrm include/prelude-lml -@dirrm etc/prelude-lml/ruleset -@dirrmtry etc/prelude-lml -@exec install -d -o root -g wheel -m 700 /var/spool/prelude-lml -@unexec rmdir /var/spool/prelude-lml 2>/dev/null || true -@unexec echo "If you are permanently removing this port, you should remove ${PKG_PREFIX}/etc/prelude-lml and /var/spool/prelude-lml directories to clean up any configuration and logfile metadata files left." | fmt diff --git a/security/prelude-manager/Makefile b/security/prelude-manager/Makefile deleted file mode 100644 index beb94bb4b7a2..000000000000 --- a/security/prelude-manager/Makefile +++ /dev/null @@ -1,69 +0,0 @@ -# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org> -# $FreeBSD$ - -PORTNAME= prelude-manager -PORTVERSION= 1.0.2 -PORTREVISION= 6 -CATEGORIES= security -MASTER_SITES= https://www.prelude-ids.org/attachments/download/243/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Prelude Network Intrusion Detection System central logging point - -LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \ - libgnutls.so:${PORTSDIR}/security/gnutls \ - libgcrypt.so:${PORTSDIR}/security/libgcrypt \ - libgpg-error.so:${PORTSDIR}/security/libgpg-error \ - libprelude.so:${PORTSDIR}/security/libprelude \ - libpreludedb.so:${PORTSDIR}/security/libpreludedb \ - libnettle.so:${PORTSDIR}/security/nettle \ - libp11-kit.so:${PORTSDIR}/security/p11-kit - -USES= pkgconfig gettext iconv gmake -USE_AUTOTOOLS= libltdl -GNU_CONFIGURE= yes -USE_LDCONFIG= yes -USE_RC_SUBR= prelude-manager - -CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \ - --localstatedir=/var -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib - -USERS?= prelude -GROUPS?= prelude - -MAN1= prelude-manager.1 - -PLIST_SUB= PRELUDEUSER=${USERS} \ - PRELUDEGROUP=${GROUPS} - -OPTIONS_DEFINE= XML -OPTIONS_DEFAULT=XML - -XML_DESC= XML plugin - -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if !${PORT_OPTIONS:MXML} -PLIST_SUB+= WITH_XML="@comment " -CONFIGURE_ARGS+= --disable-xmltest --without-xml -.else -USE_GNOME= libxml2 -PLIST_SUB+= WITH_XML="" -.endif - -post-install: - @if [ ! -f ${PREFIX}/etc/prelude-manager/prelude-manager.conf ]; then \ - ${CP} -p ${PREFIX}/etc/prelude-manager/prelude-manager.conf-dist \ - ${PREFIX}/etc/prelude-manager/prelude-manager.conf ; \ - fi -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - @${MKDIR} ${EXAMPLESDIR}/smtp - ${INSTALL_DATA} ${WRKSRC}/plugins/reports/smtp/template.example \ - ${EXAMPLESDIR}/smtp/template.example -.endif - -.include <bsd.port.mk> diff --git a/security/prelude-manager/distinfo b/security/prelude-manager/distinfo deleted file mode 100644 index 350178ae9855..000000000000 --- a/security/prelude-manager/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (prelude-manager-1.0.2.tar.gz) = 1c8eb08ba86d9d6c3c1120ae873a1533cd9ab321a22fe65f78ee8b9dd89c9f10 -SIZE (prelude-manager-1.0.2.tar.gz) = 1151156 diff --git a/security/prelude-manager/files/patch-Makefile.in b/security/prelude-manager/files/patch-Makefile.in deleted file mode 100644 index 9204854ecfb0..000000000000 --- a/security/prelude-manager/files/patch-Makefile.in +++ /dev/null @@ -1,21 +0,0 @@ ---- Makefile.in.orig 2012-06-13 12:25:15.000000000 +0200 -+++ Makefile.in 2012-12-15 21:04:06.000000000 +0100 -@@ -1425,17 +1425,7 @@ - $(INSTALL) -d -m 700 $(DESTDIR)$(manager_run_dir); - $(INSTALL) -d -m 700 $(DESTDIR)$(manager_scheduler_dir); - $(INSTALL) -d -m 700 $(DESTDIR)$(manager_failover_dir); -- @if test -f $(DESTDIR)$(configdir)/prelude-manager.conf; then \ -- $(INSTALL) -m 600 $(top_builddir)/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_builddir)/prelude-manager.conf $(DESTDIR)$(configdir)/; \ -- fi -+ $(INSTALL) -m 600 $(top_srcdir)/prelude-manager.conf $(DESTDIR)$(configdir)/prelude-manager.conf-dist - - dist-hook: - @if test -d "$(srcdir)/.git"; then \ diff --git a/security/prelude-manager/files/patch-plugins:reports:smtp:Makefile.in b/security/prelude-manager/files/patch-plugins:reports:smtp:Makefile.in deleted file mode 100644 index b2efac2fa9f3..000000000000 --- a/security/prelude-manager/files/patch-plugins:reports:smtp:Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/reports/smtp/Makefile.in.orig 2008-08-21 18:22:54.000000000 +0600 -+++ plugins/reports/smtp/Makefile.in 2009-02-11 14:19:28.000000000 +0500 -@@ -767,7 +767,7 @@ - - info-am: - --install-data-am: install-smtpLTLIBRARIES install-smtptemplateDATA -+install-data-am: install-smtpLTLIBRARIES - - install-exec-am: - diff --git a/security/prelude-manager/files/prelude-manager.in b/security/prelude-manager/files/prelude-manager.in deleted file mode 100644 index ce8627650f55..000000000000 --- a/security/prelude-manager/files/prelude-manager.in +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -# $FreeBSD$ -# -# PROVIDE: prelude_manager -# REQUIRE: NETWORKING SERVERS -# -# Add the following lines to /etc/rc.conf.local or /etc/rc.conf -# to enable this service: -# -# prelude_manager_enable (bool): Set to NO by default. -# Set it to YES to enable Prelude Manager. -# prelude_manager_flags (flags): Set arguments to use with Prelude Manager - -. /etc/rc.subr - -name="prelude_manager" -rcvar=prelude_manager_enable - -command=%%PREFIX%%/bin/prelude-manager -pidfile=/var/run/prelude-manager.pid - -load_rc_config $name - -: ${prelude_manager_enable="NO"} -: ${prelude_manager_flags="-d -P ${pidfile}"} - -run_rc_command "$1" diff --git a/security/prelude-manager/pkg-descr b/security/prelude-manager/pkg-descr deleted file mode 100644 index 72ab71019c45..000000000000 --- a/security/prelude-manager/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -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 deleted file mode 100644 index 208acec89f3b..000000000000 --- a/security/prelude-manager/pkg-plist +++ /dev/null @@ -1,38 +0,0 @@ -@exec mkdir -p /var/spool/prelude-manager/failover -@exec mkdir -p /var/spool/prelude-manager/scheduler -@exec chmod 700 /var/spool/prelude-manager /var/spool/prelude-manager/failover /var/spool/prelude-manager/scheduler -@exec chown %%PRELUDEUSER%%:%%PRELUDEGROUP%% /var/run/prelude-manager /var/spool/prelude-manager /var/spool/prelude-manager/failover /var/spool/prelude-manager/scheduler -bin/prelude-manager -@unexec if cmp -s %D/etc/prelude-manager/prelude-manager.conf %D/etc/prelude-manager/prelude-manager.conf-dist; then rm -f %D/etc/prelude-manager/prelude-manager.conf; fi -etc/prelude-manager/prelude-manager.conf-dist -@exec if [ ! -f %D/etc/prelude-manager/prelude-manager.conf ] ; then cp -p %D/%F %B/prelude-manager.conf; fi -include/prelude-manager/prelude-manager.h -lib/prelude-manager/filters/idmef-criteria.la -lib/prelude-manager/filters/idmef-criteria.so -lib/prelude-manager/filters/thresholding.so -lib/prelude-manager/filters/thresholding.la -lib/prelude-manager/decodes/normalize.so -lib/prelude-manager/decodes/normalize.la -lib/prelude-manager/reports/db.la -lib/prelude-manager/reports/db.so -lib/prelude-manager/reports/debug.la -lib/prelude-manager/reports/debug.so -lib/prelude-manager/reports/smtp.la -lib/prelude-manager/reports/smtp.so -lib/prelude-manager/reports/textmod.la -lib/prelude-manager/reports/textmod.so -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/smtp/template.example -%%WITH_XML%%lib/prelude-manager/reports/xmlmod.la -%%WITH_XML%%lib/prelude-manager/reports/xmlmod.so -%%WITH_XML%%%%DATADIR%%/xmlmod/idmef-message.dtd -%%WITH_XML%%@dirrmtry %%DATADIR%%/xmlmod -@dirrmtry %%DATADIR%% -@dirrmtry %%EXAMPLESDIR%%/smtp -@dirrmtry %%EXAMPLESDIR%% -@dirrmtry lib/prelude-manager/decodes -@dirrmtry lib/prelude-manager/reports -@dirrmtry lib/prelude-manager/filters -@dirrmtry lib/prelude-manager -@dirrmtry include/prelude-manager -@dirrmtry etc/prelude-manager -@unexec echo "If you are permanently removing this port, you should remove ${PKG_PREFIX}/etc/prelude-manager, /var/run/prelude-manager and /var/spool/prelude-manager directories to clean up any files left." | fmt diff --git a/security/prelude-pflogger/Makefile b/security/prelude-pflogger/Makefile deleted file mode 100644 index 26d4d41a1e11..000000000000 --- a/security/prelude-pflogger/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# Created by: Anders Troback <freebsd@troback.com> -# $FreeBSD$ - -PORTNAME= prelude-pflogger -DISTVERSION= 0.9.0-rc2 -PORTREVISION= 4 -CATEGORIES= security -MASTER_SITES= http://www.prelude-ids.com/download/releases/${PORTNAME}/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Prelude-PFlogger Listens at OpenBSD PF - -LIB_DEPENDS+= libprelude.so:${PORTSDIR}/security/libprelude - -USES= gmake -GNU_CONFIGURE= yes -USE_RC_SUBR= prelude-pflogger - -NO_STAGE= yes -.include <bsd.port.mk> diff --git a/security/prelude-pflogger/distinfo b/security/prelude-pflogger/distinfo deleted file mode 100644 index b825db69b803..000000000000 --- a/security/prelude-pflogger/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -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/patch-process_packet.c b/security/prelude-pflogger/files/patch-process_packet.c deleted file mode 100644 index 21be4a62e4d3..000000000000 --- a/security/prelude-pflogger/files/patch-process_packet.c +++ /dev/null @@ -1,31 +0,0 @@ ---- src/process_packet.c.orig 2005-09-18 10:29:54.000000000 -0400 -+++ src/process_packet.c 2013-08-16 14:36:28.000000000 -0400 -@@ -43,10 +43,10 @@ - #include <net/if_pflog.h> - #include <net/pfvar.h> - #include <netdb.h> -+#include <net/bpf.h> - #include <pcap.h> - #include <sys/ioctl.h> - #include <fcntl.h> --#include <net/bpf.h> - #include <errno.h> - - #include <libprelude/prelude.h> -@@ -494,12 +494,12 @@ - char *dir_str, - char *buffer, size_t size) - { -- struct { char *name; int n; } ip_proto_table[] = CTL_IPPROTO_NAMES; -+ struct protoent *proto; - char *proto_name = "unknown"; - -- if ( packet_info->ip_proto_type < sizeof (ip_proto_table) / sizeof (ip_proto_table[0]) && -- ip_proto_table[packet_info->ip_proto_type].name ) -- proto_name = ip_proto_table[packet_info->ip_proto_type].name; -+ proto = getprotobynumber(packet_info->ip_proto_type); -+ if (proto != NULL) -+ proto_name = proto->p_name; - - return snprintf(buffer, size, - "OpenBSD PF %s an %s %s packet %s -> %s on interface %s (TTL:%hhu)", diff --git a/security/prelude-pflogger/files/prelude-pflogger.in b/security/prelude-pflogger/files/prelude-pflogger.in deleted file mode 100644 index ef8f9e73e933..000000000000 --- a/security/prelude-pflogger/files/prelude-pflogger.in +++ /dev/null @@ -1,27 +0,0 @@ -#!/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 -# - -. /etc/rc.subr - -name="prelude_pflogger" -rcvar=prelude_pflogger_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 deleted file mode 100644 index 7be4454ef464..000000000000 --- a/security/prelude-pflogger/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -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 deleted file mode 100644 index c00becd12e26..000000000000 --- a/security/prelude-pflogger/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/prelude-pflogger -%%ETCDIR%%/prelude-pflogger.conf -@dirrm %%ETCDIR%% |