diff options
author | Tomas Mozes <hydrapolic@gmail.com> | 2019-03-29 13:50:52 +0100 |
---|---|---|
committer | Alexys Jacob <ultrabug@gentoo.org> | 2019-04-14 09:48:31 +0200 |
commit | 5bb1eded94836b7c656b2ef6d42a0013f23ad4a1 (patch) | |
tree | e9a17f1f06c6c0fcdd69bb84c71c6043a65baaa1 /sys-cluster/keepalived | |
parent | dev-util/igprof: Remove last-rited pkg (diff) | |
download | gentoo-5bb1eded94836b7c656b2ef6d42a0013f23ad4a1.tar.gz gentoo-5bb1eded94836b7c656b2ef6d42a0013f23ad4a1.tar.bz2 gentoo-5bb1eded94836b7c656b2ef6d42a0013f23ad4a1.zip |
sys-cluster/keepalived: bump to 2.0.14
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
Closes: https://bugs.gentoo.org/681814
Closes: https://github.com/gentoo/gentoo/pull/11533
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
Diffstat (limited to 'sys-cluster/keepalived')
-rw-r--r-- | sys-cluster/keepalived/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/keepalived/keepalived-2.0.14.ebuild | 88 |
2 files changed, 89 insertions, 0 deletions
diff --git a/sys-cluster/keepalived/Manifest b/sys-cluster/keepalived/Manifest index ee2ad5f2de2c..3cf5d1d220d5 100644 --- a/sys-cluster/keepalived/Manifest +++ b/sys-cluster/keepalived/Manifest @@ -2,3 +2,4 @@ DIST keepalived-2.0.10.tar.gz 927631 BLAKE2B 0cb4c5c613ae2c58f993930c446cdcafdff DIST keepalived-2.0.11.tar.gz 961182 BLAKE2B 226bac3a544434a36b01ebdb43b166b3833fca3ec12014ba9a76e90f12663a5550271dff87155c74ba5eb908dd48fc9dd2cac810705e96ae3bd30df67a26e708 SHA512 ead982aeacdf329109089dfc58a42915ff44b0c4897006000c74642fa3747b2cac1a472faa438ce517f47b80d193d466875ab7130d2206400c8b2ad52f17c6d4 DIST keepalived-2.0.12.tar.gz 947015 BLAKE2B c6c47bbc19bc8b31ae6c2d30616a5cfe90b1195c956b56731e702c909a1478e3793e22a7573f7b337d556c38d411d30f7aa5b4c0e45d14cfc18e17dfe46264d8 SHA512 345f7574cfe978194504691c0a7bcad76b1438bf8833911271647d445f0d1352972257554524e94be44e9d971299678d2f9a026e29088e844bbb3d2b25637076 DIST keepalived-2.0.13.tar.gz 955953 BLAKE2B f6a8d23cdcf4b8484c37da9d48c12394617d36b1a2bba901c899d3397ed5a2ba048a73d98cf137df3c53359b4e83c382b9a958559303e8d1130316a6026a5d3b SHA512 5e33104d114794f9050958d06730d7ecb89e87157a043146509583df595d8e01439a8f1172abb7d2bca0e8e710a4ff6d364dbb0a89f5aafa632e7af2453f3966 +DIST keepalived-2.0.14.tar.gz 966917 BLAKE2B a5a39476b2243deb4d2d6ebb552f286ef591dc41a07f186f7d7cfad0ee4585e2d0fabb55f945e6fe211a0a9f2a1f3cde1505d09daba1f56c93d9ec4204c7a5a6 SHA512 5768f53b8c415a425b73293c448f3ab3df9430637a4723c905b3ae2b20b18b0824267ffabe3fa46bb5cf62e20827ba020d2ebdb70c7ffd7b50ea9f06061b26d6 diff --git a/sys-cluster/keepalived/keepalived-2.0.14.ebuild b/sys-cluster/keepalived/keepalived-2.0.14.ebuild new file mode 100644 index 000000000000..02e558b5285b --- /dev/null +++ b/sys-cluster/keepalived/keepalived-2.0.14.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools systemd + +DESCRIPTION="A strong & robust keepalive facility to the Linux Virtual Server project" +HOMEPAGE="http://www.keepalived.org/" +SRC_URI="http://www.keepalived.org/software/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="+bfd dbus debug -json regex snmp" + +RDEPEND="dev-libs/libnl:= + dev-libs/openssl:= + dev-libs/popt + net-libs/libnfnetlink + sys-apps/iproute2 + regex? ( >=dev-libs/libpcre2-8 ) + dbus? ( sys-apps/dbus dev-libs/glib:2 ) + json? ( dev-libs/json-c:= ) + snmp? ( net-analyzer/net-snmp )" +DEPEND="${RDEPEND} + >=sys-kernel/linux-headers-4.4" + +DOCS=( + README CONTRIBUTORS INSTALL ChangeLog AUTHOR TODO + doc/keepalived.conf.SYNOPSIS doc/NOTE_vrrp_vmac.txt +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + # keepalived has support to dynamically use some libraries instead of + # linking them: + #--enable-dynamic-linking \ + #--enable-libiptc-dynamic \ + #--enable-libnl-dynamic \ + #--enable-libxtables-dynamic \ + STRIP=/bin/true \ + econf \ + --with-init=custom \ + --with-kernel-dir=/usr \ + --enable-sha1 \ + --enable-vrrp \ + $(use_enable bfd) \ + $(use_enable dbus) \ + $(use_enable dbus dbus-create-instance) \ + $(use_enable debug) \ + $(use_enable json) \ + $(use_enable regex) \ + $(use_enable regex regex-timers ) \ + $(use_enable snmp) \ + $(use_enable snmp snmp-checker) \ + $(use_enable snmp snmp-rfc) \ + $(use_enable snmp snmp-rfcv2) \ + $(use_enable snmp snmp-rfcv3) \ + $(use_enable snmp snmp-vrrp) +} + +src_install() { + default + + newinitd "${FILESDIR}"/keepalived.init-r1 keepalived + newconfd "${FILESDIR}"/keepalived.confd-r1 keepalived + + systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service + systemd_install_serviced "${FILESDIR}/${PN}.service.conf" + + use snmp && dodoc doc/*MIB.txt + + docinto genhash + dodoc genhash/README genhash/AUTHOR genhash/ChangeLog + # This was badly named by upstream, it's more HOWTO than anything else. + newdoc INSTALL INSTALL+HOWTO + + # Security risk to bundle SSL certs + rm -v "${ED}"/etc/keepalived/samples/*.pem || die + # Clean up sysvinit files + rm -rv "${ED}"/etc/sysconfig || die +} |