From 26477da178fa7c84edff5fd9d3c8ef28c0c3ad7d Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 23 Feb 2022 16:55:01 +0000 Subject: replaced openssl with libressl --- repo/system/coreutils.xibuild | 2 +- repo/system/kmod.xibuild | 2 +- repo/system/krb5.xibuild | 2 +- repo/system/ldns.xibuild | 2 +- repo/system/libarchive.xibuild | 2 +- repo/system/libressl.xibuild | 20 ++++++++++++++++++++ repo/system/libssh2.xibuild | 2 +- repo/system/openssl.xibuild | 20 -------------------- repo/system/python.xibuild | 2 +- 9 files changed, 27 insertions(+), 27 deletions(-) create mode 100644 repo/system/libressl.xibuild delete mode 100644 repo/system/openssl.xibuild (limited to 'repo/system') diff --git a/repo/system/coreutils.xibuild b/repo/system/coreutils.xibuild index 5f93eef..f261cf9 100644 --- a/repo/system/coreutils.xibuild +++ b/repo/system/coreutils.xibuild @@ -1,7 +1,7 @@ #!/bin/sh MAKEDEPS="make " -DEPS="glibc acl attr gmp libcap openssl libiconv" +DEPS="glibc acl attr gmp libcap libressl libiconv" PKG_VER=9.0 SOURCE=https://ftp.gnu.org/gnu/coreutils/coreutils-$PKG_VER.tar.xz diff --git a/repo/system/kmod.xibuild b/repo/system/kmod.xibuild index 29accd5..95056ec 100644 --- a/repo/system/kmod.xibuild +++ b/repo/system/kmod.xibuild @@ -1,7 +1,7 @@ #!/bin/sh MAKEDEPS="make " -DEPS="glibc zlib openssl xz zstd" +DEPS="glibc zlib libressl xz zstd" PKG_VER=29 SOURCE=https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-$PKG_VER.tar.xz diff --git a/repo/system/krb5.xibuild b/repo/system/krb5.xibuild index 0139ab3..f95ec27 100644 --- a/repo/system/krb5.xibuild +++ b/repo/system/krb5.xibuild @@ -24,7 +24,7 @@ prepare () { } build () { - # would be ideal to use openssl rather than builtin library + # would be ideal to use libressl rather than builtin library autoreconf ./configure --prefix=/usr \ --sysconfdir=/etc \ diff --git a/repo/system/ldns.xibuild b/repo/system/ldns.xibuild index c3224b7..372b9da 100644 --- a/repo/system/ldns.xibuild +++ b/repo/system/ldns.xibuild @@ -1,7 +1,7 @@ #!/bin/sh MAKEDEPS="make libpcap" -DEPS="openssl libpcap" +DEPS="libressl libpcap" PKG_VER=1.8.1 SOURCE=https://www.nlnetlabs.nl/downloads/ldns/ldns-$PKG_VER.tar.gz diff --git a/repo/system/libarchive.xibuild b/repo/system/libarchive.xibuild index 29c8095..d023980 100644 --- a/repo/system/libarchive.xibuild +++ b/repo/system/libarchive.xibuild @@ -1,7 +1,7 @@ #!/bin/sh MAKEDEPS="make autoconf libtool libpth libiconv" -DEPS="acl bzip2 expat lz4 openssl xz zlib zstd" +DEPS="acl bzip2 expat lz4 libressl xz zlib zstd" PKG_VER=3.5.2 SOURCE=https://github.com/libarchive/libarchive/releases/download/v$PKG_VER/libarchive-$PKG_VER.tar.xz diff --git a/repo/system/libressl.xibuild b/repo/system/libressl.xibuild new file mode 100644 index 0000000..68c5973 --- /dev/null +++ b/repo/system/libressl.xibuild @@ -0,0 +1,20 @@ +#!/bin/sh + +MAKEDEPS="make " +DEPS="glibc" + +PKG_VER=3.0.1 +SOURCE=https://github.com/libressl/libressl/archive/refs/tags/libressl-$PKG_VER.tar.gz +DESC="The open source management tools and libraries for cryptography" + +build () { + ./config --prefix=/usr --libressldir=/etc/ssl --libdir=lib shared zlib-dynamic + make +} + +package () { + sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile + make MANSUFFIX=ssl DESTDIR=$PKG_DEST install + mkdir -pv $PKG_DEST/usr/share/doc/libressl + cp -vfr doc/* $PKG_DEST/usr/share/doc/libressl +} diff --git a/repo/system/libssh2.xibuild b/repo/system/libssh2.xibuild index ebf8cdf..3547aa2 100644 --- a/repo/system/libssh2.xibuild +++ b/repo/system/libssh2.xibuild @@ -1,7 +1,7 @@ #!/bin/sh MAKEDEPS="make" -DEPS="openssl openssh libgcrypt zlib" +DEPS="libressl openssh libgcrypt zlib" PKG_VER=1.10.0 SOURCE=https://www.libssh2.org/download/libssh2-$PKG_VER.tar.gz diff --git a/repo/system/openssl.xibuild b/repo/system/openssl.xibuild deleted file mode 100644 index c2d5141..0000000 --- a/repo/system/openssl.xibuild +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -MAKEDEPS="make " -DEPS="glibc" - -PKG_VER=3.0.1 -SOURCE=https://github.com/openssl/openssl/archive/refs/tags/openssl-$PKG_VER.tar.gz -DESC="The open source management tools and libraries for cryptography" - -build () { - ./config --prefix=/usr --openssldir=/etc/ssl --libdir=lib shared zlib-dynamic - make -} - -package () { - sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile - make MANSUFFIX=ssl DESTDIR=$PKG_DEST install - mkdir -pv $PKG_DEST/usr/share/doc/openssl - cp -vfr doc/* $PKG_DEST/usr/share/doc/openssl -} diff --git a/repo/system/python.xibuild b/repo/system/python.xibuild index 5023ba0..d3c7fe8 100644 --- a/repo/system/python.xibuild +++ b/repo/system/python.xibuild @@ -1,7 +1,7 @@ #!/bin/sh MAKEDEPS="make" -DEPS="bzip2 expat gdbm libffi libnsl libxcrypt openssl zlib" +DEPS="bzip2 expat gdbm libffi libnsl libxcrypt libressl zlib" PKG_VER=3.10.0 SOURCE=https://www.python.org/ftp/python/$PKG_VER/Python-$PKG_VER.tgz -- cgit v1.2.1