From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/ebtables/
Date: Fri, 19 Jun 2020 06:51:07 +0000 (UTC) [thread overview]
Message-ID: <1592549461.342b22ecf68b5520e297e79758905f0a10d3057e.polynomial-c@gentoo> (raw)
commit: 342b22ecf68b5520e297e79758905f0a10d3057e
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 19 06:50:49 2020 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Jun 19 06:51:01 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=342b22ec
net-firewall/ebtables: Removed old
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild | 72 ------------------
net-firewall/ebtables/ebtables-2.0.11.ebuild | 92 -----------------------
2 files changed, 164 deletions(-)
diff --git a/net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild b/net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild
deleted file mode 100644
index c506fa3d0bf..00000000000
--- a/net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit versionator eutils toolchain-funcs multilib flag-o-matic
-
-MY_PV=$(replace_version_separator 3 '-' )
-MY_P=${PN}-v${MY_PV}
-
-DESCRIPTION="Controls 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"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
-IUSE="+perl static"
-
-# The ebtables-save script is written in perl.
-RDEPEND="perl? ( dev-lang/perl )
- !<net-firewall/iptables-1.6.2-r2[nftables(-)]
- !net-misc/ethertypes
-"
-
-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)
- emake \
- CC="$(tc-getCC)" \
- CFLAGS="${CFLAGS}" \
- $(use static && echo static)
-}
-
-src_install() {
- if ! use static; then
- emake DESTDIR="${D}" install
- keepdir /var/lib/ebtables/
- newinitd "${FILESDIR}"/ebtables.initd-r1 ebtables
- newconfd "${FILESDIR}"/ebtables.confd-r1 ebtables
- if ! use perl; then
- rm "${ED}"/sbin/ebtables-save || die
- fi
- else
- into /
- newsbin static ebtables
- insinto /etc
- doins ethertypes
- fi
- dodoc ChangeLog THANKS
-}
diff --git a/net-firewall/ebtables/ebtables-2.0.11.ebuild b/net-firewall/ebtables/ebtables-2.0.11.ebuild
deleted file mode 100644
index c9be4be12cc..00000000000
--- a/net-firewall/ebtables/ebtables-2.0.11.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs autotools
-
-MY_PV="$(ver_rs 3 '-' )"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="Controls Ethernet frame filtering on a Linux bridge, MAC NAT and brouting"
-HOMEPAGE="http://ebtables.sourceforge.net/"
-SRC_URI="ftp://ftp.netfilter.org/pub/${PN}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
-IUSE="+perl static"
-
-# The ebtables-save script is written in perl.
-RDEPEND="perl? ( dev-lang/perl )
- net-misc/ethertypes"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.0.11-makefile.patch"
-
- # Enhance ebtables-save to take table names as parameters bug #189315
- "${FILESDIR}/${PN}-2.0.11-ebt-save.patch"
-
- # from upstream git
- "${FILESDIR}/ebtables-2.0.11-remove-stray-atsign.patch"
-)
-
-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() {
- default
-
- # don't install perl scripts if USE=perl is disabled
- if ! use perl; then
- sed -e '/sbin_SCRIPTS/ d' -i Makefile.am || die
- fi
-
- eautoreconf
-}
-
-src_configure() {
- econf \
- --bindir="/bin" \
- --sbindir="/sbin" \
- --libdir=/$(get_libdir)/${PN} \
- --sysconfdir="/usr/share/doc/${PF}" \
- $(use_enable static)
-}
-
-src_compile() {
- emake $(usex static 'static ebtables-legacy.8' '')
-}
-
-src_install() {
- local -a DOCS=( ChangeLog THANKS )
-
- if ! use static; then
- emake DESTDIR="${D}" install
- keepdir /var/lib/ebtables/
- newinitd "${FILESDIR}"/ebtables.initd-r1 ebtables
- newconfd "${FILESDIR}"/ebtables.confd-r1 ebtables
-
- # symlink -legacy binaries to original names
- local ext
- for ext in '' -{save,restore}; do
- local prog="${PN}-legacy${ext}"
- [[ -f ${ED}/sbin/${prog} ]] && dosym ${prog} /sbin/${PN}${ext}
- done
-
- find "${D}" -name '*.la' -type f -delete || die
- else
- into /
- newsbin static ebtables
- insinto /etc
- doins ethertypes
- fi
-
- newman ebtables-legacy.8 ebtables.8
- einstalldocs
-}
next reply other threads:[~2020-06-19 6:51 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-19 6:51 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-03-12 12:31 [gentoo-commits] repo/gentoo:master commit in: net-firewall/ebtables/ Arthur Zamarin
2022-02-04 18:48 Sam James
2021-08-23 11:41 Marek Szuba
2021-05-08 19:11 David Seifert
2021-05-08 18:55 Sam James
2021-05-08 18:49 Sam James
2021-05-08 18:44 Sam James
2021-05-08 18:41 Sam James
2021-02-09 15:59 Mike Frysinger
2021-02-09 15:59 Mike Frysinger
2021-02-09 15:59 Mike Frysinger
2020-12-29 17:02 Mike Gilbert
2020-08-20 13:20 Sam James
2020-07-19 23:31 Sam James
2020-07-18 17:06 Sam James
2020-07-17 15:21 Agostino Sarubbo
2020-06-19 6:51 Lars Wendler
2020-05-10 20:49 Patrick McLean
2020-05-09 2:55 Patrick McLean
2020-05-04 17:36 Thomas Deutschmann
2019-12-28 21:32 Georgy Yakovlev
2018-03-07 19:26 Mike Gilbert
2018-03-07 19:26 Mike Gilbert
2015-09-29 19:53 Mike Frysinger
2015-09-23 2:33 Mike Frysinger
2015-09-23 2:33 Mike Frysinger
2015-09-23 2:33 Mike Frysinger
2015-09-23 2:33 Mike Frysinger
2015-09-22 21:39 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1592549461.342b22ecf68b5520e297e79758905f0a10d3057e.polynomial-c@gentoo \
--to=polynomial-c@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox