public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-firewall/iptables: ChangeLog iptables-1.4.9.1-r1.ebuild
@ 2010-08-11  7:58 Peter Volkov (pva)
  0 siblings, 0 replies; only message in thread
From: Peter Volkov (pva) @ 2010-08-11  7:58 UTC (permalink / raw
  To: gentoo-commits

pva         10/08/11 07:58:32

  Modified:             ChangeLog
  Added:                iptables-1.4.9.1-r1.ebuild
  Log:
  Instal libraries into /lib since binaries are in /sbin, bug #332175, thank Eray Aslan for report.
  (Portage version: 2.1.8.3/cvs/Linux x86_64)

Revision  Changes    Path
1.221                net-firewall/iptables/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/ChangeLog?rev=1.221&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/ChangeLog?rev=1.221&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/ChangeLog?r1=1.220&r2=1.221

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v
retrieving revision 1.220
retrieving revision 1.221
diff -u -r1.220 -r1.221
--- ChangeLog	9 Aug 2010 08:01:56 -0000	1.220
+++ ChangeLog	11 Aug 2010 07:58:32 -0000	1.221
@@ -1,6 +1,12 @@
 # ChangeLog for net-firewall/iptables
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v 1.220 2010/08/09 08:01:56 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v 1.221 2010/08/11 07:58:32 pva Exp $
+
+*iptables-1.4.9.1-r1 (11 Aug 2010)
+
+  11 Aug 2010; Peter Volkov <pva@gentoo.org> +iptables-1.4.9.1-r1.ebuild:
+  Instal libraries into /lib since binaries are in /sbin, bug #332175, thank
+  Eray Aslan for report.
 
 *iptables-1.4.9.1 (09 Aug 2010)
 



1.1                  net-firewall/iptables/iptables-1.4.9.1-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/iptables-1.4.9.1-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-firewall/iptables/iptables-1.4.9.1-r1.ebuild?rev=1.1&content-type=text/plain

Index: iptables-1.4.9.1-r1.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.4.9.1-r1.ebuild,v 1.1 2010/08/11 07:58:32 pva Exp $

EAPI="2"
inherit eutils toolchain-funcs autotools

DESCRIPTION="Linux kernel (2.4+) firewall, NAT and packet mangling tools"
HOMEPAGE="http://www.iptables.org/"
SRC_URI="http://iptables.org/projects/iptables/files/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="ipv6"

DEPEND="virtual/os-headers"
RDEPEND=""

src_prepare() {
	epatch_user
	eautoreconf
}

src_configure() {
	econf \
		--sbindir=/sbin \
		--libdir=/$(get_libdir) \
		--libexecdir=/$(get_libdir) \
		--enable-devel \
		--enable-libipq \
		--enable-shared \
		--enable-static \
		$(use_enable ipv6)
}

src_compile() {
	emake V=1 || die
}

src_install() {
	emake install DESTDIR="${D}" || die
	dosbin iptables-apply || die
	doman iptables-apply.8 || die
	dodoc INCOMPATIBILITIES iptables.xslt || die

	insinto /usr/include
	doins include/iptables.h $(use ipv6 && echo include/ip6tables.h) || die
	insinto /usr/include/iptables
	doins include/iptables/internal.h || die

	keepdir /var/lib/iptables
	newinitd "${FILESDIR}"/${PN}-1.3.2.init iptables || die
	newconfd "${FILESDIR}"/${PN}-1.3.2.confd iptables || die
	if use ipv6 ; then
		keepdir /var/lib/ip6tables
		newinitd "${FILESDIR}"/iptables-1.3.2.init ip6tables || die
		newconfd "${FILESDIR}"/ip6tables-1.3.2.confd ip6tables || die
	fi

	# Remove .la from /lib, keep static archives in /usr/lib
	find "${D}" -type f -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
	dodir /usr/$(get_libdir)/
	mv "${D}"/$(get_libdir)/*.a "${D}"/usr/$(get_libdir)/ || die "failed to mv static libs"
	gen_usr_ldscript libip4tc.so libip6tc.so libipq.so libiptc.so libxtables.so
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-11  7:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-11  7:58 [gentoo-commits] gentoo-x86 commit in net-firewall/iptables: ChangeLog iptables-1.4.9.1-r1.ebuild Peter Volkov (pva)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox