# -*- 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
distname libressl-${version}
categories security devel
maintainers {jeremyhu @jeremyhu}
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 https://www.libressl.org
conflicts openssl libressl
master_sites openbsd:LibreSSL
checksums rmd160 ff13aa4867bf6bffc56adc9a7da71b7c19c085d5 \
sha256 c4c78167fae325b47aebd8beb54b6041d6f6a56b3743f4bd5d79b15642f9d5d4 \
openssldir-cert.pem.patch
--with-openssldir=${prefix}/etc/ssl
reinplace "s|@OPENSSLDIR@|${prefix}/etc/ssl|" ${worksrcpath}/include/openssl/opensslconf.h
# HOST_ASM_MACOSX_X86_64 gets set when building i386 on x86_64
set merger_configure_args(i386) --disable-asm
configure.cppflags-append -DIPV6_TCLASS=36
livecheck.url https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/
livecheck.regex "(\\d+\\.\\d+\\.\\d+)"