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
:= 7b031dac64a59eb6ee3304f7ffb75dad33ab8c9d279c847f92c89fb846068f97
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 PKG_ARCH_DEPENDS
:= !m68k
!xtensa
18 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
20 PKG_SUBPKGS
:= LIBRESSL LIBRESSL_UTIL
21 PKGSD_LIBRESSL_UTIL
:= openssl command line tool
22 PKGSC_LIBRESSL_UTIL
:= app
/crypto
23 PKGSS_LIBRESSL_UTIL
:= libressl
25 include ${ADK_TOPDIR}/mk
/host.mk
26 include $(ADK_TOPDIR
)/mk
/package.mk
28 $(eval
$(call HOST_template
,LIBRESSL
,libressl
,${PKG_VERSION}-${PKG_RELEASE}))
29 $(eval
$(call PKG_template
,LIBRESSL
,libressl
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
30 $(eval
$(call PKG_template
,LIBRESSL_UTIL
,libressl-util
,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LIBRESSL_UTIL},${PKGSD_LIBRESSL_UTIL},${PKGSC_LIBRESSL_UTIL}))
32 ifeq ($(ADK_TARGET_ARCH_ARM
),y
)
33 CONFIGURE_ARGS
+= --disable-asm
36 ifeq ($(ADK_TARGET_USE_SSP
),y
)
37 CONFIGURE_ARGS
+= --enable-hardening
39 CONFIGURE_ARGS
+= --disable-hardening
43 ${INSTALL_DIR} ${IDIR_LIBRESSL}/etc
/ssl
44 ${CP} ${WRKINST}/etc
/ssl
/openssl.cnf
${IDIR_LIBRESSL}/etc
/ssl
45 $(INSTALL_DIR
) $(IDIR_LIBRESSL
)/usr
/lib
46 $(CP
) $(WRKINST
)/usr
/lib
/lib
{crypto
,ssl
,tls
}.so
* \
47 $(IDIR_LIBRESSL
)/usr
/lib
49 libressl-util-install
:
50 ${INSTALL_DIR} ${IDIR_LIBRESSL_UTIL}/usr
/bin
51 ${CP} ${WRKINST}/usr
/bin
/openssl
${IDIR_LIBRESSL_UTIL}/usr
/bin
53 include ${ADK_TOPDIR}/mk
/host-bottom.mk
54 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk