ebtables: fix build
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
4cd20d1ab3
commit
8097ede23d
1 changed files with 2 additions and 7 deletions
|
@ -3,16 +3,16 @@ pkgname=ebtables
|
|||
version=2.0.10.4
|
||||
revision=7
|
||||
_distver=${version%.*}-${version##*.}
|
||||
wrksrc=${pkgname}-v${_distver}
|
||||
build_style=gnu-makefile
|
||||
conf_files="/etc/ebtables.conf"
|
||||
short_desc="Filtering tool for a Linux-based bridging firewall"
|
||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||
license="GPL-2"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="http://ebtables.netfilter.org/"
|
||||
depends="perl iptables"
|
||||
distfiles="http://ftp.netfilter.org/pub/ebtables/${pkgname}-v${_distver}.tar.gz"
|
||||
checksum=dc6f7b484f207dc712bfca81645f45120cb6aee3380e77a1771e9c34a9a4455d
|
||||
wrksrc=${pkgname}-v${_distver}
|
||||
make_install_args="
|
||||
MANDIR=/usr/share/man \
|
||||
BINDIR=/usr/bin \
|
||||
|
@ -22,11 +22,6 @@ make_install_args="
|
|||
|
||||
LDFLAGS="-Wl,--no-as-needed"
|
||||
|
||||
pre_build() {
|
||||
sed -i 's,<linux/if_ether.h>,<netinet/if_ether.h>,g; /<linux\/if_pppox.h>/d' include/linux/netfilter_bridge.h include/linux/netfilter_bridge/ebtables.h extensions/ebt_*.c
|
||||
rm -f include/linux/if_ether.h
|
||||
}
|
||||
|
||||
post_install() {
|
||||
rm -r $DESTDIR/etc/rc.d $DESTDIR/etc/ebtables-config
|
||||
touch $DESTDIR/etc/ebtables.conf
|
||||
|
|
Loading…
Reference in a new issue