commit:     78694bbb35225a0e2e39d686456563d492bfe81c
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  7 16:49:58 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Jan  7 16:52:52 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78694bbb

sys-cluster/keepalived: security cleanup

Bug: https://bugs.gentoo.org/670856
Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 sys-cluster/keepalived/Manifest                |  2 -
 sys-cluster/keepalived/files/keepalived.confd  |  6 ---
 sys-cluster/keepalived/files/keepalived.init   | 33 ------------
 sys-cluster/keepalived/keepalived-1.4.3.ebuild | 69 --------------------------
 sys-cluster/keepalived/keepalived-1.4.5.ebuild | 69 --------------------------
 5 files changed, 179 deletions(-)

diff --git a/sys-cluster/keepalived/Manifest b/sys-cluster/keepalived/Manifest
index c4b2e44ff8c..ba4b0cadf07 100644
--- a/sys-cluster/keepalived/Manifest
+++ b/sys-cluster/keepalived/Manifest
@@ -1,3 +1 @@
-DIST keepalived-1.4.3.tar.gz 744680 BLAKE2B 
d9ea5ef277bb0d11c489bbc8770f46528f1ddde14b2e8fb72fdccd543ff4583426aa2bb214e00e3964518e726377b049560ed35daf38f4cafcd4e7c43a13b78d
 SHA512 
bbf734123edeee4c807788e8db626975d7b626003ce2a6b901fbac3b7985b11c222db78e2806a7e7211980a748a6a302847736b14f3f8ed32b7337dbde6f4eac
-DIST keepalived-1.4.5.tar.gz 749813 BLAKE2B 
ff379d46b5f5a4912feeb1e9a039a95a76027a50868ade8ac31bc4dea22573a51489939bb29bc20c0eb912f78b1e57fbc6ac18e4b8e38d6493d271e135f8332f
 SHA512 
0786ecbef6dd840c8852f619cad1ea6a9c98b86a6c26bc6b104b38825212af689fbeb45148404b94dc6e3cdf7626cb6b2c902685b03586d05177578dff957bd5
 DIST keepalived-2.0.10.tar.gz 927631 BLAKE2B 
0cb4c5c613ae2c58f993930c446cdcafdff8a049a9fb1e31f61d7afe2406b2dde2258d450913577ef8ee18d0171f57e4ad01727d9e0f489cfe25b35826770181
 SHA512 
e76562e5d9d9dc945f0c9702f5f3c6be6acd8c66a59aea1f8287810a2eeb4c65b6cb7e1cd84c1e478978f7db94dba7f8a918ca4847f90a6554b20d757addd2db

diff --git a/sys-cluster/keepalived/files/keepalived.confd 
b/sys-cluster/keepalived/files/keepalived.confd
deleted file mode 100644
index 5f56cb23b03..00000000000
--- a/sys-cluster/keepalived/files/keepalived.confd
+++ /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:
-#KEEPALIVED_OPTS="-D"

diff --git a/sys-cluster/keepalived/files/keepalived.init 
b/sys-cluster/keepalived/files/keepalived.init
deleted file mode 100644
index c290c9dbc51..00000000000
--- a/sys-cluster/keepalived/files/keepalived.init
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
-       use logger
-       # The interfaces do not actually need to exist to start, it handles 
them gracefully.
-       use net
-}
-
-command="/usr/sbin/keepalived"
-command_args="${KEEPALIVED_OPTS}"
-pidfile="/var/run/keepalived.pid"
-
-extra_commands="checkconfig reload"
-
-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_pre() {
-       checkconfig || return 1
-}
-
-reload() {
-       ebegin "Reloading keepalived.conf"
-       start-stop-daemon --pidfile $pidfile --signal HUP
-       eend $?
-}

diff --git a/sys-cluster/keepalived/keepalived-1.4.3.ebuild 
b/sys-cluster/keepalived/keepalived-1.4.3.ebuild
deleted file mode 100644
index bf0732de58b..00000000000
--- a/sys-cluster/keepalived/keepalived-1.4.3.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2018 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="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-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 keepalived
-       newconfd "${FILESDIR}"/keepalived.confd keepalived
-
-       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-1.4.5.ebuild 
b/sys-cluster/keepalived/keepalived-1.4.5.ebuild
deleted file mode 100644
index 9ec3a8f5d74..00000000000
--- a/sys-cluster/keepalived/keepalived-1.4.5.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2018 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="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-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 keepalived
-       newconfd "${FILESDIR}"/keepalived.confd keepalived
-
-       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
-}

Reply via email to