2015-02-19 21:35:52 +00:00
|
|
|
# Template file for 'ebtables'
|
|
|
|
pkgname=ebtables
|
2015-04-03 06:01:42 +00:00
|
|
|
version=2.0.10.4
|
|
|
|
_version=${version%.*}-${version##*.}
|
2015-05-31 17:32:20 +00:00
|
|
|
revision=3
|
2015-02-19 21:35:52 +00:00
|
|
|
build_style=gnu-makefile
|
2015-05-31 17:32:20 +00:00
|
|
|
conf_files="/etc/ebtables.conf"
|
2015-02-19 21:35:52 +00:00
|
|
|
short_desc="Filtering tool for a Linux-based bridging firewall"
|
2015-06-02 07:25:17 +00:00
|
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
2015-02-19 21:35:52 +00:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://ebtables.netfilter.org/"
|
|
|
|
depends="perl"
|
2015-04-03 06:01:42 +00:00
|
|
|
distfiles="http://ftp.netfilter.org/pub/ebtables/${pkgname}-v${_version}.tar.gz"
|
2015-02-19 21:35:52 +00:00
|
|
|
checksum=dc6f7b484f207dc712bfca81645f45120cb6aee3380e77a1771e9c34a9a4455d
|
2015-04-03 06:01:42 +00:00
|
|
|
wrksrc=${pkgname}-v${_version}
|
2015-02-19 21:35:52 +00:00
|
|
|
make_install_args="
|
|
|
|
MANDIR=/usr/share/man \
|
2015-05-31 17:32:20 +00:00
|
|
|
BINDIR=/usr/bin \
|
2015-02-19 21:35:52 +00:00
|
|
|
INITDIR=/etc/rc.d \
|
|
|
|
SYSCONFIGDIR=/etc
|
|
|
|
"
|
2015-02-19 22:13:37 +00:00
|
|
|
broken_as_needed=yes
|
|
|
|
|
2015-05-31 17:32:20 +00:00
|
|
|
pre_build() {
|
|
|
|
rm include/linux/if_ether.h
|
|
|
|
}
|
|
|
|
|
2015-02-19 21:35:52 +00:00
|
|
|
post_install() {
|
|
|
|
rm -r $DESTDIR/etc/rc.d $DESTDIR/etc/ebtables-config
|
2015-05-31 17:32:20 +00:00
|
|
|
touch $DESTDIR/etc/ebtables.conf
|
2015-02-19 21:35:52 +00:00
|
|
|
vsv ebtables
|
|
|
|
}
|