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

Jan Steffens heftig at archlinux.org
Tue Mar 6 11:26:58 EST 2012


    Date: Tuesday, March 6, 2012 @ 11:26:58
  Author: heftig
Revision: 152316

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  networkmanager-openconnect/repos/gnome-unstable-i686/
  networkmanager-openconnect/repos/gnome-unstable-i686/PKGBUILD
    (from rev 152315, networkmanager-openconnect/trunk/PKGBUILD)
  networkmanager-openconnect/repos/gnome-unstable-i686/networkmanager-openconnect.install
    (from rev 152315, networkmanager-openconnect/trunk/networkmanager-openconnect.install)
  networkmanager-openconnect/repos/gnome-unstable-x86_64/
  networkmanager-openconnect/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 152315, networkmanager-openconnect/trunk/PKGBUILD)
  networkmanager-openconnect/repos/gnome-unstable-x86_64/networkmanager-openconnect.install
    (from rev 152315, networkmanager-openconnect/trunk/networkmanager-openconnect.install)

----------------------------------------------------------+
 gnome-unstable-i686/PKGBUILD                             |   31 +++++++++++++
 gnome-unstable-i686/networkmanager-openconnect.install   |   16 ++++++
 gnome-unstable-x86_64/PKGBUILD                           |   31 +++++++++++++
 gnome-unstable-x86_64/networkmanager-openconnect.install |   16 ++++++
 4 files changed, 94 insertions(+)

Copied: networkmanager-openconnect/repos/gnome-unstable-i686/PKGBUILD (from rev 152315, networkmanager-openconnect/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2012-03-06 16:26:58 UTC (rev 152316)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=networkmanager-openconnect
+pkgver=0.9.3.995
+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=('6ace0f8963f6c8a1ad6e04d8b7cdeffd0cd4fed3e58956cfac4c6a3f3eed7ff9')
+
+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/gnome-unstable-i686/networkmanager-openconnect.install (from rev 152315, networkmanager-openconnect/trunk/networkmanager-openconnect.install)
===================================================================
--- gnome-unstable-i686/networkmanager-openconnect.install	                        (rev 0)
+++ gnome-unstable-i686/networkmanager-openconnect.install	2012-03-06 16:26:58 UTC (rev 152316)
@@ -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
+}

Copied: networkmanager-openconnect/repos/gnome-unstable-x86_64/PKGBUILD (from rev 152315, networkmanager-openconnect/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2012-03-06 16:26:58 UTC (rev 152316)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=networkmanager-openconnect
+pkgver=0.9.3.995
+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=('6ace0f8963f6c8a1ad6e04d8b7cdeffd0cd4fed3e58956cfac4c6a3f3eed7ff9')
+
+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/gnome-unstable-x86_64/networkmanager-openconnect.install (from rev 152315, networkmanager-openconnect/trunk/networkmanager-openconnect.install)
===================================================================
--- gnome-unstable-x86_64/networkmanager-openconnect.install	                        (rev 0)
+++ gnome-unstable-x86_64/networkmanager-openconnect.install	2012-03-06 16:26:58 UTC (rev 152316)
@@ -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