diff options
author | Anatol Pomozov | 2015-06-17 08:46:50 -0700 |
---|---|---|
committer | Anatol Pomozov | 2015-06-17 08:46:50 -0700 |
commit | 2b82b7db1d12c20f3c9ccc38cd7e0073ab495e6f (patch) | |
tree | 91b8d983587f462d8319562a94c1299d858d782c | |
download | aur-iptables-nftables.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7f3db55cd573 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = iptables-nftables + pkgdesc = backward compatibility iptables/ip6tables user-space utility + pkgver = 1.4.15 + pkgrel = 1 + url = http://netfilter.org/projects/nftables/ + arch = i686 + arch = x86_64 + license = GPL2 + provides = iptables + conflicts = iptables + source = http://git.netfilter.org/iptables-nftables/snapshot/iptables-nftables-1.4.15.zip + sha1sums = 9ec2ab98ea4be0dc6570e17e9c62107fa769cb2b + +pkgname = iptables-nftables + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1ee9a9a957d4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> + +pkgname=iptables-nftables +pkgver=1.4.15 +pkgrel=1 +pkgdesc='backward compatibility iptables/ip6tables user-space utility' +arch=(i686 x86_64) +url='http://netfilter.org/projects/nftables/' +license=(GPL2) +provides=(iptables) +conflicts=(iptables) +source=(http://git.netfilter.org/iptables-nftables/snapshot/iptables-nftables-$pkgver.zip) +sha1sums=('9ec2ab98ea4be0dc6570e17e9c62107fa769cb2b') + +build() { + cd iptables-nftables-$pkgver + chmod +x ./autogen.sh + ./autogen.sh + ./configure --prefix=/usr --sbindir=/usr/bin + make +} + +package() { + cd iptables-nftables-$pkgver + make DESTDIR="$pkgdir" install +} |