[arch-commits] Commit in networkmanager-openconnect/trunk (2 files)

Jan Steffens heftig at archlinux.org
Wed Nov 22 15:09:21 UTC 2017


    Date: Wednesday, November 22, 2017 @ 15:09:20
  Author: heftig
Revision: 310609

1.2.4-3

Modified:
  networkmanager-openconnect/trunk/PKGBUILD
Deleted:
  networkmanager-openconnect/trunk/networkmanager-openconnect.install

------------------------------------+
 PKGBUILD                           |    7 ++++---
 networkmanager-openconnect.install |    9 ---------
 2 files changed, 4 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-22 15:09:03 UTC (rev 310608)
+++ PKGBUILD	2017-11-22 15:09:20 UTC (rev 310609)
@@ -4,7 +4,7 @@
 
 pkgname=networkmanager-openconnect
 pkgver=1.2.4
-pkgrel=2
+pkgrel=3
 pkgdesc="NetworkManager VPN plugin for OpenConnect"
 url="https://wiki.gnome.org/Projects/NetworkManager"
 arch=(x86_64)
@@ -11,7 +11,6 @@
 license=(GPL)
 depends=(libnm libsecret openconnect)
 makedepends=(libnm-gtk intltool python git)
-install=networkmanager-openconnect.install
 _commit=5123d7622fcce22da3cea75f878410e8c6dcfd69  # tags/1.2.4^0
 source=("git+https://git.gnome.org/browse/network-manager-openconnect#commit=$_commit")
 sha256sums=('SKIP')
@@ -29,7 +28,7 @@
 build() {
   cd network-manager-openconnect
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-    --libexecdir=/usr/lib/NetworkManager --disable-static
+    --libexecdir=/usr/lib --disable-static
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
@@ -37,4 +36,6 @@
 package() {
   cd network-manager-openconnect
   make DESTDIR="$pkgdir" install
+  echo 'u nm-openconnect - "NetworkManager OpenConnect"' |
+    install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
 }

Deleted: networkmanager-openconnect.install
===================================================================
--- networkmanager-openconnect.install	2017-11-22 15:09:03 UTC (rev 310608)
+++ networkmanager-openconnect.install	2017-11-22 15:09:20 UTC (rev 310609)
@@ -1,9 +0,0 @@
-post_install() {
-  if ! getent passwd nm-openconnect >/dev/null; then
-    useradd -r -U -d / -c 'NetworkManager OpenConnect' -s /usr/bin/nologin nm-openconnect
-  fi
-}
-
-post_upgrade() {
-  post_install $1
-}


More information about the arch-commits mailing list