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

Jan Steffens heftig at archlinux.org
Sun Apr 1 11:36:28 UTC 2012


    Date: Sunday, April 1, 2012 @ 07:36:27
  Author: heftig
Revision: 155238

db-move: moved networkmanager-openconnect from [gnome-unstable] to [testing] (x86_64)

Added:
  networkmanager-openconnect/repos/testing-x86_64/
  networkmanager-openconnect/repos/testing-x86_64/PKGBUILD
    (from rev 155005, networkmanager-openconnect/repos/gnome-unstable-x86_64/PKGBUILD)
  networkmanager-openconnect/repos/testing-x86_64/networkmanager-openconnect.install
    (from rev 155005, networkmanager-openconnect/repos/gnome-unstable-x86_64/networkmanager-openconnect.install)
Deleted:
  networkmanager-openconnect/repos/gnome-unstable-x86_64/

------------------------------------+
 PKGBUILD                           |   31 +++++++++++++++++++++++++++++++
 networkmanager-openconnect.install |   16 ++++++++++++++++
 2 files changed, 47 insertions(+)

Copied: networkmanager-openconnect/repos/testing-x86_64/PKGBUILD (from rev 155005, networkmanager-openconnect/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-04-01 11:36:27 UTC (rev 155238)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=networkmanager-openconnect
+pkgver=0.9.4.0
+pkgrel=1
+pkgdesc="NetworkManager VPN integration for openconnect"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.gnome.org/projects/NetworkManager/"
+depends=("networkmanager>=${pkgver}" 'openconnect' 'gconf')
+makedepends=('intltool')
+optdepends=('network-manager-applet: GNOME frontends to NetWorkmanager')
+options=('!libtool')
+install=$pkgname.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-openconnect/0.9/NetworkManager-openconnect-${pkgver}.tar.xz)
+sha256sums=('60732587befd062fb8d979540c4410831f5e686b5d092ec24b0237ebd09e1084')
+
+build() {
+  cd NetworkManager-openconnect-${pkgver}
+  ./configure --prefix=/usr \
+  	--sysconfdir=/etc \
+	--libexecdir=/usr/lib/networkmanager \
+	--disable-static
+  make
+}
+
+package() {
+  cd NetworkManager-openconnect-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: networkmanager-openconnect/repos/testing-x86_64/networkmanager-openconnect.install (from rev 155005, networkmanager-openconnect/repos/gnome-unstable-x86_64/networkmanager-openconnect.install)
===================================================================
--- testing-x86_64/networkmanager-openconnect.install	                        (rev 0)
+++ testing-x86_64/networkmanager-openconnect.install	2012-04-01 11:36:27 UTC (rev 155238)
@@ -0,0 +1,16 @@
+pkgname=networkmanager-openconnect
+
+post_install() {
+  getent group nm-openconnect >/dev/null 2>&1 || groupadd -g 104 nm-openconnect
+  getent passwd nm-openconnect > /dev/null 2>&1 || useradd -u 104 -s /sbin/nologin -d / -M -c 'NetworkManager user for OpenConnect' -g nm-openconnect nm-openconnect
+  passwd -l nm-openconnect > /dev/null
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  getent passwd nm-openconnect >/dev/null 2>&1 && userdel nm-openconnect
+  getent group nm-openconnect >/dev/null 2>&1 && groupdel nm-openconnect
+}




More information about the arch-commits mailing list