forked from ports/compat-32
openssl11-32: initial commit, version 1.1.1s
This commit is contained in:
parent
e5dd53f678
commit
cd41c2c5ae
17
openssl11-32/.footprint
Normal file
17
openssl11-32/.footprint
Normal file
@ -0,0 +1,17 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/lib32/
|
||||
-rwxr-xr-x root/root usr/lib32/libcrypto.so.1.1
|
||||
-rwxr-xr-x root/root usr/lib32/libssl.so.1.1
|
||||
drwxr-xr-x root/root usr/lib32/openssl-1.1/
|
||||
drwxr-xr-x root/root usr/lib32/openssl-1.1/engines-1.1/
|
||||
-rwxr-xr-x root/root usr/lib32/openssl-1.1/engines-1.1/afalg.so
|
||||
-rwxr-xr-x root/root usr/lib32/openssl-1.1/engines-1.1/capi.so
|
||||
-rwxr-xr-x root/root usr/lib32/openssl-1.1/engines-1.1/padlock.so
|
||||
-rw-r--r-- root/root usr/lib32/openssl-1.1/libcrypto.a
|
||||
lrwxrwxrwx root/root usr/lib32/openssl-1.1/libcrypto.so -> ../libcrypto.so.1.1
|
||||
-rw-r--r-- root/root usr/lib32/openssl-1.1/libssl.a
|
||||
lrwxrwxrwx root/root usr/lib32/openssl-1.1/libssl.so -> ../libssl.so.1.1
|
||||
drwxr-xr-x root/root usr/lib32/openssl-1.1/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib32/openssl-1.1/pkgconfig/libcrypto.pc
|
||||
-rw-r--r-- root/root usr/lib32/openssl-1.1/pkgconfig/libssl.pc
|
||||
-rw-r--r-- root/root usr/lib32/openssl-1.1/pkgconfig/openssl.pc
|
7
openssl11-32/.signature
Normal file
7
openssl11-32/.signature
Normal file
@ -0,0 +1,7 @@
|
||||
untrusted comment: verify with /etc/ports/compat-32.pub
|
||||
RWSwxGo/zH7eXcoJowTtQk7c2F/zTLxzRQP9VlXPNHLLYEec/8+m8OnUe/JRXt2vnCYFw+LYQQeTWgMA3qw/pyAOpf4qPU2AbAY=
|
||||
SHA256 (Pkgfile) = e57f1c2aeb90d71422ba53dda8bf367dc4c418120b823bc52c38d7174c0e6fc9
|
||||
SHA256 (.footprint) = 05e003606d2cca98c92f7d92c29e9324c91719b64ef31d10b7d444e2075fd0e5
|
||||
SHA256 (openssl-1.1.1s.tar.gz) = c5ac01e760ee6ff0dab61d6b2bbd30146724d063eb322180c6f18a6f74e4b6aa
|
||||
SHA256 (no-rpath.patch) = 754d6107a306311e15a1db6a1cc031b81691c8b9865e8809ac60ca6f184c957c
|
||||
SHA256 (openssl-1.0-versioned-symbols.patch) = 353a84e4c92e36c379ebd9216b8f8fb9c271396583561eb84ac8c825979acaa6
|
39
openssl11-32/Pkgfile
Normal file
39
openssl11-32/Pkgfile
Normal file
@ -0,0 +1,39 @@
|
||||
# Description: Secure Sockets Layer and Transport Layer Security tools
|
||||
# URL: https://www.openssl.org/
|
||||
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
||||
|
||||
name=openssl11-32
|
||||
version=1.1.1s
|
||||
release=1
|
||||
source=(https://www.openssl.org/source/${name:0:7}-$version.tar.gz \
|
||||
no-rpath.patch openssl-1.0-versioned-symbols.patch)
|
||||
|
||||
build() {
|
||||
cd ${name:0:7}-$version
|
||||
#export MAKEFLAGS="$MAKEFLAGS -j1"
|
||||
export CC='gcc -m32'
|
||||
|
||||
./Configure --prefix=/usr \
|
||||
--openssldir=/etc/ssl \
|
||||
--libdir=lib32/openssl-1.1 \
|
||||
shared \
|
||||
enable-ec_nistp_64_gcc_128 linux-x86_64
|
||||
|
||||
sed -i "s|-O3|$CFLAGS|" Makefile
|
||||
|
||||
make depend
|
||||
make
|
||||
make DESTDIR=$PKG LIBDIR=lib32/openssl-1.1 MANDIR=/usr/share/man MANSUFFIX=ssl install_sw
|
||||
|
||||
find $PKG -name "*fips*" -delete
|
||||
chmod -R +w $PKG
|
||||
|
||||
rm -r $PKG/usr/{include,bin}
|
||||
mv "$PKG/usr/lib32/openssl-1.1/libcrypto.so.1.1" "$PKG/usr/lib32/"
|
||||
mv "$PKG/usr/lib32/openssl-1.1/libssl.so.1.1" "$PKG/usr/lib32/"
|
||||
ln -sf ../libssl.so.1.1 "$PKG/usr/lib32/openssl-1.1/libssl.so"
|
||||
ln -sf ../libcrypto.so.1.1 "$PKG/usr/lib32/openssl-1.1/libcrypto.so"
|
||||
|
||||
# Update includedir in .pc files
|
||||
sed -e 's|/include$|/include/openssl-1.1|' -i $PKG/usr/lib32/openssl-1.1/pkgconfig/*.pc
|
||||
}
|
11
openssl11-32/no-rpath.patch
Normal file
11
openssl11-32/no-rpath.patch
Normal 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
|
4667
openssl11-32/openssl-1.0-versioned-symbols.patch
Normal file
4667
openssl11-32/openssl-1.0-versioned-symbols.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user