ports/contrib (3.2): ebtables: port taken
![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit 3731de5c31bc1c260472663e27769eed0c881ea4 Author: Thomas Penteker <tek@serverop.de> Date: Sat May 14 21:48:43 2016 +0200 ebtables: port taken diff --git a/ebtables/.footprint b/ebtables/.footprint index da1b019..e1c3ada 100644 --- a/ebtables/.footprint +++ b/ebtables/.footprint @@ -24,10 +24,11 @@ drwxr-xr-x root/root usr/lib/ -rwxr-xr-x root/root usr/lib/libebtable_filter.so -rwxr-xr-x root/root usr/lib/libebtable_nat.so -rwxr-xr-x root/root usr/lib/libebtc.so -drwxr-xr-x root/root usr/man/ -drwxr-xr-x root/root usr/man/man8/ --rw-r--r-- root/root usr/man/man8/ebtables.8.gz drwxr-xr-x root/root usr/sbin/ -rwxr-xr-x root/root usr/sbin/ebtables -rwxr-xr-x root/root usr/sbin/ebtables-restore -rwxr-xr-x root/root usr/sbin/ebtables-save +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/ebtables.8.gz diff --git a/ebtables/.md5sum b/ebtables/.md5sum index 23c0bb9..c5a6b45 100644 --- a/ebtables/.md5sum +++ b/ebtables/.md5sum @@ -1,2 +1 @@ -ba7d4ad6dd0ae5c3564f341549c8f462 ebtables-makefile.diff 506742a3d44b9925955425a659c1a8d0 ebtables-v2.0.10-4.tar.gz diff --git a/ebtables/Pkgfile b/ebtables/Pkgfile index 68783ef..465b5e4 100644 --- a/ebtables/Pkgfile +++ b/ebtables/Pkgfile @@ -1,19 +1,24 @@ # Description: A firewalling tool to transparently filter network traffic passing a bridge -# URL: http://ebtables.sourceforge.net/ -# Maintainer: Mikhail Kolesnik, mike at openbunker dot org -# Depends on: +# URL: http://ebtables.sourceforge.net/ +# Maintainer: Thomas Penteker, tek at serverop dot de +# Packager: Mikhail Kolesnik, mike at openbunker dot org name=ebtables version=2.0.10-4 release=1 -source=(http://download.sourceforge.net/$name/$name-v$version.tar.gz \ - $name-makefile.diff) +source=(http://download.sourceforge.net/$name/$name-v$version.tar.gz) build() { cd $name-v$version - patch -p1 -i $SRC/$name-makefile.diff - make + + sed -i -e 's|BINDIR:=.*|BINDIR:=/usr/sbin|g' \ + -e 's|MANDIR:=.*|MANDIR:=/usr/share/man|g' \ + -e 's|rc.d/init.d|rc.d|g' -e 's|-Werror||g' Makefile + mkdir -p $PKG/usr/sbin + + make make DESTDIR=$PKG install + rm -rf $PKG/etc/{rc.d,sysconfig} }
participants (1)
-
crux@crux.nu