Gentoo Archives: gentoo-commits

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