Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/keepalived/files/, sys-cluster/keepalived/
Date: Mon, 07 Jan 2019 16:53:11
Message-Id: 1546879972.78694bbb35225a0e2e39d686456563d492bfe81c.whissi@gentoo
1 commit: 78694bbb35225a0e2e39d686456563d492bfe81c
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 7 16:49:58 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 7 16:52:52 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78694bbb
7
8 sys-cluster/keepalived: security cleanup
9
10 Bug: https://bugs.gentoo.org/670856
11 Package-Manager: Portage-2.3.54, Repoman-2.3.12
12 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
13
14 sys-cluster/keepalived/Manifest | 2 -
15 sys-cluster/keepalived/files/keepalived.confd | 6 ---
16 sys-cluster/keepalived/files/keepalived.init | 33 ------------
17 sys-cluster/keepalived/keepalived-1.4.3.ebuild | 69 --------------------------
18 sys-cluster/keepalived/keepalived-1.4.5.ebuild | 69 --------------------------
19 5 files changed, 179 deletions(-)
20
21 diff --git a/sys-cluster/keepalived/Manifest b/sys-cluster/keepalived/Manifest
22 index c4b2e44ff8c..ba4b0cadf07 100644
23 --- a/sys-cluster/keepalived/Manifest
24 +++ b/sys-cluster/keepalived/Manifest
25 @@ -1,3 +1 @@
26 -DIST keepalived-1.4.3.tar.gz 744680 BLAKE2B d9ea5ef277bb0d11c489bbc8770f46528f1ddde14b2e8fb72fdccd543ff4583426aa2bb214e00e3964518e726377b049560ed35daf38f4cafcd4e7c43a13b78d SHA512 bbf734123edeee4c807788e8db626975d7b626003ce2a6b901fbac3b7985b11c222db78e2806a7e7211980a748a6a302847736b14f3f8ed32b7337dbde6f4eac
27 -DIST keepalived-1.4.5.tar.gz 749813 BLAKE2B ff379d46b5f5a4912feeb1e9a039a95a76027a50868ade8ac31bc4dea22573a51489939bb29bc20c0eb912f78b1e57fbc6ac18e4b8e38d6493d271e135f8332f SHA512 0786ecbef6dd840c8852f619cad1ea6a9c98b86a6c26bc6b104b38825212af689fbeb45148404b94dc6e3cdf7626cb6b2c902685b03586d05177578dff957bd5
28 DIST keepalived-2.0.10.tar.gz 927631 BLAKE2B 0cb4c5c613ae2c58f993930c446cdcafdff8a049a9fb1e31f61d7afe2406b2dde2258d450913577ef8ee18d0171f57e4ad01727d9e0f489cfe25b35826770181 SHA512 e76562e5d9d9dc945f0c9702f5f3c6be6acd8c66a59aea1f8287810a2eeb4c65b6cb7e1cd84c1e478978f7db94dba7f8a918ca4847f90a6554b20d757addd2db
29
30 diff --git a/sys-cluster/keepalived/files/keepalived.confd b/sys-cluster/keepalived/files/keepalived.confd
31 deleted file mode 100644
32 index 5f56cb23b03..00000000000
33 --- a/sys-cluster/keepalived/files/keepalived.confd
34 +++ /dev/null
35 @@ -1,6 +0,0 @@
36 -# Copyright 1999-2012 Gentoo Foundation
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -# Keepalived options
40 -# Increase logging:
41 -#KEEPALIVED_OPTS="-D"
42
43 diff --git a/sys-cluster/keepalived/files/keepalived.init b/sys-cluster/keepalived/files/keepalived.init
44 deleted file mode 100644
45 index c290c9dbc51..00000000000
46 --- a/sys-cluster/keepalived/files/keepalived.init
47 +++ /dev/null
48 @@ -1,33 +0,0 @@
49 -#!/sbin/openrc-run
50 -# Copyright 1999-2013 Gentoo Foundation
51 -# Distributed under the terms of the GNU General Public License v2
52 -
53 -depend() {
54 - use logger
55 - # The interfaces do not actually need to exist to start, it handles them gracefully.
56 - use net
57 -}
58 -
59 -command="/usr/sbin/keepalived"
60 -command_args="${KEEPALIVED_OPTS}"
61 -pidfile="/var/run/keepalived.pid"
62 -
63 -extra_commands="checkconfig reload"
64 -
65 -checkconfig() {
66 - # keepalived has a config check command, but it does not work while the daemon is running!
67 - if [ ! -e /etc/keepalived/keepalived.conf ] ; then
68 - eerror "You need an /etc/keepalived/keepalived.conf file to run keepalived"
69 - return 1
70 - fi
71 -}
72 -
73 -start_pre() {
74 - checkconfig || return 1
75 -}
76 -
77 -reload() {
78 - ebegin "Reloading keepalived.conf"
79 - start-stop-daemon --pidfile $pidfile --signal HUP
80 - eend $?
81 -}
82
83 diff --git a/sys-cluster/keepalived/keepalived-1.4.3.ebuild b/sys-cluster/keepalived/keepalived-1.4.3.ebuild
84 deleted file mode 100644
85 index bf0732de58b..00000000000
86 --- a/sys-cluster/keepalived/keepalived-1.4.3.ebuild
87 +++ /dev/null
88 @@ -1,69 +0,0 @@
89 -# Copyright 1999-2018 Gentoo Foundation
90 -# Distributed under the terms of the GNU General Public License v2
91 -
92 -EAPI=6
93 -
94 -inherit autotools
95 -
96 -DESCRIPTION="A strong & robust keepalive facility to the Linux Virtual Server project"
97 -HOMEPAGE="http://www.keepalived.org/"
98 -SRC_URI="http://www.keepalived.org/software/${P}.tar.gz"
99 -
100 -LICENSE="GPL-2"
101 -SLOT="0"
102 -KEYWORDS="alpha amd64 ~hppa ia64 ppc ppc64 ~s390 sparc x86"
103 -IUSE="dbus debug ipv6 -json snmp"
104 -
105 -RDEPEND="dev-libs/libnl:=
106 - dev-libs/openssl:=
107 - dev-libs/popt
108 - net-libs/libnfnetlink
109 - sys-apps/iproute2
110 - dbus? ( sys-apps/dbus )
111 - json? ( dev-libs/json-c:= )
112 - snmp? ( net-analyzer/net-snmp )"
113 -DEPEND="${RDEPEND}
114 - >=sys-kernel/linux-headers-4.4"
115 -
116 -DOCS=(
117 - README CONTRIBUTORS INSTALL ChangeLog AUTHOR TODO
118 - doc/keepalived.conf.SYNOPSIS doc/NOTE_vrrp_vmac.txt
119 -)
120 -
121 -src_prepare() {
122 - default
123 -
124 - eautoreconf
125 -}
126 -
127 -src_configure() {
128 - STRIP=/bin/true \
129 - econf \
130 - --with-kernel-dir=/usr \
131 - --enable-sha1 \
132 - --enable-vrrp \
133 - $(use_enable dbus) \
134 - $(use_enable dbus dbus-create-instance) \
135 - $(use_enable debug) \
136 - $(use_enable json) \
137 - $(use_enable snmp)
138 -}
139 -
140 -src_install() {
141 - default
142 -
143 - newinitd "${FILESDIR}"/keepalived.init keepalived
144 - newconfd "${FILESDIR}"/keepalived.confd keepalived
145 -
146 - use snmp && dodoc doc/KEEPALIVED-MIB.txt
147 -
148 - docinto genhash
149 - dodoc genhash/README genhash/AUTHOR genhash/ChangeLog
150 - # This was badly named by upstream, it's more HOWTO than anything else.
151 - newdoc INSTALL INSTALL+HOWTO
152 -
153 - # Security risk to bundle SSL certs
154 - rm -v "${ED}"/etc/keepalived/samples/*.pem || die
155 - # Clean up sysvinit files
156 - rm -rv "${ED}"/etc/sysconfig || die
157 -}
158
159 diff --git a/sys-cluster/keepalived/keepalived-1.4.5.ebuild b/sys-cluster/keepalived/keepalived-1.4.5.ebuild
160 deleted file mode 100644
161 index 9ec3a8f5d74..00000000000
162 --- a/sys-cluster/keepalived/keepalived-1.4.5.ebuild
163 +++ /dev/null
164 @@ -1,69 +0,0 @@
165 -# Copyright 1999-2018 Gentoo Foundation
166 -# Distributed under the terms of the GNU General Public License v2
167 -
168 -EAPI=6
169 -
170 -inherit autotools
171 -
172 -DESCRIPTION="A strong & robust keepalive facility to the Linux Virtual Server project"
173 -HOMEPAGE="http://www.keepalived.org/"
174 -SRC_URI="http://www.keepalived.org/software/${P}.tar.gz"
175 -
176 -LICENSE="GPL-2"
177 -SLOT="0"
178 -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
179 -IUSE="dbus debug ipv6 -json snmp"
180 -
181 -RDEPEND="dev-libs/libnl:=
182 - dev-libs/openssl:=
183 - dev-libs/popt
184 - net-libs/libnfnetlink
185 - sys-apps/iproute2
186 - dbus? ( sys-apps/dbus )
187 - json? ( dev-libs/json-c:= )
188 - snmp? ( net-analyzer/net-snmp )"
189 -DEPEND="${RDEPEND}
190 - >=sys-kernel/linux-headers-4.4"
191 -
192 -DOCS=(
193 - README CONTRIBUTORS INSTALL ChangeLog AUTHOR TODO
194 - doc/keepalived.conf.SYNOPSIS doc/NOTE_vrrp_vmac.txt
195 -)
196 -
197 -src_prepare() {
198 - default
199 -
200 - eautoreconf
201 -}
202 -
203 -src_configure() {
204 - STRIP=/bin/true \
205 - econf \
206 - --with-kernel-dir=/usr \
207 - --enable-sha1 \
208 - --enable-vrrp \
209 - $(use_enable dbus) \
210 - $(use_enable dbus dbus-create-instance) \
211 - $(use_enable debug) \
212 - $(use_enable json) \
213 - $(use_enable snmp)
214 -}
215 -
216 -src_install() {
217 - default
218 -
219 - newinitd "${FILESDIR}"/keepalived.init keepalived
220 - newconfd "${FILESDIR}"/keepalived.confd keepalived
221 -
222 - use snmp && dodoc doc/KEEPALIVED-MIB.txt
223 -
224 - docinto genhash
225 - dodoc genhash/README genhash/AUTHOR genhash/ChangeLog
226 - # This was badly named by upstream, it's more HOWTO than anything else.
227 - newdoc INSTALL INSTALL+HOWTO
228 -
229 - # Security risk to bundle SSL certs
230 - rm -v "${ED}"/etc/keepalived/samples/*.pem || die
231 - # Clean up sysvinit files
232 - rm -rv "${ED}"/etc/sysconfig || die
233 -}