summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Andrejak <thomas.andrejak@gmail.com>2018-05-19 18:33:42 +0200
committerTony Vroon <chainsaw@gentoo.org>2018-07-18 08:31:50 +0100
commit65f16f10420135293f89ee83d6df18d3a04802aa (patch)
tree05c41c766f3954cc6f7e8ec3fb18da313eb5d849 /app-admin
parentdev-libs/libpreludedb: Bump version 4.1 (diff)
downloadgentoo-65f16f10420135293f89ee83d6df18d3a04802aa.tar.gz
gentoo-65f16f10420135293f89ee83d6df18d3a04802aa.tar.bz2
gentoo-65f16f10420135293f89ee83d6df18d3a04802aa.zip
app-admin/prelude-manager: Bump version 4.1
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/prelude-manager/Manifest1
-rw-r--r--app-admin/prelude-manager/prelude-manager-4.1.1.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/app-admin/prelude-manager/Manifest b/app-admin/prelude-manager/Manifest
index f4e748512110..de3391361b33 100644
--- a/app-admin/prelude-manager/Manifest
+++ b/app-admin/prelude-manager/Manifest
@@ -1,3 +1,4 @@
DIST prelude-manager-3.0.0.tar.gz 1286459 BLAKE2B 0909b0d7501909de51cd580b6ce22a66b1900a3b5b7376d3aeb4136bf41128ab766a025d69d33c414a9623dabb0de144e2f21190c3c3cccb9c067db359aab1bd SHA512 4c16a353495179265375686ce9592c8cd044b4255060b78286466bd25f9b38634233c95af058e1c0b81e1b574ec9ada5b2db92d6d1f5594dfcddce572fd0fd67
DIST prelude-manager-3.1.0.tar.gz 1301799 BLAKE2B 938937d2752ad47630b36c3a546f2493a964fde01e3df694e4a9fbddfa1efc3ddc9d864f8c1169e8ae8f3b414c4cd1983bbbd015f192ee065e2531489a23ba8b SHA512 75df43f9db81d2b6bd87c649eda7bb30ee10510576473bea83cb5cce44f576e9d69d775b5d76dcea8841eee61730a97cdae51e6c8b3a426d2442c5183d0e0d10
DIST prelude-manager-4.0.0.tar.gz 1353116 BLAKE2B 20aaa28797a67fd310807735bb08f0c21c3bd95950598a86c45144ee2474785aef0c7d569732c817509ae8ae52ffce5f43f3c071931f2960578681f91a8c9504 SHA512 793ed37c71eb4884cbbb49b11c7388ee291a35252255458ceadb4ce10d1392e8bad423f95e31bff4550a9cf1d04139e43729352554fd847048b6c8d14f813a8a
+DIST prelude-manager-4.1.1.tar.gz 1415847 BLAKE2B 7cea7209a680a38cf597a9678f3ac9a31b00187e4597e1aeed91bbe57a55981279e8399ee8c90a044e40873e595ca648736fa79090420d9bcd72b82588f7bb5e SHA512 4e9d09b56eb7ec55144caa06a04e458bf0462d8c0064a34aac5aa0fb96a30fbefe5a4956185b606ec58fc410e4cbcac8721e521b3396303b3bff88808042a966
diff --git a/app-admin/prelude-manager/prelude-manager-4.1.1.ebuild b/app-admin/prelude-manager/prelude-manager-4.1.1.ebuild
new file mode 100644
index 000000000000..58cb583e19ac
--- /dev/null
+++ b/app-admin/prelude-manager/prelude-manager-4.1.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools systemd
+
+DESCRIPTION="Bus communication for all Prelude modules"
+HOMEPAGE="https://www.prelude-siem.org"
+SRC_URI="https://www.prelude-siem.org/pkg/src/4.1.0/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dbx geoip tcpwrapper xml"
+
+RDEPEND="net-libs/gnutls:=
+ ~dev-libs/libprelude-4.1.0
+ dbx? ( ~dev-libs/libpreludedb-4.1.0 )
+ geoip? ( dev-libs/libmaxminddb )
+ tcpwrapper? ( sys-apps/tcp-wrappers )
+ xml? ( dev-libs/libxml2 )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-3.1.0-run.patch"
+)
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=(
+ --localstatedir="${EPREFIX}/var"
+ $(use_with dbx libpreludedb-prefix)
+ $(use_enable geoip libmaxminddb)
+ $(use_with tcpwrapper libwrap)
+ $(usex xml '' '--without-xml-prefix')
+ )
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+
+ rm -rv "${ED%/}/run" || die "rm failed"
+ keepdir /var/spool/prelude-manager{,/failover,/scheduler}
+
+ find "${D}" -name '*.la' -delete || die
+
+ systemd_dounit "${FILESDIR}/${PN}.service"
+ systemd_newtmpfilesd "${FILESDIR}/${PN}.run" "${PN}.conf"
+
+ newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+}