Package Details: globalprotect-openconnect-git 2.3.9-1

Git Clone URL: https://aur.archlinux.org/globalprotect-openconnect-git.git (read-only, click to copy)
Package Base: globalprotect-openconnect-git
Description: A GUI for GlobalProtect VPN, based on OpenConnect, supports the SSO authentication method.
Upstream URL: https://github.com/yuezk/GlobalProtect-openconnect
Keywords: globalprotect openconnect saml vpn
Licenses: GPL3
Conflicts: globalprotect-openconnect
Provides: globalprotect-openconnect, gpauth, gpclient, gpgui, gpservice
Submitter: yuezk
Maintainer: yuezk
Last Packager: yuezk
Votes: 5
Popularity: 0.026359
First Submitted: 2021-10-16 07:43 (UTC)
Last Updated: 2024-11-03 01:49 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

yuezk commented on 2023-01-08 12:28 (UTC) (edited on 2023-01-08 12:28 (UTC) by yuezk)

@menny It should be fixed now.

menny commented on 2023-01-05 14:33 (UTC) (edited on 2023-01-05 14:35 (UTC) by menny)

I get an error when updating to the latest yay package:

CMake Error at /usr/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5LinguistTools"
  with any of the following names:

    Qt5LinguistToolsConfig.cmake
    qt5linguisttools-config.cmake

  Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
  set "Qt5LinguistTools_DIR" to a directory containing one of the above
  files.  If "Qt5LinguistTools" provides a separate development package or
  SDK, be sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:78 (find_package)

yuezk commented on 2022-05-08 13:58 (UTC)

@kyechou Problem resolved.

kyechou commented on 2022-03-04 14:56 (UTC)

Hi @yuezk, yes, exactly! Thanks @zayatura for the explanation.

zayatura commented on 2022-03-04 08:52 (UTC)

@yuezk

What do you mean by providing 'globalprotect-openconnect'? Should I need to add 'globalprotect-openconnect' into the provides field?

The guidelines gives an example on this (https://wiki.archlinux.org/title/VCS_package_guidelines): "Include what the package conflicts with and provides (e.g. for fluxbox-git: conflicts=('fluxbox') and provides=('fluxbox'))."

This helps pacman or an AUR helper know that in case the user installs or a package requires "globalprotect-openconnect", there are multiple packages and can, for example, give a prompt.

yuezk commented on 2022-03-04 04:02 (UTC)

Hi @kyechou, I will migrate it to pull the code from the Git repo.

What do you mean by providing 'globalprotect-openconnect'? Should I need to add 'globalprotect-openconnect' into the provides field?

And this package is for the purpose of the snapshot version, so it's not that stable. It wasn't intended to be used by normal users widely. For most of the users, it is recommended to use the community version: https://archlinux.org/packages/community/x86_64/globalprotect-openconnect/

osimarr commented on 2022-03-02 18:47 (UTC) (edited on 2022-03-02 18:50 (UTC) by osimarr)

On top of what @togusa's patch, this extra diff also creates a better versioning for a git package:

 pkgver() {
-    cd $srcdir/$_pkgname-*/
-    cat VERSION VERSION_SUFFIX
+    cd $srcdir/$_pkgname/
+    printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
 }

kyechou commented on 2022-03-02 14:49 (UTC)

Hi @yuezk, the script still doesn't seem to be pulling from the Git repository. Perhaps you'd like to check out https://wiki.archlinux.org/title/VCS_package_guidelines? Also, the package should probably provide 'globalprotect-openconnect'.

yuezk commented on 2022-03-02 14:00 (UTC)

@kyechou Will do.

rogueai commented on 2022-03-02 08:09 (UTC)

This patch works for me:

diff --git a/PKGBUILD b/PKGBUILD
index 7a7966d..a817ad5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,16 +13,16 @@ makedepends=(cmake)
 conflicts=('globalprotect-openconnect')
 provides=('gpclient' 'gpservice')

-source=("${_pkgname}.tar.gz")
+source=("${_pkgname}::git+https://github.com/yuezk/    GlobalProtect-openconnect.git")
 sha256sums=('SKIP')

 pkgver() {
-    cd $srcdir/$_pkgname-*/
+    cd $srcdir/$_pkgname/
     cat VERSION VERSION_SUFFIX
 }

 build() {
-    cd $srcdir/${_pkgname}-*/
+    cd $srcdir/${_pkgname}/
     cmake -B build \
         -DCMAKE_BUILD_TYPE=Release \
         -DCMAKE_CXX_FLAGS_RELEASE=-s
@@ -30,6 +30,6 @@ build() {
 }

 package() {
-    cd $srcdir/${_pkgname}-*/
+    cd $srcdir/${_pkgname}/
     make DESTDIR="$pkgdir/" install -C build
 }
diff --git a/globalprotect-openconnect.tar.gz b/globalprotect-openconnect.tar.gz
deleted file mode 100644
index e82150e..0000000
Binary files a/globalprotect-openconnect.tar.gz and /dev/null differ