[arch-commits] Commit in networkmanager-openconnect/repos (3 files)
Ionut Biru
ibiru at archlinux.org
Tue Jan 12 13:56:33 UTC 2010
Date: Tuesday, January 12, 2010 @ 08:56:33
Author: ibiru
Revision: 62811
Merged revisions 62808 via svnmerge from
svn+ssh://gerolde.archlinux.org/srv/svn-packages/networkmanager-openconnect/trunk
........
r62808 | ibiru | 2010-01-12 15:54:59 +0200 (Tue, 12 Jan 2010) | 2 lines
upgpkg: networkmanager-openconnect 0.7.997-2
added nm-openconnect user and group. the policy needs it. FS#17777
........
Added:
networkmanager-openconnect/repos/testing-x86_64/networkmanager-openconnect.install
(from rev 62808, networkmanager-openconnect/trunk/networkmanager-openconnect.install)
Modified:
networkmanager-openconnect/repos/testing-x86_64/ (properties)
networkmanager-openconnect/repos/testing-x86_64/PKGBUILD
------------------------------------+
PKGBUILD | 5 +++--
networkmanager-openconnect.install | 16 ++++++++++++++++
2 files changed, 19 insertions(+), 2 deletions(-)
Property changes on: networkmanager-openconnect/repos/testing-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
- /networkmanager-openconnect/trunk:1-62564
+ /networkmanager-openconnect/trunk:1-62810
Modified: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD 2010-01-12 13:55:44 UTC (rev 62810)
+++ testing-x86_64/PKGBUILD 2010-01-12 13:56:33 UTC (rev 62811)
@@ -3,15 +3,16 @@
pkgname=networkmanager-openconnect
pkgver=0.7.997
-pkgrel=1
+pkgrel=2
pkgdesc="NetworkManager VPN integration for openconnect"
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.gnome.org/projects/NetworkManager/"
-depends=('networkmanager>=0.7.998' 'openconnect')
+depends=('networkmanager>=0.7.998' 'openconnect>=2.21' 'dbus-glib')
makedepends=('intltool' 'gtk2' 'libglade' 'gconf' 'gnome-keyring')
optdepends=('network-manager-applet: GNOME frontends to NetWorkmanager')
options=('!libtool')
+install=$pkgname.install
source=(ftp://ftp.archlinux.org/other/NetworkManager-openconnect/NetworkManager-openconnect-${pkgver}.tar.bz2)
#source=(http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-openconnect/0.7/NetworkManager-openconnect-${pkgver}.tar.bz2)
sha256sums=('ce06a4cf25fb57b7a99c63267e4f69e5bcbf8c3199cd191dc9b8842042597efd')
Copied: networkmanager-openconnect/repos/testing-x86_64/networkmanager-openconnect.install (from rev 62808, networkmanager-openconnect/trunk/networkmanager-openconnect.install)
===================================================================
--- testing-x86_64/networkmanager-openconnect.install (rev 0)
+++ testing-x86_64/networkmanager-openconnect.install 2010-01-12 13:56:33 UTC (rev 62811)
@@ -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 -g nm-openconnect -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