Date: Sunday, December 28, 2014 @ 18:21:19 Author: fyan Revision: 228120
archrelease: copy trunk to staging-i686, staging-x86_64 Added: networkmanager-openconnect/repos/staging-i686/ networkmanager-openconnect/repos/staging-i686/PKGBUILD (from rev 228119, networkmanager-openconnect/trunk/PKGBUILD) networkmanager-openconnect/repos/staging-i686/networkmanager-openconnect.install (from rev 228119, networkmanager-openconnect/trunk/networkmanager-openconnect.install) networkmanager-openconnect/repos/staging-x86_64/ networkmanager-openconnect/repos/staging-x86_64/PKGBUILD (from rev 228119, networkmanager-openconnect/trunk/PKGBUILD) networkmanager-openconnect/repos/staging-x86_64/networkmanager-openconnect.install (from rev 228119, networkmanager-openconnect/trunk/networkmanager-openconnect.install) ---------------------------------------------------+ staging-i686/PKGBUILD | 41 ++++++++++++++++++++ staging-i686/networkmanager-openconnect.install | 16 +++++++ staging-x86_64/PKGBUILD | 41 ++++++++++++++++++++ staging-x86_64/networkmanager-openconnect.install | 16 +++++++ 4 files changed, 114 insertions(+) Copied: networkmanager-openconnect/repos/staging-i686/PKGBUILD (from rev 228119, networkmanager-openconnect/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2014-12-28 17:21:19 UTC (rev 228120) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Ionut Biru <ib...@archlinux.org> + +pkgname=networkmanager-openconnect +pkgver=0.9.10.0 +pkgrel=2 +pkgdesc="NetworkManager VPN integration for openconnect" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.gnome.org/projects/NetworkManager/" +depends=("networkmanager>=${pkgver::6}" 'openconnect' 'gtk3' 'libsecret') +makedepends=('intltool') +optdepends=('network-manager-applet: GNOME frontends to NetWorkmanager') +install=$pkgname.install +source=(http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-openconnect/0.9/NetworkManager-openconnect-${pkgver}.tar.xz + libopenconnect.so.4.patch + libopenconnect.so.5.patch) +sha256sums=('8007d70a6943388bfa141f99fc4da9965fd122cf2741512ce0cf9c0f9c78331a' + 'e2a84ac7467b5ffb20891946fd132f9d34012f17a4847ab7c7cde34cca3a9762' + '6b46edb11f96e0ad2b0fd39b11326b24520d9d2ff35a1d167a98c8bc5b7c6272') + +prepare() { + cd NetworkManager-openconnect-${pkgver} + patch -p1 -i ../libopenconnect.so.4.patch + patch -p1 -i ../libopenconnect.so.5.patch +} + +build() { + cd NetworkManager-openconnect-${pkgver} + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/networkmanager \ + --enable-more-warnings=yes \ + --disable-static + make +} + +package() { + cd NetworkManager-openconnect-${pkgver} + make DESTDIR="${pkgdir}" install +} Copied: networkmanager-openconnect/repos/staging-i686/networkmanager-openconnect.install (from rev 228119, networkmanager-openconnect/trunk/networkmanager-openconnect.install) =================================================================== --- staging-i686/networkmanager-openconnect.install (rev 0) +++ staging-i686/networkmanager-openconnect.install 2014-12-28 17:21:19 UTC (rev 228120) @@ -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/staging-x86_64/PKGBUILD (from rev 228119, networkmanager-openconnect/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2014-12-28 17:21:19 UTC (rev 228120) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Ionut Biru <ib...@archlinux.org> + +pkgname=networkmanager-openconnect +pkgver=0.9.10.0 +pkgrel=2 +pkgdesc="NetworkManager VPN integration for openconnect" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.gnome.org/projects/NetworkManager/" +depends=("networkmanager>=${pkgver::6}" 'openconnect' 'gtk3' 'libsecret') +makedepends=('intltool') +optdepends=('network-manager-applet: GNOME frontends to NetWorkmanager') +install=$pkgname.install +source=(http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-openconnect/0.9/NetworkManager-openconnect-${pkgver}.tar.xz + libopenconnect.so.4.patch + libopenconnect.so.5.patch) +sha256sums=('8007d70a6943388bfa141f99fc4da9965fd122cf2741512ce0cf9c0f9c78331a' + 'e2a84ac7467b5ffb20891946fd132f9d34012f17a4847ab7c7cde34cca3a9762' + '6b46edb11f96e0ad2b0fd39b11326b24520d9d2ff35a1d167a98c8bc5b7c6272') + +prepare() { + cd NetworkManager-openconnect-${pkgver} + patch -p1 -i ../libopenconnect.so.4.patch + patch -p1 -i ../libopenconnect.so.5.patch +} + +build() { + cd NetworkManager-openconnect-${pkgver} + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/networkmanager \ + --enable-more-warnings=yes \ + --disable-static + make +} + +package() { + cd NetworkManager-openconnect-${pkgver} + make DESTDIR="${pkgdir}" install +} Copied: networkmanager-openconnect/repos/staging-x86_64/networkmanager-openconnect.install (from rev 228119, networkmanager-openconnect/trunk/networkmanager-openconnect.install) =================================================================== --- staging-x86_64/networkmanager-openconnect.install (rev 0) +++ staging-x86_64/networkmanager-openconnect.install 2014-12-28 17:21:19 UTC (rev 228120) @@ -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 +}