1 | # -*- 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 |
---|
2 | # $Id: Portfile 149991 2016-07-07 20:06:51Z jeremyhu@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup muniversal 1.0 |
---|
6 | PortGroup compiler_blacklist_versions 1.0 |
---|
7 | |
---|
8 | name libressl-devel |
---|
9 | version 2.4.1 |
---|
10 | distname libressl-${version} |
---|
11 | |
---|
12 | categories security devel |
---|
13 | platforms darwin |
---|
14 | license OpenSSL SSLeay |
---|
15 | maintainers jeremyhu openmaintainer |
---|
16 | |
---|
17 | description LibreSSL SSL/TLS cryptography library |
---|
18 | long_description LibreSSL is composed of four parts: \ |
---|
19 | The openssl(1) utility, which provides tools for managing keys, certificates, etc. \ |
---|
20 | libcrypto: a library of cryptography fundamentals \ |
---|
21 | libssl: a TLS library, backwards-compatible with OpenSSL \ |
---|
22 | libtls: a new TLS library, designed to make it easier to write foolproof applications |
---|
23 | homepage http://www.libressl.org |
---|
24 | |
---|
25 | conflicts openssl libressl |
---|
26 | |
---|
27 | master_sites http://ftp.openbsd.org/pub/OpenBSD/LibreSSL |
---|
28 | checksums rmd160 632d4df98e6c27019588ffb8fd8df0f2e11ad22f \ |
---|
29 | sha256 121922b13169cd47a85e3e77f0bc129f8d04247193b42491cb1fab9074e80477 |
---|
30 | |
---|
31 | patchfiles \ |
---|
32 | openssldir-cert.pem.patch |
---|
33 | |
---|
34 | configure.args \ |
---|
35 | --disable-silent-rules \ |
---|
36 | --with-openssldir=${prefix}/etc/ssl |
---|
37 | |
---|
38 | post-patch { |
---|
39 | reinplace "s|@OPENSSLDIR@|${prefix}/etc/ssl|" ${worksrcpath}/include/openssl/opensslconf.h |
---|
40 | } |
---|
41 | |
---|
42 | # gcc-4.2 from Xcode 3.2.6 fails to handle some of the asm |
---|
43 | compiler.blacklist *gcc-4.2* {clang < 100} |
---|
44 | |
---|
45 | # HOST_ASM_MACOSX_X86_64 gets set when building i386 on x86_64 |
---|
46 | set merger_configure_args(i386) --disable-asm |
---|
47 | |
---|
48 | livecheck.type regex |
---|
49 | livecheck.url ${homepage} |
---|
50 | livecheck.regex "latest unstable release is (\\d+\\.\\d+(?:\\.\\d+)*)" |
---|