1 |
robbat2 12/02/28 02:31:56 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: keepalived-1.2.2-r3.ebuild |
5 |
Log: |
6 |
Merge debian patch. Support passing options to daemon, and improve init.d for BL2. Bug #371469: Fix CVE-2011-1784 pidfile perms. |
7 |
|
8 |
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.84 sys-cluster/keepalived/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/keepalived/ChangeLog?rev=1.84&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/keepalived/ChangeLog?rev=1.84&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/keepalived/ChangeLog?r1=1.83&r2=1.84 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/keepalived/ChangeLog,v |
20 |
retrieving revision 1.83 |
21 |
retrieving revision 1.84 |
22 |
diff -p -w -b -B -u -u -r1.83 -r1.84 |
23 |
--- ChangeLog 10 Dec 2011 23:51:00 -0000 1.83 |
24 |
+++ ChangeLog 28 Feb 2012 02:31:56 -0000 1.84 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for sys-cluster/keepalived |
27 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/keepalived/ChangeLog,v 1.83 2011/12/10 23:51:00 robbat2 Exp $ |
29 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/keepalived/ChangeLog,v 1.84 2012/02/28 02:31:56 robbat2 Exp $ |
31 |
+ |
32 |
+*keepalived-1.2.2-r3 (28 Feb 2012) |
33 |
+ |
34 |
+ 28 Feb 2012; Robin H. Johnson <robbat2@g.o> +files/conf-keepalived, |
35 |
+ +keepalived-1.2.2-r3.ebuild, files/init-keepalived: |
36 |
+ Merge debian patch. Support passing options to daemon, and improve init.d for |
37 |
+ BL2. Bug #371469: Fix CVE-2011-1784 pidfile perms. |
38 |
|
39 |
*keepalived-1.2.2-r2 (10 Dec 2011) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 sys-cluster/keepalived/keepalived-1.2.2-r3.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/keepalived/keepalived-1.2.2-r3.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/keepalived/keepalived-1.2.2-r3.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: keepalived-1.2.2-r3.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2012 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/keepalived/keepalived-1.2.2-r3.ebuild,v 1.1 2012/02/28 02:31:56 robbat2 Exp $ |
54 |
|
55 |
EAPI=4 |
56 |
|
57 |
inherit autotools base |
58 |
|
59 |
DESCRIPTION="A strong & robust keepalive facility to the Linux Virtual Server project" |
60 |
HOMEPAGE="http://www.keepalived.org/" |
61 |
DEBIAN_PATCH=3 |
62 |
DEBIAN_A="${P/-/_}-${DEBIAN_PATCH}.diff.gz" |
63 |
SRC_URI="http://www.keepalived.org/software/${P}.tar.gz |
64 |
mirror://debian/pool/main/${PN:0:1}/${PN}/${DEBIAN_A}" |
65 |
|
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
69 |
IUSE="debug" |
70 |
|
71 |
RDEPEND="dev-libs/popt |
72 |
sys-apps/iproute2 |
73 |
dev-libs/libnl:1.1 |
74 |
dev-libs/openssl" |
75 |
DEPEND="${RDEPEND} |
76 |
>=sys-kernel/linux-headers-2.6.30" |
77 |
|
78 |
PATCHES=( "${FILESDIR}"/${PN}-1.1.20-do-not-need-kernel-sources.patch "${FILESDIR}"/${PN}-1.2.2-bind-afunspec.patch ) |
79 |
|
80 |
DOCS=( README CONTRIBUTORS INSTALL VERSION ChangeLog AUTHOR TODO doc/keepalived.conf.SYNOPSIS ) |
81 |
|
82 |
src_prepare() { |
83 |
base_src_prepare |
84 |
EPATCH_OPTS="-p1" epatch "${DISTDIR}"/"${DEBIAN_A}" |
85 |
epatch "${S}"/debian/patches/*patch |
86 |
eautoreconf |
87 |
} |
88 |
|
89 |
src_configure() { |
90 |
STRIP=/bin/true \ |
91 |
econf \ |
92 |
--enable-vrrp \ |
93 |
$(use_enable debug) |
94 |
} |
95 |
|
96 |
src_install() { |
97 |
default |
98 |
|
99 |
newinitd "${FILESDIR}"/init-keepalived keepalived |
100 |
newconfd "${FILESDIR}"/conf-keepalived keepalived |
101 |
|
102 |
docinto genhash |
103 |
dodoc genhash/README genhash/AUTHOR genhash/ChangeLog genhash/VERSION || die |
104 |
# This was badly named by upstream, it's more HOWTO than anything else. |
105 |
newdoc INSTALL INSTALL+HOWTO |
106 |
|
107 |
# Security risk to bundle SSL certs |
108 |
rm -f "${ED}"/etc/keepalived/samples/*.pem |
109 |
# Clean up sysvinit files |
110 |
rm -rf "${ED}"/etc/sysconfig "${ED}"/etc/rc.d/ |
111 |
} |