summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2018-03-03 14:52:24 (GMT)
committerTony Theodore <tonyt@logyst.com>2018-03-06 10:31:04 (GMT)
commit5af055b4099a1742c00225d5ab83f5469afe2635 (patch)
tree4a68324611c9eecdb5791396041af3290954823b /plugins
parentac2cb10d3fb31f347a1c9de732eca3ebbf7287ff (diff)
downloadmxe-5af055b4099a1742c00225d5ab83f5469afe2635.zip
mxe-5af055b4099a1742c00225d5ab83f5469afe2635.tar.gz
mxe-5af055b4099a1742c00225d5ab83f5469afe2635.tar.bz2
openssl1.0 example: rename package to enable updates and filter 1.0.2(LTS)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/examples/openssl1.0/openssl1.0-1-fixes.patch (renamed from plugins/examples/openssl1.0/openssl-1-fixes.patch)0
-rw-r--r--plugins/examples/openssl1.0/openssl1.0-overlay.mk3
-rw-r--r--plugins/examples/openssl1.0/openssl1.0.mk (renamed from plugins/examples/openssl1.0/openssl.mk)5
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/examples/openssl1.0/openssl-1-fixes.patch b/plugins/examples/openssl1.0/openssl1.0-1-fixes.patch
index 132f1b4..132f1b4 100644
--- a/plugins/examples/openssl1.0/openssl-1-fixes.patch
+++ b/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 d1d2ea8..86488d2 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
index 13fd372..8add4f5 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