diff options
Diffstat (limited to 'security/libpreludedb/Makefile')
-rw-r--r-- | security/libpreludedb/Makefile | 53 |
1 files changed, 11 insertions, 42 deletions
diff --git a/security/libpreludedb/Makefile b/security/libpreludedb/Makefile index c6859dbe6f74..c6014ec82dcf 100644 --- a/security/libpreludedb/Makefile +++ b/security/libpreludedb/Makefile @@ -2,36 +2,26 @@ # $FreeBSD$ PORTNAME= libpreludedb -PORTVERSION= 1.0.1p1 -PORTREVISION= 10 +PORTVERSION= 1.2.6 CATEGORIES= security -MASTER_SITES= https://www.prelude-ids.org/attachments/download/287/ +MASTER_SITES= http://www.prelude-siem.org/attachments/download/408/ MAINTAINER= ports@FreeBSD.org -COMMENT= Framework library for access to Prelude NIDS database +COMMENT= Library to access Prelude IDMEF database LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \ - 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 +LIB_DEPENDS= libprelude.so:${PORTSDIR}/security/libprelude -USES= gettext gmake iconv libtool +USES= gmake libtool GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-gtk-doc=no \ - --with-html-dir=${PREFIX}/share/doc +CONFIGURE_ARGS= --without-swig \ + --without-python3 INSTALL_TARGET= install-strip USE_LDCONFIG= yes -PORTDOCS= * - -OPTIONS_DEFINE= DOCS PERL PYTHON +OPTIONS_DEFINE= DOCS PYTHON OPTIONS_MULTI= DB OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE OPTIONS_DEFAULT= MYSQL @@ -40,35 +30,14 @@ OPTIONS_SUB= yes MYSQL_DESC= MySQL plugin MYSQL_USE= mysql=yes MYSQL_CONFIGURE_WITH= mysql -PERL_DESC= Perl bindings -PERL_USES= perl5 -PERL_USE= perl5=build,run -PERL_CONFIGURE_WITH= perl PGSQL_DESC= PostgreSQL plugin PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= postgresql -PYTHON_USES= python -PYTHON_CONFIGURE_WITH= python -PYTHON_PLIST_SUB= PYTHON_VER="${PYTHON_VER}" +PYTHON_USES= python:2.7 +PYTHON_CONFIGURE_WITH= python2=${PYTHON_CMD} +PYTHON_PLIST_SUB= VERSION=${PORTVERSION} SQLITE_DESC= SQLite3 plugin SQLITE_USE= sqlite=yes SQLITE_CONFIGURE_WITH= sqlite3 -post-install: - ${INSTALL_MAN} ${WRKSRC}/docs/manpages/*.1 \ - ${STAGEDIR}${MAN1PREFIX}/man/man1 - -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/api/html/* \ - ${STAGEDIR}${DOCSDIR} - -post-install-PERL-on: - @${FIND} ${STAGEDIR}${PREFIX}/lib/perl5 \ - -name "*.so" | ${XARGS} ${STRIP_CMD} - -post-install-PYTHON-on: - @${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \ - -name "*.so" | ${XARGS} ${STRIP_CMD} - .include <bsd.port.mk> |