public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/keepalived/
Date: Sat,  4 Sep 2021 08:01:12 +0000 (UTC)	[thread overview]
Message-ID: <1630742443.341767063d76d406673d7b70c50e810617d6bf22.soap@gentoo> (raw)

commit:     341767063d76d406673d7b70c50e810617d6bf22
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  4 08:00:43 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Sep  4 08:00:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34176706

sys-cluster/keepalived: add 2.2.4

Bug: https://bugs.gentoo.org/801880
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-cluster/keepalived/Manifest                |  1 +
 sys-cluster/keepalived/keepalived-2.2.4.ebuild | 80 ++++++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/sys-cluster/keepalived/Manifest b/sys-cluster/keepalived/Manifest
index 208d5ec434e..ce4a352b957 100644
--- a/sys-cluster/keepalived/Manifest
+++ b/sys-cluster/keepalived/Manifest
@@ -1 +1,2 @@
 DIST keepalived-2.2.2.tar.gz 1159896 BLAKE2B 42ff86b4aa7c0a45a3472102107701262b44b780987ed93f3dde7005f61699c1488fd92fccb75f77ef5dcc83461428bbad79cc59cd4648a824a8bfbe7fbd2c34 SHA512 05bb589c76faa4d3f734ecb1a3e5ac40af006fe5dce962bcd9617f192e59bb5336a911b148c1530fb864333da87c3d42a6fbf7d0ef074f6a53ce5a71db8ec706
+DIST keepalived-2.2.4.tar.gz 1151290 BLAKE2B 835198fb23312e87894e7740427411d974c00f71029b273d8da3e787ef92848127d896b456fb40db8d802b6c7555e6524872f136f868e19c62387a9471e44b0f SHA512 b8b0f3e7092b7b7093a9927259928076ee95ed176dd26b3a5c38e8c0dc7b83468433944905618dbc9e4b73b81b0cd3f16c2db4234ed4fcdf30f4fc0e532f9422

diff --git a/sys-cluster/keepalived/keepalived-2.2.4.ebuild b/sys-cluster/keepalived/keepalived-2.2.4.ebuild
new file mode 100644
index 00000000000..ac5d8315368
--- /dev/null
+++ b/sys-cluster/keepalived/keepalived-2.2.4.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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 json regex snmp systemd"
+
+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:= )
+	systemd? ( sys-apps/systemd )"
+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 \
+	econf \
+		--with-init="$(usex systemd systemd custom)" \
+		--with-kernel-dir="${ESYSROOT}"/usr \
+		--enable-vrrp \
+		$(use_enable bfd) \
+		$(use_enable dbus) \
+		$(use_enable json) \
+		$(use_enable regex) \
+		$(use_enable snmp) \
+		$(use_enable snmp snmp-rfc) \
+		$(use_enable systemd)
+}
+
+src_install() {
+	default
+
+	newinitd "${FILESDIR}"/keepalived.init-r1 keepalived
+	newconfd "${FILESDIR}"/keepalived.confd-r1 keepalived
+
+	systemd_newunit "${FILESDIR}"/${PN}.service-r1 ${PN}.service
+	systemd_install_serviced "${FILESDIR}/${PN}.service.conf"
+
+	use snmp && dodoc doc/*MIB.txt
+
+	# This was badly named by upstream, it's more HOWTO than anything else.
+	newdoc INSTALL INSTALL+HOWTO
+
+	# Clean up sysvinit files
+	rm -rv "${ED}"/etc/sysconfig || die
+}


             reply	other threads:[~2021-09-04  8:01 UTC|newest]

Thread overview: 111+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-04  8:01 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-08-28 10:37 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/keepalived/ Arthur Zamarin
2023-08-28 10:37 Arthur Zamarin
2023-08-28 10:37 Arthur Zamarin
2023-06-15 21:45 Sam James
2023-06-15 21:45 Sam James
2023-05-05  4:44 Sam James
2023-01-10 15:09 Yixun Lan
2022-06-12  8:32 Agostino Sarubbo
2022-06-12  8:28 Agostino Sarubbo
2022-06-11 23:28 Sam James
2022-05-10 20:18 Alexys Jacob
2021-11-22 13:33 Alexys Jacob
2021-11-05 17:38 Sam James
2021-11-05 17:38 Sam James
2021-11-05 14:57 Jakov Smolić
2021-11-04 15:30 Sam James
2021-08-20 18:16 Alexys Jacob
2021-08-11  6:43 Agostino Sarubbo
2021-08-11  6:41 Agostino Sarubbo
2021-08-11  6:40 Agostino Sarubbo
2021-08-10 15:36 Agostino Sarubbo
2021-08-05  2:58 Sam James
2021-06-03 19:15 Sam James
2020-12-17  3:58 Sam James
2020-12-04 18:37 Sergei Trofimovich
2020-12-04 18:31 Sergei Trofimovich
2020-12-03 17:37 Thomas Deutschmann
2020-08-06 16:09 Thomas Deutschmann
2020-08-06 16:09 Thomas Deutschmann
2020-06-30 13:31 Thomas Deutschmann
2020-06-04  6:35 Agostino Sarubbo
2020-06-04  6:23 Agostino Sarubbo
2020-06-01 20:51 Sergei Trofimovich
2020-06-01 20:40 Sergei Trofimovich
2020-01-25 15:06 Alexys Jacob
2019-11-22 16:54 Alexys Jacob
2019-11-22 16:54 Alexys Jacob
2019-08-14  7:34 Agostino Sarubbo
2019-08-13 13:51 Agostino Sarubbo
2019-08-13 11:07 Agostino Sarubbo
2019-08-13 10:58 Agostino Sarubbo
2019-08-13 10:53 Agostino Sarubbo
2019-08-13  9:17 Agostino Sarubbo
2019-08-12  6:57 Alexys Jacob
2019-07-17 21:41 Alexys Jacob
2019-05-08 16:53 Alexys Jacob
2019-04-20 17:36 Alexys Jacob
2019-04-14 10:36 Alexys Jacob
2019-04-14  7:48 Alexys Jacob
2019-03-25 15:45 Robin H. Johnson
2019-03-25  6:57 Robin H. Johnson
2019-02-20 21:41 Mikle Kolyada
2019-02-04 10:31 Alexys Jacob
2019-01-07 16:53 Thomas Deutschmann
2018-12-26 20:00 Sergei Trofimovich
2018-12-26 13:55 Sergei Trofimovich
2018-11-28 21:22 Tobias Klausmann
2018-11-24 10:45 Sergei Trofimovich
2018-11-22 11:34 Agostino Sarubbo
2018-11-21  9:02 Agostino Sarubbo
2018-11-15 15:50 Thomas Deutschmann
2018-11-15 15:48 Thomas Deutschmann
2018-11-14 21:51 Sergei Trofimovich
2018-11-14 13:27 Thomas Deutschmann
2018-11-14 13:27 Thomas Deutschmann
2018-11-10 20:57 Thomas Deutschmann
2018-11-10 20:57 Thomas Deutschmann
2018-08-01 19:21 Alexys Jacob
2018-07-20 12:11 Tobias Klausmann
2018-07-08 21:08 Mikle Kolyada
2018-07-04 18:44 Sergei Trofimovich
2018-07-02  0:49 Thomas Deutschmann
2018-07-01  9:24 Sergei Trofimovich
2018-06-30 19:03 Sergei Trofimovich
2018-06-30 14:45 Sergei Trofimovich
2018-06-22 22:01 Thomas Deutschmann
2018-06-22 22:01 Thomas Deutschmann
2018-06-22 22:01 Thomas Deutschmann
2018-06-22 22:01 Thomas Deutschmann
2018-05-08 15:46 Alexys Jacob
2018-03-28 10:33 Patrice Clement
2018-03-04  8:16 Tobias Klausmann
2018-01-08 22:01 Mikle Kolyada
2018-01-07 14:23 Sergei Trofimovich
2018-01-06 22:30 Sergei Trofimovich
2018-01-06 21:49 Sergei Trofimovich
2018-01-05 17:59 Alexys Jacob
2018-01-05 16:40 Alexys Jacob
2018-01-05 14:34 Alexys Jacob
2018-01-05 13:47 Alexys Jacob
2017-04-21 14:45 Alexys Jacob
2017-02-03 19:43 Jeroen Roovers
2017-01-26  9:08 Tobias Klausmann
2017-01-26  9:05 Tobias Klausmann
2017-01-24 11:46 Agostino Sarubbo
2017-01-22 15:01 Agostino Sarubbo
2017-01-05 12:55 Aaron Bauman
2016-11-20 16:43 Yixun Lan
2016-08-04 15:21 Alexys Jacob
2016-06-30 13:50 Alexys Jacob
2016-06-14 10:20 Alexys Jacob
2016-03-17 10:50 Agostino Sarubbo
2016-02-06  6:53 Jeroen Roovers
2016-01-11  9:07 Agostino Sarubbo
2016-01-10 10:34 Agostino Sarubbo
2015-12-07 11:40 Agostino Sarubbo
2015-12-03 13:28 Agostino Sarubbo
2015-11-25  8:54 Agostino Sarubbo
2015-11-24  9:55 Alexys Jacob
2015-11-24  9:55 Alexys Jacob

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1630742443.341767063d76d406673d7b70c50e810617d6bf22.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox