[arch-commits] Commit in networkmanager/repos (4 files)

Jan Steffens heftig at archlinux.org
Fri Nov 10 13:06:19 UTC 2017


    Date: Friday, November 10, 2017 @ 13:06:18
  Author: heftig
Revision: 309380

archrelease: copy trunk to testing-x86_64

Added:
  networkmanager/repos/testing-x86_64/
  networkmanager/repos/testing-x86_64/20-connectivity.conf
    (from rev 309379, networkmanager/trunk/20-connectivity.conf)
  networkmanager/repos/testing-x86_64/NetworkManager.conf
    (from rev 309379, networkmanager/trunk/NetworkManager.conf)
  networkmanager/repos/testing-x86_64/PKGBUILD
    (from rev 309379, networkmanager/trunk/PKGBUILD)

----------------------+
 20-connectivity.conf |    2 
 NetworkManager.conf  |    2 
 PKGBUILD             |  173 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 177 insertions(+)

Copied: networkmanager/repos/testing-x86_64/20-connectivity.conf (from rev 309379, networkmanager/trunk/20-connectivity.conf)
===================================================================
--- testing-x86_64/20-connectivity.conf	                        (rev 0)
+++ testing-x86_64/20-connectivity.conf	2017-11-10 13:06:18 UTC (rev 309380)
@@ -0,0 +1,2 @@
+[connectivity]
+uri=http://www.archlinux.org/check_network_status.txt

Copied: networkmanager/repos/testing-x86_64/NetworkManager.conf (from rev 309379, networkmanager/trunk/NetworkManager.conf)
===================================================================
--- testing-x86_64/NetworkManager.conf	                        (rev 0)
+++ testing-x86_64/NetworkManager.conf	2017-11-10 13:06:18 UTC (rev 309380)
@@ -0,0 +1,2 @@
+# Configuration file for NetworkManager.
+# See "man 5 NetworkManager.conf" for details.

Copied: networkmanager/repos/testing-x86_64/PKGBUILD (from rev 309379, networkmanager/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-11-10 13:06:18 UTC (rev 309380)
@@ -0,0 +1,173 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan de Groot <jgc at archlinxu.org>
+# Contributor: Wael Nasreddine <gandalf at siemens-mobiles.org>
+# Contributor: Tor Krill <tor at krill.nu>
+# Contributor: Will Rea <sillywilly at gmail.com>
+# Contributor: Valentine Sinitsyn <e_val at inbox.ru>
+
+pkgbase=networkmanager
+pkgname=(networkmanager libnm libnm-glib)
+pkgver=1.10rc1+23+ge4e6ed5b0
+pkgrel=1
+pkgdesc="Network connection manager and user applications"
+arch=(i686 x86_64)
+license=(GPL2 LGPL2.1)
+url="https://wiki.gnome.org/Projects/NetworkManager"
+_pppver=2.4.7
+makedepends=(intltool dhclient iptables gobject-introspection gtk-doc "ppp=$_pppver" modemmanager
+             dbus-glib iproute2 nss polkit wpa_supplicant libsoup systemd libgudev libmm-glib
+             libnewt libndp libteam vala perl-yaml python-gobject git vala jansson bluez-libs
+             glib2-docs)
+checkdepends=(libx11 python-dbus)
+_commit=e4e6ed5b0ad0dee79ed5d65cfe8098eb4e19e2aa  # nm-1-10
+source=("git+https://anongit.freedesktop.org/git/NetworkManager/NetworkManager#commit=$_commit"
+        NetworkManager.conf 20-connectivity.conf)
+sha256sums=('SKIP'
+            'dd2d3a9c8a08ce961e263e1847453890f1b24c72a806d8c83a5b69b227a5ccec'
+            '477d609aefd991c48aca93dc7ea5a77ebebf46e0481184530cceda4c0d8d72c6')
+
+prepare() {
+  mkdir -p libnm{,-glib}/usr/{include,lib/{girepository-1.0,pkgconfig},share/{gir-1.0,gtk-doc/html,vala/vapi}}
+
+  cd NetworkManager
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+pkgver() {
+  cd NetworkManager
+  git describe | sed 's/-dev/dev/;s/-rc/rc/;s/-/+/g'
+}
+
+build() {
+  cd NetworkManager
+  ./configure --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    runstatedir=/run \
+    --sbindir=/usr/bin \
+    --libexecdir=/usr/lib/NetworkManager \
+    --disable-ifcfg-rh \
+    --disable-ifcfg-suse \
+    --disable-ifnet \
+    --disable-ifupdown \
+    --disable-lto \
+    --disable-more-warnings \
+    --disable-static \
+    --enable-bluez5-dun \
+    --enable-concheck \
+    --enable-config-plugin-ibft \
+    --enable-gtk-doc \
+    --enable-introspection \
+    --enable-json-validation \
+    --enable-ld-gc \
+    --enable-modify-system \
+    --enable-polkit \
+    --enable-polkit-agent \
+    --enable-teamdctl \
+    --enable-wifi \
+    --with-config-dhcp-default=internal \
+    --with-config-dns-rc-manager-default=resolvconf \
+    --with-config-logging-backend-default=journal \
+    --with-config-plugins-default=keyfile,ibft \
+    --with-crypto=nss \
+    --with-dbus-sys-dir=/usr/share/dbus-1/system.d \
+    --with-dhclient=/usr/bin/dhclient \
+    --with-dist-version="$pkgver-$pkgrel, Arch Linux" \
+    --with-dnsmasq=/usr/bin/dnsmasq \
+    --with-dnssec-trigger=/usr/lib/dnssec-trigger \
+    --with-hostname-persist=default \
+    --with-iptables=/usr/bin/iptables \
+    --with-kernel-firmware-dir=/usr/lib/firmware \
+    --with-libnm-glib \
+    --with-modem-manager-1 \
+    --with-nmcli \
+    --with-nmtui \
+    --with-pppd-plugin-dir=/usr/lib/pppd/$_pppver \
+    --with-pppd=/usr/bin/pppd \
+    --with-resolvconf=/usr/bin/resolvconf \
+    --with-session-tracking=systemd \
+    --with-suspend-resume=systemd \
+    --with-system-ca-path=/etc/ssl/certs \
+    --with-systemd-journal \
+    --with-systemd-logind \
+    --with-systemdsystemunitdir=/usr/lib/systemd/system \
+    --with-udev-dir=/usr/lib/udev \
+    --with-wext \
+    --without-consolekit \
+    --without-dhcpcd \
+    --without-libaudit \
+    --without-netconfig \
+    --without-ofono \
+    --without-selinux
+
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+check() {
+  cd NetworkManager
+  make -k check
+}
+
+package_networkmanager() {
+  depends=(libnm-glib iproute2 polkit wpa_supplicant libsoup libmm-glib libnewt libndp libteam curl
+           bluez-libs)
+  optdepends=('dnsmasq: connection sharing'
+              'bluez: Bluetooth support'
+              'openresolv: resolvconf support'
+              'ppp: dialup connection support'
+              'dhclient: External DHCP client'
+              'modemmanager: cellular network support')
+  backup=('etc/NetworkManager/NetworkManager.conf')
+  groups=('gnome')
+
+  cd NetworkManager
+  make DESTDIR="$pkgdir" install
+
+  install -dm700 "$pkgdir/etc/NetworkManager/system-connections"
+  install -d "$pkgdir"/etc/NetworkManager/{conf,dnsmasq}.d
+  install -m644 ../NetworkManager.conf "$pkgdir/etc/NetworkManager/"
+  install -Dm644 ../20-connectivity.conf \
+    "$pkgdir/usr/lib/NetworkManager/conf.d/20-connectivity.conf"
+
+### Split libnm
+
+  cd ../libnm
+  mv "$pkgdir"/usr/include/libnm usr/include
+  mv "$pkgdir"/usr/lib/girepository-1.0/NM-* usr/lib/girepository-1.0
+  mv "$pkgdir"/usr/lib/libnm.* usr/lib
+  mv "$pkgdir"/usr/lib/pkgconfig/libnm.pc usr/lib/pkgconfig
+  mv "$pkgdir"/usr/share/gir-1.0/NM-* usr/share/gir-1.0
+  mv "$pkgdir"/usr/share/gtk-doc/html/libnm usr/share/gtk-doc/html
+  mv "$pkgdir"/usr/share/vala/vapi/libnm.* usr/share/vala/vapi
+
+### Split libnm-glib
+
+  cd ../libnm-glib
+  mv "$pkgdir"/usr/include/* usr/include
+  mv "$pkgdir"/usr/lib/girepository-1.0/* usr/lib/girepository-1.0
+  mv "$pkgdir"/usr/lib/libnm-* usr/lib
+  mv "$pkgdir"/usr/lib/pkgconfig/* usr/lib/pkgconfig
+  mv "$pkgdir"/usr/share/gir-1.0/* usr/share/gir-1.0
+  mv "$pkgdir"/usr/share/gtk-doc/html/libnm-* usr/share/gtk-doc/html
+  mv "$pkgdir"/usr/share/vala/vapi/* usr/share/vala/vapi
+
+  rmdir -p --ignore-fail-on-non-empty \
+    "$pkgdir"/usr/include \
+    "$pkgdir"/usr/lib/{girepository-1.0,pkgconfig} \
+    "$pkgdir"/usr/share/{gir-1.0,vala/vapi}
+}
+
+package_libnm() {
+  pkgdesc="NetworkManager client library"
+  depends=(glib2 libgudev nss libutil-linux jansson)
+  mv libnm/* "$pkgdir"
+}
+
+package_libnm-glib() {
+  pkgdesc="NetworkManager client library (legacy)"
+  depends=(libnm dbus-glib)
+  mv libnm-glib/* "$pkgdir"
+}


More information about the arch-commits mailing list