summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
-rw-r--r--abs/extra-testing/guile/PKGBUILD26
-rw-r--r--abs/extra-testing/guile/guile.install27
-rw-r--r--abs/extra-testing/iw/PKGBUILD20
-rw-r--r--abs/extra-testing/libnl/PKGBUILD21
-rw-r--r--abs/extra-testing/libnl/ulong_max.patch11
-rw-r--r--abs/extra-testing/python-m2crypto/PKGBUILD22
-rw-r--r--abs/extra-testing/swig/PKGBUILD23
10 files changed, 230 insertions, 0 deletions
diff --git a/abs/extra-testing/crda/PKGBUILD b/abs/extra-testing/crda/PKGBUILD
new file mode 100644
index 0000000..5a23fbd
--- /dev/null
+++ b/abs/extra-testing/crda/PKGBUILD
@@ -0,0 +1,50 @@
+# $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
new file mode 100644
index 0000000..8511238
--- /dev/null
+++ b/abs/extra-testing/crda/crda.conf.d
@@ -0,0 +1,4 @@
+#
+# Wireless regulatory domain configuration
+#
+
diff --git a/abs/extra-testing/crda/crda.rc b/abs/extra-testing/crda/crda.rc
new file mode 100755
index 0000000..13dbd87
--- /dev/null
+++ b/abs/extra-testing/crda/crda.rc
@@ -0,0 +1,26 @@
+#!/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
diff --git a/abs/extra-testing/guile/PKGBUILD b/abs/extra-testing/guile/PKGBUILD
new file mode 100644
index 0000000..3721e3f
--- /dev/null
+++ b/abs/extra-testing/guile/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 23033 2009-01-01 17:11:52Z jgc $
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=guile
+pkgver=1.8.6
+pkgrel=1
+pkgdesc="Guile is a portable, embeddable Scheme implementation written in C"
+url="http://www.gnu.org/software/guile/"
+arch=(i686 x86_64)
+license=('GPL')
+depends=('gmp' 'libtool' 'ncurses>=5.6-7' 'texinfo')
+install=guile.install
+source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+options=('!libtool')
+md5sums=('9e23d3dbea0e89bab8a9acc6880150de')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --disable-networking \
+ --disable-error-on-warning || return 1
+ make LDFLAGS+="-lpthread" || return 1
+ make DESTDIR="${pkgdir}" install || return 1
+ rm -f "${pkgdir}/usr/share/info/dir"
+ gzip "${pkgdir}/usr/share/info"/* || return 1
+}
diff --git a/abs/extra-testing/guile/guile.install b/abs/extra-testing/guile/guile.install
new file mode 100644
index 0000000..8fab0b1
--- /dev/null
+++ b/abs/extra-testing/guile/guile.install
@@ -0,0 +1,27 @@
+files=(goops.info
+ guile-tut.info
+ guile.info
+ guile.info-1
+ guile.info-2
+ guile.info-3
+ guile.info-4
+ guile.info-5
+ guile.info-6
+ guile.info-7
+ r5rs.info)
+
+post_install() {
+ for f in "${files[@]}"; do
+ install-info usr/share/info/${f}.gz usr/share/info/dir 2>/dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ for f in "${files[@]}"; do
+ install-info --delete usr/share/info/${f}.gz usr/share/info/dir 2> /dev/null
+ done
+}
diff --git a/abs/extra-testing/iw/PKGBUILD b/abs/extra-testing/iw/PKGBUILD
new file mode 100644
index 0000000..052e6d0
--- /dev/null
+++ b/abs/extra-testing/iw/PKGBUILD
@@ -0,0 +1,20 @@
+# $Id: PKGBUILD 24436 2009-01-17 00:02:46Z thomas $
+# Maintainer: Thomas Baechler <thomas@archlinux.org>
+
+pkgname=iw
+pkgver=0.9.8
+pkgrel=1
+pkgdesc="nl80211 based CLI configuration utility for wireless devices"
+arch=("i686" "x86_64")
+url="http://www.linuxwireless.org/en/users/Documentation/iw"
+license=("GPL")
+depends=("libnl")
+makedepends=("kernel-headers")
+source=(http://wireless.kernel.org/download/$pkgname/$pkgname-$pkgver.tar.bz2)
+md5sums=('d39f85e3866b1be5533fe0edce412951')
+
+build() {
+ cd $pkgname-$pkgver
+ make || return 1
+ make DESTDIR=$pkgdir install
+}
diff --git a/abs/extra-testing/libnl/PKGBUILD b/abs/extra-testing/libnl/PKGBUILD
new file mode 100644
index 0000000..4a6465a
--- /dev/null
+++ b/abs/extra-testing/libnl/PKGBUILD
@@ -0,0 +1,21 @@
+# $Id: PKGBUILD 930 2008-04-24 22:14:40Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Contributor: William Rea <sillywilly@gmail.com>
+pkgname=libnl
+pkgver=1.1
+pkgrel=2
+pkgdesc="Library for applications dealing with netlink sockets"
+arch=('i686' 'x86_64')
+url="http://people.suug.ch/~tgr/libnl"
+license=('GPL')
+depends=('glibc')
+source=(http://people.suug.ch/~tgr/${pkgname}/files/${pkgname}-${pkgver}.tar.gz ulong_max.patch)
+md5sums=('ae970ccd9144e132b68664f98e7ceeb1' '255bb3740149d518766032675810c590')
+
+build() {
+ cd ${startdir}/src/libnl-${pkgver}
+ patch -p1 < ../ulong_max.patch
+ ./configure --prefix=/usr || return 1
+ make || return 1
+ make DESTDIR=${startdir}/pkg install || return 1
+}
diff --git a/abs/extra-testing/libnl/ulong_max.patch b/abs/extra-testing/libnl/ulong_max.patch
new file mode 100644
index 0000000..d9ef218
--- /dev/null
+++ b/abs/extra-testing/libnl/ulong_max.patch
@@ -0,0 +1,11 @@
+--- libnl-1.1/include/netlink-local.h.orig 2008-06-08 19:09:20.000000000
++0200
++++ libnl-1.1/include/netlink-local.h 2008-06-08 19:09:33.000000000 +0200
+@@ -26,6 +26,7 @@
+ #include <sys/socket.h>
+ #include <inttypes.h>
+ #include <assert.h>
++#include <limits.h>
+
+ #include <arpa/inet.h>
+ #include <netdb.h>
diff --git a/abs/extra-testing/python-m2crypto/PKGBUILD b/abs/extra-testing/python-m2crypto/PKGBUILD
new file mode 100644
index 0000000..86a96d1
--- /dev/null
+++ b/abs/extra-testing/python-m2crypto/PKGBUILD
@@ -0,0 +1,22 @@
+# $Id: PKGBUILD,v 1.6 2008/11/13 16:04:12 sergej Exp $
+# Maintainer: Sergej Pupykin <sergej@aur.archlinux.org>
+# Contributor: William Rea <sillywilly@gmail.com>
+
+pkgname=python-m2crypto
+pkgver=0.19.1
+pkgrel=1
+pkgdesc="A crypto and SSL toolkit for Python"
+arch=('i686' 'x86_64')
+url="http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto"
+license=('BSD')
+depends=('python' 'swig' 'openssl')
+source=(http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-$pkgver.tar.gz)
+md5sums=('c92286fdf0a75f017e72122c2832d5ff')
+
+build() {
+ cd $srcdir/M2Crypto-$pkgver
+ python setup.py build
+ python setup.py install --root=$pkgdir/
+
+ install -D -m644 LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
diff --git a/abs/extra-testing/swig/PKGBUILD b/abs/extra-testing/swig/PKGBUILD
new file mode 100644
index 0000000..e40f539
--- /dev/null
+++ b/abs/extra-testing/swig/PKGBUILD
@@ -0,0 +1,23 @@
+# $Id: PKGBUILD 14415 2008-10-06 08:59:13Z douglas $
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Maintainer: Jason Chu <jason@archlinux.org>
+
+pkgname=swig
+pkgver=1.3.36
+pkgrel=1
+pkgdesc="SWIG is a compiler that makes it easy to integrate C and C++ code with scripting languages"
+arch=('i686' 'x86_64')
+license=('custom')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
+url="http://www.swig.org/"
+depends=('gcc' 'guile')
+
+md5sums=('8f30aa4130b62404099bbcba1bf429b1')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make || return 1
+ make DESTDIR=$startdir/pkg install
+ install -D -m644 LICENSE ${startdir}/pkg/usr/share/licenses/swig/license.txt
+}