aboutsummaryrefslogtreecommitdiffstats
path: root/security/prelude-manager
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2005-10-18 22:28:01 +0800
committersergei <sergei@FreeBSD.org>2005-10-18 22:28:01 +0800
commit3c5e0d1fce1b9dd6b7878ab28c4fee2e862cd8fe (patch)
treefe0d96bd4eed226a2eb04c9a2eda18309c160454 /security/prelude-manager
parentdde151e6fd1958ced3fd6ccc535105adb9742673 (diff)
downloadfreebsd-ports-gnome-3c5e0d1fce1b9dd6b7878ab28c4fee2e862cd8fe.tar.gz
freebsd-ports-gnome-3c5e0d1fce1b9dd6b7878ab28c4fee2e862cd8fe.tar.zst
freebsd-ports-gnome-3c5e0d1fce1b9dd6b7878ab28c4fee2e862cd8fe.zip
- Update to 0.9.0
- Database support options moved to separate security/libpreludedb port, which is has been added as dependency - The port now uses GnuTLS instead of OpenSSL (indirectly, via libprelude dependency) - Convert to USE_AUTOTOOLS
Diffstat (limited to 'security/prelude-manager')
-rw-r--r--security/prelude-manager/Makefile46
-rw-r--r--security/prelude-manager/distinfo6
-rw-r--r--security/prelude-manager/files/patch-Makefile.in10
-rw-r--r--security/prelude-manager/pkg-plist67
4 files changed, 29 insertions, 100 deletions
diff --git a/security/prelude-manager/Makefile b/security/prelude-manager/Makefile
index f783d5477acf..c04649f7f550 100644
--- a/security/prelude-manager/Makefile
+++ b/security/prelude-manager/Makefile
@@ -5,57 +5,25 @@
# $FreeBSD$
PORTNAME= prelude-manager
-PORTVERSION= 0.8.10
-PORTREVISION= 1
+PORTVERSION= 0.9.0
CATEGORIES= security
MASTER_SITES= http://www.prelude-ids.org/download/releases/
MAINTAINER= sergei@FreeBSD.org
COMMENT= Prelude Network Intrusion Detection System central logging point
-LIB_DEPENDS+= prelude.1:${PORTSDIR}/security/libprelude \
+LIB_DEPENDS+= prelude.2:${PORTSDIR}/security/libprelude \
+ preludedb.0:${PORTSDIR}/security/libpreludedb \
xml2.5:${PORTSDIR}/textproc/libxml2
+USE_GPG= yes
+SIG_SUFFIX= .sig
USE_GMAKE= yes
+USE_AUTOTOOLS= libtool:15
+INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
--localstatedir=/var
-.if defined(WITHOUT_SSL)
-CONFIGURE_ARGS+= --disable-openssl
-.else
-USE_OPENSSL= YES
-CONFIGURE_ARGS+= --enable-openssl
-.endif
-
-.if defined(WITH_MYSQL)
-USE_MYSQL= YES
-CONFIGURE_ARGS+= --enable-mysql
-PLIST_SUB+= MYSQL=""
-.else
-CONFIGURE_ARGS+= --disable-mysql
-PLIST_SUB+= MYSQL="@comment "
-.endif
-
-.if defined(WITH_POSTGRES)
-USE_PGSQL= YES
-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
index 4604f2a98b01..ee2f775d2155 100644
--- a/security/prelude-manager/distinfo
+++ b/security/prelude-manager/distinfo
@@ -1,2 +1,4 @@
-MD5 (prelude-manager-0.8.10.tar.gz) = 2cdd10740e8840978ad5a2b41d6e13e1
-SIZE (prelude-manager-0.8.10.tar.gz) = 532498
+MD5 (prelude-manager-0.9.0.tar.gz) = c847bd9ae8fc497cf8f7cd1c4c5f0aa2
+SIZE (prelude-manager-0.9.0.tar.gz) = 547077
+MD5 (prelude-manager-0.9.0.tar.gz.sig) = 77af9aba5a7c3d0d3d139457adaceda8
+SIZE (prelude-manager-0.9.0.tar.gz.sig) = 827
diff --git a/security/prelude-manager/files/patch-Makefile.in b/security/prelude-manager/files/patch-Makefile.in
index 0624360d0424..c66bd2907f03 100644
--- a/security/prelude-manager/files/patch-Makefile.in
+++ b/security/prelude-manager/files/patch-Makefile.in
@@ -1,9 +1,9 @@
---- Makefile.in.orig Mon Sep 22 15:45:29 2003
-+++ Makefile.in Mon Sep 22 15:47:15 2003
-@@ -628,17 +628,8 @@
- install-data-local:
+--- Makefile.in.orig Tue Oct 18 12:12:28 2005
++++ Makefile.in Tue Oct 18 12:13:07 2005
+@@ -602,17 +602,8 @@
$(INSTALL) -d -m 700 $(DESTDIR)$(configdir);
- $(INSTALL) -d -m 700 $(DESTDIR)$(manager_fifo_dir)
+ $(INSTALL) -d -m 700 $(DESTDIR)$(manager_run_dir);
+ $(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 "********************************************************************************"; \
diff --git a/security/prelude-manager/pkg-plist b/security/prelude-manager/pkg-plist
index 45c040fe6448..3ac8e056e8b8 100644
--- a/security/prelude-manager/pkg-plist
+++ b/security/prelude-manager/pkg-plist
@@ -1,61 +1,20 @@
-bin/manager-adduser
+@comment $FreeBSD$
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
+etc/prelude-manager/prelude-manager.conf-dist
+include/prelude-manager/prelude-manager.h
+lib/prelude-manager/filters/idmef-criteria.so
+lib/prelude-manager/reports/db.so
lib/prelude-manager/reports/debug.so
-lib/prelude-manager/reports/debug.la
+lib/prelude-manager/reports/relaying.so
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
-%%DOCSDIR%%/c4.html
-%%DOCSDIR%%/index.html
-%%DOCSDIR%%/prelude-manager-admin-server.html
-%%DOCSDIR%%/prelude-manager-auth.html
-%%DOCSDIR%%/prelude-manager-idmef-db-output.html
-%%DOCSDIR%%/prelude-manager-idmef-message-read.html
-%%DOCSDIR%%/prelude-manager-idmef-message-scheduler.html
-%%DOCSDIR%%/prelude-manager-idmef-util.html
-%%DOCSDIR%%/prelude-manager-ntp.html
-%%DOCSDIR%%/prelude-manager-pconfig.html
-%%DOCSDIR%%/prelude-manager-plugin-db.html
-%%DOCSDIR%%/prelude-manager-plugin-decode.html
-%%DOCSDIR%%/index.sgml
-%%DOCSDIR%%/prelude-manager-plugin-filter.html
-%%DOCSDIR%%/prelude-manager-plugin-report.html
-%%DOCSDIR%%/prelude-manager-plugin-util.html
-%%DOCSDIR%%/prelude-manager-report-infos.html
-%%DOCSDIR%%/prelude-manager-sensor-server.html
-%%DOCSDIR%%/prelude-manager-server-generic.html
-%%DOCSDIR%%/prelude-manager-server-logic.html
-%%DOCSDIR%%/prelude-manager-ssl.html
-@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/db
-@dirrm lib/prelude-manager/decodes
+%%DATADIR%%/xmlmod/idmef-message.dtd
+@dirrm %%DATADIR%%/xmlmod
+@dirrm %%DATADIR%%
@dirrm lib/prelude-manager/reports
+@dirrm lib/prelude-manager/filters
@dirrm lib/prelude-manager
-@dirrm share/prelude-manager/mysql
-@dirrm share/prelude-manager/pgsql
-@dirrm share/prelude-manager/xmlmod
-@dirrm share/prelude-manager
-@dirrm %%DOCSDIR%%
+@dirrm include/prelude-manager
+@unexec rmdir %D/etc/prelude-manager 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf %D/etc/prelude-manager`` to remove any configuration files left." | fmt
+@unexec rmdir /var/run/prelude-manager 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf /var/run/prelude-manager`` to remove any files left." | fmt
@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