[arch-commits] Commit in ifenslave/trunk (PKGBUILD)

Dan McGee dan at archlinux.org
Mon Jan 31 09:27:02 EST 2011


    Date: Monday, January 31, 2011 @ 09:27:02
  Author: dan
Revision: 108480

upgpkg: ifenslave 1.1.0-6
rebuild, change source location, fix includes/makedepends

Modified:
  ifenslave/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-31 14:16:27 UTC (rev 108479)
+++ PKGBUILD	2011-01-31 14:27:02 UTC (rev 108480)
@@ -4,21 +4,22 @@
 
 pkgname=ifenslave
 pkgver=1.1.0
-pkgrel=5
+pkgrel=6
 pkgdesc="Utility for bonding ethernet interfaces"
 arch=('i686' 'x86_64')
 url="http://www.linuxfoundation.org/en/Net:Bonding"
 license=('GPL2')
 depends=('glibc')
-makedepends=('kernel26-headers')
+makedepends=('linux-api-headers')
 backup=('etc/conf.d/bonding')
-source=(ftp://ftp.archlinux.org/other/ifenslave/ifenslave.c bonding.conf.d)
-md5sums=('b0d8e4c97094155747cc9238f762c7aa'
+source=(ifenslave.c::'http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob_plain;f=Documentation/networking/ifenslave.c;h=2bac96'
+        bonding.conf.d)
+md5sums=('41a23dc9ac3522ac2af23396ba70bcc4'
          '397fccbf574d5082c7a3c8d3793dc000')
 
 build() {
   cd $srcdir
-  gcc $CFLAGS -I/usr/src/linux-$(uname -r)/include ifenslave.c -o ifenslave
+  gcc -Wall -Wstrict-prototypes $CFLAGS $LDFLAGS ifenslave.c -o ifenslave
 }
 
 package() {



More information about the arch-commits mailing list