[137092] trunk/dports/net

cal at macports.org cal at macports.org
Thu Jun 4 13:38:24 PDT 2015


Revision: 137092
          https://trac.macports.org/changeset/137092
Author:   cal at macports.org
Date:     2015-06-04 13:38:23 -0700 (Thu, 04 Jun 2015)
Log Message:
-----------
new port: openconnect-gui, closes #47215

Added Paths:
-----------
    trunk/dports/net/openconnect-gui/
    trunk/dports/net/openconnect-gui/Portfile
    trunk/dports/net/openconnect-gui/files/
    trunk/dports/net/openconnect-gui/files/patch-common_h.diff

Added: trunk/dports/net/openconnect-gui/Portfile
===================================================================
--- trunk/dports/net/openconnect-gui/Portfile	                        (rev 0)
+++ trunk/dports/net/openconnect-gui/Portfile	2015-06-04 20:38:23 UTC (rev 137092)
@@ -0,0 +1,39 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+PortGroup           github 1.0
+PortGroup           qt5 1.0
+
+github.setup        openconnect openconnect-gui 1.3 v
+categories          net
+platforms           darwin
+maintainers         hydroxide.nl:bjorn.ketelaars openmaintainer
+license             GPL-2+
+
+description         GUI client for openconnect VPN
+long_description    ${description}
+
+depends_lib-append  port:gnutls \
+                    port:openconnect
+
+depends_run         port:vpnc-scripts
+
+checksums           rmd160  2ee0a3bf301b3c9af6bb3b7663875afea6f0a307 \
+                    sha256  7377a5e3de6e5b0764723d66fbd0a1d8b380ddbb5b3862714197a4ba47ee8982
+
+patchfiles          patch-common_h.diff
+
+configure.cmd       ${qt_qmake_cmd}
+configure.pre_args  PREFIX="${prefix}"
+
+post-patch {
+    reinplace -E "s|@PREFIX@|${prefix}|" ${worksrcpath}/common.h
+}
+
+destroot {
+    copy "${worksrcpath}/openconnect-gui.app" ${destroot}${applications_dir}
+}
+
+livecheck.url       https://github.com/openconnect/openconnect-gui/releases
+livecheck.regex     v(\[0-9.\]+)${extract.suffix}


Property changes on: trunk/dports/net/openconnect-gui/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/net/openconnect-gui/files/patch-common_h.diff
===================================================================
--- trunk/dports/net/openconnect-gui/files/patch-common_h.diff	                        (rev 0)
+++ trunk/dports/net/openconnect-gui/files/patch-common_h.diff	2015-06-04 20:38:23 UTC (rev 137092)
@@ -0,0 +1,11 @@
+--- common.h.orig	2015-03-20 20:48:48.000000000 +0100
++++ common.h	2015-03-20 20:49:21.000000000 +0100
+@@ -54,7 +54,7 @@
+ #include <fcntl.h>
+ #include <errno.h>
+ #define ms_sleep(x) usleep(1000*x)
+-#define DEFAULT_VPNC_SCRIPT "/etc/vpnc/vpnc-script"
++#define DEFAULT_VPNC_SCRIPT "@PREFIX@/etc/vpnc-scripts/vpnc-script"
+ #define INVALID_SOCKET -1
+ #define SOCKET int
+ #define closesocket close
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150604/15f3079c/attachment.html>


More information about the macports-changes mailing list