mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-05-20 07:26:58 -04:00
Refactor using Tauri (#278)
This commit is contained in:
@@ -1,40 +0,0 @@
|
||||
# Maintainer: Keinv Yue <yuezk001@gmail.com>
|
||||
|
||||
_pkgver="1.4.9"
|
||||
_commit="acf184134a2ff19e4a39528bd6a7fbbafa4cf017"
|
||||
pkgname=globalprotect-openconnect-git
|
||||
pkgver=${_pkgver}
|
||||
pkgrel=1
|
||||
pkgdesc="A GlobalProtect VPN client (GUI) for Linux based on Openconnect and built with Qt5, supports SAML auth mode. (development version)"
|
||||
arch=(x86_64 aarch64)
|
||||
url="https://github.com/yuezk/GlobalProtect-openconnect"
|
||||
license=('GPL3')
|
||||
backup=(
|
||||
etc/gpservice/gp.conf
|
||||
)
|
||||
install=gp.install
|
||||
depends=('openconnect>=8.0.0' qt5-base qt5-webengine qt5-websockets qt5-tools qtkeychain-qt5)
|
||||
makedepends=(git cmake)
|
||||
conflicts=('globalprotect-openconnect')
|
||||
provides=('globalprotect-openconnect' 'gpclient' 'gpservice')
|
||||
|
||||
source=(git+https://github.com/yuezk/GlobalProtect-openconnect#commit=${_commit})
|
||||
sha256sums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd GlobalProtect-openconnect
|
||||
echo "${_pkgver}" > VERSION
|
||||
}
|
||||
|
||||
build() {
|
||||
cd GlobalProtect-openconnect
|
||||
cmake -B build \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_CXX_FLAGS_RELEASE=-s
|
||||
make -j$(nproc) -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd GlobalProtect-openconnect
|
||||
make DESTDIR="$pkgdir/" install -C build
|
||||
}
|
@@ -1,40 +0,0 @@
|
||||
# Maintainer: Keinv Yue <yuezk001@gmail.com>
|
||||
|
||||
_pkgver="{VERSION}"
|
||||
_commit="{COMMIT}"
|
||||
pkgname=globalprotect-openconnect-git
|
||||
pkgver=${_pkgver}
|
||||
pkgrel=1
|
||||
pkgdesc="A GlobalProtect VPN client (GUI) for Linux based on Openconnect and built with Qt5, supports SAML auth mode. (development version)"
|
||||
arch=(x86_64 aarch64)
|
||||
url="https://github.com/yuezk/GlobalProtect-openconnect"
|
||||
license=('GPL3')
|
||||
backup=(
|
||||
etc/gpservice/gp.conf
|
||||
)
|
||||
install=gp.install
|
||||
depends=('openconnect>=8.0.0' qt5-base qt5-webengine qt5-websockets qt5-tools qtkeychain-qt5)
|
||||
makedepends=(git cmake)
|
||||
conflicts=('globalprotect-openconnect')
|
||||
provides=('globalprotect-openconnect' 'gpclient' 'gpservice')
|
||||
|
||||
source=(git+https://github.com/yuezk/GlobalProtect-openconnect#commit=${_commit})
|
||||
sha256sums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd GlobalProtect-openconnect
|
||||
echo "${_pkgver}" > VERSION
|
||||
}
|
||||
|
||||
build() {
|
||||
cd GlobalProtect-openconnect
|
||||
cmake -B build \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_CXX_FLAGS_RELEASE=-s
|
||||
make -j$(nproc) -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd GlobalProtect-openconnect
|
||||
make DESTDIR="$pkgdir/" install -C build
|
||||
}
|
@@ -1,8 +0,0 @@
|
||||
post_install() {
|
||||
systemctl enable gpservice.service
|
||||
systemctl restart gpservice.service
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
@@ -1,26 +0,0 @@
|
||||
app-id: com.yuezk.qt.gpclient
|
||||
base: io.qt.qtwebengine.BaseApp
|
||||
base-version: '5.15'
|
||||
runtime: org.kde.Platform
|
||||
runtime-version: '5.15'
|
||||
sdk: org.kde.Sdk
|
||||
command: gpclient
|
||||
finish-args:
|
||||
- --share=network
|
||||
- --share=ipc
|
||||
- --socket=x11
|
||||
- --socket=wayland
|
||||
- --filesystem=host
|
||||
- --device=dri
|
||||
- --talk-name=org.kde.StatusNotifierWatcher
|
||||
- --own-name=org.kde.*
|
||||
- --system-own-name=com.yuezk.qt.GPService
|
||||
modules:
|
||||
- name: gpclient
|
||||
buildsystem: cmake
|
||||
config-opts:
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
- -DCMAKE_CXX_FLAGS_RELEASE=-s
|
||||
sources:
|
||||
- type: archive
|
||||
path: globalprotect-openconnect.tar.gz
|
@@ -1 +0,0 @@
|
||||
setBadness('suse-dbus-unauthorized-service', 0)
|
@@ -1,154 +0,0 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 8 12:58:32 UTC 2023 - k3vinyue@gmail.com - 1.4.9
|
||||
|
||||
- Update to 1.4.9
|
||||
* Updated VERSION, Bumped 1.4.8 –> 1.4.9
|
||||
* fix: update cmake version
|
||||
* fix: correct the package name
|
||||
* fix: use the dev package
|
||||
* fix: use qtkeychain package
|
||||
* fix: add qt5-tools
|
||||
* fix: add libsecret-1-dev
|
||||
* fix: add pkg-config
|
||||
* fix: use cmake 3.16
|
||||
* fix: add missing build dependency
|
||||
* ci: fix CI
|
||||
* Merge branch 'master' into develop
|
||||
* feat: expose os-version to settings
|
||||
* Add two missing dependencies for building on debian (#198)
|
||||
* ci: assert no library missing
|
||||
* fix: update qtkeychain
|
||||
* ci: run gpclient after build
|
||||
* fix: add qtkeychain
|
||||
* chore: update CMake file
|
||||
* Added install instructions for MX Linux. (#190)
|
||||
* Credentials autocompleting (secure version) (#179)
|
||||
* Read all saved Gateways (for selecting in Systray) (#181)
|
||||
* copy install script for debian (#180)
|
||||
* add es and pt support to change status when connected to vpn (#162)
|
||||
* fix: improve the cli support
|
||||
* feat: add --reset option to gpclient
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 12 12:28:58 UTC 2022 - k3vinyue@gmail.com - 1.4.8
|
||||
|
||||
- Update to 1.4.8
|
||||
* Updated VERSION, Bumped 1.4.7 –> 1.4.8
|
||||
* fix: fix compile error
|
||||
* refactor: simplify the code
|
||||
* chore: use auto to declare variables
|
||||
* chore: use c++ 17
|
||||
* fix: clear cookies when click the Reset button
|
||||
* fix: refine the authentication workflow
|
||||
* chore: PLOG -> LOG
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 7 13:46:04 UTC 2022 - k3vinyue@gmail.com - 1.4.7
|
||||
|
||||
- Update to 1.4.7
|
||||
* Updated VERSION, Bumped 1.4.6 –> 1.4.7
|
||||
* fix: release resources when properly
|
||||
* fix: add support for parsing tokens from HTML
|
||||
* handle html comment for saml result with okta 2fa (#156)
|
||||
* chore: use auto to declare variable
|
||||
* chore: simplify readme
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 1 15:55:50 UTC 2022 - k3vinyue@gmail.com - 1.4.6
|
||||
|
||||
- Update to 1.4.6
|
||||
* Updated VERSION, Bumped 1.4.5 –> 1.4.6
|
||||
* feat: display address in gateway menu item
|
||||
* fix: fix bug of parsing the portal response
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 29 13:15:40 UTC 2022 - k3vinyue@gmail.com - 1.4.5
|
||||
|
||||
- Update to 1.4.5
|
||||
* Updated VERSION, Bumped 1.4.4 –> 1.4.5
|
||||
* chore: refine vscode settings
|
||||
* fix: rollback dbus configuration
|
||||
* feat: add option to start minimized
|
||||
* packaging: fix postinst for debian
|
||||
* packaging: add postinst for debian
|
||||
* test: test debian packaging
|
||||
* ci: fix the folder path
|
||||
* chore: apt -> apt-get
|
||||
* ci: verify debian package
|
||||
* Revert "Revert "fix: improve the dbus security""
|
||||
* fix: improve the portal config parsing
|
||||
* Revert "fix: improve the dbus security"
|
||||
* fix: improve the dbus security
|
||||
* fix: free resources in slots
|
||||
* chore: refine cmake files
|
||||
* fix: support high DPI screen
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 14 11:21:14 UTC 2022 - k3vinyue@gmail.com - 1.4.4
|
||||
|
||||
- Update to 1.4.4
|
||||
* Updated VERSION, Bumped 1.4.3 –> 1.4.4
|
||||
* fix: support the HighDPI displays
|
||||
* [misc] update the build script
|
||||
* [ci] Enable build job for master branch
|
||||
* [ci] Add ubuntu 22.04
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 9 14:20:54 UTC 2022 - k3vinyue@gmail.com - 1.4.3
|
||||
|
||||
- Update to 1.4.3
|
||||
* Updated VERSION, Bumped 1.4.2 –> 1.4.3
|
||||
* refine AUR packaging
|
||||
* Prepare release 1.4.3 (#149)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 6 14:18:19 UTC 2022 - k3vinyue@gmail.com - 1.4.2
|
||||
|
||||
- Update to 1.4.2
|
||||
* Updated VERSION, Bumped 1.4.1 –> 1.4.2
|
||||
* Clear SSL_OP_LEGACY_SERVER_CONNECT (#146)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 3 13:58:59 UTC 2022 - k3vinyue@gmail.com - 1.4.1
|
||||
|
||||
- Update to 1.4.1
|
||||
* Updated VERSION, Bumped 1.4.0 –> 1.4.1
|
||||
* print the gpservice logs
|
||||
* update AUR packaging
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 2 13:34:19 UTC 2022 - k3vinyue@gmail.com - 1.4.0
|
||||
|
||||
- Update to 1.4.0
|
||||
* Updated VERSION, Bumped 1.3.4 –> 1.4.0
|
||||
* Fix gpservice after openconnect v8.20 (#124)
|
||||
* Add 2FA support (#112)
|
||||
* Add a scripting mode to GPClient (#110)
|
||||
* Stop saving credentials (#111)
|
||||
* update CI
|
||||
* add editorconfig
|
||||
* Update README.md
|
||||
* Add a run entry (#108)
|
||||
* update the installation instruction of Arch Linux
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 24 04:13:24 UTC 2021 - k3vinyue@gmail.com - 1.3.4
|
||||
|
||||
- Update to 1.3.4
|
||||
* Updated VERSION, Bumped 1.3.3 –> 1.3.4
|
||||
* update packaging (#100)
|
||||
* shorten the sponsor links
|
||||
* Update README.md
|
||||
* add sponsor links
|
||||
* Adding application logs location in the README (#95)
|
||||
* improve the doc
|
||||
* Add snap packaging (#93)
|
||||
* update doc
|
||||
* Migrate to cmake and refine the code structure (#92)
|
||||
* QStringView -> QString
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 9 02:13:46 UTC 2020 - k3vinyue@gmail.com - 1.3.0
|
||||
|
||||
- Update to 1.3.0
|
||||
* Bump version to 1.3.0
|
@@ -1,98 +0,0 @@
|
||||
Name: globalprotect-openconnect
|
||||
Version: 1.4.9
|
||||
Release: 1
|
||||
Summary: A GlobalProtect VPN client powered by OpenConnect
|
||||
Group: Productivity/Networking/PPP
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/yuezk/GlobalProtect-openconnect
|
||||
Source0: %{name}.tar.gz
|
||||
BuildRequires: cmake cmake(Qt5) cmake(Qt5Gui) cmake(Qt5WebEngine) cmake(Qt5WebSockets) cmake(Qt5DBus) cmake(Qt5Keychain)
|
||||
BuildRequires: systemd-rpm-macros
|
||||
Requires: openconnect >= 8.0
|
||||
Conflicts: globalprotect-openconnect-snapshot
|
||||
|
||||
|
||||
%global debug_package %{nil}
|
||||
|
||||
%description
|
||||
A GlobalProtect VPN client (GUI) for Linux based on OpenConnect and built with Qt5, supports SAML auth mode.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n "globalprotect-openconnect-%{version}"
|
||||
|
||||
|
||||
%pre
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%service_add_pre gpservice.service
|
||||
%endif
|
||||
|
||||
|
||||
%post
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%service_add_post gpservice.service
|
||||
%else
|
||||
%systemd_post gpservice.service
|
||||
%endif
|
||||
|
||||
|
||||
%preun
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%service_del_preun gpservice.service
|
||||
%else
|
||||
%systemd_preun gpservice.service
|
||||
%endif
|
||||
|
||||
|
||||
%postun
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%service_del_postun gpservice.service
|
||||
%else
|
||||
%systemd_postun_with_restart gpservice.service
|
||||
%endif
|
||||
|
||||
|
||||
%build
|
||||
|
||||
%cmake -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_CXX_FLAGS_RELEASE=-s
|
||||
|
||||
%if 0%{?fedora_version} && 0%{?fedora_version} <= 32
|
||||
%make_build
|
||||
%else
|
||||
%cmake_build
|
||||
%endif
|
||||
|
||||
|
||||
%install
|
||||
|
||||
%if 0%{?fedora_version} && 0%{?fedora_version} <= 32
|
||||
%make_install
|
||||
%else
|
||||
%cmake_install
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_unitdir}/gpservice.service
|
||||
%{_bindir}/gpclient
|
||||
%{_bindir}/gpservice
|
||||
%{_datadir}/applications/com.yuezk.qt.gpclient.desktop
|
||||
%{_datadir}/dbus-1/system-services/com.yuezk.qt.GPService.service
|
||||
%{_datadir}/dbus-1/system.d/com.yuezk.qt.GPService.conf
|
||||
%{_datadir}/icons/hicolor/scalable/apps/com.yuezk.qt.gpclient.svg
|
||||
%{_datadir}/metainfo/com.yuezk.qt.gpclient.metainfo.xml
|
||||
%config %{_sysconfdir}/gpservice/gp.conf
|
||||
|
||||
%dir %{_sysconfdir}/gpservice
|
||||
%dir %{_datadir}/icons/hicolor
|
||||
%dir %{_datadir}/icons/hicolor/scalable
|
||||
%dir %{_datadir}/icons/hicolor/scalable/apps
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user