contrib/ebtables/Pkgfile

31 lines
917 B
Plaintext
Raw Normal View History

2006-11-14 13:43:47 +01:00
# Description: A firewalling tool to transparently filter network traffic passing a bridge
2020-07-01 15:52:32 +02:00
# URL: https://netfilter.org/index.html
2016-05-14 21:48:43 +02:00
# Maintainer: Thomas Penteker, tek at serverop dot de
# Packager: Mikhail Kolesnik, mike at openbunker dot org
2006-11-14 13:43:47 +01:00
name=ebtables
2020-07-01 15:52:32 +02:00
version=2.0.11
2006-11-14 13:43:47 +01:00
release=1
2020-07-01 15:52:32 +02:00
source=(http://distfiles.exherbo.org/distfiles/$name-$version.tar.gz
# https://gitweb.gentoo.org/repo/gentoo.git/tree/net-firewall/ebtables/files
ebtables-2.0.11-ebt-save.patch ebtables-2.0.11-makefile.patch
ebtables-2.0.11-remove-stray-atsign.patch)
2006-11-14 13:43:47 +01:00
build() {
2020-07-01 15:52:32 +02:00
cd $name-$version
patch -Np1 -i $SRC/ebtables-2.0.11-ebt-save.patch
patch -Np1 -i $SRC/ebtables-2.0.11-makefile.patch
patch -Np1 -i $SRC/ebtables-2.0.11-remove-stray-atsign.patch
2016-05-14 21:48:43 +02:00
2020-07-01 15:52:32 +02:00
./autogen.sh
./configure --prefix=/usr \
--sysconfdir=/etc
2016-05-14 21:48:43 +02:00
2020-07-01 15:52:32 +02:00
mkdir -p $PKG/usr/sbin
2016-05-14 21:48:43 +02:00
2020-07-01 15:52:32 +02:00
make
make DESTDIR=$PKG install
2016-05-14 21:48:43 +02:00
2020-07-01 15:52:32 +02:00
rm -rf $PKG/etc/{rc.d,sysconfig}
2006-11-14 13:43:47 +01:00
}