From: | "Tomas Chvatal (scarabeus)" <scarabeus@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-cluster/keepalived: keepalived-1.1.20.ebuild ChangeLog |
Date: | Fri, 27 Aug 2010 15:27:45 |
Message-Id: | 20100827152739.201A720051@flycatcher.gentoo.org |
1 | scarabeus 10/08/27 15:27:39 |
2 | |
3 | Modified: ChangeLog |
4 | Added: keepalived-1.1.20.ebuild |
5 | Log: |
6 | Version bump. Per bug #322185. Thx to Hans Rakers for the patch. Remove profiler useflag since it alters just cflags. |
7 | |
8 | (Portage version: 2.2_rc68/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.64 sys-cluster/keepalived/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/keepalived/ChangeLog?rev=1.64&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/keepalived/ChangeLog?rev=1.64&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/keepalived/ChangeLog?r1=1.63&r2=1.64 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-cluster/keepalived/ChangeLog,v |
20 | retrieving revision 1.63 |
21 | retrieving revision 1.64 |
22 | diff -u -r1.63 -r1.64 |
23 | --- ChangeLog 18 Oct 2009 05:52:43 -0000 1.63 |
24 | +++ ChangeLog 27 Aug 2010 15:27:38 -0000 1.64 |
25 | @@ -1,6 +1,14 @@ |
26 | # ChangeLog for sys-cluster/keepalived |
27 | -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/keepalived/ChangeLog,v 1.63 2009/10/18 05:52:43 robbat2 Exp $ |
29 | +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/keepalived/ChangeLog,v 1.64 2010/08/27 15:27:38 scarabeus Exp $ |
31 | + |
32 | +*keepalived-1.1.20 (27 Aug 2010) |
33 | + |
34 | + 27 Aug 2010; Tomáš Chvátal <scarabeus@g.o> |
35 | + +keepalived-1.1.20.ebuild, |
36 | + +files/keepalived-1.1.20-do-not-need-kernel-sources.patch: |
37 | + Version bump. Per bug #322185. Thx to Hans Rakers for the patch. Remove |
38 | + profiler useflag since it alters just cflags. |
39 | |
40 | *keepalived-1.1.19 (18 Oct 2009) |
41 | |
42 | |
43 | |
44 | |
45 | 1.1 sys-cluster/keepalived/keepalived-1.1.20.ebuild |
46 | |
47 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/keepalived/keepalived-1.1.20.ebuild?rev=1.1&view=markup |
48 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/keepalived/keepalived-1.1.20.ebuild?rev=1.1&content-type=text/plain |
49 | |
50 | Index: keepalived-1.1.20.ebuild |
51 | =================================================================== |
52 | # Copyright 1999-2010 Gentoo Foundation |
53 | # Distributed under the terms of the GNU General Public License v2 |
54 | # $Header: /var/cvsroot/gentoo-x86/sys-cluster/keepalived/keepalived-1.1.20.ebuild,v 1.1 2010/08/27 15:27:38 scarabeus Exp $ |
55 | |
56 | EAPI=3 |
57 | |
58 | inherit flag-o-matic autotools base |
59 | |
60 | DESCRIPTION="A strong & robust keepalive facility to the Linux Virtual Server project" |
61 | HOMEPAGE="http://www.keepalived.org/" |
62 | SRC_URI="http://www.keepalived.org/software/${P}.tar.gz" |
63 | |
64 | LICENSE="GPL-2" |
65 | SLOT="0" |
66 | KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
67 | IUSE="debug" |
68 | |
69 | RDEPEND="dev-libs/popt |
70 | sys-apps/iproute2 |
71 | dev-libs/openssl" |
72 | DEPEND="${RDEPEND} |
73 | =sys-kernel/linux-headers-2.6*" |
74 | |
75 | PATCHES=( "${FILESDIR}"/${P}-do-not-need-kernel-sources.patch ) |
76 | |
77 | src_prepare() { |
78 | base_src_prepare |
79 | |
80 | # Prepare a suitable copy of the IPVS headers |
81 | # So that we don't need kernel sources at all! |
82 | mkdir -p "${S}"/include/net || die "Failed to prepare ipvs header directory" |
83 | cp -f "${FILESDIR}"/${PN}-1.1.13-linux-2.6.21-ip_vs.h \ |
84 | "${S}"/include/net/ip_vs.h || die "Failed to add ipvs header" |
85 | |
86 | # Ensure that keepalived can find the header that we are injecting |
87 | append-flags -I"${S}"/include |
88 | |
89 | eautoreconf |
90 | } |
91 | |
92 | src_configure() { |
93 | STRIP=/bin/true \ |
94 | econf \ |
95 | --enable-vrrp \ |
96 | $(use_enable debug) |
97 | } |
98 | |
99 | src_install() { |
100 | base_src_install |
101 | |
102 | newinitd "${FILESDIR}"/init-keepalived keepalived || die |
103 | |
104 | dodoc doc/keepalived.conf.SYNOPSIS || die |
105 | dodoc README CONTRIBUTORS INSTALL VERSION ChangeLog AUTHOR TODO || die |
106 | |
107 | docinto genhash |
108 | dodoc genhash/README genhash/AUTHOR genhash/ChangeLog genhash/VERSION || die |
109 | # This was badly named by upstream, it's more HOWTO than anything else. |
110 | newdoc INSTALL INSTALL+HOWTO || die |
111 | |
112 | # Security risk to bundle SSL certs |
113 | rm -f "${D}"/etc/keepalived/samples/*.pem |
114 | # Clean up sysvinit files |
115 | rm -rf "${D}"/etc/sysconfig "${D}"/etc/rc.d/ |
116 | } |