FreeBSD Bugzilla – Attachment 212941 Details for
Bug 245244
security/openconnect-gui Version 1.4.1 available from GIT_HUB
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shar of security/openconnect-gui
openconnect-gui.shar (text/plain), 5.78 KB, created by
papowell
on 2020-04-01 17:58:07 UTC
(
hide
)
Description:
shar of security/openconnect-gui
Filename:
MIME Type:
Creator:
papowell
Created:
2020-04-01 17:58:07 UTC
Size:
5.78 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># openconnect-gui ># openconnect-gui/Makefile ># openconnect-gui/distinfo ># openconnect-gui/pkg-descr ># openconnect-gui/files ># openconnect-gui/files/patch-CMakeLists.txt ># openconnect-gui/files/patch-CMake_Includes_git__revision__main.cmake ># openconnect-gui/files/patch-src_vpninfo.cpp ># openconnect-gui/files/patch-src_vpninfo.h ># >echo c - openconnect-gui >mkdir -p openconnect-gui > /dev/null 2>&1 >echo x - openconnect-gui/Makefile >sed 's/^X//' >openconnect-gui/Makefile << 'c06abef73d5714a226f3957e80cd0f5d' >X# Created by: Piotr Kubaj <pkubaj@FreeBSD.org> >X# $FreeBSD: head/security/openconnect-gui/Makefile 522258 2020-01-06 16:34:40Z pkubaj $ >X >XPORTNAME= openconnect-gui >XPORTVERSION= 1.4.1 >XDISTVERSIONPREFIX=v >XPORTREVISION= 3 >XCATEGORIES= security net-vpn >X >XMAINTAINER= pkubaj@FreeBSD.org >XCOMMENT= Graphical OpenConnect client >X >X#BROKEN= unfetchable >X >XLICENSE= GPLv2 >XLICENSE_FILE= ${WRKSRC}/LICENSE.txt >X >XBUILD_DEPENDS= openconnect:security/openconnect >XLIB_DEPENDS= libgnutls.so:security/gnutls >XRUN_DEPENDS= openconnect:security/openconnect \ >X vpnc-scripts>=0:sysutils/vpnc-scripts >X >XUSES= cmake:insource compiler:c++11-lang pkgconfig qt:5 >XUSE_GITHUB= yes >XGH_ACCOUNT= ${PORTNAME:C/-gui//} >X >XUSE_QT= buildtools_build concurrent core gui network qmake_build widgets >XCMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release >XPLIST_FILES= bin/openconnect-gui >X >Xdo-install: >X ${MV} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ >X >Xpost-install: >X ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} >X >X.include <bsd.port.mk> >c06abef73d5714a226f3957e80cd0f5d >echo x - openconnect-gui/distinfo >sed 's/^X//' >openconnect-gui/distinfo << 'c53383655c3c54318c8cfe55b187382a' >XTIMESTAMP = 1585753627 >XSHA256 (openconnect-openconnect-gui-v1.4.1_GH0.tar.gz) = b9cdddbc9f064386d5ba739522ff861b9dfa0ef746d30f095f0ded79d1cbab25 >XSIZE (openconnect-openconnect-gui-v1.4.1_GH0.tar.gz) = 635260 >c53383655c3c54318c8cfe55b187382a >echo x - openconnect-gui/pkg-descr >sed 's/^X//' >openconnect-gui/pkg-descr << 'dfce0bd557a8aba9fb9ef66abeda97fe' >XThis is the GUI client for openconnect VPN. This client is in beta testing >Xphase. It cannot be assumed to provide the required security. >X >XWWW: https://github.com/openconnect/openconnect-gui >dfce0bd557a8aba9fb9ef66abeda97fe >echo c - openconnect-gui/files >mkdir -p openconnect-gui/files > /dev/null 2>&1 >echo x - openconnect-gui/files/patch-CMakeLists.txt >sed 's/^X//' >openconnect-gui/files/patch-CMakeLists.txt << '5179de61b18e3fee24b7a1969c5fff66' >X--- CMakeLists.txt.orig 2017-07-18 18:47:18.951816000 +0000 >X+++ CMakeLists.txt 2017-07-18 18:49:23.953701000 +0000 >X@@ -13,15 +13,7 @@ set(PRODUCT_NAME_COMPANY_DOMAIN "redhat.com") >X set(PRODUCT_NAME_COPYRIGHT "Copyright (C) 2015-2016 Red Hat Inc.") >X >X option(PROJ_GNUTLS_DEBUG "Enable GnuTLS debug mode" OFF) >X-if(WIN32 AND MINGW) >X- option(PROJ_UAC_ON "Enable UAC (don't turn it off in production)" ON) >X- >X- set(DEFAULT_VPNC_SCRIPT "vpnc-script.js") >X-else(APPLE) >X- set(DEFAULT_VPNC_SCRIPT "../Resources/vpnc-script") >X-else() >X- set(DEFAULT_VPNC_SCRIPT "/etc/vpnc/vpnc-script") >X-endif() >X+set(DEFAULT_VPNC_SCRIPT "../sbin/vpnc-script") >X option(PROJ_PKCS11 "Enable PKCS11" ON) >X option(PROJ_INI_SETTINGS "Store the settings in INI files." OFF) >X >5179de61b18e3fee24b7a1969c5fff66 >echo x - openconnect-gui/files/patch-CMake_Includes_git__revision__main.cmake >sed 's/^X//' >openconnect-gui/files/patch-CMake_Includes_git__revision__main.cmake << '0ef9c1d6906343b32e8210745d2c6d55' >XHas been submitted upstream. With ninja, the generated file >Xis not recognized as a dependency and not generated before it is >X#included from other code. >X >X--- CMake/Includes/git_revision_main.cmake.orig 2016-08-28 20:11:26 UTC >X+++ CMake/Includes/git_revision_main.cmake >X@@ -4,9 +4,9 @@ if(IS_DIRECTORY ${PROJECT_SOURCE_DIR}/.git) >X find_package(Git 2.7 REQUIRED) >X endif() >X >X-add_custom_target(git_revision ALL) >X add_custom_command( >X- TARGET git_revision >X+# TARGET git_revision >X+ OUTPUT ${CMAKE_SOURCE_DIR}/src/${PROJECT_NAME}.cpp >X WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/src >X >X COMMAND ${CMAKE_COMMAND} >X@@ -35,5 +35,8 @@ add_custom_command( >X -P ${CMAKE_SOURCE_DIR}/CMake/Includes/git_revision_generate.cmake >X COMMENT "Analyzing Git revision/tag changes..." VERBATIM >X ) >X- >X+add_custom_target( >X+ git_revision >X+ DEPENDS ${CMAKE_SOURCE_DIR}/src/${PROJECT_NAME}.cpp >X+) >X add_dependencies(${PROJECT_NAME} git_revision) >0ef9c1d6906343b32e8210745d2c6d55 >echo x - openconnect-gui/files/patch-src_vpninfo.cpp >sed 's/^X//' >openconnect-gui/files/patch-src_vpninfo.cpp << '693c911b4d876531fbea90c6e9ed5249' >X--- src/vpninfo.cpp.orig 2016-09-21 11:15:03 UTC >X+++ src/vpninfo.cpp >X@@ -427,6 +427,8 @@ int VpnInfo::connect() >X const QString osName{"mac-intel"}; >X #elif defined Q_OS_LINUX >X const QString osName = QString("linux%1").arg(QSysInfo::buildCpuArchitecture() == "i386" ? "" : "-64").toStdString().c_str(); >X+#elif defined Q_OS_FREEBSD >X+ const QString osName = QString("freebsd%1").arg(QSysInfo::buildCpuArchitecture() == "i386" ? "" : "-64").toStdString().c_str(); >X #else >X #error Define OS string of other platforms... >X #endif >693c911b4d876531fbea90c6e9ed5249 >echo x - openconnect-gui/files/patch-src_vpninfo.h >sed 's/^X//' >openconnect-gui/files/patch-src_vpninfo.h << '158ad29ba286438c2afd269ccaf27a10' >X--- src/vpninfo.h.orig 2016-08-28 20:11:26 UTC >X+++ src/vpninfo.h >X@@ -23,7 +23,7 @@ >X #ifdef _WIN32 >X #include <winsock2.h> >X #endif >X-#ifdef __linux__ >X+#if defined(__linux__) || defined(__FreeBSD__) >X #define SOCKET int >X #endif >X >158ad29ba286438c2afd269ccaf27a10 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 245244
:
212940
| 212941
Working