Date: Friday, January 11, 2019 @ 07:22:54
  Author: foutrelis
Revision: 422236

archrelease: copy trunk to community-staging-x86_64

Added:
  connman/repos/community-staging-x86_64/
  connman/repos/community-staging-x86_64/PKGBUILD
    (from rev 422234, connman/trunk/PKGBUILD)
  connman/repos/community-staging-x86_64/allow_group_network.diff
    (from rev 422234, connman/trunk/allow_group_network.diff)

--------------------------+
 PKGBUILD                 |   58 +++++++++++++++++++++++++++++++++++++++++++++
 allow_group_network.diff |   12 +++++++++
 2 files changed, 70 insertions(+)

Copied: connman/repos/community-staging-x86_64/PKGBUILD (from rev 422234, 
connman/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-01-11 07:22:54 UTC (rev 422236)
@@ -0,0 +1,58 @@
+# Maintainer : Christian Rebischke <Chris.Rebischke[at]archlinux[dot]org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Lucas De Marchi <lucas.de.mar...@gmail.com>
+
+pkgname=connman
+pkgver=1.36
+pkgrel=2
+pkgdesc="Intel's modular network connection manager"
+url="https://01.org/connman";
+arch=('x86_64')
+license=('GPL2')
+makedepends=('bluez' 'wpa_supplicant' 'openconnect' 'openvpn' 'ppp' 'iwd')
+depends=('dbus' 'iptables' 'gnutls' 'glib2')
+optdepends=('bluez: Support for Bluetooth devices'
+            'wpa_supplicant: for WiFi devices'
+            'pptpclient: for ppp support'
+            'openvpn: for VPN Support'
+            'iwd: for WiFi devices')
+source=("${pkgname}-${pkgver}.tar.xz::https://www.kernel.org/pub/linux/network/${pkgname}/${pkgname}-${pkgver}.tar.xz";
+        
"${pkgname}-${pkgver}.tar.sign::https://www.kernel.org/pub/linux/network/${pkgname}/${pkgname}-${pkgver}.tar.sign";
+        'allow_group_network.diff')
+sha512sums=('c0b9e924a28d58539d44c314168ae7aa46dfea8ce9d125198f525a6d6ef95ca77fd0357c4c4c7548b362b9de8e6f85c7915b1a4cf89b65116c4cbc4df75318e1'
+            'SKIP'
+            
'06dd5867d460f1c3cf6c359e650ca2ef24495493a99cd03dbd17f23e587e9066d9bc98758d85d5c690d1ae21fa77ad8da5e2fa83d0b52c95d7a535784c5c4964')
+validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659')
+
+prepare(){
+  cd "${pkgname}-${pkgver}"
+  patch -Np1 -i "${srcdir}/allow_group_network.diff"
+}
+
+build() {
+  cd "${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 \
+      --enable-nmcompat \
+      --enable-pie \
+      --enable-iwd
+  make
+}
+
+package() {
+  make -C "${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/' {} +
+# See FS#48044
+  sed -i 's/ProtectSystem=full/ProtectSystem=true/' 
"${pkgdir}"/usr/lib/systemd/system/connman.service
+  rm -r "${pkgdir}"/usr/lib/tmpfiles.d
+}

Copied: connman/repos/community-staging-x86_64/allow_group_network.diff (from 
rev 422234, connman/trunk/allow_group_network.diff)
===================================================================
--- community-staging-x86_64/allow_group_network.diff                           
(rev 0)
+++ community-staging-x86_64/allow_group_network.diff   2019-01-11 07:22:54 UTC 
(rev 422236)
@@ -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>

Reply via email to