[arch-commits] Commit in (5 files)
Tobias Powalowski
tpowa at archlinux.org
Thu Apr 8 14:46:56 UTC 2010
Date: Thursday, April 8, 2010 @ 10:46:56
Author: tpowa
Revision: 76157
newpkg: for wireless brigding
Added:
parprouted/
parprouted/repos/
parprouted/trunk/
parprouted/trunk/PKGBUILD
parprouted/trunk/ip-path.patch
---------------+
PKGBUILD | 24 ++++++++++++++++++++++++
ip-path.patch | 20 ++++++++++++++++++++
2 files changed, 44 insertions(+)
Added: parprouted/trunk/PKGBUILD
===================================================================
--- parprouted/trunk/PKGBUILD (rev 0)
+++ parprouted/trunk/PKGBUILD 2010-04-08 14:46:56 UTC (rev 76157)
@@ -0,0 +1,24 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Ivan N. Veselov <veselov at gmail.com>
+
+pkgname=parprouted
+pkgver=0.7
+pkgrel=3
+pkgdesc="proxy ARP IP bridging daemon"
+arch=(i686 x86_64)
+url="http://hazardous-area.org/parprouted/"
+license=('GPL2')
+depends=('iproute')
+source=(http://hazardous-area.org/parprouted/$pkgname-$pkgver.tar.gz
+ip-path.patch)
+md5sums=('570f5deaf09600df8f80f589de79ecdb'
+ '7e14f09f17647cbdca39d2863ce8fd91')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ patch -Np1 -i ../ip-path.patch || return 1
+ make || return 1
+ install -D -m 755 parprouted $startdir/pkg/usr/sbin/parprouted
+ install -D -m 644 parprouted.8 $startdir/pkg/usr/share/man/man8/parprouted.8
+}
Property changes on: parprouted/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
+ Id
Added: parprouted/trunk/ip-path.patch
===================================================================
--- parprouted/trunk/ip-path.patch (rev 0)
+++ parprouted/trunk/ip-path.patch 2010-04-08 14:46:56 UTC (rev 76157)
@@ -0,0 +1,20 @@
+--- parprouted-0.7/parprouted.orig 2008-09-25 21:08:41.000000000 +0300
++++ parprouted-0.7/parprouted.c 2008-09-25 21:15:51.000000000 +0300
+@@ -106,7 +106,7 @@ int route_remove(ARPTAB_ENTRY* cur_entry
+ int success = 1;
+
+ if (snprintf(routecmd_str, ROUTE_CMD_LEN-1,
+- "/sbin/ip route del %s/32 metric 50 dev %s scope link",
++ "/usr/sbin/ip route del %s/32 metric 50 dev %s scope link",
+ inet_ntoa(cur_entry->ipaddr_ia), cur_entry->ifname) > ROUTE_CMD_LEN-1)
+ {
+ syslog(LOG_INFO, "ip route command too large to fit in buffer!");
+@@ -136,7 +136,7 @@ int route_add(ARPTAB_ENTRY* cur_entry)
+ int success = 1;
+
+ if (snprintf(routecmd_str, ROUTE_CMD_LEN-1,
+- "/sbin/ip route add %s/32 metric 50 dev %s scope link",
++ "/usr/sbin/ip route add %s/32 metric 50 dev %s scope link",
+ inet_ntoa(cur_entry->ipaddr_ia), cur_entry->ifname) > ROUTE_CMD_LEN-1)
+ {
+ syslog(LOG_INFO, "ip route command too large to fit in buffer!");
More information about the arch-commits
mailing list