From 32056822685289eda1aef84d098e8957a376886b Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Wed, 10 Apr 2024 16:11:41 -0400 Subject: [PATCH] openssl: update to 3.3.0. * move c_rehash manpage to its package * move dev docs to their own subpackage. there's a huge amount of them and they don't need to be installed for building packages with openssl-devel --- srcpkgs/openssl-doc | 1 + srcpkgs/openssl/template | 19 ++++++++++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) create mode 120000 srcpkgs/openssl-doc diff --git a/srcpkgs/openssl-doc b/srcpkgs/openssl-doc new file mode 120000 index 00000000000000..fc538edfef4a65 --- /dev/null +++ b/srcpkgs/openssl-doc @@ -0,0 +1 @@ +openssl \ No newline at end of file diff --git a/srcpkgs/openssl/template b/srcpkgs/openssl/template index 51a138eee2002a..9126f5dcd42672 100644 --- a/srcpkgs/openssl/template +++ b/srcpkgs/openssl/template @@ -1,6 +1,6 @@ # Template file for 'openssl' pkgname=openssl -version=3.1.5 +version=3.3.0 revision=1 bootstrap=yes build_style=configure @@ -17,7 +17,7 @@ maintainer="John " license="Apache-2.0" homepage="https://www.openssl.org" distfiles="https://www.openssl.org/source/openssl-${version}.tar.gz" -checksum=6ae015467dabf0469b139ada93319327be24b98251ffaeceda0221848dc09262 +checksum=53e66b043322a606abf0087e7699a0e033a37fa13feb9742df35c3a33b18fb02 conf_files="/etc/ssl/openssl.cnf" replaces="libressl>=0" @@ -57,7 +57,7 @@ pre_build() { post_install() { if [ ! "$CHROOT_READY" ]; then - rm -f "${DESTDIR}/usr/bin/c_rehash" + rm -f "${DESTDIR}/usr/bin/c_rehash" "${DESTDIR}/usr/share/man/man1/c_rehash.1ssl" fi } @@ -81,6 +81,7 @@ openssl-c_rehash_package() { depends="openssl perl" pkg_install() { vmove usr/bin/c_rehash + vmove usr/share/man/man1/c_rehash.1ssl } } @@ -89,11 +90,19 @@ openssl-devel_package() { replaces="libressl-devel>=0" short_desc+=" - development files" pkg_install() { - vmove usr/share/man/man3 - vmove usr/share/doc vmove usr/include vmove usr/lib/pkgconfig + vmove usr/lib/cmake vmove "usr/lib/*.a" vmove "usr/lib/*.so" } } + +openssl-doc_package() { + short_desc+=" - documentation" + pkg_install() { + vmove usr/share/man/man3 + vmove usr/share/man/man7 + vmove usr/share/doc + } +}