openssl1-32: initial import

This commit is contained in:
Danny Rawlins 2019-08-04 22:27:15 +10:00
parent e148ea2787
commit f3c1abfa20
6 changed files with 4747 additions and 0 deletions

0
openssl1-32/.32bit Normal file
View File

26
openssl1-32/.footprint Normal file
View File

@ -0,0 +1,26 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib32/
-r-xr-xr-x root/root usr/lib32/libcrypto.so.1.0.0
-r-xr-xr-x root/root usr/lib32/libssl.so.1.0.0
drwxr-xr-x root/root usr/lib32/openssl-1.0/
drwxr-xr-x root/root usr/lib32/openssl-1.0/engines/
-r-xr-xr-x root/root usr/lib32/openssl-1.0/engines/lib4758cca.so
-r-xr-xr-x root/root usr/lib32/openssl-1.0/engines/libaep.so
-r-xr-xr-x root/root usr/lib32/openssl-1.0/engines/libatalla.so
-r-xr-xr-x root/root usr/lib32/openssl-1.0/engines/libcapi.so
-r-xr-xr-x root/root usr/lib32/openssl-1.0/engines/libchil.so
-r-xr-xr-x root/root usr/lib32/openssl-1.0/engines/libcswift.so
-r-xr-xr-x root/root usr/lib32/openssl-1.0/engines/libgmp.so
-r-xr-xr-x root/root usr/lib32/openssl-1.0/engines/libgost.so
-r-xr-xr-x root/root usr/lib32/openssl-1.0/engines/libnuron.so
-r-xr-xr-x root/root usr/lib32/openssl-1.0/engines/libpadlock.so
-r-xr-xr-x root/root usr/lib32/openssl-1.0/engines/libsureware.so
-r-xr-xr-x root/root usr/lib32/openssl-1.0/engines/libubsec.so
-rw-r--r-- root/root usr/lib32/openssl-1.0/libcrypto.a
lrwxrwxrwx root/root usr/lib32/openssl-1.0/libcrypto.so -> ../libcrypto.so.1.0.0
-rw-r--r-- root/root usr/lib32/openssl-1.0/libssl.a
lrwxrwxrwx root/root usr/lib32/openssl-1.0/libssl.so -> ../libssl.so.1.0.0
drwxr-xr-x root/root usr/lib32/openssl-1.0/pkgconfig/
-rw-r--r-- root/root usr/lib32/openssl-1.0/pkgconfig/libcrypto.pc
-rw-r--r-- root/root usr/lib32/openssl-1.0/pkgconfig/libssl.pc
-rw-r--r-- root/root usr/lib32/openssl-1.0/pkgconfig/openssl.pc

7
openssl1-32/.signature Normal file
View File

@ -0,0 +1,7 @@
untrusted comment: verify with /etc/ports/compat-32.pub
RWSwxGo/zH7eXZMj7t+QxNoVVuNHikzgi4yYA8mcRiDPXq2mNn4alfHV0i3ZFgcALo623JHzAq7QAuOVQulFT53VzxiOeUq/jAg=
SHA256 (Pkgfile) = bfbe84bfe199927232abd6dad361e0aad4e681b5cce2e2f36d7ad90bd97b93ef
SHA256 (.footprint) = 354a99b42790f3acff956dbf448451edd541a567e44f3c7f97f80c2c0b6080c7
SHA256 (openssl-1.0.2s.tar.gz) = cabd5c9492825ce5bd23f3c3aeed6a97f8142f606d893df216411f07d1abab96
SHA256 (no-rpath.patch) = 754d6107a306311e15a1db6a1cc031b81691c8b9865e8809ac60ca6f184c957c
SHA256 (openssl-1.0-versioned-symbols.patch) = 353a84e4c92e36c379ebd9216b8f8fb9c271396583561eb84ac8c825979acaa6

36
openssl1-32/Pkgfile Normal file
View File

@ -0,0 +1,36 @@
# Description: Secure Sockets Layer and Transport Layer Security tools
# URL: http://www.openssl.org/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: openssl1
name=openssl1-32
version=1.0.2s
release=1
source=(http://www.openssl.org/source/openssl-$version.tar.gz
no-rpath.patch openssl-1.0-versioned-symbols.patch)
build() {
cd openssl-$version
patch -p0 -i $SRC/no-rpath.patch
patch -p1 -i $SRC/openssl-1.0-versioned-symbols.patch
export MAKEFLAGS="$MAKEFLAGS -j1"
export CC='gcc -m32'
./Configure \
--prefix='/usr' \
--libdir='lib32/openssl-1.0' \
--openssldir='/etc/ssl' \
shared no-ssl3-method linux-elf
make MAKEDEPPROG="${CC}" depend
make
make INSTALL_PREFIX=$PKG install_sw
rm -r $PKG/{etc,usr/{include,bin}}
mv $PKG/usr/lib32/{openssl-1.0/,}libcrypto.so.1.0.0
mv $PKG/usr/lib32/{openssl-1.0/,}libssl.so.1.0.0
ln -sf ../libssl.so.1.0.0 $PKG/usr/lib32/openssl-1.0/libssl.so
ln -sf ../libcrypto.so.1.0.0 $PKG/usr/lib32/openssl-1.0/libcrypto.so
sed -e 's|/include$|/include/openssl-1.0|' -i $PKG/usr/lib32/openssl-1.0/pkgconfig/*.pc
}

View File

@ -0,0 +1,11 @@
--- Makefile.shared.no-rpath 2005-06-23 22:47:54.000000000 +0200
+++ Makefile.shared 2005-11-16 22:35:37.000000000 +0100
@@ -153,7 +153,7 @@
NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \
SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-Bsymbolic -Wl,-soname=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"
-DO_GNU_APP=LDFLAGS="$(CFLAGS) -Wl,-rpath,$(LIBRPATH)"
+DO_GNU_APP=LDFLAGS="$(CFLAGS)"
#This is rather special. It's a special target with which one can link
#applications without bothering with any features that have anything to

File diff suppressed because it is too large Load Diff