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