[arch-commits] Commit in connman/repos (6 files)
Daniel Wallace
dwallace at nymeria.archlinux.org
Sun Jun 2 22:44:23 UTC 2013
Date: Monday, June 3, 2013 @ 00:44:23
Author: dwallace
Revision: 92220
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
connman/repos/community-staging-i686/
connman/repos/community-staging-i686/PKGBUILD
(from rev 92219, connman/trunk/PKGBUILD)
connman/repos/community-staging-i686/allow_group_network.diff
(from rev 92219, connman/trunk/allow_group_network.diff)
connman/repos/community-staging-x86_64/
connman/repos/community-staging-x86_64/PKGBUILD
(from rev 92219, connman/trunk/PKGBUILD)
connman/repos/community-staging-x86_64/allow_group_network.diff
(from rev 92219, connman/trunk/allow_group_network.diff)
---------------------------------------------------+
community-staging-i686/PKGBUILD | 49 ++++++++++++++++++++
community-staging-i686/allow_group_network.diff | 12 ++++
community-staging-x86_64/PKGBUILD | 49 ++++++++++++++++++++
community-staging-x86_64/allow_group_network.diff | 12 ++++
4 files changed, 122 insertions(+)
Copied: connman/repos/community-staging-i686/PKGBUILD (from rev 92219, connman/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-06-02 22:44:23 UTC (rev 92220)
@@ -0,0 +1,49 @@
+#$Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Lucas De Marchi <lucas.de.marchi at gmail.com>
+
+pkgname=connman
+pkgver=1.15
+pkgrel=1
+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=("http://www.kernel.org/pub/linux/network/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'allow_group_network.diff')
+md5sums=('d68ec364b4b3fba3131defe074c768dc'
+ 'a8d22ee089fb0ed725130d16ad393047')
+
+prepare(){
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i "${srcdir}/allow_group_network.diff"
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --bindir=/usr/bin \
+ --sbindir=/usr/bin \
+ --with-systemdunitdir=/usr/lib/systemd/system \
+ --enable-threads \
+ --enable-openconnect \
+ --enable-vpnc \
+ --enable-openvpn \
+ --enable-polkit \
+ --enable-client
+
+ make
+}
+
+package(){
+ make -C "${srcdir}/${pkgname}-${pkgver}" DESTDIR="${pkgdir}" install
+ install -Dm755 "$srcdir/$pkgname-$pkgver/client/${pkgname}ctl" "$pkgdir/usr/bin/${pkgname}ctl"
+ find "$pkgdir/usr" -name \*.service -exec sed -i 's/s\(bin\)/\1/' {} +
+}
Copied: connman/repos/community-staging-i686/allow_group_network.diff (from rev 92219, connman/trunk/allow_group_network.diff)
===================================================================
--- community-staging-i686/allow_group_network.diff (rev 0)
+++ community-staging-i686/allow_group_network.diff 2013-06-02 22:44:23 UTC (rev 92220)
@@ -0,0 +1,12 @@
+--- a/src/connman-polkit.conf 2010-11-05 12:09:04.285423955 -0200
++++ b/src/connman-polkit.conf 2010-11-05 12:10:53.041423934 -0200
+@@ -5,6 +5,9 @@
+ <allow own="net.connman"/>
+ <allow send_interface="net.connman.Agent"/>
+ </policy>
++ <policy group="network">
++ <allow send_interface="net.connman.Agent"/>
++ </policy>
+ <policy context="default">
+ <allow send_destination="net.connman"/>
+ </policy>
Copied: connman/repos/community-staging-x86_64/PKGBUILD (from rev 92219, connman/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2013-06-02 22:44:23 UTC (rev 92220)
@@ -0,0 +1,49 @@
+#$Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Lucas De Marchi <lucas.de.marchi at gmail.com>
+
+pkgname=connman
+pkgver=1.15
+pkgrel=1
+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=("http://www.kernel.org/pub/linux/network/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'allow_group_network.diff')
+md5sums=('d68ec364b4b3fba3131defe074c768dc'
+ 'a8d22ee089fb0ed725130d16ad393047')
+
+prepare(){
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i "${srcdir}/allow_group_network.diff"
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --bindir=/usr/bin \
+ --sbindir=/usr/bin \
+ --with-systemdunitdir=/usr/lib/systemd/system \
+ --enable-threads \
+ --enable-openconnect \
+ --enable-vpnc \
+ --enable-openvpn \
+ --enable-polkit \
+ --enable-client
+
+ make
+}
+
+package(){
+ make -C "${srcdir}/${pkgname}-${pkgver}" DESTDIR="${pkgdir}" install
+ install -Dm755 "$srcdir/$pkgname-$pkgver/client/${pkgname}ctl" "$pkgdir/usr/bin/${pkgname}ctl"
+ find "$pkgdir/usr" -name \*.service -exec sed -i 's/s\(bin\)/\1/' {} +
+}
Copied: connman/repos/community-staging-x86_64/allow_group_network.diff (from rev 92219, connman/trunk/allow_group_network.diff)
===================================================================
--- community-staging-x86_64/allow_group_network.diff (rev 0)
+++ community-staging-x86_64/allow_group_network.diff 2013-06-02 22:44:23 UTC (rev 92220)
@@ -0,0 +1,12 @@
+--- a/src/connman-polkit.conf 2010-11-05 12:09:04.285423955 -0200
++++ b/src/connman-polkit.conf 2010-11-05 12:10:53.041423934 -0200
+@@ -5,6 +5,9 @@
+ <allow own="net.connman"/>
+ <allow send_interface="net.connman.Agent"/>
+ </policy>
++ <policy group="network">
++ <allow send_interface="net.connman.Agent"/>
++ </policy>
+ <policy context="default">
+ <allow send_destination="net.connman"/>
+ </policy>
More information about the arch-commits
mailing list