* [gentoo-commits] gentoo-x86 commit in net-firewall/ipset: ChangeLog ipset-2.4.2.ebuild
@ 2008-10-24 21:28 Robin H. Johnson (robbat2)
0 siblings, 0 replies; only message in thread
From: Robin H. Johnson (robbat2) @ 2008-10-24 21:28 UTC (permalink / raw
To: gentoo-commits
robbat2 08/10/24 21:28:25
Modified: ChangeLog
Added: ipset-2.4.2.ebuild
Log:
Bug #243092, version bump.
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-07512-g969907a x86_64)
Revision Changes Path
1.19 net-firewall/ipset/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ipset/ChangeLog?rev=1.19&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ipset/ChangeLog?rev=1.19&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ipset/ChangeLog?r1=1.18&r2=1.19
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-firewall/ipset/ChangeLog,v
retrieving revision 1.18
retrieving revision 1.19
diff -p -w -b -B -u -u -r1.18 -r1.19
--- ChangeLog 14 Oct 2008 07:21:01 -0000 1.18
+++ ChangeLog 24 Oct 2008 21:28:25 -0000 1.19
@@ -1,6 +1,12 @@
# ChangeLog for net-firewall/ipset
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ChangeLog,v 1.18 2008/10/14 07:21:01 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ChangeLog,v 1.19 2008/10/24 21:28:25 robbat2 Exp $
+
+*ipset-2.4.2 (24 Oct 2008)
+
+ 24 Oct 2008; Robin H. Johnson <robbat2@gentoo.org>
+ +files/ipset-2.4.2-glibc28-fix.patch, +ipset-2.4.2.ebuild:
+ Bug #243092, version bump.
14 Oct 2008; Robin H. Johnson <robbat2@gentoo.org> ipset-2.3.3a.ebuild:
Bug #236138, allow building with non-modular kernels.
1.1 net-firewall/ipset/ipset-2.4.2.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ipset/ipset-2.4.2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-firewall/ipset/ipset-2.4.2.ebuild?rev=1.1&content-type=text/plain
Index: ipset-2.4.2.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipset/ipset-2.4.2.ebuild,v 1.1 2008/10/24 21:28:25 robbat2 Exp $
inherit eutils versionator toolchain-funcs linux-mod linux-info
DESCRIPTION="IPset tool for iptables, successor to ippool."
HOMEPAGE="http://ipset.netfilter.org/"
SRC_URI="http://ipset.netfilter.org/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~ppc"
IUSE=""
RDEPEND=">=net-firewall/iptables-1.4.1"
DEPEND="${RDEPEND}"
# configurable from outside
[ -z "${IP_NF_SET_MAX}" ] && IP_NF_SET_MAX=256
[ -z "${IP_NF_SET_HASHSIZE}" ] && IP_NF_SET_HASHSIZE=1024
BUILD_PARAMS="IP_NF_SET_MAX=$IP_NF_SET_MAX IP_NF_SET_HASHSIZE=${IP_NF_SET_HASHSIZE}"
# module fun
BUILD_TARGETS="all"
MODULE_NAMES_ARG="kernel/net/ipv4/netfilter:${S}/kernel"
MODULE_NAMES=""
for i in ip_set{,_{{ip,port,macip}map,{ip,net,ipport}hash,iptree{,map}}} \
ipt_{SET,set}; do
MODULE_NAMES="${MODULE_NAMES} ${i}(${MODULE_NAMES_ARG})"
done
# sanity
CONFIG_CHECK="NETFILTER"
ERROR_CFG="ipset needs netfilter support in your kernel."
src_unpack() {
unpack ${A}
sed -i \
-e 's/KERNELDIR/(KERNELDIR)/g' \
-e 's/^(\?KERNEL_\?DIR.*/KERNELDIR ?= /' \
-e '/^all::/iV ?= 0' \
-e '/^all::/iKBUILD_OUTPUT ?=' \
-e 's/$@/ V=$(V) KBUILD_OUTPUT=$(KBUILD_OUTPUT) modules/' \
"${S}"/kernel/Makefile
sed -i \
-e '/asm.semaphore.h/d' \
"${S}"/kernel/ip_set.c
epatch "${FILESDIR}"/ipset-2.4.2-glibc28-fix.patch
}
pkg_setup() {
get_version
modules=0
msg=''
if linux_chkconfig_builtin "MODULES" ; then
modules=1
msg="Modular kernel detected, will build kernel modules"
else
msg="Nonmodular kernel detected, will not build kernel modules"
fi
einfo "${msg}"
[[ $modules -eq 1 ]] && \
linux-mod_pkg_setup
myconf="${myconf} PREFIX="
myconf="${myconf} LIBDIR=/$(get_libdir)"
myconf="${myconf} BINDIR=/sbin"
myconf="${myconf} MANDIR=/usr/share/man"
myconf="${myconf} INCDIR=/usr/include"
export myconf
}
src_compile() {
einfo "Building userspace"
emake CC="$(tc-getCC)" COPT_FLAGS="${CFLAGS}" ${myconf} binaries || die "failed to build"
if [[ $modules -eq 1 ]]; then
einfo "Building kernel modules"
cd "${S}/kernel"
export KERNELDIR="${KERNEL_DIR}"
linux-mod_src_compile || die "failed to build modules"
fi
}
src_install() {
einfo "Installing userspace"
emake DESTDIR="${D}" ${myconf} binaries_install || die "failed to package"
if [[ $modules -eq 1 ]]; then
einfo "Installing kernel modules"
cd "${S}/kernel"
export KERNELDIR="${KERNEL_DIR}"
linux-mod_src_install
fi
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-24 21:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-24 21:28 [gentoo-commits] gentoo-x86 commit in net-firewall/ipset: ChangeLog ipset-2.4.2.ebuild Robin H. Johnson (robbat2)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox