From nobody Tue Mar 01 21:18:07 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D44FE19E86F0; Tue, 1 Mar 2022 21:18:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K7VTW5dMmz3M9p; Tue, 1 Mar 2022 21:18:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646169487; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NaXU+21kdrJAIsmpwKgrlNvXWSVJoBtnrYv6OtaQYe8=; b=NB3atIO8U9WLmfKSQET9D9px+r5fC0k6s0/KFb7pIEMAt+xsEDJZSVEDIy1S5ghxY24F+E NuUfaGa4qbOYyd4JrQasOaEpcATUgFFF0RGgzTpd85PKA4znCKXIDNb08vYofyC69IcJ7J 5BM6a0fuvBV1Nu0k2P62H1NGStt6rMR3qTjGZ6mA9RaIa1oHxQc3J0fG8ZkZXMtWNYNCnt 5g7maukNXjKl4Ltc5y7zBEeTE+vNC69ZChOU3kijOxVfl8DWF+bdUk2cNI7skZhypICtet 7ByX4Nio/+hKkJxwon2qJmnD1l52UZbKzqQAF79wixNXUfNT2fvS7iZaanl0xw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9D3A516C45; Tue, 1 Mar 2022 21:18:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 221LI7i1077526; Tue, 1 Mar 2022 21:18:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 221LI7B8077525; Tue, 1 Mar 2022 21:18:07 GMT (envelope-from git) Date: Tue, 1 Mar 2022 21:18:07 GMT Message-Id: <202203012118.221LI7B8077525@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Jason W. Bacon" Subject: git: 41b6a246b075 - main - security/globalprotect-openconnect: OpenConnect GUI for GlobalProtect List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jwb X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 41b6a246b07508bcca8b204cfc4fd960423540fb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646169487; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NaXU+21kdrJAIsmpwKgrlNvXWSVJoBtnrYv6OtaQYe8=; b=Be/q/Gn5UaFUeQ8zcixqakK/gqqV7scnr3WrHs1O79Q3s96hBmyJCzfaAjDtrn75/F+xE2 lMWqt2OdVAhBnszI6dkZFtCwQ2D/7A1vz6UkC+MqXIwITLz2pQVZ5bArWdDeMypbx7SMGt USW0k5sS5xdKEQJkj9dAWgSszNfJiyvGGus75duoAH7uB1mbQVVGSA5nAS8YmH0iKNtp+I IDlK0luD1BQMcQf9SeHDCS1MNoo7M0Jv/hXmGqKPWh84+0AniR2bQYSoDJVmR1/bmff6pC PTUoj8PvzH+b0KNbjQotVPRo+MvvjUgpYMrwGyPPv5a6QmxiAPAVfz6cIXM7ig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646169487; a=rsa-sha256; cv=none; b=VyoAjV27XTzlgM3+piezwtwmLq1lIw7/18rlnSPsECzJbHvXqRL+e7YefasTZavZOxKIUE A4Q2/qh3x7opJyBun/rzkjEVwJWRntSkLt/LXGQ/kBTvdivVP5ABYoNjIZ+QmoUqlbaIQ4 QnLAs7f2FwPDncFubQd+hxh4rY4hAeIt2B1aZdWukuj/Jef9ymaWapyL61R3KfxUsLA+cL NC9Ta6WJpI7nCKPzKARFv9ZRDI5fvU0yPTi3t04b+lJrH9Qtr4vTd69WP4qbPaieRMduzv Q49IRDcrzDaP+XstSE8TwPY65HEp5ZcueIqlG5rnRM0cbD3xmiAkB3BhIRGpwA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jwb: URL: https://cgit.FreeBSD.org/ports/commit/?id=41b6a246b07508bcca8b204cfc4fd960423540fb commit 41b6a246b07508bcca8b204cfc4fd960423540fb Author: Jason W. Bacon AuthorDate: 2022-03-01 21:17:37 +0000 Commit: Jason W. Bacon CommitDate: 2022-03-01 21:17:37 +0000 security/globalprotect-openconnect: OpenConnect GUI for GlobalProtect A GlobalProtect VPN client (GUI) for *nix based on Openconnect and built with Qt5, supports SAML auth mode, inspired by gp-saml-gui. --- security/Makefile | 1 + security/globalprotect-openconnect/Makefile | 23 ++++++++++++++++++++++ security/globalprotect-openconnect/distinfo | 7 +++++++ .../files/patch-GPClient_CMakeLists.txt | 11 +++++++++++ .../files/patch-GPService_CMakeLists.txt | 11 +++++++++++ security/globalprotect-openconnect/pkg-descr | 4 ++++ security/globalprotect-openconnect/pkg-plist | 8 ++++++++ 7 files changed, 65 insertions(+) diff --git a/security/Makefile b/security/Makefile index 708977847b44..3d77703aba8c 100644 --- a/security/Makefile +++ b/security/Makefile @@ -183,6 +183,7 @@ SUBDIR += git-remote-gcrypt SUBDIR += git-secret SUBDIR += gitjacker + SUBDIR += globalprotect-openconnect SUBDIR += gnome-keyring SUBDIR += gnome-keyring-sharp SUBDIR += gnome-ssh-askpass diff --git a/security/globalprotect-openconnect/Makefile b/security/globalprotect-openconnect/Makefile new file mode 100644 index 000000000000..b19bf4fbf096 --- /dev/null +++ b/security/globalprotect-openconnect/Makefile @@ -0,0 +1,23 @@ +PORTNAME= globalprotect-openconnect +DISTVERSIONPREFIX= v +DISTVERSION= 1.3.4 +CATEGORIES= security + +MAINTAINER= jwb@FreeBSD.org +COMMENT= OpenConnect GUI for GlobalProtect protocol + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libopenconnect.so:security/openconnect + +USES= cmake:noninja qt:5 +USE_GITHUB= yes +USE_QT= buildtools core dbus declarative gui location network printsupport qmake_build webchannel webengine websockets widgets + +GH_ACCOUNT= yuezk +GH_PROJECT= GlobalProtect-openconnect +GH_TUPLE+= itay-grudev:SingleApplication:v3.3.0:sa/3rdparty/SingleApplication +GH_TUPLE+= SergiusTheBest:plog:1.1.5:plog/3rdparty/plog + +.include diff --git a/security/globalprotect-openconnect/distinfo b/security/globalprotect-openconnect/distinfo new file mode 100644 index 000000000000..c6670ced4940 --- /dev/null +++ b/security/globalprotect-openconnect/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1646167885 +SHA256 (yuezk-GlobalProtect-openconnect-v1.3.4_GH0.tar.gz) = 2c98132352e8fb6f582093ccf33131d471d09f6fa1af950444d4adbfae703521 +SIZE (yuezk-GlobalProtect-openconnect-v1.3.4_GH0.tar.gz) = 115036 +SHA256 (itay-grudev-SingleApplication-v3.3.0_GH0.tar.gz) = b5a789e7e4fda5239b09249a74a91c9ffea8581dcb59bc693e3db8af96d6f1bf +SIZE (itay-grudev-SingleApplication-v3.3.0_GH0.tar.gz) = 21148 +SHA256 (SergiusTheBest-plog-1.1.5_GH0.tar.gz) = 6c80b4701183d2415bec927e1f5ca9b1761b3b5c65d3e09fb29c743e016d5609 +SIZE (SergiusTheBest-plog-1.1.5_GH0.tar.gz) = 40453 diff --git a/security/globalprotect-openconnect/files/patch-GPClient_CMakeLists.txt b/security/globalprotect-openconnect/files/patch-GPClient_CMakeLists.txt new file mode 100644 index 000000000000..84289a0fef93 --- /dev/null +++ b/security/globalprotect-openconnect/files/patch-GPClient_CMakeLists.txt @@ -0,0 +1,11 @@ +--- GPClient/CMakeLists.txt.orig 2022-03-01 20:51:43 UTC ++++ GPClient/CMakeLists.txt +@@ -51,7 +51,7 @@ add_3rdparty( + + add_3rdparty( + plog +- GIT_REPOSITORY https://github.com/SergiusTheBest/plog.git ++ #GIT_REPOSITORY https://github.com/SergiusTheBest/plog.git + GIT_TAG 1.1.5 + CMAKE_ARGS + -DPLOG_BUILD_SAMPLES=OFF diff --git a/security/globalprotect-openconnect/files/patch-GPService_CMakeLists.txt b/security/globalprotect-openconnect/files/patch-GPService_CMakeLists.txt new file mode 100644 index 000000000000..c5fdccdc47a9 --- /dev/null +++ b/security/globalprotect-openconnect/files/patch-GPService_CMakeLists.txt @@ -0,0 +1,11 @@ +--- GPService/CMakeLists.txt.orig 2022-03-01 20:54:13 UTC ++++ GPService/CMakeLists.txt +@@ -29,7 +29,7 @@ add_executable(gpservice + + add_3rdparty( + SingleApplication +- GIT_REPOSITORY https://github.com/itay-grudev/SingleApplication.git ++ #GIT_REPOSITORY https://github.com/itay-grudev/SingleApplication.git + GIT_TAG v3.3.0 + CMAKE_ARGS + -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} diff --git a/security/globalprotect-openconnect/pkg-descr b/security/globalprotect-openconnect/pkg-descr new file mode 100644 index 000000000000..16882585f05c --- /dev/null +++ b/security/globalprotect-openconnect/pkg-descr @@ -0,0 +1,4 @@ +A GlobalProtect VPN client (GUI) for *nix based on Openconnect and +built with Qt5, supports SAML auth mode, inspired by gp-saml-gui. + +WWW: https://github.com/yuezk/GlobalProtect-openconnect diff --git a/security/globalprotect-openconnect/pkg-plist b/security/globalprotect-openconnect/pkg-plist new file mode 100644 index 000000000000..dc1631ec6ae9 --- /dev/null +++ b/security/globalprotect-openconnect/pkg-plist @@ -0,0 +1,8 @@ +bin/gpclient +bin/gpservice +lib/systemd/system/gpservice.service +share/applications/com.yuezk.qt.gpclient.desktop +share/dbus-1/system-services/com.yuezk.qt.GPService.service +share/dbus-1/system.d/com.yuezk.qt.GPService.conf +share/icons/hicolor/scalable/apps/com.yuezk.qt.gpclient.svg +share/metainfo/com.yuezk.qt.gpclient.metainfo.xml