Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=86121c65a750746e40c42cbdc7f7e6f231611ec0

commit 86121c65a750746e40c42cbdc7f7e6f231611ec0
Author: András Vöröskői <voros...@frugalware.org>
Date:   Tue Jun 30 21:42:00 2009 +0200

iproute2-2.6.29-1-i686

version bump
fixed up2date and url
cleanups

diff --git a/source/network/iproute2/FrugalBuild 
b/source/network/iproute2/FrugalBuild
index 03df346..a11804d 100644
--- a/source/network/iproute2/FrugalBuild
+++ b/source/network/iproute2/FrugalBuild
@@ -3,25 +3,21 @@
# Maintainer: voroskoi <voros...@frugalware.org>

pkgname=iproute2
-pkgver=070710
-_F_kernelmod_pkgver=2.6.22
-pkgrel=5
-pkgdesc="kernel routing and traffic control utilities"
-url="http://linux-net.osdl.org/index.php/Iproute2";
+pkgver=2.6.29
+pkgrel=1
+pkgdesc="kernel routing and traffic control utilities."
+url="http://www.linuxfoundation.org/en/Net:Iproute2";
groups=('network')
backup=('etc/sysconfig/ipv6tunnel')
archs=('i686' 'x86_64')
depends=('glibc' 'db>=4.7.25')
-makedepends=('bison')
-up2date="lynx -dump 
'http://developer.osdl.org/dev/iproute2/download/?C=M;O=D'|grep 
'$pkgname-$_F_kernelmod_pkgver-\(.*\).tar.gz'|sed -n 's/.*-\(.*\)\.t.*/\1/;1 p'"
-source=(http://developer.osdl.org/dev/iproute2/download/$pkgname-$_F_kernelmod_pkgver-$pkgver.tar.gz
 \
-       iproute-socket_h-fix.patch {rc.,}ipv6tunnel)
-signatures=("$source.sign" '' '' '')
-_F_cd_path="."
+up2date="Flasttar 
http://devresources.linux-foundation.org/dev/iproute2/download/";
+source=(http://devresources.linux-foundation.org/dev/iproute2/download/$pkgname-$pkgver.tar.bz2
 \
+       iproute2.git-1957a322c9932e1a1d2ca1fd37ce4b335ceb7113.patch \
+       {rc.,}ipv6tunnel)
+signatures=("$source.sig" '' '' '')

build() {
-       Fsed "DOCDIR=/usr/share/doc/iproute2" \
-               "DOCDIR=/usr/share/doc/iproute2-$pkgver" Makefile
Fsed "CFLAGS =" "CFLAGS +=" Makefile
Fbuild
Ffile /etc/sysconfig/ipv6tunnel
diff --git a/source/network/iproute2/iproute-socket_h-fix.patch 
b/source/network/iproute2/iproute-socket_h-fix.patch
deleted file mode 100644
index be52926..0000000
--- a/source/network/iproute2/iproute-socket_h-fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur iproute2-2.6.11-050330.orig/include/linux/netlink.h 
iproute2-2.6.11-050330/include/linux/netlink.h
---- iproute2-2.6.11-050330.orig/include/linux/netlink.h        2005-06-02 
15:27:33.000000000 +0000
-+++ iproute2-2.6.11-050330/include/linux/netlink.h     2005-06-02 
15:31:57.000000000 +0000
-@@ -1,7 +1,7 @@
- #ifndef __LINUX_NETLINK_H
- #define __LINUX_NETLINK_H
-
--#include <linux/socket.h> /* for sa_family_t */
-+#include <sys/socket.h> /* for sa_family_t */
- #include <linux/types.h>
-
- #define NETLINK_ROUTE         0       /* Routing/device hook                  
        */
diff --git 
a/source/network/iproute2/iproute2.git-1957a322c9932e1a1d2ca1fd37ce4b335ceb7113.patch
 
b/source/network/iproute2/iproute2.git-1957a322c9932e1a1d2ca1fd37ce4b335ceb7113.patch
new file mode 100644
index 0000000..af99538
--- /dev/null
+++ 
b/source/network/iproute2/iproute2.git-1957a322c9932e1a1d2ca1fd37ce4b335ceb7113.patch
@@ -0,0 +1,29 @@
+From: Stephen Hemminger <stephen.hemmin...@vyatta.com>
+Date: Tue, 24 Mar 2009 22:40:54 +0000 (-0700)
+Subject: Fix headers needed for gre
+X-Git-Tag: v2.6.29-1^0
+X-Git-Url: 
http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Fshemminger%2Fiproute2.git;a=commitdiff_plain;h=1957a322c9932e1a1d2ca1fd37ce4b335ceb7113;hp=a136af4ba6784c3310dee58ee006263336a8b462
+
+Fix headers needed for gre
+
+Need to get right headers or build breaks.
+---
+
+diff --git a/ip/link_gre.c b/ip/link_gre.c
+index 9109312..9f8bde6 100644
+--- a/ip/link_gre.c
++++ b/ip/link_gre.c
+@@ -12,11 +12,12 @@
+
+ #include <string.h>
+ #include <net/if.h>
+-#include <linux/if_tunnel.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <arpa/inet.h>
+
++#include <linux/ip.h>
++#include <linux/if_tunnel.h>
+ #include "rt_names.h"
+ #include "utils.h"
+ #include "ip_common.h"
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to