diff options
author | Tomas Mozes <hydrapolic@gmail.com> | 2019-11-22 09:43:29 +0100 |
---|---|---|
committer | Alexys Jacob <ultrabug@gentoo.org> | 2019-11-22 17:53:52 +0100 |
commit | 80ac684604c79b4fd415d4d0d790f764921fe482 (patch) | |
tree | d5fd1fe871b39d4dea30da417bd8f029f6cd277b /sys-cluster | |
parent | sys-cluster/keepalived: bump to 2.0.19 (diff) | |
download | gentoo-80ac684604c79b4fd415d4d0d790f764921fe482.tar.gz gentoo-80ac684604c79b4fd415d4d0d790f764921fe482.tar.bz2 gentoo-80ac684604c79b4fd415d4d0d790f764921fe482.zip |
sys-cluster/keepalived: drop old
Package-Manager: Portage-2.3.79, Repoman-2.3.17
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/keepalived/Manifest | 6 | ||||
-rw-r--r-- | sys-cluster/keepalived/keepalived-2.0.10-r1.ebuild | 77 | ||||
-rw-r--r-- | sys-cluster/keepalived/keepalived-2.0.11.ebuild | 73 | ||||
-rw-r--r-- | sys-cluster/keepalived/keepalived-2.0.12.ebuild | 73 | ||||
-rw-r--r-- | sys-cluster/keepalived/keepalived-2.0.13-r1.ebuild | 88 | ||||
-rw-r--r-- | sys-cluster/keepalived/keepalived-2.0.13.ebuild | 73 | ||||
-rw-r--r-- | sys-cluster/keepalived/keepalived-2.0.15.ebuild | 88 | ||||
-rw-r--r-- | sys-cluster/keepalived/keepalived-2.0.16.ebuild | 88 |
8 files changed, 0 insertions, 566 deletions
diff --git a/sys-cluster/keepalived/Manifest b/sys-cluster/keepalived/Manifest index da17b315fce9..72ef4d06d320 100644 --- a/sys-cluster/keepalived/Manifest +++ b/sys-cluster/keepalived/Manifest @@ -1,9 +1,3 @@ -DIST keepalived-2.0.10.tar.gz 927631 BLAKE2B 0cb4c5c613ae2c58f993930c446cdcafdff8a049a9fb1e31f61d7afe2406b2dde2258d450913577ef8ee18d0171f57e4ad01727d9e0f489cfe25b35826770181 SHA512 e76562e5d9d9dc945f0c9702f5f3c6be6acd8c66a59aea1f8287810a2eeb4c65b6cb7e1cd84c1e478978f7db94dba7f8a918ca4847f90a6554b20d757addd2db -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.15.tar.gz 972461 BLAKE2B 7c57d4ecdec7efe5dcb477e92daf4e6ee947ec66c3dc68a96fe0a7f07656a3c503751f10e9448f80e896b63d987fa9448bb264537106685cfac88ca87096721f SHA512 d426f2d917f72264944e8324409838287d4c535dfd5b5574a41c06828efc9095a2304f87a6435a067d4ad88ad5619108f7de97abb4a257a4c30e335929978dd1 -DIST keepalived-2.0.16.tar.gz 983376 BLAKE2B 6196c617123d0c026cf4476f3e788ef797ebf24649a41ed1cfe360843bfb793d7115e2eaff499154ac84d8d4854ecfbfb6839339878502917a9173a8141545e6 SHA512 290af548c84a369f69df74ca96f8de6e2e6cf20abc7ca03ccad6217856192f4109620b59406b0e829f486c148bc6a4ed3a5efe82c12eeb9314a24471c03f95bd DIST keepalived-2.0.17.tar.gz 1003077 BLAKE2B 68ce64145f917267f6f156fc7b4ffb05ce0bd24b64ddfb3cb2ae8b54850586cffa04c0b617a0f1c6cffd659bba208c145051e436e002ee048908c44fa1c433ff SHA512 6bbcd76604785ef11af4df0a72015ff75a3f47fd04dbe15913f1a30bc80371a188f54020dca881a2b6a562e6ea0b1c5c9c4561c46aa4bdbb8c9f3c54b411d1df DIST keepalived-2.0.18.tar.gz 1015958 BLAKE2B dc941fe24e5945148b8e0ba2f18237f80b4a8382fd83e48b1b0caee2e28648ab8adc405f616d718cb00b097bcd91672f6281f0dbeed20a1fd532c392e4295620 SHA512 11e0a9b9bdca734a923254b4484f4e808cf362e795e3f457f707772b7522929be4bbbba9b1c152b7cb7601d8315b6faea229ed59f115787d6197fbc62770f9a3 DIST keepalived-2.0.19.tar.gz 1025062 BLAKE2B 3a4164ea7468d5709dfc68da9008d83a15273b6a12679e67348b49fc9fba8938d2552f1cb905d0b6af497a5f4f6b3281b3478a4da8707ed35cd30a8601ed1e40 SHA512 68a510983bc043484e5edbc1d87563677a048282ec52873105f0af922e8b4de5b8e7176944010f9d4d6f65d1a4ebaf930c3d37273e28c1f115ed0fda245d8109 diff --git a/sys-cluster/keepalived/keepalived-2.0.10-r1.ebuild b/sys-cluster/keepalived/keepalived-2.0.10-r1.ebuild deleted file mode 100644 index b0e4108824ad..000000000000 --- a/sys-cluster/keepalived/keepalived-2.0.10-r1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# 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="https://www.keepalived.org/" -SRC_URI="https://www.keepalived.org/software/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ~hppa ia64 ppc ppc64 ~s390 sparc x86" -IUSE="dbus debug ipv6 -json snmp" - -RDEPEND="dev-libs/libnl:= - dev-libs/openssl:= - dev-libs/popt - net-libs/libnfnetlink - sys-apps/iproute2 - dbus? ( sys-apps/dbus ) - 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 -) - -PATCHES=( - "${FILESDIR}/${P}-snmp-crash-fix.patch" -) - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - STRIP=/bin/true \ - econf \ - --with-init=custom \ - --with-kernel-dir=/usr \ - --enable-sha1 \ - --enable-vrrp \ - $(use_enable dbus) \ - $(use_enable dbus dbus-create-instance) \ - $(use_enable debug) \ - $(use_enable json) \ - $(use_enable snmp) -} - -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/KEEPALIVED-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 -} diff --git a/sys-cluster/keepalived/keepalived-2.0.11.ebuild b/sys-cluster/keepalived/keepalived-2.0.11.ebuild deleted file mode 100644 index e7e3f1f636d3..000000000000 --- a/sys-cluster/keepalived/keepalived-2.0.11.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# 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="https://www.keepalived.org/" -SRC_URI="https://www.keepalived.org/software/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="dbus debug ipv6 -json snmp" - -RDEPEND="dev-libs/libnl:= - dev-libs/openssl:= - dev-libs/popt - net-libs/libnfnetlink - sys-apps/iproute2 - dbus? ( sys-apps/dbus ) - 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() { - STRIP=/bin/true \ - econf \ - --with-init=custom \ - --with-kernel-dir=/usr \ - --enable-sha1 \ - --enable-vrrp \ - $(use_enable dbus) \ - $(use_enable dbus dbus-create-instance) \ - $(use_enable debug) \ - $(use_enable json) \ - $(use_enable snmp) -} - -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/KEEPALIVED-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 -} diff --git a/sys-cluster/keepalived/keepalived-2.0.12.ebuild b/sys-cluster/keepalived/keepalived-2.0.12.ebuild deleted file mode 100644 index e7e3f1f636d3..000000000000 --- a/sys-cluster/keepalived/keepalived-2.0.12.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# 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="https://www.keepalived.org/" -SRC_URI="https://www.keepalived.org/software/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="dbus debug ipv6 -json snmp" - -RDEPEND="dev-libs/libnl:= - dev-libs/openssl:= - dev-libs/popt - net-libs/libnfnetlink - sys-apps/iproute2 - dbus? ( sys-apps/dbus ) - 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() { - STRIP=/bin/true \ - econf \ - --with-init=custom \ - --with-kernel-dir=/usr \ - --enable-sha1 \ - --enable-vrrp \ - $(use_enable dbus) \ - $(use_enable dbus dbus-create-instance) \ - $(use_enable debug) \ - $(use_enable json) \ - $(use_enable snmp) -} - -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/KEEPALIVED-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 -} diff --git a/sys-cluster/keepalived/keepalived-2.0.13-r1.ebuild b/sys-cluster/keepalived/keepalived-2.0.13-r1.ebuild deleted file mode 100644 index fb23b0325af7..000000000000 --- a/sys-cluster/keepalived/keepalived-2.0.13-r1.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# 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="https://www.keepalived.org/" -SRC_URI="https://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 ) - 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 -} diff --git a/sys-cluster/keepalived/keepalived-2.0.13.ebuild b/sys-cluster/keepalived/keepalived-2.0.13.ebuild deleted file mode 100644 index e7e3f1f636d3..000000000000 --- a/sys-cluster/keepalived/keepalived-2.0.13.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# 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="https://www.keepalived.org/" -SRC_URI="https://www.keepalived.org/software/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="dbus debug ipv6 -json snmp" - -RDEPEND="dev-libs/libnl:= - dev-libs/openssl:= - dev-libs/popt - net-libs/libnfnetlink - sys-apps/iproute2 - dbus? ( sys-apps/dbus ) - 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() { - STRIP=/bin/true \ - econf \ - --with-init=custom \ - --with-kernel-dir=/usr \ - --enable-sha1 \ - --enable-vrrp \ - $(use_enable dbus) \ - $(use_enable dbus dbus-create-instance) \ - $(use_enable debug) \ - $(use_enable json) \ - $(use_enable snmp) -} - -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/KEEPALIVED-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 -} diff --git a/sys-cluster/keepalived/keepalived-2.0.15.ebuild b/sys-cluster/keepalived/keepalived-2.0.15.ebuild deleted file mode 100644 index a00ef1ac4008..000000000000 --- a/sys-cluster/keepalived/keepalived-2.0.15.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# 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="https://www.keepalived.org/" -SRC_URI="https://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 -} diff --git a/sys-cluster/keepalived/keepalived-2.0.16.ebuild b/sys-cluster/keepalived/keepalived-2.0.16.ebuild deleted file mode 100644 index a00ef1ac4008..000000000000 --- a/sys-cluster/keepalived/keepalived-2.0.16.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# 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="https://www.keepalived.org/" -SRC_URI="https://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 -} |