1 |
commit: ed6fbd97a06d13ed880fcd8f903ddf1f2d194ee3 |
2 |
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Aug 9 14:15:25 2019 +0000 |
4 |
Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 12 06:57:19 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed6fbd97 |
7 |
|
8 |
sys-cluster/keepalived: bump to 2.0.18 |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.12 |
11 |
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/12657 |
13 |
Signed-off-by: Alexys Jacob <ultrabug <AT> gentoo.org> |
14 |
|
15 |
sys-cluster/keepalived/Manifest | 1 + |
16 |
sys-cluster/keepalived/keepalived-2.0.18.ebuild | 88 +++++++++++++++++++++++++ |
17 |
2 files changed, 89 insertions(+) |
18 |
|
19 |
diff --git a/sys-cluster/keepalived/Manifest b/sys-cluster/keepalived/Manifest |
20 |
index 8bb37c350c0..3842d39c2b2 100644 |
21 |
--- a/sys-cluster/keepalived/Manifest |
22 |
+++ b/sys-cluster/keepalived/Manifest |
23 |
@@ -5,3 +5,4 @@ DIST keepalived-2.0.13.tar.gz 955953 BLAKE2B f6a8d23cdcf4b8484c37da9d48c12394617 |
24 |
DIST keepalived-2.0.15.tar.gz 972461 BLAKE2B 7c57d4ecdec7efe5dcb477e92daf4e6ee947ec66c3dc68a96fe0a7f07656a3c503751f10e9448f80e896b63d987fa9448bb264537106685cfac88ca87096721f SHA512 d426f2d917f72264944e8324409838287d4c535dfd5b5574a41c06828efc9095a2304f87a6435a067d4ad88ad5619108f7de97abb4a257a4c30e335929978dd1 |
25 |
DIST keepalived-2.0.16.tar.gz 983376 BLAKE2B 6196c617123d0c026cf4476f3e788ef797ebf24649a41ed1cfe360843bfb793d7115e2eaff499154ac84d8d4854ecfbfb6839339878502917a9173a8141545e6 SHA512 290af548c84a369f69df74ca96f8de6e2e6cf20abc7ca03ccad6217856192f4109620b59406b0e829f486c148bc6a4ed3a5efe82c12eeb9314a24471c03f95bd |
26 |
DIST keepalived-2.0.17.tar.gz 1003077 BLAKE2B 68ce64145f917267f6f156fc7b4ffb05ce0bd24b64ddfb3cb2ae8b54850586cffa04c0b617a0f1c6cffd659bba208c145051e436e002ee048908c44fa1c433ff SHA512 6bbcd76604785ef11af4df0a72015ff75a3f47fd04dbe15913f1a30bc80371a188f54020dca881a2b6a562e6ea0b1c5c9c4561c46aa4bdbb8c9f3c54b411d1df |
27 |
+DIST keepalived-2.0.18.tar.gz 1015958 BLAKE2B dc941fe24e5945148b8e0ba2f18237f80b4a8382fd83e48b1b0caee2e28648ab8adc405f616d718cb00b097bcd91672f6281f0dbeed20a1fd532c392e4295620 SHA512 11e0a9b9bdca734a923254b4484f4e808cf362e795e3f457f707772b7522929be4bbbba9b1c152b7cb7601d8315b6faea229ed59f115787d6197fbc62770f9a3 |
28 |
|
29 |
diff --git a/sys-cluster/keepalived/keepalived-2.0.18.ebuild b/sys-cluster/keepalived/keepalived-2.0.18.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..a00ef1ac400 |
32 |
--- /dev/null |
33 |
+++ b/sys-cluster/keepalived/keepalived-2.0.18.ebuild |
34 |
@@ -0,0 +1,88 @@ |
35 |
+# Copyright 1999-2019 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+inherit autotools systemd |
41 |
+ |
42 |
+DESCRIPTION="A strong & robust keepalive facility to the Linux Virtual Server project" |
43 |
+HOMEPAGE="https://www.keepalived.org/" |
44 |
+SRC_URI="https://www.keepalived.org/software/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="GPL-2" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
49 |
+IUSE="+bfd dbus debug -json regex snmp" |
50 |
+ |
51 |
+RDEPEND="dev-libs/libnl:= |
52 |
+ dev-libs/openssl:= |
53 |
+ dev-libs/popt |
54 |
+ net-libs/libnfnetlink |
55 |
+ sys-apps/iproute2 |
56 |
+ regex? ( >=dev-libs/libpcre2-8 ) |
57 |
+ dbus? ( sys-apps/dbus dev-libs/glib:2 ) |
58 |
+ json? ( dev-libs/json-c:= ) |
59 |
+ snmp? ( net-analyzer/net-snmp )" |
60 |
+DEPEND="${RDEPEND} |
61 |
+ >=sys-kernel/linux-headers-4.4" |
62 |
+ |
63 |
+DOCS=( |
64 |
+ README CONTRIBUTORS INSTALL ChangeLog AUTHOR TODO |
65 |
+ doc/keepalived.conf.SYNOPSIS doc/NOTE_vrrp_vmac.txt |
66 |
+) |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ default |
70 |
+ |
71 |
+ eautoreconf |
72 |
+} |
73 |
+ |
74 |
+src_configure() { |
75 |
+ # keepalived has support to dynamically use some libraries instead of |
76 |
+ # linking them: |
77 |
+ #--enable-dynamic-linking \ |
78 |
+ #--enable-libiptc-dynamic \ |
79 |
+ #--enable-libnl-dynamic \ |
80 |
+ #--enable-libxtables-dynamic \ |
81 |
+ STRIP=/bin/true \ |
82 |
+ econf \ |
83 |
+ --with-init=custom \ |
84 |
+ --with-kernel-dir=/usr \ |
85 |
+ --enable-sha1 \ |
86 |
+ --enable-vrrp \ |
87 |
+ $(use_enable bfd) \ |
88 |
+ $(use_enable dbus) \ |
89 |
+ $(use_enable dbus dbus-create-instance) \ |
90 |
+ $(use_enable debug) \ |
91 |
+ $(use_enable json) \ |
92 |
+ $(use_enable regex) \ |
93 |
+ $(use_enable regex regex-timers ) \ |
94 |
+ $(use_enable snmp) \ |
95 |
+ $(use_enable snmp snmp-checker) \ |
96 |
+ $(use_enable snmp snmp-rfc) \ |
97 |
+ $(use_enable snmp snmp-rfcv2) \ |
98 |
+ $(use_enable snmp snmp-rfcv3) \ |
99 |
+ $(use_enable snmp snmp-vrrp) |
100 |
+} |
101 |
+ |
102 |
+src_install() { |
103 |
+ default |
104 |
+ |
105 |
+ newinitd "${FILESDIR}"/keepalived.init-r1 keepalived |
106 |
+ newconfd "${FILESDIR}"/keepalived.confd-r1 keepalived |
107 |
+ |
108 |
+ systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service |
109 |
+ systemd_install_serviced "${FILESDIR}/${PN}.service.conf" |
110 |
+ |
111 |
+ use snmp && dodoc doc/*MIB.txt |
112 |
+ |
113 |
+ docinto genhash |
114 |
+ dodoc genhash/README genhash/AUTHOR genhash/ChangeLog |
115 |
+ # This was badly named by upstream, it's more HOWTO than anything else. |
116 |
+ newdoc INSTALL INSTALL+HOWTO |
117 |
+ |
118 |
+ # Security risk to bundle SSL certs |
119 |
+ rm -v "${ED}"/etc/keepalived/samples/*.pem || die |
120 |
+ # Clean up sysvinit files |
121 |
+ rm -rv "${ED}"/etc/sysconfig || die |
122 |
+} |