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

Jan Steffens heftig at archlinux.org
Thu Feb 9 12:21:50 EST 2012


    Date: Thursday, February 9, 2012 @ 12:21:50
  Author: heftig
Revision: 149709

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

Added:
  libnl1/repos/staging-i686/
  libnl1/repos/staging-i686/PKGBUILD
    (from rev 149708, libnl1/trunk/PKGBUILD)
  libnl1/repos/staging-i686/fix-compilation.patch
    (from rev 149708, libnl1/trunk/fix-compilation.patch)
  libnl1/repos/staging-x86_64/
  libnl1/repos/staging-x86_64/PKGBUILD
    (from rev 149708, libnl1/trunk/PKGBUILD)
  libnl1/repos/staging-x86_64/fix-compilation.patch
    (from rev 149708, libnl1/trunk/fix-compilation.patch)

--------------------------------------+
 staging-i686/PKGBUILD                |   28 ++++++++++++++++++++++++++++
 staging-i686/fix-compilation.patch   |   10 ++++++++++
 staging-x86_64/PKGBUILD              |   28 ++++++++++++++++++++++++++++
 staging-x86_64/fix-compilation.patch |   10 ++++++++++
 4 files changed, 76 insertions(+)

Copied: libnl1/repos/staging-i686/PKGBUILD (from rev 149708, libnl1/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-02-09 17:21:50 UTC (rev 149709)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=libnl1
+pkgver=1.1
+pkgrel=1
+pkgdesc="Library for applications dealing with netlink sockets (Legacy version)"
+arch=('i686' 'x86_64')
+url="http://www.infradead.org/~tgr/libnl/"
+license=('GPL')
+depends=('glibc')
+source=("http://www.infradead.org/~tgr/libnl/files/libnl-${pkgver}.tar.gz"
+        'fix-compilation.patch')
+md5sums=('ae970ccd9144e132b68664f98e7ceeb1'
+         'e1f5e82c8aa1b3ad025c7b588178de1e')
+
+build() {
+  cd ${srcdir}/libnl-${pkgver}
+  patch -Np1 -i ${srcdir}/fix-compilation.patch
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/libnl-${pkgver}
+  make DESTDIR=${pkgdir} install
+}

Copied: libnl1/repos/staging-i686/fix-compilation.patch (from rev 149708, libnl1/trunk/fix-compilation.patch)
===================================================================
--- staging-i686/fix-compilation.patch	                        (rev 0)
+++ staging-i686/fix-compilation.patch	2012-02-09 17:21:50 UTC (rev 149709)
@@ -0,0 +1,10 @@
+--- libnl-1.1.orig/include/netlink-local.h	2008-01-14 16:48:45.000000000 +0100
++++ libnl-1.1/include/netlink-local.h	2009-06-26 11:15:33.186011844 +0200
+@@ -26,6 +26,7 @@
+ #include <sys/socket.h>
+ #include <inttypes.h>
+ #include <assert.h>
++#include <limits.h>
+ 
+ #include <arpa/inet.h>
+ #include <netdb.h>

Copied: libnl1/repos/staging-x86_64/PKGBUILD (from rev 149708, libnl1/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-02-09 17:21:50 UTC (rev 149709)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=libnl1
+pkgver=1.1
+pkgrel=1
+pkgdesc="Library for applications dealing with netlink sockets (Legacy version)"
+arch=('i686' 'x86_64')
+url="http://www.infradead.org/~tgr/libnl/"
+license=('GPL')
+depends=('glibc')
+source=("http://www.infradead.org/~tgr/libnl/files/libnl-${pkgver}.tar.gz"
+        'fix-compilation.patch')
+md5sums=('ae970ccd9144e132b68664f98e7ceeb1'
+         'e1f5e82c8aa1b3ad025c7b588178de1e')
+
+build() {
+  cd ${srcdir}/libnl-${pkgver}
+  patch -Np1 -i ${srcdir}/fix-compilation.patch
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/libnl-${pkgver}
+  make DESTDIR=${pkgdir} install
+}

Copied: libnl1/repos/staging-x86_64/fix-compilation.patch (from rev 149708, libnl1/trunk/fix-compilation.patch)
===================================================================
--- staging-x86_64/fix-compilation.patch	                        (rev 0)
+++ staging-x86_64/fix-compilation.patch	2012-02-09 17:21:50 UTC (rev 149709)
@@ -0,0 +1,10 @@
+--- libnl-1.1.orig/include/netlink-local.h	2008-01-14 16:48:45.000000000 +0100
++++ libnl-1.1/include/netlink-local.h	2009-06-26 11:15:33.186011844 +0200
+@@ -26,6 +26,7 @@
+ #include <sys/socket.h>
+ #include <inttypes.h>
+ #include <assert.h>
++#include <limits.h>
+ 
+ #include <arpa/inet.h>
+ #include <netdb.h>



More information about the arch-commits mailing list