Files
GlobalProtect-openconnect/packaging/apk/APKBUILD.in
T
Kevin Yue 888dc93643 refactor: align GP profile and packaging flow
Main changes:

- Refactor connect/auth flows around a single OS profile and host identity model, including gateway fallback and cookie-on-stdin handling.

- Align request parameters, HIP host-id propagation, SAML webview user-agent behavior, and portal default-browser handling with observed official client behavior.

- Add opt-in cookie cache support and Microsoft Defender HIP reporting while keeping host-id validation explicit.

- Add BSD build, packaging, release artifact, and provenance support with FreeBSD/OpenBSD path and dependency cleanup.

- Update NixOS install documentation and dependency compatibility fixes.
2026-06-19 21:23:29 +08:00

76 lines
1.2 KiB
Plaintext

# Maintainer: Kevin Yue <[email protected]>
pkgname=@PKG_NAME@
pkgver=@VERSION@
pkgrel=@REVISION@
pkgdesc="A GUI client for GlobalProtect VPN, based on OpenConnect, supports the SSO authentication method."
url="https://github.com/yuezk/GlobalProtect-openconnect"
arch="x86_64 aarch64"
license="GPL-3.0-only"
depends="
gmp
gnutls
libayatana-appindicator
libsecret
libxml2
lz4
nettle
openssl
p11-kit
polkit
webkit2gtk-4.1
xdg-utils
zlib
"
makedepends="
autoconf
automake
cargo
file
gettext-dev
gmp-dev
gnutls-dev
gtk+3.0-dev
libayatana-appindicator-dev
libsecret-dev
librsvg-dev
libtool
libxml2-dev
lz4-dev
make
nettle-dev
openssl-dev
p11-kit-dev
patch
pkgconf
zlib-dev
"
source="$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
options="!check"
build() {
cd "$builddir"
unset CFLAGS
unset RUSTFLAGS
make build \
INCLUDE_GUI="${INCLUDE_GUI:-0}" \
BUILD_GUI_HELPER="${BUILD_GUI_HELPER:-1}" \
BUILD_WEBVIEW_AUTH="${BUILD_WEBVIEW_AUTH:-1}" \
LIBXML2_STATIC="${LIBXML2_STATIC:-1}"
}
package() {
cd "$builddir"
make install \
DESTDIR="$pkgdir" \
BUILD_GUI_HELPER="${BUILD_GUI_HELPER:-1}"
}
sha512sums="
@SHA512@ $pkgname-$pkgver.tar.gz
"