1 |
robbat2 13/11/02 19:49:47 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ipvsadm-1.27-r1.ebuild |
5 |
Log: |
6 |
Bug #403133: this keepalived patch was needed for ipvsadm as well, and got lost along the way. |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.62 sys-cluster/ipvsadm/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ipvsadm/ChangeLog?rev=1.62&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ipvsadm/ChangeLog?rev=1.62&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ipvsadm/ChangeLog?r1=1.61&r2=1.62 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/ipvsadm/ChangeLog,v |
20 |
retrieving revision 1.61 |
21 |
retrieving revision 1.62 |
22 |
diff -p -w -b -B -u -u -r1.61 -r1.62 |
23 |
--- ChangeLog 2 Nov 2013 06:57:10 -0000 1.61 |
24 |
+++ ChangeLog 2 Nov 2013 19:49:47 -0000 1.62 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for sys-cluster/ipvsadm |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ipvsadm/ChangeLog,v 1.61 2013/11/02 06:57:10 robbat2 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ipvsadm/ChangeLog,v 1.62 2013/11/02 19:49:47 robbat2 Exp $ |
30 |
+ |
31 |
+*ipvsadm-1.27-r1 (02 Nov 2013) |
32 |
+ |
33 |
+ 02 Nov 2013; Robin H. Johnson <robbat2@g.o> |
34 |
+ +files/ipvsadm-1.27-fix-daemon-state.patch, +ipvsadm-1.27-r1.ebuild: |
35 |
+ Bug #403133: this keepalived patch was needed for ipvsadm as well, and got |
36 |
+ lost along the way. |
37 |
|
38 |
02 Nov 2013; Robin H. Johnson <robbat2@g.o> |
39 |
files/ipvsadm-1.27-buildsystem.patch: |
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-cluster/ipvsadm/ipvsadm-1.27-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ipvsadm/ipvsadm-1.27-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/ipvsadm/ipvsadm-1.27-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: ipvsadm-1.27-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ipvsadm/ipvsadm-1.27-r1.ebuild,v 1.1 2013/11/02 19:49:47 robbat2 Exp $ |
53 |
|
54 |
EAPI=4 |
55 |
|
56 |
inherit eutils linux-info toolchain-funcs |
57 |
|
58 |
DESCRIPTION="utility to administer the IP virtual server services" |
59 |
HOMEPAGE="http://linuxvirtualserver.org/" |
60 |
SRC_URI="https://kernel.org/pub/linux/utils/kernel/ipvsadm/ipvsadm-${PV}.tar.xz" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
65 |
IUSE="static-libs" |
66 |
|
67 |
RDEPEND=">=sys-libs/ncurses-5.2 |
68 |
dev-libs/libnl |
69 |
>=dev-libs/popt-1.16" |
70 |
DEPEND="${RDEPEND} |
71 |
virtual/pkgconfig" |
72 |
|
73 |
pkg_pretend() { |
74 |
if kernel_is 2 4; then |
75 |
eerror "${P} supports only 2.6 series and later kernels, please try ${PN}-1.21 for 2.4 kernels" |
76 |
die "wrong kernel version" |
77 |
fi |
78 |
} |
79 |
|
80 |
src_prepare() { |
81 |
epatch "${FILESDIR}"/${PN}-1.27-buildsystem.patch |
82 |
# Merged upstream in 1.27 |
83 |
#epatch "${FILESDIR}"/${PN}-1.26-stack_smashing.patch # bug 371903 |
84 |
epatch "${FILESDIR}"/${PN}-1.27-fix-daemon-state.patch |
85 |
use static-libs && export STATIC=1 |
86 |
} |
87 |
|
88 |
src_compile() { |
89 |
emake -e \ |
90 |
INCLUDE="-I.. -I." \ |
91 |
CC="$(tc-getCC)" \ |
92 |
HAVE_NL=1 \ |
93 |
STATIC=${STATIC} \ |
94 |
POPT_LIB="$(pkg-config --libs popt)" |
95 |
} |
96 |
|
97 |
src_install() { |
98 |
into / |
99 |
dosbin ipvsadm ipvsadm-save ipvsadm-restore |
100 |
|
101 |
into /usr |
102 |
doman ipvsadm.8 ipvsadm-save.8 ipvsadm-restore.8 |
103 |
|
104 |
newinitd "${FILESDIR}"/ipvsadm-init ipvsadm |
105 |
keepdir /var/lib/ipvsadm |
106 |
|
107 |
use static-libs && dolib.a libipvs/libipvs.a |
108 |
dolib.so libipvs/libipvs.so |
109 |
|
110 |
insinto /usr/include/ipvs |
111 |
newins libipvs/libipvs.h ipvs.h |
112 |
} |
113 |
|
114 |
pkg_postinst() { |
115 |
einfo "You will need a kernel that has ipvs patches to use LVS." |
116 |
} |