summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Andrejak <thomas.andrejak@gmail.com>2017-08-31 00:33:31 +0200
committerMichał Górny <mgorny@gentoo.org>2017-09-08 10:19:20 +0200
commit51734b7ba4cd30a84ed62764197bf6eee88779e7 (patch)
tree588a1c34588e1b6dcdb5b765f7b44d5979d438ff /app-admin/prelude-manager
parentdev-libs/libpreludedb: Bump version 4.0.0 (diff)
downloadgentoo-51734b7ba4cd30a84ed62764197bf6eee88779e7.tar.gz
gentoo-51734b7ba4cd30a84ed62764197bf6eee88779e7.tar.bz2
gentoo-51734b7ba4cd30a84ed62764197bf6eee88779e7.zip
app-admin/prelude-manager: Bump version 4.0.0
Diffstat (limited to 'app-admin/prelude-manager')
-rw-r--r--app-admin/prelude-manager/Manifest1
-rw-r--r--app-admin/prelude-manager/prelude-manager-4.0.0.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/app-admin/prelude-manager/Manifest b/app-admin/prelude-manager/Manifest
index 6d90cb467061..9cf41033f787 100644
--- a/app-admin/prelude-manager/Manifest
+++ b/app-admin/prelude-manager/Manifest
@@ -1,2 +1,3 @@
DIST prelude-manager-3.0.0.tar.gz 1286459 SHA256 379de4c79ccdba4093e9c5a2b9e5c6cee8e8d8694e1358c3d248250c4957dc0b SHA512 4c16a353495179265375686ce9592c8cd044b4255060b78286466bd25f9b38634233c95af058e1c0b81e1b574ec9ada5b2db92d6d1f5594dfcddce572fd0fd67 WHIRLPOOL 35814a88e62e4bfdbd3e8c88f733cd304f8fb355d820ae9887da0c9e6b02936b7aed8d73a05cc458fbf01f7a9e48174d446b1174e1edd44637fadcdc282f3f92
DIST prelude-manager-3.1.0.tar.gz 1301799 SHA256 e5d0dbe306c5473fb5ea86d465595eca2c3d7c74b13c9dcf8786bbbc6e36ae0d SHA512 75df43f9db81d2b6bd87c649eda7bb30ee10510576473bea83cb5cce44f576e9d69d775b5d76dcea8841eee61730a97cdae51e6c8b3a426d2442c5183d0e0d10 WHIRLPOOL 05b6b619f7ddabcbf970e38e9c3af90b8cf6274b694caa276891f2743ea8b991f724f7f5dbbe9867afda1bba3b59d07525fca7f0fe03b0594f8ea0c796f33ce7
+DIST prelude-manager-4.0.0.tar.gz 1353116 SHA256 fa7b5094f9ebeaefa443dd3d3bb3b260e1de42548d4a691a7dd22b18116f67a1 SHA512 793ed37c71eb4884cbbb49b11c7388ee291a35252255458ceadb4ce10d1392e8bad423f95e31bff4550a9cf1d04139e43729352554fd847048b6c8d14f813a8a WHIRLPOOL 1f4f8b7a8ad8df7a97ba3e97252eb9aff7d03f37f1c533b67544d00d02918f2f43cc61f6e523f09d4317951838bd32d8eda212e0e4e7db98def36525fbd603b0
diff --git a/app-admin/prelude-manager/prelude-manager-4.0.0.ebuild b/app-admin/prelude-manager/prelude-manager-4.0.0.ebuild
new file mode 100644
index 000000000000..30855a48ed97
--- /dev/null
+++ b/app-admin/prelude-manager/prelude-manager-4.0.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 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/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dbx geoip tcpwrapper xml"
+
+RDEPEND="net-libs/gnutls:=
+ ~dev-libs/libprelude-${PV}
+ dbx? ( ~dev-libs/libpreludedb-${PV} )
+ 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() {
+ econf \
+ --localstatedir="${EPREFIX}/var" \
+ $(use_with dbx libpreludedb-prefix) \
+ $(use_enable geoip libmaxminddb) \
+ $(use_with tcpwrapper libwrap) \
+ $(usex xml '' '--without-xml-prefix')
+}
+
+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}"
+}