ebtables: remove unexistent conf_file; remove unnecessary stuff.

This commit is contained in:
Juan RP 2015-04-16 14:54:30 +02:00
parent 85fc4b4f5b
commit 56fea05af0

View file

@ -2,7 +2,7 @@
pkgname=ebtables
version=2.0.10.4
_version=${version%.*}-${version##*.}
revision=1
revision=2
build_style=gnu-makefile
short_desc="Filtering tool for a Linux-based bridging firewall"
maintainer="Enno Boland <eb@s01.de>"
@ -20,16 +20,8 @@ make_install_args="
INITDIR=/etc/rc.d \
SYSCONFIGDIR=/etc
"
conf_files=/etc/ebtables.conf
broken_as_needed=yes
pre_configure() {
sed -i -e "/install/s/-m [0-9]\{4\}//g" \
-e "/install/s/-o root//g" \
-e "/install/s/-g root//g" Makefile
}
post_install() {
rm -r $DESTDIR/etc/rc.d $DESTDIR/etc/ebtables-config
touch /etc/ebtables.conf