[arch-commits] Commit in ntrack/repos (6 files)

Andrea Scarpino andrea at archlinux.org
Thu Feb 9 14:30:17 EST 2012


    Date: Thursday, February 9, 2012 @ 14:30:17
  Author: andrea
Revision: 149725

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  ntrack/repos/staging-i686/
  ntrack/repos/staging-i686/PKGBUILD
    (from rev 149724, ntrack/trunk/PKGBUILD)
  ntrack/repos/staging-i686/libnl3.patch
    (from rev 149724, ntrack/trunk/libnl3.patch)
  ntrack/repos/staging-x86_64/
  ntrack/repos/staging-x86_64/PKGBUILD
    (from rev 149724, ntrack/trunk/PKGBUILD)
  ntrack/repos/staging-x86_64/libnl3.patch
    (from rev 149724, ntrack/trunk/libnl3.patch)

-----------------------------+
 staging-i686/PKGBUILD       |   33 ++++++++++++++
 staging-i686/libnl3.patch   |   99 ++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD     |   33 ++++++++++++++
 staging-x86_64/libnl3.patch |   99 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 264 insertions(+)

Copied: ntrack/repos/staging-i686/PKGBUILD (from rev 149724, ntrack/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-02-09 19:30:17 UTC (rev 149725)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=ntrack
+pkgver=16
+pkgrel=2
+epoch=1
+pkgdesc="A network connectivity tracking library"
+arch=('i686' 'x86_64')
+url="http://launchpad.net/ntrack/"
+license=('LGPL')
+depends=('qt' 'libnl')
+makedepends=('python2')
+options=('!libtool' '!emptydirs')
+source=("http://launchpad.net/${pkgname}/main/0${pkgver}/+download/${pkgname}-0${pkgver}.tar.gz"
+        'libnl3.patch')
+md5sums=('21691dac43460a6791cba3decbc68242'
+         '0a1f6b7f9a01c323e81d6da95cad93cd')
+
+build() {
+  cd "${srcdir}/${pkgname}-0${pkgver}"
+  patch -p1 -i "${srcdir}"/libnl3.patch
+
+  ./configure --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-0${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Copied: ntrack/repos/staging-i686/libnl3.patch (from rev 149724, ntrack/trunk/libnl3.patch)
===================================================================
--- staging-i686/libnl3.patch	                        (rev 0)
+++ staging-i686/libnl3.patch	2012-02-09 19:30:17 UTC (rev 149725)
@@ -0,0 +1,99 @@
+From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre at canonical.com>
+Subject: Disable -pedantic, it makes ntrack fail to build against libnl3 3.2 and glib.
+
+Index: ntrack/glib/Makefile.am
+===================================================================
+--- ntrack.orig/glib/Makefile.am	2011-12-22 19:25:13.137470000 -0500
++++ ntrack/glib/Makefile.am	2011-12-22 20:07:10.243344976 -0500
+@@ -26,7 +26,6 @@
+ AM_CFLAGS = \
+ 	-Wall \
+ 	-Werror \
+-	-pedantic \
+ 	-I$(srcdir)/../common/
+ 
+ AM_LDFLAGS =
+Index: ntrack/glib/Makefile.in
+===================================================================
+--- ntrack.orig/glib/Makefile.in	2011-12-22 20:05:46.243208000 -0500
++++ ntrack/glib/Makefile.in	2011-12-22 20:07:14.871344769 -0500
+@@ -325,7 +325,6 @@
+ AM_CFLAGS = \
+ 	-Wall \
+ 	-Werror \
+-	-pedantic \
+ 	-I$(srcdir)/../common/
+ 
+ AM_LDFLAGS = 
+Index: ntrack/glib/test/Makefile.am
+===================================================================
+--- ntrack.orig/glib/test/Makefile.am	2011-12-22 19:25:13.137470000 -0500
++++ ntrack/glib/test/Makefile.am	2011-12-22 20:07:19.451344565 -0500
+@@ -27,7 +27,6 @@
+ 	../../common/libntrack.la
+ 
+ AM_CFLAGS = \
+-	-pedantic \
+ 	-Wall \
+ 	-Werror \
+ 	-I$(srcdir)/.. \
+Index: ntrack/glib/test/Makefile.in
+===================================================================
+--- ntrack.orig/glib/test/Makefile.in	2011-12-22 20:05:46.243208000 -0500
++++ ntrack/glib/test/Makefile.in	2011-12-22 20:07:23.903344367 -0500
+@@ -260,7 +260,6 @@
+ 	../../common/libntrack.la
+ 
+ AM_CFLAGS = \
+-	-pedantic \
+ 	-Wall \
+ 	-Werror \
+ 	-I$(srcdir)/.. \
+Index: ntrack/gobject/Makefile.am
+===================================================================
+--- ntrack.orig/gobject/Makefile.am	2011-12-22 20:05:46.243208000 -0500
++++ ntrack/gobject/Makefile.am	2011-12-22 20:07:27.515344206 -0500
+@@ -26,7 +26,6 @@
+ AM_CFLAGS = \
+ 	-Wall \
+ 	-Werror \
+-	-pedantic \
+ 	-I$(srcdir)/../common/ \
+ 	-I$(srcdir)/../glib/
+ 
+Index: ntrack/gobject/Makefile.in
+===================================================================
+--- ntrack.orig/gobject/Makefile.in	2011-12-22 20:05:46.243208000 -0500
++++ ntrack/gobject/Makefile.in	2011-12-22 20:07:31.519344028 -0500
+@@ -347,7 +347,6 @@
+ AM_CFLAGS = \
+ 	-Wall \
+ 	-Werror \
+-	-pedantic \
+ 	-I$(srcdir)/../common/ \
+ 	-I$(srcdir)/../glib/
+ 
+Index: ntrack/modules/Makefile.am
+===================================================================
+--- ntrack.orig/modules/Makefile.am	2011-12-22 20:05:46.243208000 -0500
++++ ntrack/modules/Makefile.am	2011-12-22 20:07:35.519343851 -0500
+@@ -26,7 +26,6 @@
+ 	-Wall \
+ 	-Werror \
+ 	-Wno-variadic-macros \
+-	-pedantic \
+ 	-I$(top_srcdir)/common/
+ 
+ AM_LDFLAGS =
+Index: ntrack/modules/Makefile.in
+===================================================================
+--- ntrack.orig/modules/Makefile.in	2011-12-22 20:05:46.243208000 -0500
++++ ntrack/modules/Makefile.in	2011-12-22 20:07:39.391343676 -0500
+@@ -352,7 +352,6 @@
+ 	-Wall \
+ 	-Werror \
+ 	-Wno-variadic-macros \
+-	-pedantic \
+ 	-I$(top_srcdir)/common/
+ 
+ AM_LDFLAGS = 

Copied: ntrack/repos/staging-x86_64/PKGBUILD (from rev 149724, ntrack/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-02-09 19:30:17 UTC (rev 149725)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=ntrack
+pkgver=16
+pkgrel=2
+epoch=1
+pkgdesc="A network connectivity tracking library"
+arch=('i686' 'x86_64')
+url="http://launchpad.net/ntrack/"
+license=('LGPL')
+depends=('qt' 'libnl')
+makedepends=('python2')
+options=('!libtool' '!emptydirs')
+source=("http://launchpad.net/${pkgname}/main/0${pkgver}/+download/${pkgname}-0${pkgver}.tar.gz"
+        'libnl3.patch')
+md5sums=('21691dac43460a6791cba3decbc68242'
+         '0a1f6b7f9a01c323e81d6da95cad93cd')
+
+build() {
+  cd "${srcdir}/${pkgname}-0${pkgver}"
+  patch -p1 -i "${srcdir}"/libnl3.patch
+
+  ./configure --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-0${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Copied: ntrack/repos/staging-x86_64/libnl3.patch (from rev 149724, ntrack/trunk/libnl3.patch)
===================================================================
--- staging-x86_64/libnl3.patch	                        (rev 0)
+++ staging-x86_64/libnl3.patch	2012-02-09 19:30:17 UTC (rev 149725)
@@ -0,0 +1,99 @@
+From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre at canonical.com>
+Subject: Disable -pedantic, it makes ntrack fail to build against libnl3 3.2 and glib.
+
+Index: ntrack/glib/Makefile.am
+===================================================================
+--- ntrack.orig/glib/Makefile.am	2011-12-22 19:25:13.137470000 -0500
++++ ntrack/glib/Makefile.am	2011-12-22 20:07:10.243344976 -0500
+@@ -26,7 +26,6 @@
+ AM_CFLAGS = \
+ 	-Wall \
+ 	-Werror \
+-	-pedantic \
+ 	-I$(srcdir)/../common/
+ 
+ AM_LDFLAGS =
+Index: ntrack/glib/Makefile.in
+===================================================================
+--- ntrack.orig/glib/Makefile.in	2011-12-22 20:05:46.243208000 -0500
++++ ntrack/glib/Makefile.in	2011-12-22 20:07:14.871344769 -0500
+@@ -325,7 +325,6 @@
+ AM_CFLAGS = \
+ 	-Wall \
+ 	-Werror \
+-	-pedantic \
+ 	-I$(srcdir)/../common/
+ 
+ AM_LDFLAGS = 
+Index: ntrack/glib/test/Makefile.am
+===================================================================
+--- ntrack.orig/glib/test/Makefile.am	2011-12-22 19:25:13.137470000 -0500
++++ ntrack/glib/test/Makefile.am	2011-12-22 20:07:19.451344565 -0500
+@@ -27,7 +27,6 @@
+ 	../../common/libntrack.la
+ 
+ AM_CFLAGS = \
+-	-pedantic \
+ 	-Wall \
+ 	-Werror \
+ 	-I$(srcdir)/.. \
+Index: ntrack/glib/test/Makefile.in
+===================================================================
+--- ntrack.orig/glib/test/Makefile.in	2011-12-22 20:05:46.243208000 -0500
++++ ntrack/glib/test/Makefile.in	2011-12-22 20:07:23.903344367 -0500
+@@ -260,7 +260,6 @@
+ 	../../common/libntrack.la
+ 
+ AM_CFLAGS = \
+-	-pedantic \
+ 	-Wall \
+ 	-Werror \
+ 	-I$(srcdir)/.. \
+Index: ntrack/gobject/Makefile.am
+===================================================================
+--- ntrack.orig/gobject/Makefile.am	2011-12-22 20:05:46.243208000 -0500
++++ ntrack/gobject/Makefile.am	2011-12-22 20:07:27.515344206 -0500
+@@ -26,7 +26,6 @@
+ AM_CFLAGS = \
+ 	-Wall \
+ 	-Werror \
+-	-pedantic \
+ 	-I$(srcdir)/../common/ \
+ 	-I$(srcdir)/../glib/
+ 
+Index: ntrack/gobject/Makefile.in
+===================================================================
+--- ntrack.orig/gobject/Makefile.in	2011-12-22 20:05:46.243208000 -0500
++++ ntrack/gobject/Makefile.in	2011-12-22 20:07:31.519344028 -0500
+@@ -347,7 +347,6 @@
+ AM_CFLAGS = \
+ 	-Wall \
+ 	-Werror \
+-	-pedantic \
+ 	-I$(srcdir)/../common/ \
+ 	-I$(srcdir)/../glib/
+ 
+Index: ntrack/modules/Makefile.am
+===================================================================
+--- ntrack.orig/modules/Makefile.am	2011-12-22 20:05:46.243208000 -0500
++++ ntrack/modules/Makefile.am	2011-12-22 20:07:35.519343851 -0500
+@@ -26,7 +26,6 @@
+ 	-Wall \
+ 	-Werror \
+ 	-Wno-variadic-macros \
+-	-pedantic \
+ 	-I$(top_srcdir)/common/
+ 
+ AM_LDFLAGS =
+Index: ntrack/modules/Makefile.in
+===================================================================
+--- ntrack.orig/modules/Makefile.in	2011-12-22 20:05:46.243208000 -0500
++++ ntrack/modules/Makefile.in	2011-12-22 20:07:39.391343676 -0500
+@@ -352,7 +352,6 @@
+ 	-Wall \
+ 	-Werror \
+ 	-Wno-variadic-macros \
+-	-pedantic \
+ 	-I$(top_srcdir)/common/
+ 
+ AM_LDFLAGS = 



More information about the arch-commits mailing list