[arch-commits] Commit in networkmanager/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Wed Aug 18 21:07:28 UTC 2021


    Date: Wednesday, August 18, 2021 @ 21:07:28
  Author: heftig
Revision: 422328

archrelease: copy trunk to extra-x86_64

Added:
  networkmanager/repos/extra-x86_64/PKGBUILD
    (from rev 422325, networkmanager/trunk/PKGBUILD)
Deleted:
  networkmanager/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  314 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 157 insertions(+), 157 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-18 21:07:27 UTC (rev 422327)
+++ PKGBUILD	2021-08-18 21:07:28 UTC (rev 422328)
@@ -1,157 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: 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 nm-cloud-setup)
-pkgver=1.32.8
-pkgrel=1
-pkgdesc="Network connection manager and user applications"
-url="https://wiki.gnome.org/Projects/NetworkManager"
-arch=(x86_64)
-license=(GPL)
-_pppver=2.4.9
-makedepends=(intltool dhclient dhcpcd iptables-nft gobject-introspection gtk-doc
-             "ppp=$_pppver" modemmanager iproute2 nss polkit wpa_supplicant curl
-             systemd libmm-glib libnewt libndp libteam nftables vala perl-yaml
-             python-gobject git vala jansson bluez-libs glib2-docs iwd dnsmasq
-             openresolv libpsl audit meson)
-checkdepends=(libx11 python-dbus)
-_commit=921cfd8ef166abda219db718ae435d33cd83dfeb  # tags/1.32.8^0
-source=("git+https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd NetworkManager
-  git describe --abbrev=10 | sed 's/-dev/dev/;s/-rc/rc/;s/-/+/g'
-}
-
-prepare() {
-  cd NetworkManager
-}
-
-build() {
-  local meson_args=(
-    # system paths
-    -D dbus_conf_dir=/usr/share/dbus-1/system.d
-
-    # platform
-    -D dist_version="$pkgver-$pkgrel"
-    -D session_tracking_consolekit=false
-    -D suspend_resume=systemd
-    -D modify_system=true
-    -D polkit_agent=true
-    -D selinux=false
-
-    # features
-    -D iwd=true
-    -D pppd_plugin_dir=/usr/lib/pppd/$_pppver
-    -D teamdctl=true
-    -D nm_cloud_setup=true
-    -D bluez5_dun=true
-    -D ebpf=true
-
-    # configuration plugins
-    -D config_plugins_default=keyfile
-
-    # handlers for resolv.conf
-    -D netconfig=no
-    -D config_dns_rc_manager_default=symlink
-
-    # miscellaneous
-    -D vapi=true
-    -D docs=true
-    -D more_asserts=no
-    -D more_logging=false
-    -D qt=false
-  )
-
-  arch-meson NetworkManager build "${meson_args[@]}"
-  meson compile -C build
-}
-
-check() {
-  meson test -C build --print-errorlogs
-}
-
-_pick() {
-  local p="$1" f d; shift
-  for f; do
-    d="$srcdir/$p/${f#$pkgdir/}"
-    mkdir -p "$(dirname "$d")"
-    mv "$f" "$d"
-    rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
-  done
-}
-
-package_networkmanager() {
-  depends=(libnm iproute2 polkit wpa_supplicant libmm-glib libnewt libndp libteam curl
-           bluez-libs libpsl audit mobile-broadband-provider-info)
-  optdepends=('dnsmasq: connection sharing'
-              'nftables: connection sharing'
-              'iptables: connection sharing'
-              'bluez: Bluetooth support'
-              'ppp: dialup connection support'
-              'modemmanager: cellular network support'
-              'iwd: wpa_supplicant alternative'
-              'dhclient: alternative DHCP client'
-              'dhcpcd: alternative DHCP client'
-              'openresolv: alternative resolv.conf manager'
-              'firewalld: firewall support')
-  backup=(etc/NetworkManager/NetworkManager.conf)
-
-  meson install -C build --destdir "$pkgdir"
-
-  cd "$pkgdir"
-
-  # /etc/NetworkManager
-  install -d etc/NetworkManager/{conf,dnsmasq}.d
-  install -dm700 etc/NetworkManager/system-connections
-  install -m644 /dev/stdin etc/NetworkManager/NetworkManager.conf <<END
-# Configuration file for NetworkManager.
-# See "man 5 NetworkManager.conf" for details.
-END
-
-  # packaged configuration
-  install -Dm644 /dev/stdin usr/lib/NetworkManager/conf.d/20-connectivity.conf <<END
-[connectivity]
-uri=http://ping.archlinux.org/nm-check.txt
-END
-
-  shopt -s globstar
-
-  _pick libnm usr/include/libnm
-  _pick libnm usr/lib/girepository-1.0/NM-*
-  _pick libnm usr/lib/libnm.*
-  _pick libnm usr/lib/pkgconfig/libnm.pc
-  _pick libnm usr/share/gir-1.0/NM-*
-  _pick libnm usr/share/gtk-doc/html/libnm
-  _pick libnm usr/share/vala/vapi/libnm.*
-
-  _pick cloud usr/lib/**/*nm-cloud-setup*
-  _pick cloud usr/share/man/*/nm-cloud-setup*
-
-  # Restore empty dir
-  install -d usr/lib/NetworkManager/dispatcher.d/no-wait.d
-}
-
-package_libnm() {
-  pkgdesc="NetworkManager client library"
-  license=(LGPL)
-  depends=(glib2 nss util-linux-libs jansson systemd-libs)
-  provides=(libnm.so)
-
-  mv libnm/* "$pkgdir"
-}
-
-package_nm-cloud-setup() {
-  pkgdesc="Automatically configure NetworkManager in cloud"
-  depends=(networkmanager)
-
-  mv cloud/* "$pkgdir"
-}
-
-# vim:set sw=2 et:

Copied: networkmanager/repos/extra-x86_64/PKGBUILD (from rev 422325, networkmanager/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-18 21:07:28 UTC (rev 422328)
@@ -0,0 +1,157 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: 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 nm-cloud-setup)
+pkgver=1.32.10
+pkgrel=1
+pkgdesc="Network connection manager and user applications"
+url="https://wiki.gnome.org/Projects/NetworkManager"
+arch=(x86_64)
+license=(GPL)
+_pppver=2.4.9
+makedepends=(intltool dhclient dhcpcd iptables-nft gobject-introspection gtk-doc
+             "ppp=$_pppver" modemmanager iproute2 nss polkit wpa_supplicant curl
+             systemd libmm-glib libnewt libndp libteam nftables vala perl-yaml
+             python-gobject git vala jansson bluez-libs glib2-docs iwd dnsmasq
+             openresolv libpsl audit meson)
+checkdepends=(libx11 python-dbus)
+_commit=39302c7441a0fddef21d95aff530069db27a6712  # tags/1.32.10^0
+source=("git+https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd NetworkManager
+  git describe --abbrev=10 | sed 's/-dev/dev/;s/-rc/rc/;s/-/+/g'
+}
+
+prepare() {
+  cd NetworkManager
+}
+
+build() {
+  local meson_args=(
+    # system paths
+    -D dbus_conf_dir=/usr/share/dbus-1/system.d
+
+    # platform
+    -D dist_version="$pkgver-$pkgrel"
+    -D session_tracking_consolekit=false
+    -D suspend_resume=systemd
+    -D modify_system=true
+    -D polkit_agent=true
+    -D selinux=false
+
+    # features
+    -D iwd=true
+    -D pppd_plugin_dir=/usr/lib/pppd/$_pppver
+    -D teamdctl=true
+    -D nm_cloud_setup=true
+    -D bluez5_dun=true
+    -D ebpf=true
+
+    # configuration plugins
+    -D config_plugins_default=keyfile
+
+    # handlers for resolv.conf
+    -D netconfig=no
+    -D config_dns_rc_manager_default=symlink
+
+    # miscellaneous
+    -D vapi=true
+    -D docs=true
+    -D more_asserts=no
+    -D more_logging=false
+    -D qt=false
+  )
+
+  arch-meson NetworkManager build "${meson_args[@]}"
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+_pick() {
+  local p="$1" f d; shift
+  for f; do
+    d="$srcdir/$p/${f#$pkgdir/}"
+    mkdir -p "$(dirname "$d")"
+    mv "$f" "$d"
+    rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
+  done
+}
+
+package_networkmanager() {
+  depends=(libnm iproute2 polkit wpa_supplicant libmm-glib libnewt libndp libteam curl
+           bluez-libs libpsl audit mobile-broadband-provider-info)
+  optdepends=('dnsmasq: connection sharing'
+              'nftables: connection sharing'
+              'iptables: connection sharing'
+              'bluez: Bluetooth support'
+              'ppp: dialup connection support'
+              'modemmanager: cellular network support'
+              'iwd: wpa_supplicant alternative'
+              'dhclient: alternative DHCP client'
+              'dhcpcd: alternative DHCP client'
+              'openresolv: alternative resolv.conf manager'
+              'firewalld: firewall support')
+  backup=(etc/NetworkManager/NetworkManager.conf)
+
+  meson install -C build --destdir "$pkgdir"
+
+  cd "$pkgdir"
+
+  # /etc/NetworkManager
+  install -d etc/NetworkManager/{conf,dnsmasq}.d
+  install -dm700 etc/NetworkManager/system-connections
+  install -m644 /dev/stdin etc/NetworkManager/NetworkManager.conf <<END
+# Configuration file for NetworkManager.
+# See "man 5 NetworkManager.conf" for details.
+END
+
+  # packaged configuration
+  install -Dm644 /dev/stdin usr/lib/NetworkManager/conf.d/20-connectivity.conf <<END
+[connectivity]
+uri=http://ping.archlinux.org/nm-check.txt
+END
+
+  shopt -s globstar
+
+  _pick libnm usr/include/libnm
+  _pick libnm usr/lib/girepository-1.0/NM-*
+  _pick libnm usr/lib/libnm.*
+  _pick libnm usr/lib/pkgconfig/libnm.pc
+  _pick libnm usr/share/gir-1.0/NM-*
+  _pick libnm usr/share/gtk-doc/html/libnm
+  _pick libnm usr/share/vala/vapi/libnm.*
+
+  _pick cloud usr/lib/**/*nm-cloud-setup*
+  _pick cloud usr/share/man/*/nm-cloud-setup*
+
+  # Restore empty dir
+  install -d usr/lib/NetworkManager/dispatcher.d/no-wait.d
+}
+
+package_libnm() {
+  pkgdesc="NetworkManager client library"
+  license=(LGPL)
+  depends=(glib2 nss util-linux-libs jansson systemd-libs)
+  provides=(libnm.so)
+
+  mv libnm/* "$pkgdir"
+}
+
+package_nm-cloud-setup() {
+  pkgdesc="Automatically configure NetworkManager in cloud"
+  depends=(networkmanager)
+
+  mv cloud/* "$pkgdir"
+}
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list