public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/keepalived/
Date: Thu, 15 Jun 2023 21:45:34 +0000 (UTC)	[thread overview]
Message-ID: <1686865186.d121dc032b666f9602fd6b1b59c897aac91f6ffc.sam@gentoo> (raw)

commit:     d121dc032b666f9602fd6b1b59c897aac91f6ffc
Author:     Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Thu Jun 15 07:49:53 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 15 21:39:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d121dc03

sys-cluster/keepalived: add 2.2.8

Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

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

diff --git a/sys-cluster/keepalived/Manifest b/sys-cluster/keepalived/Manifest
index 85b7125c82d9..8a884c8cbe84 100644
--- a/sys-cluster/keepalived/Manifest
+++ b/sys-cluster/keepalived/Manifest
@@ -1,2 +1,3 @@
 DIST keepalived-2.2.7.tar.gz 1180180 BLAKE2B 62c4534eb1eebeac596b628a1fa5fb4069498d532fdeff0dc51afbc71e90125bff7fcffb897da3fd34765c64f43d7b04dcf184169b1bc2cf33413e109f9f5cdc SHA512 9869437fe6f0c10590b13088002b53474a51102da9838a6575d835d006c4871b61324ab80e0e81e0a23d0124e6f033cfc7114749e87b8f736408f3f0bedb3968
 DIST keepalived-2.2.7_p20221209.tar.gz 959087 BLAKE2B 2c8a46874ddac414a6d6f7bc1646d90dd9afc813ffcdd5990d1a220171e77c1e17a97c0549c2223eb2401b60870b7d98139106345079033c2f2875d158024b2a SHA512 519837fd463e69bc2eb8415fa8d5e5bd92cda1d0e3e80a0725a38285901b59fa8ba9e0d6852dbbdddf4bb72398286b4fa2779a6c341245b6322c4bef8dce37d6
+DIST keepalived-2.2.8.tar.gz 1202602 BLAKE2B 3d8d738a0c4e6f00ea8dc3603813d21e52e259d301872f2db16c3373c3a034bedcf3f02e19d1b50855d90bbfece863e710d75a67e2d6dd057dfe451608a73fcb SHA512 dc0ab5b0ef8911a7859422eccc2771a40e942236c855a628158ed748eb5f7dc4b6f4850e9c3057e81fd9d2daa640ab51fb1d7af12748a613280a217b333eb06b

diff --git a/sys-cluster/keepalived/keepalived-2.2.8.ebuild b/sys-cluster/keepalived/keepalived-2.2.8.ebuild
new file mode 100644
index 000000000000..ca5547748e72
--- /dev/null
+++ b/sys-cluster/keepalived/keepalived-2.2.8.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2023 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:[~2023-06-15 21:45 UTC|newest]

Thread overview: 111+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-15 21:45 Sam James [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-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-09-04  8:01 David Seifert
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=1686865186.d121dc032b666f9602fd6b1b59c897aac91f6ffc.sam@gentoo \
    --to=sam@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