[150048] trunk/dports/security
jeremyhu at macports.org
jeremyhu at macports.org
Sat Jul 9 15:38:03 PDT 2016
Revision: 150048
https://trac.macports.org/changeset/150048
Author: jeremyhu at macports.org
Date: 2016-07-09 15:38:03 -0700 (Sat, 09 Jul 2016)
Log Message:
-----------
libressl-devel: New port (#51807)
Added Paths:
-----------
trunk/dports/security/libressl-devel/
trunk/dports/security/libressl-devel/Portfile
trunk/dports/security/libressl-devel/files/
trunk/dports/security/libressl-devel/files/openssldir-cert.pem.patch
Added: trunk/dports/security/libressl-devel/Portfile
===================================================================
--- trunk/dports/security/libressl-devel/Portfile (rev 0)
+++ trunk/dports/security/libressl-devel/Portfile 2016-07-09 22:38:03 UTC (rev 150048)
@@ -0,0 +1,50 @@
+# -*- 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 muniversal 1.0
+PortGroup compiler_blacklist_versions 1.0
+
+name libressl-devel
+version 2.4.1
+distname libressl-${version}
+
+categories security devel
+platforms darwin
+license OpenSSL SSLeay
+maintainers jeremyhu openmaintainer
+
+description LibreSSL SSL/TLS cryptography library
+long_description LibreSSL is composed of four parts: \
+ The openssl(1) utility, which provides tools for managing keys, certificates, etc. \
+ libcrypto: a library of cryptography fundamentals \
+ libssl: a TLS library, backwards-compatible with OpenSSL \
+ libtls: a new TLS library, designed to make it easier to write foolproof applications
+homepage http://www.libressl.org
+
+conflicts openssl libressl
+
+master_sites http://ftp.openbsd.org/pub/OpenBSD/LibreSSL
+checksums rmd160 632d4df98e6c27019588ffb8fd8df0f2e11ad22f \
+ sha256 121922b13169cd47a85e3e77f0bc129f8d04247193b42491cb1fab9074e80477
+
+patchfiles \
+ openssldir-cert.pem.patch
+
+configure.args \
+ --disable-silent-rules \
+ --with-openssldir=${prefix}/etc/ssl
+
+post-patch {
+ reinplace "s|@OPENSSLDIR@|${prefix}/etc/ssl|" ${worksrcpath}/include/openssl/opensslconf.h
+}
+
+# gcc-4.2 from Xcode 3.2.6 fails to handle some of the asm
+compiler.blacklist *gcc-4.2* {clang < 100}
+
+# HOST_ASM_MACOSX_X86_64 gets set when building i386 on x86_64
+set merger_configure_args(i386) --disable-asm
+
+livecheck.type regex
+livecheck.url ${homepage}
+livecheck.regex "latest unstable release is (\\d+\\.\\d+(?:\\.\\d+)*)"
Property changes on: trunk/dports/security/libressl-devel/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/security/libressl-devel/files/openssldir-cert.pem.patch
===================================================================
--- trunk/dports/security/libressl-devel/files/openssldir-cert.pem.patch (rev 0)
+++ trunk/dports/security/libressl-devel/files/openssldir-cert.pem.patch 2016-07-09 22:38:03 UTC (rev 150048)
@@ -0,0 +1,11 @@
+--- include/openssl/opensslconf.h.orig 2016-03-21 19:45:22.000000000 -0700
++++ include/openssl/opensslconf.h 2016-04-11 01:33:38.000000000 -0700
+@@ -9,7 +9,7 @@
+ #undef I386_ONLY
+
+ #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
+-#define OPENSSLDIR "/etc/ssl"
++#define OPENSSLDIR "@OPENSSLDIR@"
+ #endif
+
+ #undef OPENSSL_UNISTD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160709/af9b3d21/attachment-0001.html>
More information about the macports-changes
mailing list