summaryrefslogtreecommitdiff
path: root/community-testing/connman/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-24 01:50:39 -0700
committerroot <root@rshg054.dnsready.net>2012-10-24 01:50:39 -0700
commit120df4e0db159525806a9b33364483e76f9d51d3 (patch)
treeb78de64b601a46cc403d8663201bad6feb41c791 /community-testing/connman/PKGBUILD
parent3c19af9355ba86a5b99d6e5a57ecaa68a7ea6e8e (diff)
Wed Oct 24 01:47:51 PDT 2012
Diffstat (limited to 'community-testing/connman/PKGBUILD')
-rw-r--r--community-testing/connman/PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/community-testing/connman/PKGBUILD b/community-testing/connman/PKGBUILD
new file mode 100644
index 000000000..a52740fca
--- /dev/null
+++ b/community-testing/connman/PKGBUILD
@@ -0,0 +1,46 @@
+#$Id: PKGBUILD 78716 2012-10-23 04:26:25Z dwallace $
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Lucas De Marchi <lucas.de.marchi@gmail.com>
+
+pkgname=connman
+pkgver=1.8
+pkgrel=2
+pkgdesc="Wireless LAN network manager"
+url="http://connman.net/"
+arch=('i686' 'x86_64')
+license=('GPL2')
+depends=('dbus-core' 'iptables' 'glib2' 'gnutls')
+conflicts=('openresolv')
+optdepends=('bluez: Support for Bluetooth devices'
+ 'wpa_supplicant: For WiFi devices')
+makedepends=('bluez' 'wpa_supplicant' 'openconnect' 'openvpn')
+options=('!libtool')
+source=('connmand-daemon'
+ "http://www.kernel.org/pub/linux/network/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'allow_group_network.diff')
+
+md5sums=('88ece7cbf1d0d289545ce4f8553fdab8'
+ '689468f92a1dcb2c0e30d7d00410ad87'
+ 'a8d22ee089fb0ed725130d16ad393047')
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -Np1 -i "${srcdir}/allow_group_network.diff"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --with-systemdunitdir=/usr/lib/systemd/system \
+ --enable-threads \
+ --enable-openconnect \
+ --enable-openvpn \
+ --enable-polkit \
+ --enable-client
+
+ make
+}
+
+package(){
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+ install -Dm755 "$srcdir"/connmand-daemon "$pkgdir"/etc/rc.d/connmand
+}