1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= 6fcfaf6934733ea1dcb2f6a4d459d9600e2f488793e51c2daf49b70518eebfd1
10 PKG_DESCR
:= ssl
/tls library
11 PKG_SECTION
:= libs
/crypto
12 PKG_URL
:= http
://www.libressl.org
13 PKG_SITES
:= http
://ftp.openbsd.org
/pub
/OpenBSD
/LibreSSL
/
16 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
18 PKG_SUBPKGS
:= LIBRESSL LIBRESSL_UTIL
19 PKGSD_LIBRESSL_UTIL
:= openssl command line tool
20 PKGSC_LIBRESSL_UTIL
:= app
/crypto
21 PKGSS_LIBRESSL_UTIL
:= libressl
23 include ${ADK_TOPDIR}/mk
/host.mk
24 include $(ADK_TOPDIR
)/mk
/package.mk
26 $(eval
$(call HOST_template
,LIBRESSL
,libressl
,${PKG_VERSION}-${PKG_RELEASE}))
27 $(eval
$(call PKG_template
,LIBRESSL
,libressl
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
28 $(eval
$(call PKG_template
,LIBRESSL_UTIL
,libressl-util
,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LIBRESSL_UTIL},${PKGSD_LIBRESSL_UTIL},${PKGSC_LIBRESSL_UTIL}))
30 ifeq ($(ADK_TARGET_USE_SSP
),y
)
31 CONFIGURE_ARGS
+= --enable-hardening
33 CONFIGURE_ARGS
+= --disable-hardening
37 $(INSTALL_DIR
) $(IDIR_LIBRESSL
)/usr
/lib
38 $(CP
) $(WRKINST
)/usr
/lib
/lib
{crypto
,ssl
,tls
}.so
* \
39 $(IDIR_LIBRESSL
)/usr
/lib
41 libressl-util-install
:
42 ${INSTALL_DIR} ${IDIR_LIBRESSL_UTIL}/usr
/bin
43 ${CP} ${WRKINST}/usr
/bin
/openssl
${IDIR_LIBRESSL_UTIL}/usr
/bin
45 include ${ADK_TOPDIR}/mk
/host-bottom.mk
46 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk