Gentoo Archives: gentoo-commits

From: Alexys Jacob <ultrabug@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/keepalived/
Date: Mon, 22 Nov 2021 13:34:02
Message-Id: 1637588032.817fa7bd52ca01af0edf7784bead9c5398810795.ultrabug@gentoo
1 commit: 817fa7bd52ca01af0edf7784bead9c5398810795
2 Author: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 22 13:33:34 2021 +0000
4 Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 22 13:33:52 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=817fa7bd
7
8 sys-cluster/keepalived: drop old
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Alexys Jacob <ultrabug <AT> gentoo.org>
12
13 sys-cluster/keepalived/Manifest | 1 -
14 sys-cluster/keepalived/keepalived-2.2.2.ebuild | 90 --------------------------
15 2 files changed, 91 deletions(-)
16
17 diff --git a/sys-cluster/keepalived/Manifest b/sys-cluster/keepalived/Manifest
18 index ce4a352b9575..8228fbe7071f 100644
19 --- a/sys-cluster/keepalived/Manifest
20 +++ b/sys-cluster/keepalived/Manifest
21 @@ -1,2 +1 @@
22 -DIST keepalived-2.2.2.tar.gz 1159896 BLAKE2B 42ff86b4aa7c0a45a3472102107701262b44b780987ed93f3dde7005f61699c1488fd92fccb75f77ef5dcc83461428bbad79cc59cd4648a824a8bfbe7fbd2c34 SHA512 05bb589c76faa4d3f734ecb1a3e5ac40af006fe5dce962bcd9617f192e59bb5336a911b148c1530fb864333da87c3d42a6fbf7d0ef074f6a53ce5a71db8ec706
23 DIST keepalived-2.2.4.tar.gz 1151290 BLAKE2B 835198fb23312e87894e7740427411d974c00f71029b273d8da3e787ef92848127d896b456fb40db8d802b6c7555e6524872f136f868e19c62387a9471e44b0f SHA512 b8b0f3e7092b7b7093a9927259928076ee95ed176dd26b3a5c38e8c0dc7b83468433944905618dbc9e4b73b81b0cd3f16c2db4234ed4fcdf30f4fc0e532f9422
24
25 diff --git a/sys-cluster/keepalived/keepalived-2.2.2.ebuild b/sys-cluster/keepalived/keepalived-2.2.2.ebuild
26 deleted file mode 100644
27 index c2eee560d645..000000000000
28 --- a/sys-cluster/keepalived/keepalived-2.2.2.ebuild
29 +++ /dev/null
30 @@ -1,90 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit autotools systemd
37 -
38 -DESCRIPTION="A strong & robust keepalive facility to the Linux Virtual Server project"
39 -HOMEPAGE="https://www.keepalived.org/"
40 -SRC_URI="https://www.keepalived.org/software/${P}.tar.gz"
41 -
42 -LICENSE="GPL-2"
43 -SLOT="0"
44 -KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 ~s390 ~sparc x86"
45 -IUSE="+bfd dbus json regex snmp systemd"
46 -
47 -RDEPEND="dev-libs/libnl:=
48 - dev-libs/openssl:=
49 - dev-libs/popt
50 - net-libs/libnfnetlink
51 - sys-apps/iproute2
52 - regex? ( >=dev-libs/libpcre2-8 )
53 - dbus? ( sys-apps/dbus dev-libs/glib:2 )
54 - json? ( dev-libs/json-c:= )
55 - snmp? ( net-analyzer/net-snmp )
56 - systemd? ( sys-apps/systemd )"
57 -DEPEND="${RDEPEND}
58 - >=sys-kernel/linux-headers-4.4"
59 -
60 -DOCS=(
61 - README CONTRIBUTORS INSTALL ChangeLog AUTHOR TODO
62 - doc/keepalived.conf.SYNOPSIS doc/NOTE_vrrp_vmac.txt
63 -)
64 -
65 -src_prepare() {
66 - default
67 -
68 - eautoreconf
69 -}
70 -
71 -src_configure() {
72 - local init
73 - if use systemd; then
74 - init=systemd
75 - else
76 - init=custom
77 - fi
78 -
79 - # keepalived has support to dynamically use some libraries instead of
80 - # linking them:
81 - #--enable-dynamic-linking \
82 - #--enable-libiptc-dynamic \
83 - #--enable-libnl-dynamic \
84 - #--enable-libxtables-dynamic \
85 - STRIP=/bin/true \
86 - econf \
87 - --with-init=${init} \
88 - --with-kernel-dir=/usr \
89 - --enable-sha1 \
90 - --enable-vrrp \
91 - $(use_enable bfd) \
92 - $(use_enable dbus) \
93 - $(use_enable json) \
94 - $(use_enable regex) \
95 - $(use_enable snmp) \
96 - $(use_enable snmp snmp-rfc) \
97 - $(use_enable systemd)
98 -}
99 -
100 -src_install() {
101 - default
102 -
103 - newinitd "${FILESDIR}"/keepalived.init-r1 keepalived
104 - newconfd "${FILESDIR}"/keepalived.confd-r1 keepalived
105 -
106 - systemd_newunit "${FILESDIR}"/${PN}.service-r1 ${PN}.service
107 - systemd_install_serviced "${FILESDIR}/${PN}.service.conf"
108 -
109 - use snmp && dodoc doc/*MIB.txt
110 -
111 - docinto genhash
112 - dodoc genhash/README genhash/AUTHOR genhash/ChangeLog
113 - # This was badly named by upstream, it's more HOWTO than anything else.
114 - newdoc INSTALL INSTALL+HOWTO
115 -
116 - # Security risk to bundle SSL certs
117 - rm -v "${ED}"/etc/keepalived/samples/*.pem || die
118 - # Clean up sysvinit files
119 - rm -rv "${ED}"/etc/sysconfig || die
120 -}