forked from ports/contrib
ebtables: port taken
This commit is contained in:
parent
1344566977
commit
3731de5c31
@ -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
|
||||
|
@ -1,2 +1 @@
|
||||
ba7d4ad6dd0ae5c3564f341549c8f462 ebtables-makefile.diff
|
||||
506742a3d44b9925955425a659c1a8d0 ebtables-v2.0.10-4.tar.gz
|
||||
|
@ -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}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user