public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-firewall/ebtables: ebtables-2.0.10.4-r1.ebuild ChangeLog
@ 2012-12-19 16:00 Alexander Vershilov (qnikst)
  0 siblings, 0 replies; only message in thread
From: Alexander Vershilov (qnikst) @ 2012-12-19 16:00 UTC (permalink / raw
  To: gentoo-commits

qnikst      12/12/19 16:00:36

  Modified:             ChangeLog
  Added:                ebtables-2.0.10.4-r1.ebuild
  Log:
  non-maint: fix deprecated options in initscript thanks to  Vincent Brillault <gentoo@lerya.net>
  
  (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.50                 net-firewall/ebtables/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ChangeLog,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- ChangeLog	14 Jun 2012 15:53:50 -0000	1.49
+++ ChangeLog	19 Dec 2012 16:00:36 -0000	1.50
@@ -1,6 +1,13 @@
 # ChangeLog for net-firewall/ebtables
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ChangeLog,v 1.49 2012/06/14 15:53:50 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ChangeLog,v 1.50 2012/12/19 16:00:36 qnikst Exp $
+
+*ebtables-2.0.10.4-r1 (19 Dec 2012)
+
+  19 Dec 2012;  <qnikst@gentoo.org> +ebtables-2.0.10.4-r1.ebuild,
+  files/ebtables.initd-r1:
+  non-maint: fix deprecated options in initscript thanks to  Vincent Brillault
+  <gentoo@lerya.net>
 
   14 Jun 2012; Michael Weber <xmw@gentoo.org> ebtables-2.0.10.4.ebuild:
   ppc stable (bug 404265)
@@ -222,4 +229,3 @@
   28 Feb 2004; <solar@gentoo.org> ebtables-2.0.6.ebuild, metadata.xml:
   initial import into portage of the ebtable utility that enables basic ethernet
   frame filtering on a bridge, MAC NAT and brouting.
-



1.1                  net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild

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

Index: ebtables-2.0.10.4-r1.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild,v 1.1 2012/12/19 16:00:36 qnikst Exp $

EAPI="4"

inherit versionator eutils toolchain-funcs multilib flag-o-matic

MY_PV=$(replace_version_separator 3 '-' )
MY_P=${PN}-v${MY_PV}

DESCRIPTION="Utility that enables basic Ethernet frame filtering on a Linux bridge, MAC NAT and brouting."
HOMEPAGE="http://ebtables.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"

KEYWORDS="~amd64 ~ppc ~x86"
IUSE="static"
LICENSE="GPL-2"
SLOT="0"

S=${WORKDIR}/${MY_P}

pkg_setup() {
	if use static; then
		ewarn "You've chosen static build which is useful for embedded devices."
		ewarn "It has no init script. Make sure that's really what you want."
	fi
}

src_prepare() {
	# Enhance ebtables-save to take table names as parameters bug #189315
	epatch "${FILESDIR}/${PN}-2.0.8.1-ebt-save.diff"

	sed -i -e "s,^MANDIR:=.*,MANDIR:=/usr/share/man," \
		-e "s,^BINDIR:=.*,BINDIR:=/sbin," \
		-e "s,^INITDIR:=.*,INITDIR:=/usr/share/doc/${PF}," \
		-e "s,^SYSCONFIGDIR:=.*,SYSCONFIGDIR:=/usr/share/doc/${PF}," \
		-e "s,^LIBDIR:=.*,LIBDIR:=/$(get_libdir)/\$(PROGNAME)," Makefile
}

src_compile() {
	# This package uses _init functions to initialise extensions. With
	# --as-needed this will not work.
	append-ldflags $(no-as-needed)
	# This package correctly aliases pointers, but gcc is unable to know that:
	# unsigned char ip[4];
	# if (*((uint32_t*)ip) == 0) {
	#append-cflags -Wno-strict-aliasing
	emake \
		CC="$(tc-getCC)" \
		CFLAGS="${CFLAGS}" \
		$(use static && echo static)
}

src_install() {
	if ! use static; then
		make DESTDIR="${D}" install
		keepdir /var/lib/ebtables/
		newinitd "${FILESDIR}"/ebtables.initd-r1 ebtables
		newconfd "${FILESDIR}"/ebtables.confd-r1 ebtables
	else
		into /
		newsbin static ebtables
		insinto /etc
		doins ethertypes
	fi
	dodoc ChangeLog THANKS || die
}





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

only message in thread, other threads:[~2012-12-19 16:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-19 16:00 [gentoo-commits] gentoo-x86 commit in net-firewall/ebtables: ebtables-2.0.10.4-r1.ebuild ChangeLog Alexander Vershilov (qnikst)

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