[arch-commits] Commit in (4 files)

Sébastien Luttringer seblu at nymeria.archlinux.org
Mon Jan 20 22:37:21 UTC 2014


    Date: Monday, January 20, 2014 @ 23:37:21
  Author: seblu
Revision: 104442

rename nftables to nftl and release 1.0.0

Added:
  libnftnl/
  libnftnl/trunk/01-fix-nftables-rename.patch
Modified:
  libnftnl/trunk/PKGBUILD
Deleted:
  libnftables/

---------------------------------------------+
 libnftnl/trunk/01-fix-nftables-rename.patch |   36 ++++++++++++++++++++++++++
 trunk/PKGBUILD                              |   27 +++++++++++--------
 2 files changed, 52 insertions(+), 11 deletions(-)

Added: libnftnl/trunk/01-fix-nftables-rename.patch
===================================================================
--- libnftnl/trunk/01-fix-nftables-rename.patch	                        (rev 0)
+++ libnftnl/trunk/01-fix-nftables-rename.patch	2014-01-20 22:37:21 UTC (rev 104442)
@@ -0,0 +1,36 @@
+From 91264d8b8b746f7eee8a3e1ee9b5e57758441cfc Mon Sep 17 00:00:00 2001
+From: Tomasz Bursztyka <tomasz.bursztyka at linux.intel.com>
+Date: Mon, 20 Jan 2014 15:56:21 +0000
+Subject: build: Ensure pkg-config file provides the right informations
+
+It's not -lnftables anymore but -lnftnl (among other details)
+
+Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka at linux.intel.com>
+Signed-off-by: Pablo Neira Ayuso <pablo at netfilter.org>
+---
+diff --git a/libnftnl.pc.in b/libnftnl.pc.in
+index 0c6d57e..fd5cc6a 100644
+--- a/libnftnl.pc.in
++++ b/libnftnl.pc.in
+@@ -1,15 +1,15 @@
+-# libnftables pkg-config file
++# libnftnl pkg-config file
+ 
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ libdir=@libdir@
+ includedir=@includedir@
+ 
+-Name: libnftables
++Name: libnftnl
+ Description: Netfilter nf_tables infrastructure library
+-URL: http://netfilter.org/projects/libnftables/
++URL: http://netfilter.org/projects/libnftnl/
+ Version: @VERSION@
+ Requires:
+ Conflicts:
+-Libs: -L${libdir} -lnftables
++Libs: -L${libdir} -lnftnl
+ Cflags: -I${includedir}
+--
+cgit v0.9.2

Modified: libnftnl/trunk/PKGBUILD
===================================================================
--- libnftables/trunk/PKGBUILD	2014-01-20 20:07:03 UTC (rev 104437)
+++ libnftnl/trunk/PKGBUILD	2014-01-20 22:37:21 UTC (rev 104442)
@@ -1,32 +1,37 @@
 # $Id$
 # Maintainer: Sébastien Luttringer
 
-pkgname=libnftables
-pkgver=0
+pkgname=libnftnl
+pkgver=1.0.0
 pkgrel=1
-pkgdesc='Netfilter nftables library'
+pkgdesc='Netfilter library providing interface to the nf_tables subsystem'
 arch=('i686' 'x86_64')
-url='http://netfilter.org/projects/nftables/'
+url='http://netfilter.org/projects/libnftnl/'
 license=('GPL2')
 depends=('libmnl')
-makedepends=(git)
-source=("git://git.netfilter.org/libnftables")
-md5sums=(SKIP)
+source=("http://netfilter.org/projects/libnftnl/files/libnftnl-1.0.0.tar.bz2"{,.sig}
+        '01-fix-nftables-rename.patch')
+sha1sums=('02464d6511f22392c20ca003248d85741ecbc865'
+          'SKIP'
+          'b406eb6b71b25d2abe559a5643421d42117d9724')
 
+prepare() {
+   patch -p 1 -d $pkgname-$pkgver < '01-fix-nftables-rename.patch'
+}
+
 build() {
-  cd $pkgname
-  ./autogen.sh
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr
   make
 }
 
 check() {
-  cd $pkgname
+  cd $pkgname-$pkgver
   make check
 }
 
 package() {
-  cd $pkgname
+  cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
 }
 




More information about the arch-commits mailing list