aboutsummaryrefslogtreecommitdiff
path: root/security/libpreludedb
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-12-15 22:22:37 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-12-15 22:22:37 +0000
commit89fe9269e119455b22fdaedd92f69187a2321e44 (patch)
tree4f12744fd7400245025a2fec543c64eaad413edb /security/libpreludedb
parentc0efdaffe04194e480869163044975f96e793e3d (diff)
downloadports-89fe9269e119455b22fdaedd92f69187a2321e44.tar.gz
ports-89fe9269e119455b22fdaedd92f69187a2321e44.zip
Update Prelude-IDS ports to 1.0.1 release
security/libprelude: - Remove BROKEN, update to version 1.0.1 [1] - Add missing deps, port requires pkg-config during build security/libpreludedb: - Update to version 1.0.1p1 - Add missing deps - Make options deterministic and not dependent on what's installed security/prelude-lml: - Update to version 1.0.1 - Add missing deps, port requires pkg-config during build - Convert to OptionsNG security/prelude-manager: - Update to version 1.0.2 - Add missing deps, port requires pkg-config during build - Convert to OptionsNG, remove PRELUDEDB option - it can't be turned off by CONFIGURE_ARGS, package links to preludedb at all times if available security/pflogger: - Bump PORTREVISION, libprelude ABI version changed www/py-prewikka: - Update to version 1.0.1p1 - Convert to OptionsNG - Sort plist PR: 172056 [1] Submitted by: KATO Tsuguru <tkato432@yahoo.com> [1]
Notes
Notes: svn path=/head/; revision=308968
Diffstat (limited to 'security/libpreludedb')
-rw-r--r--security/libpreludedb/Makefile37
-rw-r--r--security/libpreludedb/distinfo4
2 files changed, 25 insertions, 16 deletions
diff --git a/security/libpreludedb/Makefile b/security/libpreludedb/Makefile
index 4ab569687d91..b84632c81f55 100644
--- a/security/libpreludedb/Makefile
+++ b/security/libpreludedb/Makefile
@@ -2,18 +2,26 @@
# $FreeBSD$
PORTNAME= libpreludedb
-PORTVERSION= 0.9.15.3
-PORTREVISION= 1
+PORTVERSION= 1.0.1p1
CATEGORIES= security
-MASTER_SITES= http://www.prelude-technologies.com/download/releases/${PORTNAME}/
+MASTER_SITES= https://www.prelude-ids.org/attachments/download/287/
MAINTAINER= ports@FreeBSD.org
COMMENT= Framework library for access to Prelude NIDS database
-LIB_DEPENDS= prelude.20:${PORTSDIR}/security/libprelude
+LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp \
+ gnutls:${PORTSDIR}/security/gnutls \
+ gcrypt:${PORTSDIR}/security/libgcrypt \
+ gpg-error:${PORTSDIR}/security/libgpg-error \
+ prelude:${PORTSDIR}/security/libprelude \
+ nettle:${PORTSDIR}/security/nettle \
+ p11-kit:${PORTSDIR}/security/p11-kit
USE_GMAKE= yes
+USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
+USE_GETTEXT= yes
+USE_ICONV= yes
CONFIGURE_ARGS= --enable-gtk-doc=no
USE_LDCONFIG= yes
@@ -23,11 +31,10 @@ PORTDOCS= *
OPTIONS_DEFINE= DOCS MYSQL PERL PGSQL PYTHON SQLITE
OPTIONS_DEFAULT=MYSQL
-PERL_DESC= Include Perl bindings
-PYTHON_DESC= Include Python bindings
-MYSQL_DESC= Use MySQL backend
-PGSQL_DESC= Use PostgreSQL backend
-SQLITE_DESC= Use SQLite backend
+PERL_DESC= Perl bindings
+MYSQL_DESC= MySQL plugin
+PQSQL_DESC= PostgreSQL plugin
+SQLITE_DESC= SQLite3 plugin
.include <bsd.port.options.mk>
@@ -50,7 +57,7 @@ CONFIGURE_ARGS+= --without-python
PLIST_SUB+= WITH_PYTHON="@comment "
.endif
-.if ${PORT_OPTIONS:MMYSQL} || exists(${LOCALBASE}/bin/mysql_config)
+.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL= yes
CONFIGURE_ARGS+= --with-mysql
PLIST_SUB+= WITH_MYSQL=""
@@ -59,7 +66,7 @@ CONFIGURE_ARGS+= --without-mysql
PLIST_SUB+= WITH_MYSQL="@comment "
.endif
-.if ${PORT_OPTIONS:MPGSQL} || exists(${LOCALBASE}/bin/pg_config)
+.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL= yes
CONFIGURE_ARGS+= --with-postgresql
PLIST_SUB+= WITH_PGSQL=""
@@ -68,11 +75,11 @@ CONFIGURE_ARGS+= --without-postgresql
PLIST_SUB+= WITH_PGSQL="@comment "
.endif
-.if ${PORT_OPTIONS:MSQLITE} || exists(${LOCALBASE}/lib/libsqlite3.so)
+.if ${PORT_OPTIONS:MSQLITE}
USE_SQLITE= yes
CONFIGURE_ARGS+= --with-sqlite3
PLIST_SUB+= WITH_SQLITE=""
-LIB_DEPENDS+= sqlite3.8:${PORTSDIR}/databases/sqlite3
+LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3
.else
CONFIGURE_ARGS+= --without-sqlite3
PLIST_SUB+= WITH_SQLITE="@comment "
@@ -87,7 +94,9 @@ post-install:
@${INSTALL} -d ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/api/html/* ${DOCSDIR}
.endif
-
+.if ${PORT_OPTIONS:MPERL}
+ @${RM} -f ${PREFIX}/lib/perl5/${PERL_VERSION}/${PERL_ARCH}/perllocal.pod
+.endif
@${INSTALL_MAN} ${WRKSRC}/docs/manpages/*.1 ${MAN1PREFIX}/man/man1/
.include <bsd.port.mk>
diff --git a/security/libpreludedb/distinfo b/security/libpreludedb/distinfo
index 6363f842748a..7ba7d4e4bbdd 100644
--- a/security/libpreludedb/distinfo
+++ b/security/libpreludedb/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libpreludedb-0.9.15.3.tar.gz) = de72e86a4e6514998e0760e55024ed3c673d7a4d1e23d84c486ece0643ec2694
-SIZE (libpreludedb-0.9.15.3.tar.gz) = 935457
+SHA256 (libpreludedb-1.0.1p1.tar.gz) = c62a30d2d96bea4188328124a85a53e2aa1e6effebe15c83dd4440248e0f4f61
+SIZE (libpreludedb-1.0.1p1.tar.gz) = 939675