source: trunk/dports/security/tcpcrypt-devel/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.9 KB
Line 
1# $Id: Portfile 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                tcpcrypt-devel
6set real_name       tcpcrypt
7version             0.0.1
8revision            1
9categories          security www
10platforms           darwin freebsd
11maintainers         nomaintainer
12homepage            http://tcpcrypt.org/
13description         encrypt (almost) all of your network traffic
14long_description    \
15    Tcpcrypt is a protocol that attempts to encrypt (almost) all of your \
16    network traffic. Unlike other security mechanisms, Tcpcrypt works out of \
17    the box: it requires no configuration, no changes to applications, and \
18    your network connections will continue to work even if the remote end \
19    does not support Tcpcrypt, in which case connections will gracefully fall \
20    back to standard clear-text TCP. Install Tcpcrypt and you'll feel no \
21    difference in your every day user experience, but yet your traffic will \
22    be more secure and you'll have made life much harder for hackers.
23
24fetch.type          git
25git.url             git://github.com/sorbo/${real_name}.git
26git.branch          07d75864a38d853316d4
27use_configure       no
28build.dir           ${worksrcpath}/user
29depends_lib         path:lib/libssl.dylib:openssl
30
31destroot {
32  set docdir  ${destroot}${prefix}/share/doc/${real_name}
33  set datadir ${destroot}${prefix}/share/${real_name}
34  set libdir  ${destroot}${prefix}/lib
35  set sbindir ${destroot}${prefix}/sbin
36  xinstall -d ${docdir} ${datadir}
37
38  eval xinstall [glob ${build.dir}/lib/*.dylib]       ${libdir}
39  xinstall -W ${build.dir} ${real_name}/tcpcryptd     ${sbindir}
40  xinstall -W ${build.dir} launch_tcpcryptd.sh        ${datadir}
41  eval xinstall -m 640 [glob ${worksrcpath}/README*]  ${docdir}
42 
43  # fix launch script
44  reinplace -E "s|^TCPCRYPTD=.+$|TCPCRYPTD=${prefix}/sbin/tcpcryptd|" ${datadir}/launch_tcpcryptd.sh
45}
46
47startupitem.create  yes
48startupitem.name    ${real_name}
49startupitem.start   "${prefix}/share/${real_name}/launch_tcpcryptd.sh"
Note: See TracBrowser for help on using the repository browser.