From 3164aa78c4baa314ae042f720b65195784efdc40 Mon Sep 17 00:00:00 2001 From: Sam Bingner Date: Tue, 21 May 2019 15:47:31 -1000 Subject: Begin adding openssl1.1 libs --- data/_openssl1.1/_metadata/depends | 1 + data/_openssl1.1/_metadata/description | 1 + data/_openssl1.1/_metadata/license | 127 +++++++++++++++++++++++++++++++ data/_openssl1.1/_metadata/maintainer | 1 + data/_openssl1.1/_metadata/name | 1 + data/_openssl1.1/_metadata/priority | 1 + data/_openssl1.1/_metadata/role | 1 + data/_openssl1.1/_metadata/section | 1 + data/_openssl1.1/_metadata/tags | 1 + data/_openssl1.1/_metadata/version | 1 + data/_openssl1.1/iphoneos.diff | 24 ++++++ data/_openssl1.1/make.sh | 8 ++ data/_openssl1.1/openssl-1.1.1b.tar.gz | Bin 0 -> 8213737 bytes data/libssl1.1/_metadata/_openssl1.1.dep | 1 + data/libssl1.1/_metadata/depends | 1 + data/libssl1.1/_metadata/description | 1 + data/libssl1.1/_metadata/in.1443.00 | 0 data/libssl1.1/_metadata/license | 1 + data/libssl1.1/_metadata/maintainer | 1 + data/libssl1.1/_metadata/name | 1 + data/libssl1.1/_metadata/priority | 1 + data/libssl1.1/_metadata/role | 1 + data/libssl1.1/_metadata/section | 1 + data/libssl1.1/_metadata/tags | 1 + data/libssl1.1/_metadata/version | 1 + data/libssl1.1/make.sh | 3 + 26 files changed, 182 insertions(+) create mode 100644 data/_openssl1.1/_metadata/depends create mode 100644 data/_openssl1.1/_metadata/description create mode 100644 data/_openssl1.1/_metadata/license create mode 120000 data/_openssl1.1/_metadata/maintainer create mode 100644 data/_openssl1.1/_metadata/name create mode 100644 data/_openssl1.1/_metadata/priority create mode 100644 data/_openssl1.1/_metadata/role create mode 100644 data/_openssl1.1/_metadata/section create mode 100644 data/_openssl1.1/_metadata/tags create mode 100644 data/_openssl1.1/_metadata/version create mode 100644 data/_openssl1.1/iphoneos.diff create mode 100644 data/_openssl1.1/make.sh create mode 100644 data/_openssl1.1/openssl-1.1.1b.tar.gz create mode 120000 data/libssl1.1/_metadata/_openssl1.1.dep create mode 100644 data/libssl1.1/_metadata/depends create mode 100644 data/libssl1.1/_metadata/description create mode 100644 data/libssl1.1/_metadata/in.1443.00 create mode 120000 data/libssl1.1/_metadata/license create mode 120000 data/libssl1.1/_metadata/maintainer create mode 100644 data/libssl1.1/_metadata/name create mode 120000 data/libssl1.1/_metadata/priority create mode 120000 data/libssl1.1/_metadata/role create mode 120000 data/libssl1.1/_metadata/section create mode 120000 data/libssl1.1/_metadata/tags create mode 120000 data/libssl1.1/_metadata/version create mode 100644 data/libssl1.1/make.sh diff --git a/data/_openssl1.1/_metadata/depends b/data/_openssl1.1/_metadata/depends new file mode 100644 index 000000000..a779e5d04 --- /dev/null +++ b/data/_openssl1.1/_metadata/depends @@ -0,0 +1 @@ +ca-certificates diff --git a/data/_openssl1.1/_metadata/description b/data/_openssl1.1/_metadata/description new file mode 100644 index 000000000..3750ad4db --- /dev/null +++ b/data/_openssl1.1/_metadata/description @@ -0,0 +1 @@ +SSL library and cryptographic tools diff --git a/data/_openssl1.1/_metadata/license b/data/_openssl1.1/_metadata/license new file mode 100644 index 000000000..ff99d9724 --- /dev/null +++ b/data/_openssl1.1/_metadata/license @@ -0,0 +1,127 @@ + + LICENSE ISSUES + ============== + + The OpenSSL toolkit stays under a dual license, i.e. both the conditions of + the OpenSSL License and the original SSLeay license apply to the toolkit. + See below for the actual license texts. Actually both licenses are BSD-style + Open Source licenses. In case of any license issues related to OpenSSL + please contact openssl-core@openssl.org. + + OpenSSL License + --------------- + +/* ==================================================================== + * Copyright (c) 1998-2007 The OpenSSL Project. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * 3. All advertising materials mentioning features or use of this + * software must display the following acknowledgment: + * "This product includes software developed by the OpenSSL Project + * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" + * + * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to + * endorse or promote products derived from this software without + * prior written permission. For written permission, please contact + * openssl-core@openssl.org. + * + * 5. Products derived from this software may not be called "OpenSSL" + * nor may "OpenSSL" appear in their names without prior written + * permission of the OpenSSL Project. + * + * 6. Redistributions of any form whatsoever must retain the following + * acknowledgment: + * "This product includes software developed by the OpenSSL Project + * for use in the OpenSSL Toolkit (http://www.openssl.org/)" + * + * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY + * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + * ==================================================================== + * + * This product includes cryptographic software written by Eric Young + * (eay@cryptsoft.com). This product includes software written by Tim + * Hudson (tjh@cryptsoft.com). + * + */ + + Original SSLeay License + ----------------------- + +/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) + * All rights reserved. + * + * This package is an SSL implementation written + * by Eric Young (eay@cryptsoft.com). + * The implementation was written so as to conform with Netscapes SSL. + * + * This library is free for commercial and non-commercial use as long as + * the following conditions are aheared to. The following conditions + * apply to all code found in this distribution, be it the RC4, RSA, + * lhash, DES, etc., code; not just the SSL code. The SSL documentation + * included with this distribution is covered by the same copyright terms + * except that the holder is Tim Hudson (tjh@cryptsoft.com). + * + * Copyright remains Eric Young's, and as such any Copyright notices in + * the code are not to be removed. + * If this package is used in a product, Eric Young should be given attribution + * as the author of the parts of the library used. + * This can be in the form of a textual message at program startup or + * in documentation (online or textual) provided with the package. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * "This product includes cryptographic software written by + * Eric Young (eay@cryptsoft.com)" + * The word 'cryptographic' can be left out if the rouines from the library + * being used are not cryptographic related :-). + * 4. If you include any Windows specific code (or a derivative thereof) from + * the apps directory (application code) you must include an acknowledgement: + * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" + * + * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * The licence and distribution terms for any publically available version or + * derivative of this code cannot be changed. i.e. this code cannot simply be + * copied and put under another distribution licence + * [including the GNU Public Licence.] + */ + diff --git a/data/_openssl1.1/_metadata/maintainer b/data/_openssl1.1/_metadata/maintainer new file mode 120000 index 000000000..573d7ebef --- /dev/null +++ b/data/_openssl1.1/_metadata/maintainer @@ -0,0 +1 @@ +../../../people/sbingner \ No newline at end of file diff --git a/data/_openssl1.1/_metadata/name b/data/_openssl1.1/_metadata/name new file mode 100644 index 000000000..effce34b6 --- /dev/null +++ b/data/_openssl1.1/_metadata/name @@ -0,0 +1 @@ +OpenSSL diff --git a/data/_openssl1.1/_metadata/priority b/data/_openssl1.1/_metadata/priority new file mode 100644 index 000000000..a6a7b9cd7 --- /dev/null +++ b/data/_openssl1.1/_metadata/priority @@ -0,0 +1 @@ +standard diff --git a/data/_openssl1.1/_metadata/role b/data/_openssl1.1/_metadata/role new file mode 100644 index 000000000..8d0320866 --- /dev/null +++ b/data/_openssl1.1/_metadata/role @@ -0,0 +1 @@ +developer diff --git a/data/_openssl1.1/_metadata/section b/data/_openssl1.1/_metadata/section new file mode 100644 index 000000000..4b487b7d5 --- /dev/null +++ b/data/_openssl1.1/_metadata/section @@ -0,0 +1 @@ +Security diff --git a/data/_openssl1.1/_metadata/tags b/data/_openssl1.1/_metadata/tags new file mode 100644 index 000000000..a8928cec8 --- /dev/null +++ b/data/_openssl1.1/_metadata/tags @@ -0,0 +1 @@ +purpose::library diff --git a/data/_openssl1.1/_metadata/version b/data/_openssl1.1/_metadata/version new file mode 100644 index 000000000..2f8c8cfe6 --- /dev/null +++ b/data/_openssl1.1/_metadata/version @@ -0,0 +1 @@ +1.1.1b~1 diff --git a/data/_openssl1.1/iphoneos.diff b/data/_openssl1.1/iphoneos.diff new file mode 100644 index 000000000..e1d5d429b --- /dev/null +++ b/data/_openssl1.1/iphoneos.diff @@ -0,0 +1,24 @@ +diff -urN openssl-1.1.1b/Configurations/20-elucubratus.conf openssl-1.1.1b+iPhone/Configurations/20-elucubratus.conf +--- openssl-1.1.1b/Configurations/20-elucubratus.conf 1969-12-31 14:00:00.000000000 -1000 ++++ openssl-1.1.1b+iPhone/Configurations/20-elucubratus.conf 2019-05-21 15:33:25.000000000 -1000 +@@ -0,0 +1,20 @@ ++#### iPhoneOS/iOS ++# ++# It takes recent enough XCode to use following two targets. It shouldn't ++# be a problem by now, but if they don't work, original targets below ++# that depend on manual definition of environment variables should still ++# work... ++# ++my %targets = ( ++ "aarch64-apple-darwin17" => { ++ inherit_from => [ "darwin-common", asm("aarch64_asm") ], ++ CC => "aarch64-apple-darwin17-gcc", ++ cflags => add("-O2 -fomit-frame-pointer -fno-common"), ++ bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR", ++ perlasm_scheme => "ios64", ++ sys_id => "iphoneos", ++ }, ++); ++# +"arm-apple-darwin11","arm-apple-darwin11-gcc:-O3 -fomit-frame-pointer -fno-common::-D_REENTRANT:iOS:-Wl,-search_paths_first%:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-common:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", ++# +"armv7k-apple-darwin11","armv7k-apple-darwin11-gcc:-O3 -fomit-frame-pointer -fno-common::-D_REENTRANT:iOS:-Wl,-search_paths_first%:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-common:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", ++# +"aarch64-apple-darwin17","aarch64-apple-darwin17-gcc:-O3 -fomit-frame-pointer -fno-common::-D_REENTRANT:iOS:-Wl,-search_paths_first%:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-common:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", "iphoneos-arm" diff --git a/data/_openssl1.1/make.sh b/data/_openssl1.1/make.sh new file mode 100644 index 000000000..93e01af60 --- /dev/null +++ b/data/_openssl1.1/make.sh @@ -0,0 +1,8 @@ +pkg:setup +echo ./Configure -D__DARWIN_UNIX03 "${PKG_TARG}" --prefix=/usr --openssldir=/usr/lib/ssl shared +./Configure -D__DARWIN_UNIX03 "${PKG_TARG}" --prefix=/usr --openssldir=/usr/lib/ssl shared +pkg:make +make install_sw DESTDIR="${PKG_DEST}" +pkg: rm -rf /usr/lib/man /usr/lib/ssl/man +pkg: mkdir -p /etc/ssl +rm -rf "${PKG_DEST}"/usr/lib/*.a diff --git a/data/_openssl1.1/openssl-1.1.1b.tar.gz b/data/_openssl1.1/openssl-1.1.1b.tar.gz new file mode 100644 index 000000000..cdcb6cefa Binary files /dev/null and b/data/_openssl1.1/openssl-1.1.1b.tar.gz differ diff --git a/data/libssl1.1/_metadata/_openssl1.1.dep b/data/libssl1.1/_metadata/_openssl1.1.dep new file mode 120000 index 000000000..3af5cd9a2 --- /dev/null +++ b/data/libssl1.1/_metadata/_openssl1.1.dep @@ -0,0 +1 @@ +../../_openssl1.1 \ No newline at end of file diff --git a/data/libssl1.1/_metadata/depends b/data/libssl1.1/_metadata/depends new file mode 100644 index 000000000..a779e5d04 --- /dev/null +++ b/data/libssl1.1/_metadata/depends @@ -0,0 +1 @@ +ca-certificates diff --git a/data/libssl1.1/_metadata/description b/data/libssl1.1/_metadata/description new file mode 100644 index 000000000..50d8ced40 --- /dev/null +++ b/data/libssl1.1/_metadata/description @@ -0,0 +1 @@ +OpenSSL Libraries for version 1.1 diff --git a/data/libssl1.1/_metadata/in.1443.00 b/data/libssl1.1/_metadata/in.1443.00 new file mode 100644 index 000000000..e69de29bb diff --git a/data/libssl1.1/_metadata/license b/data/libssl1.1/_metadata/license new file mode 120000 index 000000000..511848c82 --- /dev/null +++ b/data/libssl1.1/_metadata/license @@ -0,0 +1 @@ +../../_openssl1.1/_metadata/license \ No newline at end of file diff --git a/data/libssl1.1/_metadata/maintainer b/data/libssl1.1/_metadata/maintainer new file mode 120000 index 000000000..e9760f3b8 --- /dev/null +++ b/data/libssl1.1/_metadata/maintainer @@ -0,0 +1 @@ +../../_openssl1.1/_metadata/maintainer \ No newline at end of file diff --git a/data/libssl1.1/_metadata/name b/data/libssl1.1/_metadata/name new file mode 100644 index 000000000..6144e76cf --- /dev/null +++ b/data/libssl1.1/_metadata/name @@ -0,0 +1 @@ +OpenSSL 1.1 Libraries diff --git a/data/libssl1.1/_metadata/priority b/data/libssl1.1/_metadata/priority new file mode 120000 index 000000000..0c135b573 --- /dev/null +++ b/data/libssl1.1/_metadata/priority @@ -0,0 +1 @@ +../../_openssl1.1/_metadata/priority \ No newline at end of file diff --git a/data/libssl1.1/_metadata/role b/data/libssl1.1/_metadata/role new file mode 120000 index 000000000..562693cbc --- /dev/null +++ b/data/libssl1.1/_metadata/role @@ -0,0 +1 @@ +../../_openssl1.1/_metadata/role \ No newline at end of file diff --git a/data/libssl1.1/_metadata/section b/data/libssl1.1/_metadata/section new file mode 120000 index 000000000..098a3a476 --- /dev/null +++ b/data/libssl1.1/_metadata/section @@ -0,0 +1 @@ +../../_openssl1.1/_metadata/section \ No newline at end of file diff --git a/data/libssl1.1/_metadata/tags b/data/libssl1.1/_metadata/tags new file mode 120000 index 000000000..4c97067b2 --- /dev/null +++ b/data/libssl1.1/_metadata/tags @@ -0,0 +1 @@ +../../_openssl1.1/_metadata/tags \ No newline at end of file diff --git a/data/libssl1.1/_metadata/version b/data/libssl1.1/_metadata/version new file mode 120000 index 000000000..7b77aa608 --- /dev/null +++ b/data/libssl1.1/_metadata/version @@ -0,0 +1 @@ +../../_openssl1.1/_metadata/version \ No newline at end of file diff --git a/data/libssl1.1/make.sh b/data/libssl1.1/make.sh new file mode 100644 index 000000000..ceceb8e65 --- /dev/null +++ b/data/libssl1.1/make.sh @@ -0,0 +1,3 @@ +pkg: mkdir -p /usr/lib +cp -a "$(PKG_DEST_ _openssl1.1)"/usr/lib "${PKG_DEST}"/usr/ +pkg: rm -rf /usr/lib/{lib{ssl,crypto}.dylib,ssl,pkgconfig} -- cgit v1.2.3