Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions net-firewall/ebtables/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST ebtables-2.0.11.tar.gz 428411 BLAKE2B 62af4c38ad21498e43f41ef96c8abb5704e8d8a48f1327c587b664f36fdfa9849a9a37e59958db56d38019465d8bf1775914f7387fde99a441615913702cf504 SHA512 43a04c6174c8028c501591ef260526297e0f018016f226e2a3bcf80766fddf53d4605c347554d6da7c4ab5e2131584a18da20916ffddcbf2d26ac93b00c5777f
DIST ebtables-v2.0.10-4.tar.gz 103764 BLAKE2B 01995c701c6dbc7495bdf1f0fce61dce51a379dd1a304d2a5174e0190c040ee958833c65be9fd9d6a7601a2f81461ce1f2e9db989081b4fe7dabc5bfcecd57d6 SHA512 a6832453812eaede3fcbb5b4cab5902ea1ea752a80a259eed276a01b61e2afaa6cf07d3d023d86a883f9a02505aecc44a1c6e0d27b3a61f341002e4c051cd60a
49 changes: 49 additions & 0 deletions net-firewall/ebtables/ebtables-2.0.11.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Distributed under the terms of the GNU General Public License v2
# Autogen by MARK Devkit

EAPI=7
inherit autotools toolchain-funcs flag-o-matic

DESCRIPTION="Controls Ethernet frame filtering on a Linux bridge, MAC NAT and brouting"
HOMEPAGE="http://ebtables.sourceforge.net/"
SRC_URI="https://www.netfilter.org/pub/ebtables/ebtables-2.0.11.tar.gz -> ebtables-2.0.11.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
DOCS=(
ChangeLog
THANKS
)
IUSE="+perl static"
RDEPEND="perl? ( dev-lang/perl )
net-misc/ethertypes

"
DEPEND="${RDEPEND}
"
src_configure() {
econf \
--bindir="/bin" \
--sbindir="/sbin" \
--libdir="/$(get_libdir)/ebtables" \
$(use_enable static)
}
src_install() {
if ! use static; then
emake DESTDIR="${D}" install
if ! use perl; then
rm "${ED}"/sbin/ebtables-save || die
fi
rm "${ED%/}"/etc/ethertypes || die
else
into /
newsbin static ebtables
fi
keepdir /var/lib/ebtables/
newinitd "${FILESDIR}"/ebtables.initd-r1 ebtables
newconfd "${FILESDIR}"/ebtables.confd-r1 ebtables
einstalldocs
}


# vim: filetype=ebuild
2 changes: 1 addition & 1 deletion net-firewall/ebtables/files/ebtables.initd-r1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
extra_commands="save panic"
extra_started_commands="reload"

ebtables_bin="/sbin/ebtables"
ebtables_bin="/sbin/ebtables-legacy"
ebtables_save=${EBTABLES_SAVE}

depend() {
Expand Down
Loading