[arch-commits] Commit in connman/repos (6 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Apr 14 00:03:48 UTC 2015
Date: Tuesday, April 14, 2015 @ 02:03:48
Author: foutrelis
Revision: 131320
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 131319, connman/trunk/PKGBUILD)
connman/repos/community-staging-i686/allow_group_network.diff
(from rev 131319, connman/trunk/allow_group_network.diff)
connman/repos/community-staging-x86_64/
connman/repos/community-staging-x86_64/PKGBUILD
(from rev 131319, connman/trunk/PKGBUILD)
connman/repos/community-staging-x86_64/allow_group_network.diff
(from rev 131319, connman/trunk/allow_group_network.diff)
---------------------------------------------------+
community-staging-i686/PKGBUILD | 48 ++++++++++++++++++++
community-staging-i686/allow_group_network.diff | 12 +++++
community-staging-x86_64/PKGBUILD | 48 ++++++++++++++++++++
community-staging-x86_64/allow_group_network.diff | 12 +++++
4 files changed, 120 insertions(+)
Copied: connman/repos/community-staging-i686/PKGBUILD (from rev 131319, connman/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-04-14 00:03:48 UTC (rev 131320)
@@ -0,0 +1,48 @@
+#$Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Lucas De Marchi <lucas.de.marchi at gmail.com>
+
+pkgname=connman
+pkgver=1.28
+pkgrel=2
+pkgdesc="Wireless LAN network manager"
+url="https://01.org/connman"
+arch=('i686' 'x86_64')
+license=('GPL2')
+depends=('dbus' 'iptables' 'gnutls' 'glib2')
+optdepends=('bluez: Support for Bluetooth devices'
+ 'wpa_supplicant: For WiFi devices'
+ 'pptpclient: for ppp support')
+makedepends=('bluez' 'wpa_supplicant' 'openconnect' 'openvpn' 'ppp')
+source=("http://www.kernel.org/pub/linux/network/${pkgname}/${pkgname}-${pkgver}.tar.xz"
+ 'allow_group_network.diff')
+md5sums=('6e07c93877f80bb73c9d4dbfc697f3fc'
+ '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-pptp \
+ --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 131319, connman/trunk/allow_group_network.diff)
===================================================================
--- community-staging-i686/allow_group_network.diff (rev 0)
+++ community-staging-i686/allow_group_network.diff 2015-04-14 00:03:48 UTC (rev 131320)
@@ -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 131319, connman/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-04-14 00:03:48 UTC (rev 131320)
@@ -0,0 +1,48 @@
+#$Id$
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Lucas De Marchi <lucas.de.marchi at gmail.com>
+
+pkgname=connman
+pkgver=1.28
+pkgrel=2
+pkgdesc="Wireless LAN network manager"
+url="https://01.org/connman"
+arch=('i686' 'x86_64')
+license=('GPL2')
+depends=('dbus' 'iptables' 'gnutls' 'glib2')
+optdepends=('bluez: Support for Bluetooth devices'
+ 'wpa_supplicant: For WiFi devices'
+ 'pptpclient: for ppp support')
+makedepends=('bluez' 'wpa_supplicant' 'openconnect' 'openvpn' 'ppp')
+source=("http://www.kernel.org/pub/linux/network/${pkgname}/${pkgname}-${pkgver}.tar.xz"
+ 'allow_group_network.diff')
+md5sums=('6e07c93877f80bb73c9d4dbfc697f3fc'
+ '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-pptp \
+ --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 131319, connman/trunk/allow_group_network.diff)
===================================================================
--- community-staging-x86_64/allow_group_network.diff (rev 0)
+++ community-staging-x86_64/allow_group_network.diff 2015-04-14 00:03:48 UTC (rev 131320)
@@ -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