summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/crda
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-10-23 18:17:40 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-10-23 18:19:39 (GMT)
commitadbcf19958300e9b6598990184c8815b945ba0ee (patch)
treef4283c850ac0ac202c17e78a637ee7ca8147621b /abs/extra-testing/crda
parent61a68250df10d29b624650948484898334ff22d0 (diff)
downloadlinhes_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/extra-testing/crda')
-rw-r--r--abs/extra-testing/crda/PKGBUILD50
-rw-r--r--abs/extra-testing/crda/crda.conf.d4
-rwxr-xr-xabs/extra-testing/crda/crda.rc26
3 files changed, 0 insertions, 80 deletions
diff --git a/abs/extra-testing/crda/PKGBUILD b/abs/extra-testing/crda/PKGBUILD
deleted file mode 100644
index 5a23fbd..0000000
--- a/abs/extra-testing/crda/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# $Id: PKGBUILD 24388 2009-01-15 23:18:18Z thomas $
-# Maintainer: Thomas Bächler <thomas@archlinux.org>
-
-pkgname=crda
-pkgver=0.9.5
-_regdbver=2009-01-15
-pkgrel=2
-pkgdesc="Central Regulatory Domain Agent"
-arch=(i686 x86_64)
-url="http://wireless.kernel.org/en/developers/Regulatory/CRDA"
-license=('custom')
-depends=('libnl' 'libgcrypt' 'udev' 'iw')
-makedepends=('python-m2crypto')
-source=(http://wireless.kernel.org/download/crda/$pkgname-$pkgver.tar.bz2
- http://wireless.kernel.org/download/wireless-regdb/regulatory.bins/${_regdbver}-regulatory.bin
- crda.rc
- crda.conf.d)
-backup=(etc/conf.d/wireless-regdom)
-md5sums=('cee459e588441f713a96ae2fb0472d7f'
- 'a0db99e5385c876b6da7e2869546f6e2'
- '014eef3f8655e9a130064ec6891317fc'
- '2374dcf1c6530332f375e5362b80169b')
-
-build() {
- # Install crda, regdbdump and udev rules
- msg "Compiling and installing crda ..."
- cd $srcdir/$pkgname-$pkgver
- make crda regdbdump || return 1
- make DESTDIR=$pkgdir install || return 1
-
- # Install and verify regulatory.bin file
- msg "Installing and verifying the regulatory.bin file ..."
- install -D -m444 $srcdir/${_regdbver}-regulatory.bin $pkgdir/usr/lib/crda/regulatory.bin || return 1
- if $pkgdir/sbin/regdbdump $pkgdir/usr/lib/crda/regulatory.bin > /dev/null; then
- msg "Regulatory database verification was succesful."
- else
- error "Regulatory database verification failed."
- return 1
- fi
-
- msg "Installing license ..."
- install -D -m644 $srcdir/$pkgname-$pkgver/LICENSE $pkgdir/usr/share/licenses/crda/LICENSE || return 1
-
- msg "Installing boot scripts ..."
- install -D -m755 $srcdir/crda.rc $pkgdir/etc/rc.d/wireless-regdom || return 1
- install -D -m644 $srcdir/crda.conf.d $pkgdir/etc/conf.d/wireless-regdom || return 1
- for dom in $($pkgdir/sbin/regdbdump $pkgdir/usr/lib/crda/regulatory.bin | grep ^country | cut -d' ' -f2 | sed 's|:||g'); do
- echo "#WIRELESS_REGDOM=\"${dom}\"" >> $pkgdir/etc/conf.d/wireless-regdom || return 1
- done
-}
diff --git a/abs/extra-testing/crda/crda.conf.d b/abs/extra-testing/crda/crda.conf.d
deleted file mode 100644
index 8511238..0000000
--- a/abs/extra-testing/crda/crda.conf.d
+++ /dev/null
@@ -1,4 +0,0 @@
-#
-# Wireless regulatory domain configuration
-#
-
diff --git a/abs/extra-testing/crda/crda.rc b/abs/extra-testing/crda/crda.rc
deleted file mode 100755
index 13dbd87..0000000
--- a/abs/extra-testing/crda/crda.rc
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/wireless-regdom
-
-case "$1" in
- start)
- if [ -n "${WIRELESS_REGDOM}" ]; then
- stat_busy "Setting wireless regulatory domain: ${WIRELESS_REGDOM}"
- if iw reg set ${WIRELESS_REGDOM}; then
- stat_done
- else
- stat_fail
- fi
- fi
- ;;
- stop)
- ;;
- restart)
- $0 start
- ;;
- *)
- echo "usage: $0 start"
-esac
-exit 0