summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-11-05 17:48:20 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-11-05 17:48:20 (GMT)
commit0df8de97aa62100b27333c136cecfc2a1ea7ca21 (patch)
tree20d06c7e6da3182705cc43de65cc59eff7690c54 /abs
parent0b0d6172c4ce17568136a7d137d85eb68a42fa4b (diff)
downloadlinhes_pkgbuild-0df8de97aa62100b27333c136cecfc2a1ea7ca21.zip
linhes_pkgbuild-0df8de97aa62100b27333c136cecfc2a1ea7ca21.tar.gz
linhes_pkgbuild-0df8de97aa62100b27333c136cecfc2a1ea7ca21.tar.bz2
etcnet: update to 0.9.10 and move src tarball to our repo.
move manpage to /usr/man closes #670
Diffstat (limited to 'abs')
-rwxr-xr-xabs/core/etcnet/PKGBUILD24
-rw-r--r--abs/core/etcnet/etcnet-0.9.10.tar.gzbin0 -> 1373354 bytes
2 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')
diff --git a/abs/core/etcnet/etcnet-0.9.10.tar.gz b/abs/core/etcnet/etcnet-0.9.10.tar.gz
new file mode 100644
index 0000000..edfb357
--- /dev/null
+++ b/abs/core/etcnet/etcnet-0.9.10.tar.gz
Binary files differ