source: trunk/dports/net/proxytunnel/Portfile

Last change on this file was 146517, checked in by raimue@…, 17 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            proxytunnel
6version         1.9.0
7revision        1
8categories      net
9license         GPL-2+
10platforms       darwin
11maintainers     nomaintainer
12installs_libs   no
13
14description \
15    ProxyTunnel is a program that connects stdin and stdout \
16    to a server somewhere on the network, through a standard \
17    HTTPS proxy. This will allow you for example to access \
18    SSH servers when you normally only have http(s) access.
19
20long_description ${description}
21
22homepage        http://proxytunnel.sourceforge.net/
23master_sites    sourceforge:proxytunnel
24
25extract.suffix  .tgz
26checksums       md5  d74472b89c3f3b3b0abf6bd809ae34c2 \
27                sha1 51d816125bb9e9bca267d35f861000eb0fa9d80b
28
29depends_build   port:pkgconfig
30depends_lib     path:lib/libssl.dylib:openssl
31
32patchfiles      patch-Makefile.diff
33post-patch {
34    reinplace -W ${worksrcpath} s|strlcat|strlcat2|g \
35        proxytunnel.h \
36        setproctitle.c \
37        strlcat.c \
38        strzcat.c
39    reinplace -W ${worksrcpath} s|strlcpy|strlcpy2|g \
40        proxytunnel.h \
41        setproctitle.c \
42        strlcpy.c
43}
44
45use_configure       no
46
47variant universal {}
48
49configure.cflags-append -Wall
50
51platform darwin {
52    configure.cflags-append -DDARWIN
53}
54
55build.args-append CC=${configure.cc} CFLAGS="${configure.cflags} [get_canonical_archflags cc]"
56build.target
57
58destroot.args PREFIX=${prefix}
59
60livecheck.type regex
61livecheck.url http://sourceforge.net/projects/proxytunnel/files/proxytunnel%20source%20tarballs/
62livecheck.regex "${name} (\\d+(?:\\.\\d+)+)"
Note: See TracBrowser for help on using the repository browser.