Skip to content

Commit b8307db

Browse files
committed
OpenSSL 1.1.0 series
OpenSSL 1.1.0j
1 parent 4b30108 commit b8307db

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

cross/openssl-1.1.0/Makefile

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
PKG_NAME = openssl-1.1.0
2+
PKG_VERS = j
3+
PKG_EXT = tar.gz
4+
PKG_DIST_NAME = openssl-1.1.0$(PKG_VERS).$(PKG_EXT)
5+
PKG_DIST_SITE = https://www.openssl.org/source
6+
PKG_DIR = $(PKG_NAME)$(PKG_VERS)
7+
8+
DEPENDS = cross/zlib
9+
10+
HOMEPAGE = http://www.openssl.org
11+
COMMENT = Compression Library
12+
LICENSE = http://www.openssl.org/source/license.html
13+
14+
CONFIGURE_TARGET = myConfigure
15+
16+
INSTALL_TARGET = myInstall
17+
18+
STAGING_INSTALL_PREFIX := $(INSTALL_DIR)
19+
20+
include ../../mk/spksrc.cross-cc.mk
21+
22+
OPENSSL_ARCH =
23+
ifeq ($(findstring $(ARCH),$(x64_ARCHES)),$(ARCH))
24+
OPENSSL_ARCH = linux-x86_64
25+
endif
26+
ifeq ($(findstring $(ARCH),$(x86_ARCHES)),$(ARCH))
27+
OPENSSL_ARCH = linux-generic32
28+
endif
29+
ifeq ($(findstring $(ARCH),$(ARM5_ARCHES)),$(ARCH))
30+
OPENSSL_ARCH = synology-armle
31+
endif
32+
ifeq ($(findstring $(ARCH),$(ARM7_ARCHES)),$(ARCH))
33+
OPENSSL_ARCH = linux-generic32
34+
endif
35+
ifeq ($(findstring $(ARCH),$(ARM8_ARCHES)),$(ARCH))
36+
OPENSSL_ARCH = linux-aarch64
37+
endif
38+
ifeq ($(findstring $(ARCH), powerpc),$(ARCH))
39+
OPENSSL_ARCH = synology-ppc
40+
endif
41+
# TODO: validate the best OPENSSL_ARCH for the following archs:
42+
ifeq ($(findstring $(ARCH), ppc824x ppc853x ppc854x qoriq),$(ARCH))
43+
OPENSSL_ARCH = linux-generic32
44+
endif
45+
ifeq ($(strip $(OPENSSL_ARCH)),)
46+
# unexpected arch. Please add arch to mk/spksrc.common.mk
47+
$(error Arch $(ARCH) not expected yet)
48+
endif
49+
50+
51+
.PHONY: myConfigure
52+
myConfigure:
53+
$(RUN) ./Configure --openssldir=$(INSTALL_PREFIX) $(OPENSSL_ARCH) zlib-dynamic shared threads
54+
55+
.PHONY: myInstall
56+
myInstall:
57+
$(RUN) $(MAKE) install_sw INSTALL_PREFIX=$(INSTALL_DIR)

cross/openssl-1.1.0/digests

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
openssl-1.1.0j.tar.gz SHA1 dcad1efbacd9a4ed67d4514470af12bbe2a1d60a
2+
openssl-1.1.0j.tar.gz SHA256 31bec6c203ce1a8e93d5994f4ed304c63ccf07676118b6634edded12ad1b3246
3+
openssl-1.1.0j.tar.gz MD5 b4ca5b78ae6ae79da80790b30dbedbdc

0 commit comments

Comments
 (0)