summaryrefslogtreecommitdiffstats
path: root/abs/core/etcnet/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-06 01:06:40 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-06 01:06:40 (GMT)
commitfa050b437f10141db9c28b4f1327d27aa851d944 (patch)
treed46b04d9f727586bcd5db6de05f93030dcf03d1e /abs/core/etcnet/PKGBUILD
parent2e9de8e980bd65c44629c8e1cb84105d530ce560 (diff)
parent676db4cdf0ec3a29073ee4408b8a610b1b334bd3 (diff)
downloadlinhes_pkgbuild-fa050b437f10141db9c28b4f1327d27aa851d944.zip
linhes_pkgbuild-fa050b437f10141db9c28b4f1327d27aa851d944.tar.gz
linhes_pkgbuild-fa050b437f10141db9c28b4f1327d27aa851d944.tar.bz2
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/etcnet/PKGBUILD')
-rwxr-xr-xabs/core/etcnet/PKGBUILD24
1 files changed, 17 insertions, 7 deletions
diff --git a/abs/core/etcnet/PKGBUILD b/abs/core/etcnet/PKGBUILD
index e9ac4f4..50e604c 100755
--- a/abs/core/etcnet/PKGBUILD
+++ b/abs/core/etcnet/PKGBUILD
@@ -1,16 +1,17 @@
pkgname=etcnet
-pkgver=0.9.8
-pkgrel=13
+pkgver=0.9.10
+pkgrel=2
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 )
+#source=(http://etcnet.org/files/$pkgname-$pkgver.tar.gz 10-defaults network functions.patch options ipv4route ipv4address )
+source=($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
+ cd $startdir/src/$pkgname
mkdir -p $startdir/pkg/var/lib/etcnet
mkdir -p $startdir/pkg/etc/sysconfig
cd etc/net
@@ -18,8 +19,10 @@ build() {
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/etcnet/docs/etcnet.8 $startdir/pkg/usr/man/man8/etcnet.8
+ install -D -m 644 $startdir/src/etcnet/docs/etcnet-options.5 $startdir/pkg/usr/man/man5/etcnet-options.5
+ cp -rp $startdir/src/$pkgname/docs $startdir/pkg/etc/net
+ cp -rp $startdir/src/$pkgname/examples $startdir/pkg/etc/net
#setup default for eth0
mkdir -p $startdir/pkg/etc/net/ifaces/eth0
@@ -27,7 +30,7 @@ build() {
# 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
+ cd $startdir/src/$pkgname
rm -Rf etc/sysconfig etc/net/{README.ALT,TODO,ChangeLog,ifaces/unknown}
cp -Rf etc $startdir/pkg
cd $startdir/pkg/etc/net/scripts
@@ -35,3 +38,10 @@ build() {
ln -s ifdown-ifplugd ifdown-wireless
}
+md5sums=('edb58f3515beb356d268704a1dae0466'
+ '0e45b165b5496347407d1ac928f0d2a8'
+ '6b7df6be8f895d46c9cc3169cfa952ed'
+ '0869475449bddc92fa7d5153cfdb6b00'
+ '4764050578c3d7293d9498b7028c65ec'
+ 'd4688d85bf69ab43fd0619c60d36b50e'
+ '9ad5cbc0b19d73f2848a9e9e66274f23')