summaryrefslogtreecommitdiff
path: root/ebtables/Pkgfile
blob: 5702265781854502014dfcc1b0ca5f426397dff5 (plain)
    1 # Description: A firewalling tool to transparently filter network traffic passing a bridge
    2 # URL:         https://netfilter.org/index.html
    3 # Maintainer:  Thomas Penteker, tek at serverop dot de
    4 # Packager:    Mikhail Kolesnik, mike at openbunker dot org
    5 
    6 name=ebtables
    7 version=2.0.11
    8 release=1
    9 source=(http://distfiles.exherbo.org/distfiles/$name-$version.tar.gz
   10   # https://gitweb.gentoo.org/repo/gentoo.git/tree/net-firewall/ebtables/files
   11   ebtables-2.0.11-ebt-save.patch ebtables-2.0.11-makefile.patch
   12   ebtables-2.0.11-remove-stray-atsign.patch)
   13 
   14 build() {
   15   cd $name-$version
   16   patch -Np1 -i $SRC/ebtables-2.0.11-ebt-save.patch
   17   patch -Np1 -i $SRC/ebtables-2.0.11-makefile.patch
   18   patch -Np1 -i $SRC/ebtables-2.0.11-remove-stray-atsign.patch
   19 
   20   ./autogen.sh
   21   ./configure --prefix=/usr \
   22     --sysconfdir=/etc
   23 
   24   mkdir -p $PKG/usr/sbin
   25 
   26   make
   27   make DESTDIR=$PKG install
   28 
   29   rm -rf $PKG/etc/{rc.d,sysconfig}
   30 }

Generated by cgit