[arch-commits] Commit in nftables/repos (6 files)
Sébastien Luttringer
seblu at nymeria.archlinux.org
Mon Jan 20 22:44:13 UTC 2014
Date: Monday, January 20, 2014 @ 23:44:13
Author: seblu
Revision: 104446
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
nftables/repos/community-testing-i686/
nftables/repos/community-testing-i686/01-fix-nftables-rename.patch
(from rev 104445, nftables/trunk/01-fix-nftables-rename.patch)
nftables/repos/community-testing-i686/PKGBUILD
(from rev 104445, nftables/trunk/PKGBUILD)
nftables/repos/community-testing-x86_64/
nftables/repos/community-testing-x86_64/01-fix-nftables-rename.patch
(from rev 104445, nftables/trunk/01-fix-nftables-rename.patch)
nftables/repos/community-testing-x86_64/PKGBUILD
(from rev 104445, nftables/trunk/PKGBUILD)
-------------------------------------------------------+
community-testing-i686/01-fix-nftables-rename.patch | 22 ++++++++++
community-testing-i686/PKGBUILD | 35 ++++++++++++++++
community-testing-x86_64/01-fix-nftables-rename.patch | 22 ++++++++++
community-testing-x86_64/PKGBUILD | 35 ++++++++++++++++
4 files changed, 114 insertions(+)
Copied: nftables/repos/community-testing-i686/01-fix-nftables-rename.patch (from rev 104445, nftables/trunk/01-fix-nftables-rename.patch)
===================================================================
--- community-testing-i686/01-fix-nftables-rename.patch (rev 0)
+++ community-testing-i686/01-fix-nftables-rename.patch 2014-01-20 22:44:13 UTC (rev 104446)
@@ -0,0 +1,22 @@
+From 94300c75fc3e113009e68e2ab9db91c31e99e9f4 Mon Sep 17 00:00:00 2001
+From: Pablo Neira Ayuso <pablo at netfilter.org>
+Date: Mon, 20 Jan 2014 14:02:50 +0000
+Subject: build: use libnftnl instead of libnftables in configure.in
+
+Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
+---
+diff --git a/configure.ac b/configure.ac
+index b38295f..9f0d894 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -53,7 +53,7 @@ fi
+ AC_CHECK_LIB([mnl], [mnl_socket_open], ,
+ AC_MSG_ERROR([No suitable version of libmnl found]))
+
+-AC_CHECK_LIB([nftables], [nft_rule_alloc], ,
++AC_CHECK_LIB([nftnl], [nft_rule_alloc], ,
+ AC_MSG_ERROR([No suitable version of libnftnl found]))
+
+ AC_CHECK_LIB([gmp], [__gmpz_init], ,
+--
+cgit v0.9.2
Copied: nftables/repos/community-testing-i686/PKGBUILD (from rev 104445, nftables/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-01-20 22:44:13 UTC (rev 104446)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+
+pkgname=nftables
+pkgver=0.099
+pkgrel=1
+pkgdesc='Netfilter nftables userspace tools'
+arch=('i686' 'x86_64')
+url='http://netfilter.org/projects/nftables/'
+license=('GPL2')
+depends=('libmnl' 'libnftnl' 'gmp' 'readline' 'ncurses')
+source=("http://netfilter.org/projects/nftables/files/nftables-$pkgver.tar.bz2"{,.sig}
+ '01-fix-nftables-rename.patch')
+sha1sums=('c8fb650263f68f43498306af36910791871ec1e1'
+ 'SKIP'
+ '38d7c1e4bc8590a549e16a2385af37704460642b')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p 1 -i "$srcdir/01-fix-nftables-rename.patch"
+ ./autogen.sh
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
Copied: nftables/repos/community-testing-x86_64/01-fix-nftables-rename.patch (from rev 104445, nftables/trunk/01-fix-nftables-rename.patch)
===================================================================
--- community-testing-x86_64/01-fix-nftables-rename.patch (rev 0)
+++ community-testing-x86_64/01-fix-nftables-rename.patch 2014-01-20 22:44:13 UTC (rev 104446)
@@ -0,0 +1,22 @@
+From 94300c75fc3e113009e68e2ab9db91c31e99e9f4 Mon Sep 17 00:00:00 2001
+From: Pablo Neira Ayuso <pablo at netfilter.org>
+Date: Mon, 20 Jan 2014 14:02:50 +0000
+Subject: build: use libnftnl instead of libnftables in configure.in
+
+Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
+---
+diff --git a/configure.ac b/configure.ac
+index b38295f..9f0d894 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -53,7 +53,7 @@ fi
+ AC_CHECK_LIB([mnl], [mnl_socket_open], ,
+ AC_MSG_ERROR([No suitable version of libmnl found]))
+
+-AC_CHECK_LIB([nftables], [nft_rule_alloc], ,
++AC_CHECK_LIB([nftnl], [nft_rule_alloc], ,
+ AC_MSG_ERROR([No suitable version of libnftnl found]))
+
+ AC_CHECK_LIB([gmp], [__gmpz_init], ,
+--
+cgit v0.9.2
Copied: nftables/repos/community-testing-x86_64/PKGBUILD (from rev 104445, nftables/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2014-01-20 22:44:13 UTC (rev 104446)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+
+pkgname=nftables
+pkgver=0.099
+pkgrel=1
+pkgdesc='Netfilter nftables userspace tools'
+arch=('i686' 'x86_64')
+url='http://netfilter.org/projects/nftables/'
+license=('GPL2')
+depends=('libmnl' 'libnftnl' 'gmp' 'readline' 'ncurses')
+source=("http://netfilter.org/projects/nftables/files/nftables-$pkgver.tar.bz2"{,.sig}
+ '01-fix-nftables-rename.patch')
+sha1sums=('c8fb650263f68f43498306af36910791871ec1e1'
+ 'SKIP'
+ '38d7c1e4bc8590a549e16a2385af37704460642b')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p 1 -i "$srcdir/01-fix-nftables-rename.patch"
+ ./autogen.sh
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list