FreeBSD Bugzilla – Attachment 175032 Details for
Bug 212879
[NEW PORT] security/openconnect-gui: Graphical Openconnect Client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shar
openconnect-gui.shar (text/plain), 3.38 KB, created by
Piotr Kubaj
on 2016-09-21 11:39:02 UTC
(
hide
)
Description:
shar
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2016-09-21 11:39:02 UTC
Size:
3.38 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-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@anongoth.pl> >X# $FreeBSD$ >X >XPORTNAME= openconnect-gui >XPORTVERSION= 1.4.1 >XDISTVERSIONPREFIX=v >XCATEGORIES= security >X >XMAINTAINER= pkubaj@anongoth.pl >XCOMMENT= Graphical OpenConnect client >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 >XUSE_GITHUB= yes >XGH_ACCOUNT= ${PORTNAME:C/-gui//} >X >XUSES= cmake pkgconfig ssl >XWITH_OPENSSL_PORT= yes >XUSE_QT5= 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 = 1474375720 >XSHA256 (openconnect-openconnect-gui-v1.4.1_GH0.tar.gz) = 5f609e10eafc8885699e503c1dca9d9154d18741cfd09c1222d05b8af448c1d1 >XSIZE (openconnect-openconnect-gui-v1.4.1_GH0.tar.gz) = 10026785 >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-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 212879
: 175032