summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core-testing/etcnet/10-defaults4
-rwxr-xr-xabs/core-testing/etcnet/PKGBUILD26
-rw-r--r--abs/core-testing/etcnet/functions.patch9
3 files changed, 19 insertions, 20 deletions
diff --git a/abs/core-testing/etcnet/10-defaults b/abs/core-testing/etcnet/10-defaults
index 5897a89..3aeac58 100644
--- a/abs/core-testing/etcnet/10-defaults
+++ b/abs/core-testing/etcnet/10-defaults
@@ -3,7 +3,9 @@ DHCP_ARGS=-L
IP=/usr/sbin/ip
TC=/usr/sbin/tc
LSMOD=/bin/lsmod
-IFGROUP[1]='eth wlan plip usb dvb bnep tuntap'
+IFGROUP[1]='eth wlan plip usb dvb bnep tuntap ath0'
IFRENAME=/usr/sbin/ifrename
IPTABLES=/usr/sbin/iptables
IP6TABLES=/usr/sbin/ip6tables
+AUTO_BROADCAST=on
+
diff --git a/abs/core-testing/etcnet/PKGBUILD b/abs/core-testing/etcnet/PKGBUILD
index 4b7e386..5b9ba2f 100755
--- a/abs/core-testing/etcnet/PKGBUILD
+++ b/abs/core-testing/etcnet/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=etcnet
-pkgver=0.9.7
-pkgrel=11
+pkgver=0.9.8
+pkgrel=5
pkgdesc="/etc/net network configuration subsystem"
url="http://etcnet.org/"
depends=('bash' 'grep' 'sed' 'iproute' 'wireless_tools' 'iptables' 'dhcpcd')
@@ -13,20 +13,15 @@ build() {
cd $startdir/src/$pkgname-$pkgver
mkdir -p $startdir/pkg/var/lib/etcnet
mkdir -p $startdir/pkg/etc/sysconfig
-
-
-
-
-
- #cp $startdir/src/functions.patch ./etc/net
cd etc/net
- patch -p0 < $startdir/src/functions.patch
-
+ patch -p0 < $startdir/src/functions.patch || return 1
+
+ install -D -m 644 $startdir/src/10-defaults $startdir/pkg/etc/net/options.d/10-defaults
+ install -D -m 644 $startdir/src/network $startdir/pkg/etc/sysconfig/network
+ cp -rp $startdir/src/$pkgname-$pkgver/docs $startdir/pkg/etc/net
+ cp -rp $startdir/src/$pkgname-$pkgver/examples $startdir/pkg/etc/net
- install -D -m 644 $startdir/src/10-defaults $startdir/pkg/etc/net/options.d/10-defaults
- install -D -m 644 $startdir/src/network $startdir/pkg/etc/sysconfig/network
- cp -rp $startdir/src/$pkgname-$pkgver/docs $startdir/pkg/etc/net
-#setup default for eth0
+ #setup default for eth0
mkdir -p $startdir/pkg/etc/net/ifaces/eth0
cp $startdir/src/options $startdir/pkg/etc/net/ifaces/eth0/options
cp $startdir/src/ipv4route $startdir/pkg/etc/net/ifaces/eth0/ipv4route
@@ -35,5 +30,8 @@ build() {
cd $startdir/src/$pkgname-$pkgver
rm -Rf etc/sysconfig etc/net/{README.ALT,TODO,ChangeLog,ifaces/unknown}
cp -Rf etc $startdir/pkg
+ cd $startdir/pkg/etc/net/scripts
+ ln -s ifup-ifplugd ifup-wireless
+ ln -s ifdown-ifplugd ifdown-wireless
}
diff --git a/abs/core-testing/etcnet/functions.patch b/abs/core-testing/etcnet/functions.patch
index c2321b6..855ef90 100644
--- a/abs/core-testing/etcnet/functions.patch
+++ b/abs/core-testing/etcnet/functions.patch
@@ -1,12 +1,11 @@
---- scripts/functions.orig 2008-09-02 03:10:21.000000000 +0000
-+++ scripts/functions 2008-09-02 03:10:49.000000000 +0000
-@@ -16,7 +16,8 @@
+--- scripts/functions.orig 2009-06-14 17:24:46.000000000 +0000
++++ scripts/functions 2009-06-14 17:25:24.000000000 +0000
+@@ -16,7 +16,7 @@
DEFAULT_IFPLUGSTATUS=/usr/sbin/ifplugstatus
DEFAULT_IFPLUGD=/usr/sbin/ifplugd
DEFAULT_IWPRIV=/sbin/iwpriv
-DEFAULT_IWCONFIG=/sbin/iwconfig
-+#DEFAULT_IWCONFIG=/sbin/iwconfig
+DEFAULT_IWCONFIG=/usr/sbin/iwconfig
+ DEFAULT_WLANCONFIG=/usr/sbin/wlanconfig
DEFAULT_WPA_SUPPLICANT=/usr/sbin/wpa_supplicant
DEFAULT_WPA_CLI=/usr/sbin/wpa_cli
- DEFAULT_PLIPCONFIG=/sbin/plipconfig