From 5af055b4099a1742c00225d5ab83f5469afe2635 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sun, 4 Mar 2018 01:52:24 +1100 Subject: [PATCH] openssl1.0 example: rename package to enable updates and filter 1.0.2(LTS) --- .../{openssl-1-fixes.patch => openssl1.0-1-fixes.patch} | 0 plugins/examples/openssl1.0/openssl1.0-overlay.mk | 3 ++- plugins/examples/openssl1.0/{openssl.mk => openssl1.0.mk} | 5 ++--- 3 files changed, 4 insertions(+), 4 deletions(-) rename plugins/examples/openssl1.0/{openssl-1-fixes.patch => openssl1.0-1-fixes.patch} (100%) rename plugins/examples/openssl1.0/{openssl.mk => openssl1.0.mk} (94%) diff --git a/plugins/examples/openssl1.0/openssl-1-fixes.patch b/plugins/examples/openssl1.0/openssl1.0-1-fixes.patch similarity index 100% rename from plugins/examples/openssl1.0/openssl-1-fixes.patch rename to plugins/examples/openssl1.0/openssl1.0-1-fixes.patch diff --git a/plugins/examples/openssl1.0/openssl1.0-overlay.mk b/plugins/examples/openssl1.0/openssl1.0-overlay.mk index d1d2ea87..86488d20 100644 --- a/plugins/examples/openssl1.0/openssl1.0-overlay.mk +++ b/plugins/examples/openssl1.0/openssl1.0-overlay.mk @@ -4,6 +4,7 @@ $(PLUGIN_HEADER) # override relevant variables to build against frozen v1.0.x series dcmtk_CONFIGURE_OPTS := --with-openssl +dcmtk_DEPS := $(filter-out openssl,$(dcmtk_DEPS)) openssl1.0 -vmime_DEPS := $(filter-out gnutls,$(vmime_DEPS)) openssl +vmime_DEPS := $(filter-out gnutls,$(vmime_DEPS)) openssl1.0 vmime_TLS_LIB := openssl diff --git a/plugins/examples/openssl1.0/openssl.mk b/plugins/examples/openssl1.0/openssl1.0.mk similarity index 94% rename from plugins/examples/openssl1.0/openssl.mk rename to plugins/examples/openssl1.0/openssl1.0.mk index 13fd372d..8add4f51 100644 --- a/plugins/examples/openssl1.0/openssl.mk +++ b/plugins/examples/openssl1.0/openssl1.0.mk @@ -1,6 +1,6 @@ # This file is part of MXE. See LICENSE.md for licensing information. -PKG := openssl +PKG := openssl1.0 $(PKG)_WEBSITE := https://www.openssl.org/ $(PKG)_IGNORE := $(PKG)_VERSION := 1.0.2n @@ -11,10 +11,9 @@ $(PKG)_URL := https://www.openssl.org/source/$($(PKG)_FILE) $(PKG)_URL_2 := https://www.openssl.org/source/old/$(call tr,$([a-z]),,$($(PKG)_VERSION))/$($(PKG)_FILE) $(PKG)_DEPS := cc zlib -$(PKG)_PATCHES := $(basename $(lastword $(MAKEFILE_LIST)))-1-fixes.patch - define $(PKG)_UPDATE $(WGET) -q -O- 'https://www.openssl.org/source/' | \ + grep "openssl-1.0.2" | \ $(SED) -n 's,.*openssl-\([0-9][0-9a-z.]*\)\.tar.*,\1,p' | \ $(SORT) -V | \ tail -1