diff options
author | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:17:40 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:19:39 (GMT) |
commit | adbcf19958300e9b6598990184c8815b945ba0ee (patch) | |
tree | f4283c850ac0ac202c17e78a637ee7ca8147621b /abs/core-testing/etcnet/PKGBUILD | |
parent | 61a68250df10d29b624650948484898334ff22d0 (diff) | |
download | linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2 |
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/core-testing/etcnet/PKGBUILD')
-rwxr-xr-x | abs/core-testing/etcnet/PKGBUILD | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/abs/core-testing/etcnet/PKGBUILD b/abs/core-testing/etcnet/PKGBUILD deleted file mode 100755 index e9ac4f4..0000000 --- a/abs/core-testing/etcnet/PKGBUILD +++ /dev/null @@ -1,37 +0,0 @@ -pkgname=etcnet -pkgver=0.9.8 -pkgrel=13 -pkgdesc="/etc/net network configuration subsystem" -url="http://etcnet.org/" -depends=('bash' 'grep' 'sed' 'iproute2' 'wireless_tools' 'iptables' 'dhcpcd') -arch=i686 -install=etcnet.install -source=(http://etcnet.org/files/$pkgname-$pkgver.tar.gz 10-defaults network functions.patch options ipv4route ipv4address ) -#backup=(etc/net/ifaces/eth0/options etc/net/ifaces/eth0/ipv4route etc/net/ifaces/eth0/ipv4address) - -build() { - cd $startdir/src/$pkgname-$pkgver - mkdir -p $startdir/pkg/var/lib/etcnet - mkdir -p $startdir/pkg/etc/sysconfig - cd etc/net - 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 - - #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 -# cp $startdir/src/ipv4address $startdir/pkg/etc/net/ifaces/eth0/ipv4address - - 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 - -} |