2016-05-25 21:47:09 +00:00
|
|
|
#
|
2017-05-07 17:52:32 +00:00
|
|
|
# Copyright (C) 2016-2017 LEDE project
|
2016-05-25 21:47:09 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=libressl
|
2023-09-17 12:31:54 +00:00
|
|
|
PKG_VERSION:=3.7.3
|
|
|
|
PKG_HASH:=7948c856a90c825bd7268b6f85674a8dcd254bae42e221781b24e3f8dc335db3
|
2016-05-25 21:47:09 +00:00
|
|
|
|
2018-10-15 17:47:09 +00:00
|
|
|
PKG_CPE_ID:=cpe:/a:openbsd:libressl
|
|
|
|
|
2016-05-25 21:47:09 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
build: prefer HTTPS if available (for packages)
Changes PKG_SOURCE_URL's for arptables, bsdiff, dnsmasq,
fortify-headers, ipset, ipset-dns, libaudit, libpcap, libressl,
lua, lua5.3, tcpdump and valgrind, to HTTPS
Signed-off-by: Daniel Cousens <github@dcousens.com>
2022-09-30 00:13:46 +00:00
|
|
|
PKG_SOURCE_URL:=https://mirror.ox.ac.uk/pub/OpenBSD/LibreSSL \
|
2016-10-04 13:21:30 +00:00
|
|
|
http://ftp.jaist.ac.jp/pub/OpenBSD/LibreSSL \
|
2018-10-06 10:44:04 +00:00
|
|
|
https://ftp.openbsd.org/pub/OpenBSD/LibreSSL
|
2016-05-25 21:47:09 +00:00
|
|
|
|
|
|
|
HOST_BUILD_PARALLEL:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2020-12-23 09:16:17 +00:00
|
|
|
HOSTCC := $(HOSTCC_NOCACHE)
|
2022-07-20 23:14:10 +00:00
|
|
|
|
2021-06-19 21:45:11 +00:00
|
|
|
HOST_CFLAGS += $(HOST_FPIC)
|
2016-12-28 00:10:37 +00:00
|
|
|
|
2022-07-20 23:14:10 +00:00
|
|
|
HOST_CONFIGURE_ARGS += \
|
|
|
|
--enable-static \
|
|
|
|
--disable-shared \
|
2022-07-20 23:17:22 +00:00
|
|
|
--disable-asm \
|
2022-07-20 23:14:10 +00:00
|
|
|
--with-pic \
|
|
|
|
--disable-tests
|
|
|
|
|
2022-09-28 08:23:56 +00:00
|
|
|
define Host/Uninstall
|
|
|
|
-$(call Host/Compile/Default,uninstall)
|
|
|
|
endef
|
|
|
|
|
2016-05-25 21:47:09 +00:00
|
|
|
$(eval $(call HostBuild))
|