mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 22:46:14 -05:00
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.
This commit is contained in:
92 files changed
+9847
-2868
No files matched your search
Executable
+37
@@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
shopt -s nullglob
|
||||
|
||||
SELECTION=${1:-}
|
||||
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||
PROJECT_DIR="$(dirname "$SCRIPT_DIR")"
|
||||
ARTIFACT_DIR=${2:-"$PROJECT_DIR/.build/artifacts"}
|
||||
|
||||
if [ -z "$SELECTION" ]; then
|
||||
echo "Usage: ./scripts/release-assets.sh <snapshot|tag|all|release-tag> [artifact-dir]" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ "$SELECTION" == *"snapshot"* ]]; then
|
||||
SELECTION=snapshot
|
||||
elif [ "$SELECTION" != "all" ]; then
|
||||
SELECTION=tag
|
||||
fi
|
||||
|
||||
case "$SELECTION" in
|
||||
snapshot|all)
|
||||
printf '%s\n' "$ARTIFACT_DIR"/artifact-*/*
|
||||
;;
|
||||
tag)
|
||||
printf '%s\n' \
|
||||
"$ARTIFACT_DIR"/artifact-source*/* \
|
||||
"$ARTIFACT_DIR"/artifact-gpgui-*/* \
|
||||
"$ARTIFACT_DIR"/artifact-bsd-*/*
|
||||
;;
|
||||
*)
|
||||
echo "Unknown release asset selection: $SELECTION" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
Reference in new issue
Block a user