Gentoo Archives: gentoo-commits

From: "Kacper Kowalik (xarthisius)" <xarthisius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/ipvsadm: ChangeLog ipvsadm-1.25-r1.ebuild ipvsadm-1.25.ebuild
Date: Thu, 09 Sep 2010 09:41:05
Message-Id: 20100909094054.51E4020051@flycatcher.gentoo.org
1 xarthisius 10/09/09 09:40:54
2
3 Modified: ChangeLog
4 Added: ipvsadm-1.25-r1.ebuild
5 Removed: ipvsadm-1.25.ebuild
6 Log:
7 Respect LDFLAGS wrt bug 335908. Thanks to Diego for the report.
8
9 (Portage version: 2.2_rc77/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.42 sys-cluster/ipvsadm/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ipvsadm/ChangeLog?rev=1.42&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ipvsadm/ChangeLog?rev=1.42&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ipvsadm/ChangeLog?r1=1.41&r2=1.42
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/ipvsadm/ChangeLog,v
21 retrieving revision 1.41
22 retrieving revision 1.42
23 diff -u -r1.41 -r1.42
24 --- ChangeLog 17 Aug 2010 21:36:00 -0000 1.41
25 +++ ChangeLog 9 Sep 2010 09:40:54 -0000 1.42
26 @@ -1,6 +1,13 @@
27 # ChangeLog for sys-cluster/ipvsadm
28 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ipvsadm/ChangeLog,v 1.41 2010/08/17 21:36:00 swegener Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ipvsadm/ChangeLog,v 1.42 2010/09/09 09:40:54 xarthisius Exp $
31 +
32 +*ipvsadm-1.25-r1 (09 Sep 2010)
33 +
34 + 09 Sep 2010; Kacper Kowalik <xarthisius@g.o> -ipvsadm-1.25.ebuild,
35 + +ipvsadm-1.25-r1.ebuild, -files/ipvsadm-1.25-build-fixup.diff,
36 + +files/ipvsadm-1.25-r1-build-fixup.diff:
37 + Respect LDFLAGS wrt bug 335908. Thanks to Diego for the report.
38
39 17 Aug 2010; Sven Wegener <swegener@g.o> ipvsadm-1.25.ebuild,
40 +files/ipvsadm-1.25-netlink-conns.diff:
41
42
43
44 1.1 sys-cluster/ipvsadm/ipvsadm-1.25-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ipvsadm/ipvsadm-1.25-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ipvsadm/ipvsadm-1.25-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: ipvsadm-1.25-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2010 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/ipvsadm/ipvsadm-1.25-r1.ebuild,v 1.1 2010/09/09 09:40:54 xarthisius Exp $
54
55 EAPI=2
56 inherit linux-info toolchain-funcs eutils
57
58 DESCRIPTION="utility to administer the IP virtual server services offered by the Linux kernel"
59 HOMEPAGE="http://linuxvirtualserver.org/"
60 SRC_URI="http://www.linuxvirtualserver.org/software/kernel-2.6/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ia64 ~ppc64 ~s390 ~sparc ~x86"
65 IUSE=""
66
67 RDEPEND=">=sys-libs/ncurses-5.2
68 dev-libs/libnl"
69 DEPEND="${RDEPEND}"
70
71 pkg_setup() {
72 if kernel_is 2 4; then
73 eerror "${P} supports only 2.6 kernels, please try ${PN}-1.21 for 2.4 kernels"
74 die "wrong kernel version"
75 fi
76 }
77
78 src_prepare() {
79 epatch "${FILESDIR}"/${PF}-build-fixup.diff \
80 "${FILESDIR}"/${P}-netlink-conns.diff
81 }
82
83 src_compile() {
84 emake -e \
85 INCLUDE="-I.. -I." \
86 CC="$(tc-getCC)" \
87 HAVE_NL=1 \
88 || die "error compiling source"
89 }
90
91 src_install() {
92 into /
93 dosbin ipvsadm ipvsadm-save ipvsadm-restore || die
94
95 into /usr
96 doman ipvsadm.8 ipvsadm-save.8 ipvsadm-restore.8 || die
97
98 newinitd "${FILESDIR}"/ipvsadm-init ipvsadm
99 keepdir /var/lib/ipvsadm
100
101 insinto /usr/$(get_libdir)
102 dolib.a libipvs/libipvs.a || die
103 dolib.so libipvs/libipvs.so || die
104
105 insinto /usr/include/ipvs
106 newins libipvs/libipvs.h ipvs.h || die
107 }
108
109 pkg_postinst() {
110 einfo "You will need a kernel that has ipvs patches to use LVS."
111 einfo "This version is specifically for 2.6 kernels."
112 }