diff options
author | Ultrabug <ultrabug@gentoo.org> | 2017-04-21 16:45:39 +0200 |
---|---|---|
committer | Ultrabug <ultrabug@gentoo.org> | 2017-04-21 16:45:39 +0200 |
commit | 03ff70df20c3af6fd7a07d0a381c45db6b61ed18 (patch) | |
tree | 8ae510de5653a4da3b09dc07e50dfb3c5a68bd02 /sys-cluster/keepalived | |
parent | sys-cluster/keepalived: version bump fix #604750 (diff) | |
download | gentoo-03ff70df20c3af6fd7a07d0a381c45db6b61ed18.tar.gz gentoo-03ff70df20c3af6fd7a07d0a381c45db6b61ed18.tar.bz2 gentoo-03ff70df20c3af6fd7a07d0a381c45db6b61ed18.zip |
sys-cluster/keepalived: ebuild cleanup, drop old unsupported
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'sys-cluster/keepalived')
13 files changed, 0 insertions, 604 deletions
diff --git a/sys-cluster/keepalived/Manifest b/sys-cluster/keepalived/Manifest index 6c62917142c8..0a1593bc8183 100644 --- a/sys-cluster/keepalived/Manifest +++ b/sys-cluster/keepalived/Manifest @@ -1,8 +1,2 @@ -DIST keepalived-1.2.15.tar.gz 345471 SHA256 47db44d78549da704e0794198bfc874be65ca570d15429a6a5c23b8d91109aa9 SHA512 f640e3f2694d359ebb24addb55c48c9ca877fa64daac5e73b4a251bf2a531705a8e02a34d7ee95cd96ad70a282c96f5102d3ce4baa2be90e6df2c8d910551b78 WHIRLPOOL 3273e2d1cdaf8c5ca468e536472c6c781ed4cf78035b559f68693b935eeae04b28204f51e983d9066f294f63dbb05b9d8d77f8c7cb647c77abbd99c6a8f65561 -DIST keepalived-1.2.19.tar.gz 330164 SHA256 32fbae732c1cd854cacd7a930d4a26f5bad6372cdecb5e3139f0c17e87493853 SHA512 d2848726aa97bbd5a3be3e667314a453d26572ef6d14f5f606395a203ceab7bce8a6c63e3b5ebb05c83d75a5491b77f1fa4e3042cd919d7d673c3595ec829974 WHIRLPOOL d99f2ec52b952d8f5d79486e01c58fe6b15e22fe8279a56384958c5597ed031d217495518388efb33ece3170c56220836bcda7c998777deb81d348d0e9fd146a -DIST keepalived-1.2.2.tar.gz 249557 SHA256 4c05dbd149af120506b4f3a66b4016e30d9ad112e4c26a602e28c366705de8c0 SHA512 1ac581c94be846822ef0ea7f3d2084b4a64ebc2cf77f9e41248169daa3319adcdeb8bd2bef2b3ce6630ae620f4b2ab7e9e949881d7efcc3d359004f0ff316ae8 WHIRLPOOL 13ad7a3f97619951f40dd3a7e43253d218b8bb9515c4b9c551125df2d6d6fe1cbf2761e88b54733498adf782aeae10f55ee267c58c297f1765fa86939edc1a00 -DIST keepalived-1.2.22.tar.gz 472770 SHA256 0e386ec0bcad19c202330020a58a0d10b82ca9c107e4d07913664f93cd3df42a SHA512 41b13341cd516e9d6b688d8275271040e6847f62cc3cd488b6a7cf2c200fc06b0efd2f86dfa7a39af4e72157042494f00b60476d1feb6648aae0df0a1a3c5cbf WHIRLPOOL 0f4f882e12c410bc37dbf67e1b5a145e8e04b8da36c73ca3d1eccfec1e96bfaab0d533ed09599219e9bcb41132f62c8d0fe259584bc2d7944bb778cb824cb4e5 -DIST keepalived-1.2.23.tar.gz 476278 SHA256 19e432bcf10ff3e801aa87acf84113a0b57d31524c3ca8866f13ffeb0475d910 SHA512 5879965990f5ad54493d2aa85fbd11ad486d76fe00848c63d293240d7d19ced81ff4f1e4a51cea5b85632b74e800eadd1cf4b2a8fa106abec896a1739f68336a WHIRLPOOL b32c9d95209f92835d65a4f3f3b9685b0c6abb600555567284c4ebee790c647caed180f55e7b5329efba591e1d9a4c381909c222dbae37c9299494d55be1fae6 DIST keepalived-1.2.24.tar.gz 601873 SHA256 3071804478077e606197a2348b5733d7d53af2843906af5e0d544945565c36ef SHA512 a5e555dd955173887896155a04b1f6bb0c2f2a758008472abd5433b057be3fd85e4f270a7b7eb2f36a1c16e46b235ef930b1844938276528ff61bbdd783bb1f5 WHIRLPOOL 03bb40cc499139679a5ca1446334459ef92e8acabce1d7359a30330d2afedc6f425e0226c0f98cabebe05310aac538f503c49627ed46091f132f042213392c5d DIST keepalived-1.3.5.tar.gz 683183 SHA256 c0114d86ea4c896557beb0d9367819a423ffba772bc5d7c548dc455e6b3bd048 SHA512 ebd710167becd4b99b665877953d19477c11f1d1c736eb580a05dedd4946363b756553e20607f34aa6c35f57b7252d8a22287beedc316b62a745fccc4243a720 WHIRLPOOL 4dfe73c20b3c7d40a1e1c4af85754df1ac494e8ada213e9b642197cfba0cd32acee7e17f7f9aec86c72fce8a8a01b36b464e649d6e4b8678a6246486d1468cb1 -DIST keepalived_1.2.2-3.diff.gz 9856 SHA256 104213b98e80c5de7c04ff0a409b88c6aad30f727516f26871fa77dcbdc74aa6 SHA512 d42dc7c591e4134e155e4e8db3cb7ccbf5098f02f09cb9ecfc5b18c43f8c497360018e4584b7f77169b15ca0b28ec84f340dd5c336fc53e3338c62bce0fe1478 WHIRLPOOL 4eefb8765fc78365472687af6d2742c1cdb3eb2ee0e3d0570e5c82e478054547797aaa823786bae73a31bc4b752c334ab6e4784f86f457b140b01ef9a72336aa diff --git a/sys-cluster/keepalived/files/conf-keepalived b/sys-cluster/keepalived/files/conf-keepalived deleted file mode 100644 index e739cced3dbc..000000000000 --- a/sys-cluster/keepalived/files/conf-keepalived +++ /dev/null @@ -1,6 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# Keepalived options -# Increase logging: -#opts="-D" diff --git a/sys-cluster/keepalived/files/init-keepalived b/sys-cluster/keepalived/files/init-keepalived deleted file mode 100644 index 8688c43a30b1..000000000000 --- a/sys-cluster/keepalived/files/init-keepalived +++ /dev/null @@ -1,43 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -opts="reload" - -depend() { - use logger - # The interfaces do not actually need to exist to start, it handles them gracefully. - use net -} - -extra_commands="checkconfig" - -PIDFILE=/var/run/keepalived.pid - -checkconfig() { - # keepalived has a config check command, but it does not work while the daemon is running! - if [ ! -e /etc/keepalived/keepalived.conf ] ; then - eerror "You need an /etc/keepalived/keepalived.conf file to run keepalived" - return 1 - fi -} - -start() { - checkconfig || return 1 - ebegin "Starting Keepalived" - start-stop-daemon --start --quiet --pidfile $PIDFILE \ - --exec /usr/sbin/keepalived -- $opts - eend $? -} - -stop() { - ebegin "Stopping Keepalived" - start-stop-daemon --stop --quiet --pidfile $PIDFILE - eend $? -} - -reload() { - ebegin "Reloading keepalived.conf" - start-stop-daemon --pidfile $PIDFILE --signal HUP - eend $? -} diff --git a/sys-cluster/keepalived/files/keepalived-1.1.20-do-not-need-kernel-sources.patch b/sys-cluster/keepalived/files/keepalived-1.1.20-do-not-need-kernel-sources.patch deleted file mode 100644 index e56cc635907b..000000000000 --- a/sys-cluster/keepalived/files/keepalived-1.1.20-do-not-need-kernel-sources.patch +++ /dev/null @@ -1,110 +0,0 @@ -diff -urN keepalived-1.1.20-orig/configure.in keepalived-1.1.20/configure.in ---- keepalived-1.1.20-orig/configure.in 2009-11-05 18:23:04.000000000 +0100 -+++ keepalived-1.1.20/configure.in 2010-05-31 11:42:05.000000000 +0200 -@@ -51,103 +51,18 @@ - AC_CHECK_LIB(popt, poptGetContext,,AC_MSG_ERROR([Popt libraries is required])) - - dnl ----[ Kernel version check ]---- --CPPFLAGS="$CPPFLAGS -I$kernelinc" --AC_MSG_CHECKING([for kernel version]) --AC_TRY_RUN([ -- #include <stdlib.h> -- #include <stdio.h> -- #include <linux/version.h> -- #if !defined(UTS_RELEASE) && !defined(LINUX_VERSION_CODE) -- #include <linux/utsrelease.h> -- #endif -- int main (void) { -- FILE *fp = fopen ("linuxinfo", "w"); -- if (!fp) return 1; -- #if defined(UTS_RELEASE) -- fprintf (fp, "%s\n", UTS_RELEASE); -- #elif defined(LINUX_VERSION_CODE) -- fprintf (fp, "%d.%d.%d\n", LINUX_VERSION_CODE >> 16, (LINUX_VERSION_CODE >> 8) & 0xFF, LINUX_VERSION_CODE & 0xFF); -- #else -- fprintf (fp, "0.0.0\n"); /* Let's fail gently */ -- #endif -- fclose (fp); -- return 0; -- } -- ], [ -- LINUX_MAJOR=`cat linuxinfo | cut -d'.' -f1` -- LINUX_MINOR=`cat linuxinfo | cut -d'.' -f2` -- LINUX_PATCH=`cat linuxinfo | cut -d'.' -f3` -- ], [ -- LINUX_MAJOR="0" -- LINUX_MINOR="0" -- LINUX_PATCH="0" -- ], [ -- LINUX_MAJOR="0" -- LINUX_MINOR="0" -- LINUX_PATCH="0" -- ]) -- rm -f linuxinfo -- -- if test "$kernelversion" = "2.4"; then -- KERN="_KRNL_2_4_" -- AC_MSG_RESULT([2.4]) -- elif test "$kernelversion" = "2.6"; then -- KERN="_KRNL_2_6_" -- AC_MSG_RESULT([2.6]) -- else -- AC_MSG_RESULT([$LINUX_MAJOR.$LINUX_MINOR.$LINUX_PATCH]) -- if test "$LINUX_MINOR" = "6"; then -- KERN="_KRNL_2_6_" -- elif test "$LINUX_MINOR" = "4"; then -- KERN="_KRNL_2_4_" -- else -- KERN="_KRNL_2_6_" -- fi -- if test "$LINUX_MAJOR" = "0" -a "$LINUX_MINOR" = "0" -a "$LINUX_PATCH" = "0"; then -- AC_MSG_WARN([Cannot determine Linux Kernel version.]) -- fi -- fi -- -+KERN="_KRNL_2_6_" - AC_SUBST(KERN) - - dnl ----[ Checks for LVS and VRRP support ]---- --IPVS_SUPPORT="_WITHOUT_LVS_" --if test "$enable_lvs" != "no"; then -- AC_CHECK_HEADER([net/ip_vs.h], -- [IPVS_SUPPORT="_WITH_LVS_"], -- [ -- IPVS_SUPPORT="_WITHOUT_LVS_" -- AC_MSG_WARN([keepalived will be built without LVS support.]) -- ]) --fi -+IPVS_SUPPORT="_WITH_LVS_" - - if test "$IPVS_SUPPORT" = "_WITHOUT_LVS_" -a "$enable_vrrp" = "no"; then - AC_MSG_ERROR([keepalived MUST be compiled at least with LVS or VRRP framework]) - fi - - dnl ----[ IPVS syncd support probe ]--- --IPVS_SYNCD="_WITHOUT_IPVS_SYNCD_" --if test "$IPVS_SUPPORT" = "_WITH_LVS_"; then -- AC_MSG_CHECKING([for IPVS syncd support]) -- if test "$KERN" = "_KRNL_2_6_"; then -- IPVS_SYNCD="_HAVE_IPVS_SYNCD_" -- elif test "_KRNL_2_4_"; then -- IPVS_SYNCD="_HAVE_IPVS_SYNCD_" -- else -- IPVS_SYNCD="_WITHOUT_IPVS_SYNCD_" -- fi -- -- if test "${IPVS_SUPPORT}" = "_WITHOUT_LVS_" -o "$enable_lvs_syncd" = "no"; then -- IPVS_SYNCD="_WITHOUT_IPVS_SYNCD_" -- fi -- -- if test "$IPVS_SYNCD" = "_HAVE_IPVS_SYNCD_"; then -- AC_MSG_RESULT([yes]) -- else -- AC_MSG_RESULT([no]) -- fi --fi -- -+IPVS_SYNCD="_HAVE_IPVS_SYNCD_" - AC_SUBST(IPVS_SYNCD) - - dnl ----[ Checks for kernel netlink support ]---- diff --git a/sys-cluster/keepalived/files/keepalived-1.2.2-bind-afunspec.patch b/sys-cluster/keepalived/files/keepalived-1.2.2-bind-afunspec.patch deleted file mode 100644 index 1f365d26e517..000000000000 --- a/sys-cluster/keepalived/files/keepalived-1.2.2-bind-afunspec.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/keepalived/core/layer4.c b/keepalived/core/layer4.c -index 5725500..5b33417 100644 ---- a/keepalived/core/layer4.c -+++ b/keepalived/core/layer4.c -@@ -43,7 +43,7 @@ tcp_bind_connect(int fd, struct sockaddr_storage *addr, struct sockaddr_storage - fcntl(fd, F_SETFL, val | O_NONBLOCK); - - /* Bind socket */ -- if (bind_addr) { -+ if (bind_addr && ((struct sockaddr *) bind_addr)->sa_family != AF_UNSPEC) { - addrlen = sizeof(*bind_addr); - if (bind(fd, (struct sockaddr *) bind_addr, addrlen) != 0) - return connect_error;
\ No newline at end of file diff --git a/sys-cluster/keepalived/files/keepalived-1.2.2-fix-ipv4-addr-compare.patch b/sys-cluster/keepalived/files/keepalived-1.2.2-fix-ipv4-addr-compare.patch deleted file mode 100644 index 692f042218fc..000000000000 --- a/sys-cluster/keepalived/files/keepalived-1.2.2-fix-ipv4-addr-compare.patch +++ /dev/null @@ -1,23 +0,0 @@ -From bc49a46989c98eb6ee72a379b18b77e87ed624fa Mon Sep 17 00:00:00 2001 -From: Vincent Bernat <bernat@luffy.cx> -Date: Wed, 07 Dec 2011 09:17:55 +0000 -Subject: Fix IPv4 address comparison routine. - -Two different IPv4 addresses were returned to be equal while this was -not the case. Thanks to Ronie Gilberto Henrich for spotting this bug. ---- -diff --git a/keepalived/include/check_data.h b/keepalived/include/check_data.h -index 50a4757..e3ff458 100644 ---- a/keepalived/include/check_data.h -+++ b/keepalived/include/check_data.h -@@ -163,7 +163,7 @@ static inline int sockstorage_equal(const struct sockaddr_storage *s1, - struct sockaddr_in *a1 = (struct sockaddr_in *) s1; - struct sockaddr_in *a2 = (struct sockaddr_in *) s2; - -- if ((a1->sin_addr.s_addr == a1->sin_addr.s_addr) && -+ if ((a1->sin_addr.s_addr == a2->sin_addr.s_addr) && - (a1->sin_port == a2->sin_port)) - return 1; - } --- -cgit v0.8.3.4 diff --git a/sys-cluster/keepalived/files/keepalived-1.2.2-libipvs-fix-backup-daemon.patch b/sys-cluster/keepalived/files/keepalived-1.2.2-libipvs-fix-backup-daemon.patch deleted file mode 100644 index 9898122e4d25..000000000000 --- a/sys-cluster/keepalived/files/keepalived-1.2.2-libipvs-fix-backup-daemon.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 8c34d5a0d4c763db9b8f1e54be0c6c3ded6c54e0 Mon Sep 17 00:00:00 2001 -From: Alexander Holler <alexander.holler@1und1.de> -Date: Mon, 9 Jan 2012 13:16:55 +0100 -Subject: [PATCH] libipvs: Fix reporting of the state of the backup-daemon. - -ipvsadm -l --daemon didn't report a running ipvs-backup-daemon -(if no master-daemon was run). - -It seems there was some misunderstanding of -how the daemons got reported (without using netlink). The state of -the backup-daemon is always reported (by the kernel) in the second -element of type ip_vs_daemon_user which is returned by the kernel -through IP_VS_SO_GET_DAEMON or IPVS_CMD_GET_DAEMON. ---- - keepalived/libipvs-2.6/libipvs.c | 11 ++++++----- - 1 files changed, 6 insertions(+), 5 deletions(-) - -diff --git a/keepalived/libipvs-2.6/libipvs.c b/keepalived/libipvs-2.6/libipvs.c -index ea5e851..6bee837 100644 ---- a/keepalived/libipvs-2.6/libipvs.c -+++ b/keepalived/libipvs-2.6/libipvs.c -@@ -1003,12 +1003,9 @@ static int ipvs_daemon_parse_cb(struct nl_msg *msg, void *arg) - struct nlattr *attrs[IPVS_CMD_ATTR_MAX + 1]; - struct nlattr *daemon_attrs[IPVS_DAEMON_ATTR_MAX + 1]; - ipvs_daemon_t *u = (ipvs_daemon_t *)arg; -+ __u32 state; - int i = 0; - -- /* We may get two daemons. If we've already got one, this is the second */ -- if (u[0].state) -- i = 1; -- - if (genlmsg_parse(nlh, 0, attrs, IPVS_CMD_ATTR_MAX, ipvs_cmd_policy) != 0) - return -1; - -@@ -1021,7 +1018,11 @@ static int ipvs_daemon_parse_cb(struct nl_msg *msg, void *arg) - daemon_attrs[IPVS_DAEMON_ATTR_SYNC_ID])) - return -1; - -- u[i].state = nla_get_u32(daemon_attrs[IPVS_DAEMON_ATTR_STATE]); -+ state = nla_get_u32(daemon_attrs[IPVS_DAEMON_ATTR_STATE]); -+ /* The second element is used for the state of the backup daemon. */ -+ if (state == IP_VS_STATE_BACKUP) -+ i = 1; -+ u[i].state = state; - strncpy(u[i].mcast_ifn, - nla_get_string(daemon_attrs[IPVS_DAEMON_ATTR_MCAST_IFN]), - IP_VS_IFNAME_MAXLEN); --- -1.7.6.5 - diff --git a/sys-cluster/keepalived/files/keepalived-1.2.2-libipvs-fix-ipv6.patch b/sys-cluster/keepalived/files/keepalived-1.2.2-libipvs-fix-ipv6.patch deleted file mode 100644 index f9435b026242..000000000000 --- a/sys-cluster/keepalived/files/keepalived-1.2.2-libipvs-fix-ipv6.patch +++ /dev/null @@ -1,33 +0,0 @@ -From cf8ff745812b7fe00d509fb50592348b6f60b433 Mon Sep 17 00:00:00 2001 -From: Alexander Holler <alexander.holler@1und1.de> -Date: Mon, 9 Jan 2012 12:58:12 +0100 -Subject: [PATCH] libipvs: Fix initialization of netlink (needed for IPv6) - when the module ip_vs wasn't loaded. - -The following happened when keepalived was started before the module for IPVS was loaded: - -ipvs_init() failed => netlink got disabled. -modprobe_ipvs() -ipvs_init() => netlink was not tested again => no netlink => no IPv6 - -Fixed through testing netlink always in ipvs_init(). ---- - keepalived/libipvs-2.6/libipvs.c | 2 ++ - 1 files changed, 2 insertions(+), 0 deletions(-) - -diff --git a/keepalived/libipvs-2.6/libipvs.c b/keepalived/libipvs-2.6/libipvs.c -index 2c75118..ea5e851 100644 ---- a/keepalived/libipvs-2.6/libipvs.c -+++ b/keepalived/libipvs-2.6/libipvs.c -@@ -114,6 +114,8 @@ int ipvs_init(void) - ipvs_func = ipvs_init; - - #ifdef LIBIPVS_USE_NL -+ try_nl = 1; -+ - if (ipvs_nl_send_message(NULL, NULL, NULL) == 0) { - return ipvs_getinfo(); - } --- -1.7.6.5 - diff --git a/sys-cluster/keepalived/keepalived-1.2.15.ebuild b/sys-cluster/keepalived/keepalived-1.2.15.ebuild deleted file mode 100644 index ec108341d805..000000000000 --- a/sys-cluster/keepalived/keepalived-1.2.15.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit autotools base - -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="debug ipv6 snmp" - -RDEPEND="dev-libs/popt - sys-apps/iproute2 - dev-libs/libnl - dev-libs/openssl - snmp? ( net-analyzer/net-snmp )" -DEPEND="${RDEPEND} - >=sys-kernel/linux-headers-2.6.30" - -PATCHES=( - "${FILESDIR}"/${PN}-1.2.2-libipvs-fix-backup-daemon.patch -) - -DOCS=( README CONTRIBUTORS INSTALL VERSION ChangeLog AUTHOR TODO - doc/keepalived.conf.SYNOPSIS doc/NOTE_vrrp_vmac.txt ) - -src_prepare() { - base_src_prepare - eautoreconf -} - -src_configure() { - STRIP=/bin/true \ - econf \ - --with-kernel-dir=/usr \ - --enable-vrrp \ - $(use_enable debug) \ - $(use_enable snmp) -} - -src_install() { - default - - newinitd "${FILESDIR}"/keepalived.init keepalived - newconfd "${FILESDIR}"/keepalived.confd keepalived - - use snmp && dodoc doc/KEEPALIVED-MIB - - docinto genhash - dodoc genhash/README genhash/AUTHOR genhash/ChangeLog genhash/VERSION || die - # This was badly named by upstream, it's more HOWTO than anything else. - newdoc INSTALL INSTALL+HOWTO - - # Security risk to bundle SSL certs - rm -f "${ED}"/etc/keepalived/samples/*.pem - # Clean up sysvinit files - rm -rf "${ED}"/etc/sysconfig "${ED}"/etc/rc.d/ -} diff --git a/sys-cluster/keepalived/keepalived-1.2.19.ebuild b/sys-cluster/keepalived/keepalived-1.2.19.ebuild deleted file mode 100644 index 4e41c48678d2..000000000000 --- a/sys-cluster/keepalived/keepalived-1.2.19.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit autotools - -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="debug ipv6 snmp" - -RDEPEND="dev-libs/popt - sys-apps/iproute2 - dev-libs/libnl:= - dev-libs/openssl:= - snmp? ( net-analyzer/net-snmp )" -DEPEND="${RDEPEND} - >=sys-kernel/linux-headers-2.6.30" - -PATCHES=( - "${FILESDIR}"/${PN}-1.2.2-libipvs-fix-backup-daemon.patch -) - -DOCS=( README CONTRIBUTORS INSTALL VERSION ChangeLog AUTHOR TODO - doc/keepalived.conf.SYNOPSIS doc/NOTE_vrrp_vmac.txt ) - -src_prepare() { - eautoreconf -} - -src_configure() { - STRIP=/bin/true \ - econf \ - --with-kernel-dir=/usr \ - --enable-vrrp \ - $(use_enable debug) \ - $(use_enable snmp) -} - -src_install() { - default - - newinitd "${FILESDIR}"/keepalived.init keepalived - newconfd "${FILESDIR}"/keepalived.confd keepalived - - use snmp && dodoc doc/KEEPALIVED-MIB - - docinto genhash - dodoc genhash/README genhash/AUTHOR genhash/ChangeLog genhash/VERSION - # This was badly named by upstream, it's more HOWTO than anything else. - newdoc INSTALL INSTALL+HOWTO - - # Security risk to bundle SSL certs - rm -f "${ED}"/etc/keepalived/samples/*.pem - # Clean up sysvinit files - rm -rf "${ED}"/etc/sysconfig "${ED}"/etc/rc.d/ -} diff --git a/sys-cluster/keepalived/keepalived-1.2.2-r4.ebuild b/sys-cluster/keepalived/keepalived-1.2.2-r4.ebuild deleted file mode 100644 index 724c71fa3556..000000000000 --- a/sys-cluster/keepalived/keepalived-1.2.2-r4.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit autotools base - -DESCRIPTION="A strong & robust keepalive facility to the Linux Virtual Server project" -HOMEPAGE="http://www.keepalived.org/" -DEBIAN_PATCH=3 -DEBIAN_A="${P/-/_}-${DEBIAN_PATCH}.diff.gz" -SRC_URI="http://www.keepalived.org/software/${P}.tar.gz - mirror://debian/pool/main/${PN:0:1}/${PN}/${DEBIAN_A}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 s390 sparc x86" -IUSE="debug ipv6" - -RDEPEND="dev-libs/popt - sys-apps/iproute2 - dev-libs/libnl:1.1 - dev-libs/openssl" -DEPEND="${RDEPEND} - >=sys-kernel/linux-headers-2.6.30" - -PATCHES=( - "${FILESDIR}"/${PN}-1.1.20-do-not-need-kernel-sources.patch - "${FILESDIR}"/${PN}-1.2.2-bind-afunspec.patch - "${FILESDIR}"/${PN}-1.2.2-fix-ipv4-addr-compare.patch - "${FILESDIR}"/${PN}-1.2.2-libipvs-fix-backup-daemon.patch -) - -DOCS=( README CONTRIBUTORS INSTALL VERSION ChangeLog AUTHOR TODO doc/keepalived.conf.SYNOPSIS ) - -src_prepare() { - base_src_prepare - EPATCH_OPTS="-p1" epatch "${DISTDIR}"/"${DEBIAN_A}" - epatch "${S}"/debian/patches/*patch - use ipv6 && epatch "${FILESDIR}"/${PN}-1.2.2-libipvs-fix-ipv6.patch - eautoreconf -} - -src_configure() { - STRIP=/bin/true \ - econf \ - --enable-vrrp \ - $(use_enable debug) -} - -src_install() { - default - - newinitd "${FILESDIR}"/init-keepalived keepalived - newconfd "${FILESDIR}"/conf-keepalived keepalived - - docinto genhash - dodoc genhash/README genhash/AUTHOR genhash/ChangeLog genhash/VERSION || die - # This was badly named by upstream, it's more HOWTO than anything else. - newdoc INSTALL INSTALL+HOWTO - - # Security risk to bundle SSL certs - rm -f "${ED}"/etc/keepalived/samples/*.pem - # Clean up sysvinit files - rm -rf "${ED}"/etc/sysconfig "${ED}"/etc/rc.d/ -} diff --git a/sys-cluster/keepalived/keepalived-1.2.22.ebuild b/sys-cluster/keepalived/keepalived-1.2.22.ebuild deleted file mode 100644 index 1b9ac977126f..000000000000 --- a/sys-cluster/keepalived/keepalived-1.2.22.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools - -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="debug ipv6 snmp" - -RDEPEND="dev-libs/popt - sys-apps/iproute2 - dev-libs/libnl:= - dev-libs/openssl:= - snmp? ( net-analyzer/net-snmp ) - net-libs/libnfnetlink" -DEPEND="${RDEPEND} - >=sys-kernel/linux-headers-2.6.30" - -PATCHES=( - "${FILESDIR}"/${PN}-1.2.2-libipvs-fix-backup-daemon.patch -) - -DOCS=( README CONTRIBUTORS INSTALL VERSION ChangeLog AUTHOR TODO - doc/keepalived.conf.SYNOPSIS doc/NOTE_vrrp_vmac.txt ) - -src_prepare() { - eautoreconf - default -} - -src_configure() { - STRIP=/bin/true \ - econf \ - --with-kernel-dir=/usr \ - --enable-vrrp \ - $(use_enable debug) \ - $(use_enable snmp) -} - -src_install() { - default - - newinitd "${FILESDIR}"/keepalived.init keepalived - newconfd "${FILESDIR}"/keepalived.confd keepalived - - use snmp && dodoc doc/KEEPALIVED-MIB - - docinto genhash - dodoc genhash/README genhash/AUTHOR genhash/ChangeLog genhash/VERSION - # This was badly named by upstream, it's more HOWTO than anything else. - newdoc INSTALL INSTALL+HOWTO - - # Security risk to bundle SSL certs - rm -f "${ED}"/etc/keepalived/samples/*.pem - # Clean up sysvinit files - rm -rf "${ED}"/etc/sysconfig "${ED}"/etc/rc.d/ -} diff --git a/sys-cluster/keepalived/keepalived-1.2.23.ebuild b/sys-cluster/keepalived/keepalived-1.2.23.ebuild deleted file mode 100644 index 1b9ac977126f..000000000000 --- a/sys-cluster/keepalived/keepalived-1.2.23.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools - -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="debug ipv6 snmp" - -RDEPEND="dev-libs/popt - sys-apps/iproute2 - dev-libs/libnl:= - dev-libs/openssl:= - snmp? ( net-analyzer/net-snmp ) - net-libs/libnfnetlink" -DEPEND="${RDEPEND} - >=sys-kernel/linux-headers-2.6.30" - -PATCHES=( - "${FILESDIR}"/${PN}-1.2.2-libipvs-fix-backup-daemon.patch -) - -DOCS=( README CONTRIBUTORS INSTALL VERSION ChangeLog AUTHOR TODO - doc/keepalived.conf.SYNOPSIS doc/NOTE_vrrp_vmac.txt ) - -src_prepare() { - eautoreconf - default -} - -src_configure() { - STRIP=/bin/true \ - econf \ - --with-kernel-dir=/usr \ - --enable-vrrp \ - $(use_enable debug) \ - $(use_enable snmp) -} - -src_install() { - default - - newinitd "${FILESDIR}"/keepalived.init keepalived - newconfd "${FILESDIR}"/keepalived.confd keepalived - - use snmp && dodoc doc/KEEPALIVED-MIB - - docinto genhash - dodoc genhash/README genhash/AUTHOR genhash/ChangeLog genhash/VERSION - # This was badly named by upstream, it's more HOWTO than anything else. - newdoc INSTALL INSTALL+HOWTO - - # Security risk to bundle SSL certs - rm -f "${ED}"/etc/keepalived/samples/*.pem - # Clean up sysvinit files - rm -rf "${ED}"/etc/sysconfig "${ED}"/etc/rc.d/ -} |