Permalink
Fetching contributors…
Cannot retrieve contributors at this time
77 lines (60 sloc) 2.61 KB
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
name libprelude
version 1.0.1
set download_id 241
revision 5
categories security
license GPL-2+
maintainers googlemail.com:usx303 \
openmaintainer
description Prelude Universal SIM - framework library
long_description \
Prelude is a Universal "Security Information Management" (SIM) system. \
Prelude collects, normalizes, sorts, aggregates, correlates and \
reports all security-related events independently of the product brand \
or license giving rise to such events. \
Libprelude is a library that guarantees secure connections between \
all sensors and the Prelude Manager.
homepage https://www.prelude-siem.org/
master_sites ${homepage}attachments/download/${download_id}/
platforms darwin
build.type gnu
checksums rmd160 13f8be3e22f3495847d7f9a125d0b2e07b93df4c \
sha256 852d981e7d23e49ec25a96a7f54c19a7ee72cd786a0d02c43a27e3e770d5cb6b
depends_build port:pkgconfig
depends_lib port:gettext port:gnutls port:libgcrypt port:libgpg-error \
port:libiconv port:libtasn1 port:libtool port:zlib
# error: conflicting types for ‘lt__PROGRAM__LTX_preloaded_symbols’
patchfiles patch-src-include-prelude-plugin.h.diff
patchfiles-append patch-gnutls-extra.diff
configure.args --mandir=${prefix}/share/man \
--with-html-dir=${prefix}/share/doc \
--localstatedir=${prefix}/var \
--without-swig \
--without-lua \
--without-perl \
--without-python \
RUBY=no \
HAVE_CXX=yes
# checking size of long... configure: error: cannot determine a size for long
universal_variant no
destroot.keepdirs \
${destroot}${prefix}/var/spool/prelude \
${destroot}${prefix}/etc/prelude/profile
post-destroot {
delete ${destroot}${prefix}/lib/charset.alias
}
variant python27 description {python2.7 bindings} {
configure.args-delete --without-python
configure.args-append --with-python=${prefix}/bin/python2.7
depends_lib-append port:python27
}
variant perl description {perl bindings} {
configure.args-delete --without-perl
configure.args-append --with-perl=${prefix}/bin/perl
depends_lib-append path:bin/perl:perl5
}
livecheck.type regex
livecheck.url ${homepage}projects/prelude/files
livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}