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/arptables/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST arptables-0.0.5.tar.gz 52247 BLAKE2B 860aac1af315f188ecb7f17956f9225c2a9ec007882d102be8edc9fecc9400928f4200e95283f0ecc27c4c3ae0b409887445ed79a330cef2e2d00444db83c01f SHA512 fe7f909b45a1bdc435a8307352fe2dc9c292bb7c6cf4a4d13cc2728f447b3da14a07a4dd6dc25b7872895e4e26561681f1fed25ce517102ae762701bcbcbf104
30 changes: 30 additions & 0 deletions net-firewall/arptables/arptables-0.0.5.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Distributed under the terms of the GNU General Public License v2
# Autogen by MARK Devkit

EAPI=7
inherit autotools toolchain-funcs

DESCRIPTION="Set up, maintain, and inspect the tables of ARP rules in the Linux kernel"
HOMEPAGE="https://ebtables.netfilter.org"
SRC_URI="https://www.netfilter.org/pub/arptables/arptables-0.0.5.tar.gz -> arptables-0.0.5.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="*"
src_compile() {
# -O0 does not work and at least -O2 is required, bug #240752
emake CC="$(tc-getCC)" COPT_FLAGS="-O2 ${CFLAGS//-O0/-O2}"
sed -e 's:__EXEC_PATH__:/sbin:g' \
-i arptables-save arptables-restore || die "sed failed"
}
src_install() {
emake \
PREFIX="${ED}"/ \
LIBDIR="${ED}/$(get_libdir)" \
SYSCONFIGDIR="${ED}"/etc \
MANDIR="${ED}"/usr/share/man \
install
newman arptables-legacy.8 arptables.8
}


# vim: filetype=ebuild
Loading