pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

globalprotect-openconnect: OpenConnect GUI for GlobalProtect protocol



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Mon Mar 7 20:05:50 2022 -0600
Changeset:	5cab5bd83c23e2a8152c32852036569af168aa71

Modified Files:
	Makefile
Added Files:
	globalprotect-openconnect/DESCR
	globalprotect-openconnect/Makefile
	globalprotect-openconnect/PLIST
	globalprotect-openconnect/distinfo
	globalprotect-openconnect/patches/patch-GPClient_CMakeLists.txt
	globalprotect-openconnect/patches/patch-GPService_CMakeLists.txt

Log Message:
globalprotect-openconnect: OpenConnect GUI for GlobalProtect protocol

Begin port to pkgsrc.  Needs QT deps and clean up.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5cab5bd83c23e2a8152c32852036569af168aa71

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                           |  1 +
 globalprotect-openconnect/DESCR                    |  2 ++
 globalprotect-openconnect/Makefile                 | 35 ++++++++++++++++++++++
 globalprotect-openconnect/PLIST                    |  1 +
 globalprotect-openconnect/distinfo                 |  7 +++++
 .../patches/patch-GPClient_CMakeLists.txt          | 22 ++++++++++++++
 .../patches/patch-GPService_CMakeLists.txt         | 13 ++++++++
 7 files changed, 81 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 2f1adf400e..66635e799b 100644
--- a/Makefile
+++ b/Makefile
@@ -1173,6 +1173,7 @@ SUBDIR+=	glkgit
 SUBDIR+=	glkloader
 SUBDIR+=	glkterm
 SUBDIR+=	glm
+SUBDIR+=	globalprotect-openconnect
 SUBDIR+=	glulxe
 SUBDIR+=	glusterfs
 SUBDIR+=	gm2calc
diff --git a/globalprotect-openconnect/DESCR b/globalprotect-openconnect/DESCR
new file mode 100644
index 0000000000..070d5a57cc
--- /dev/null
+++ b/globalprotect-openconnect/DESCR
@@ -0,0 +1,2 @@
+A GlobalProtect VPN client (GUI) for *nix based on Openconnect and
+built with Qt5, supports SAML auth mode, inspired by gp-saml-gui.
diff --git a/globalprotect-openconnect/Makefile b/globalprotect-openconnect/Makefile
new file mode 100644
index 0000000000..253dcab5a5
--- /dev/null
+++ b/globalprotect-openconnect/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD$
+#
+###########################################################
+#                  Generated by fbsd2pkg                  #
+#              Mon Mar  7 19:53:02 CST 2022               #
+###########################################################
+
+# Unknown tool: USE_TOOLS=	qt:5
+#USE_QT=		buildtools core dbus declarative gui location network printsupport qmake_build webchannel webengine websockets widgets
+#GH_TUPLE+=	itay-grudev:SingleApplication:v3.3.0:sa/3rdparty/SingleApplication
+#GH_TUPLE+=	SergiusTheBest:plog:1.1.6:plog/3rdparty/plog
+
+DISTNAME=	globalprotect-openconnect-v1.4.1
+CATEGORIES=	security
+MASTER_SITES=	${MASTER_SITE_GITHUB:=yuezk/}
+GITHUB_PROJECT=	GlobalProtect-openconnect
+
+MAINTAINER=	bacon%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/yuezk/GlobalProtect-openconnect
+COMMENT=	OpenConnect GUI for GlobalProtect protocol
+LICENSE=	gnu-gpl-v3
+
+DEPENDS+=	openconnect>=0:../../net/openconnect
+
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	cmake
+USE_CMAKE=	yes
+# FIXME: Clean up this hack
+WRKSRC=		${WRKDIR}/${GITHUB_PROJECT}-1.4.1
+
+# Convert any _DEPENDS above that have a buildlink3.mk
+# .include "../..///buildlink3.mk"
+# CentOS doesn't have zlib in the base, so uncomment if needed.
+# .include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/globalprotect-openconnect/PLIST b/globalprotect-openconnect/PLIST
new file mode 100644
index 0000000000..48d96a5493
--- /dev/null
+++ b/globalprotect-openconnect/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD$
diff --git a/globalprotect-openconnect/distinfo b/globalprotect-openconnect/distinfo
new file mode 100644
index 0000000000..1fd9f2e838
--- /dev/null
+++ b/globalprotect-openconnect/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+BLAKE2s (globalprotect-openconnect-v1.4.1.tar.gz) = 6a3410892cce13fbeef7f2c7dceabf562c5844151f04f0bf68ba66359f6daf4c
+SHA512 (globalprotect-openconnect-v1.4.1.tar.gz) = 94f9480da19d00788768dbc6cd84006427cb9a36a51a4f5ec730eba6c6782c1490bcea1b7b4d6f3661b13b90682759273a98e57126b2c5498698b9182da21312
+Size (globalprotect-openconnect-v1.4.1.tar.gz) = 118400 bytes
+SHA1 (patch-GPClient_CMakeLists.txt) = 173f9b88327e82eac504e3a54eae4bb2a43b0b96
+SHA1 (patch-GPService_CMakeLists.txt) = 6e412803be484680f6e2aabcdc822db555f9913a
diff --git a/globalprotect-openconnect/patches/patch-GPClient_CMakeLists.txt b/globalprotect-openconnect/patches/patch-GPClient_CMakeLists.txt
new file mode 100644
index 0000000000..5f19000311
--- /dev/null
+++ b/globalprotect-openconnect/patches/patch-GPClient_CMakeLists.txt
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- GPClient/CMakeLists.txt.orig	2022-03-07 12:27:07 UTC
++++ GPClient/CMakeLists.txt
+@@ -44,7 +44,7 @@ add_executable(gpclient
+ 
+ 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}
+@@ -56,7 +56,7 @@ add_3rdparty(
+ 
+ add_3rdparty(
+     plog
+-    GIT_REPOSITORY https://github.com/SergiusTheBest/plog.git
++    #GIT_REPOSITORY https://github.com/SergiusTheBest/plog.git
+     GIT_TAG master
+     CMAKE_ARGS
+         -DPLOG_BUILD_SAMPLES=OFF
diff --git a/globalprotect-openconnect/patches/patch-GPService_CMakeLists.txt b/globalprotect-openconnect/patches/patch-GPService_CMakeLists.txt
new file mode 100644
index 0000000000..a62d2e5f9e
--- /dev/null
+++ b/globalprotect-openconnect/patches/patch-GPService_CMakeLists.txt
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- GPService/CMakeLists.txt.orig	2022-03-07 12:27:55 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}


Home | Main Index | Thread Index | Old Index