Date: Sunday, December 29, 2013 @ 21:04:13
Author: seblu
Revision: 103195
Prepare addition of the nftables framework
The nftables framework will be added in linux kernel 3.13
Netfilter developer Eric Leblond told me there will be userspace tools releases
just after the linux 3.13 release. No deps change are expected.
Added:
iptables-nftables/
iptables-nftables/repos/
iptables-nftables/trunk/
iptables-nftables/trunk/PKGBUILD
libnftables/
libnftables/repos/
libnftables/trunk/
libnftables/trunk/PKGBUILD
nftables/
nftables/repos/
nftables/trunk/
nftables/trunk/PKGBUILD
----------------------------------+
iptables-nftables/trunk/PKGBUILD | 29 +++++++++++++++++++++++++++++
libnftables/trunk/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
nftables/trunk/PKGBUILD | 28 ++++++++++++++++++++++++++++
3 files changed, 90 insertions(+)
Added: iptables-nftables/trunk/PKGBUILD
===================================================================
--- iptables-nftables/trunk/PKGBUILD (rev 0)
+++ iptables-nftables/trunk/PKGBUILD 2013-12-29 20:04:13 UTC (rev 103195)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+
+pkgname=iptables-nftables
+pkgver=1.4.15
+pkgrel=1
+pkgdesc='Iptables compatibility userspace for nftables'
+arch=('i686' 'x86_64')
+url='http://netfilter.org/projects/nftables/'
+license=('GPL2')
+depends=('glibc')
+conflicts=('iptables')
+provides=('iptables')
+source=("http://git.netfilter.org/iptables-nftables/snapshot/iptables-nftables-$pkgver.tar.xz")
+md5sums=('053469f0c9df301013ee7a1489f5b8a9')
+
+build() {
+ cd $pkgname-$pkgver
+ sh ./autogen.sh
+ ./configure --prefix=/usr --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
Added: libnftables/trunk/PKGBUILD
===================================================================
--- libnftables/trunk/PKGBUILD (rev 0)
+++ libnftables/trunk/PKGBUILD 2013-12-29 20:04:13 UTC (rev 103195)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+
+pkgname=libnftables
+pkgver=0
+pkgrel=1
+pkgdesc='Netfilter nftables library'
+arch=('i686' 'x86_64')
+url='http://netfilter.org/projects/nftables/'
+license=('GPL2')
+depends=('libmnl')
+makedepends=(git)
+source=("git://git.netfilter.org/libnftables")
+md5sums=(SKIP)
+
+build() {
+ cd $pkgname
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd $pkgname
+ make check
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
Added: nftables/trunk/PKGBUILD
===================================================================
--- nftables/trunk/PKGBUILD (rev 0)
+++ nftables/trunk/PKGBUILD 2013-12-29 20:04:13 UTC (rev 103195)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+
+pkgname=nftables
+pkgver=0
+pkgrel=1
+pkgdesc='Netfilter nftables userspace tools'
+arch=('i686' 'x86_64')
+url='http://netfilter.org/projects/nftables/'
+license=('GPL2')
+depends=('libmnl' 'libnftables' 'gmp' 'readline' 'ncurses')
+makedepends=(git)
+source=("git://git.netfilter.org/nftables")
+md5sums=(SKIP)
+
+build() {
+ cd $pkgname
+ ./autogen.sh
+ ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et: