1 |
robbat2 07/09/22 09:12:37 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: keepalived-1.1.15.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.1.3.7) |
8 |
|
9 |
Revision Changes Path |
10 |
1.43 sys-cluster/keepalived/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/keepalived/ChangeLog?rev=1.43&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/keepalived/ChangeLog?rev=1.43&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/keepalived/ChangeLog?r1=1.42&r2=1.43 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/keepalived/ChangeLog,v |
19 |
retrieving revision 1.42 |
20 |
retrieving revision 1.43 |
21 |
diff -u -r1.42 -r1.43 |
22 |
--- ChangeLog 30 Apr 2007 06:45:49 -0000 1.42 |
23 |
+++ ChangeLog 22 Sep 2007 09:12:36 -0000 1.43 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for sys-cluster/keepalived |
26 |
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/keepalived/ChangeLog,v 1.42 2007/04/30 06:45:49 robbat2 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/keepalived/ChangeLog,v 1.43 2007/09/22 09:12:36 robbat2 Exp $ |
29 |
+ |
30 |
+*keepalived-1.1.15 (22 Sep 2007) |
31 |
+ |
32 |
+ 22 Sep 2007; Robin H. Johnson <robbat2@g.o> |
33 |
+ +keepalived-1.1.15.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
30 Apr 2007; Robin H. Johnson <robbat2@g.o> files/init-keepalived: |
37 |
Make init.d baselayout2 safe. |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-cluster/keepalived/keepalived-1.1.15.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/keepalived/keepalived-1.1.15.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/keepalived/keepalived-1.1.15.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: keepalived-1.1.15.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2007 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/keepalived/keepalived-1.1.15.ebuild,v 1.1 2007/09/22 09:12:36 robbat2 Exp $ |
51 |
|
52 |
inherit flag-o-matic autotools |
53 |
|
54 |
DESCRIPTION="add a strong & robust keepalive facility to the Linux Virtual Server project" |
55 |
HOMEPAGE="http://www.keepalived.org/" |
56 |
SRC_URI="http://www.keepalived.org/software/${P}.tar.gz" |
57 |
|
58 |
LICENSE="GPL-2" |
59 |
SLOT="0" |
60 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
61 |
IUSE="debug profile" |
62 |
|
63 |
RDEPEND="dev-libs/popt |
64 |
sys-apps/iproute2 |
65 |
dev-libs/openssl" |
66 |
DEPEND="${RDEPEND} |
67 |
=sys-kernel/linux-headers-2.6*" |
68 |
|
69 |
src_unpack() { |
70 |
unpack ${A} |
71 |
|
72 |
# This patch allows us to avoid needing kernel sources for the configure phase |
73 |
EPATCH_OPTS="-p1 -d${S}" epatch \ |
74 |
${FILESDIR}/${PN}-1.1.13-do-not-need-kernel-sources.patch |
75 |
cd ${S} |
76 |
eautoreconf |
77 |
|
78 |
# Prepare a suitable copy of the IPVS headers |
79 |
# So that we don't need kernel sources at all! |
80 |
mkdir -p ${S}/include/net || die "Failed to prepare ipvs header directory" |
81 |
cp -f ${FILESDIR}/${PN}-1.1.13-linux-2.6.21-ip_vs.h \ |
82 |
${S}/include/net/ip_vs.h || die "Failed to add ipvs header" |
83 |
|
84 |
# Ensure that keepalived can find the header that we are injecting |
85 |
append-flags -I${S}/include |
86 |
} |
87 |
|
88 |
src_compile() { |
89 |
local myconf |
90 |
|
91 |
myconf="--enable-vrrp" |
92 |
|
93 |
# This is not an error |
94 |
# The upstream makefile used to add man/, but doesn't anymore |
95 |
myconf="${myconf} --mandir=/usr/share/man" |
96 |
|
97 |
use debug && myconf="${myconf} --enable-debug" |
98 |
|
99 |
# disable -fomit-frame-pointer for profiling |
100 |
if use profile; then |
101 |
filter-flags -fomit-frame-pointer |
102 |
myconf="${myconf} --enable-profile" |
103 |
fi |
104 |
|
105 |
econf ${myconf} STRIP=/bin/true || die "configure failed" |
106 |
emake || die "emake failed (myconf=${myconf})" |
107 |
} |
108 |
|
109 |
src_install() { |
110 |
# Not parallel safe |
111 |
emake -j1 install DESTDIR="${D}" || die "emake install failed" |
112 |
|
113 |
newinitd ${FILESDIR}/init-keepalived keepalived |
114 |
|
115 |
dodoc doc/keepalived.conf.SYNOPSIS |
116 |
dodoc README CONTRIBUTORS INSTALL VERSION ChangeLog AUTHOR TODO |
117 |
|
118 |
docinto genhash |
119 |
dodoc genhash/README genhash/AUTHOR genhash/ChangeLog genhash/VERSION |
120 |
# This was badly named by upstream, it's more HOWTO than anything else. |
121 |
newdoc INSTALL INSTALL+HOWTO |
122 |
|
123 |
# Security risk to bundle SSL certs |
124 |
rm -f ${D}/etc/keepalived/samples/*.pem |
125 |
rm -rf ${D}/etc/sysconfig ${D}/etc/rc.d/ |
126 |
} |
127 |
|
128 |
pkg_postinst() { |
129 |
elog "For internal debug support, compile with USE=debug via package.use" |
130 |
} |
131 |
|
132 |
|
133 |
|
134 |
-- |
135 |
gentoo-commits@g.o mailing list |