Github messages for voidlinux
 help / color / mirror / Atom feed
From: dkwo <dkwo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] update openssl to 3 series
Date: Mon, 20 Feb 2023 22:00:17 +0100	[thread overview]
Message-ID: <20230220210017.Koe9t1CvWS-c7I4Fk2mwMr41LvUeWwIOi0fzH7PBBfk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37681@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 590 bytes --]

There is an updated pull request by dkwo against master on the void-packages repository

https://github.com/dkwo/void-packages openssl3
https://github.com/void-linux/void-packages/pull/37681

update openssl to 3 series
- xbps: still broken, see https://github.com/void-linux/xbps/issues/531
- use `xrevbump "bump for openssl-3.0" $(xbps-query -Rs libssl.so -p shlib-requires | cut -d ':' -f 1 | xargs -n1 xbps-uhelper getpkgname)` and same for `libcrypto`, or use `sort -u file1 file2`.
[ci skip]

A patch file from https://github.com/void-linux/void-packages/pull/37681.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openssl3-37681.patch --]
[-- Type: text/x-diff, Size: 20919 bytes --]

From 8b4b8343510cc55e216496dc35a5204161dc2f32 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Sat, 25 Jun 2022 18:22:28 +0200
Subject: [PATCH 1/9] openssl: update to 3.0.8

---
 common/shlibs                           |  4 +-
 srcpkgs/{libcrypto1.1 => libcrypto3.0}  |  0
 srcpkgs/{libssl1.1 => libssl3.0}        |  0
 srcpkgs/openssl/patches/ppc-auxv.patch  | 25 -------
 srcpkgs/openssl/patches/ppc64.patch     | 96 -------------------------
 srcpkgs/openssl/patches/xxx-ppcle.patch | 53 --------------
 srcpkgs/openssl/template                | 20 +++---
 7 files changed, 14 insertions(+), 184 deletions(-)
 rename srcpkgs/{libcrypto1.1 => libcrypto3.0} (100%)
 rename srcpkgs/{libssl1.1 => libssl3.0} (100%)
 delete mode 100644 srcpkgs/openssl/patches/ppc-auxv.patch
 delete mode 100644 srcpkgs/openssl/patches/ppc64.patch
 delete mode 100644 srcpkgs/openssl/patches/xxx-ppcle.patch

diff --git a/common/shlibs b/common/shlibs
index 0c1d545fbe27..235d49962abf 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1766,8 +1766,8 @@ libid3.so id3lib-3.8.3_7
 libid3-3.8.so.3 id3lib-3.8.3_7
 libgirara-gtk3.so.3 girara-0.2.8_1
 libjq.so.1 jq-1.6_2
-libcrypto.so.1.1 libcrypto1.1-1.1.1f_1
-libssl.so.1.1 libssl1.1-1.1.1f_1
+libcrypto.so.3 libcrypto3.0-3.0.7_1
+libssl.so.3 libssl3.0-3.0.7_1
 libvamp-hostsdk.so.3 libvamp-plugin-sdk-2.2_6
 libportmidi.so portmidi-217_1
 libWildMidi.so.2 libwildmidi-0.4.3_1
diff --git a/srcpkgs/libcrypto1.1 b/srcpkgs/libcrypto3.0
similarity index 100%
rename from srcpkgs/libcrypto1.1
rename to srcpkgs/libcrypto3.0
diff --git a/srcpkgs/libssl1.1 b/srcpkgs/libssl3.0
similarity index 100%
rename from srcpkgs/libssl1.1
rename to srcpkgs/libssl3.0
diff --git a/srcpkgs/openssl/patches/ppc-auxv.patch b/srcpkgs/openssl/patches/ppc-auxv.patch
deleted file mode 100644
index 274ac2d55998..000000000000
--- a/srcpkgs/openssl/patches/ppc-auxv.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/crypto/ppccap.c b/crypto/ppccap.c
-index eeaa47c..e6eeb14 100644
---- a/crypto/ppccap.c
-+++ b/crypto/ppccap.c
-@@ -207,17 +207,9 @@ size_t OPENSSL_instrument_bus2(unsigned int *out, size_t cnt, size_t max)
-         return 0;
- }
- 
--#if defined(__GLIBC__) && defined(__GLIBC_PREREQ)
--# if __GLIBC_PREREQ(2, 16)
--#  include <sys/auxv.h>
--#  define OSSL_IMPLEMENT_GETAUXVAL
--# elif defined(__ANDROID_API__)
--/* see https://developer.android.google.cn/ndk/guides/cpu-features */
--#  if __ANDROID_API__ >= 18
--#   include <sys/auxv.h>
--#   define OSSL_IMPLEMENT_GETAUXVAL
--#  endif
--# endif
-+#if defined(__linux__)
-+# include <sys/auxv.h>
-+# define OSSL_IMPLEMENT_GETAUXVAL
- #endif
- 
- #if defined(__FreeBSD__)
diff --git a/srcpkgs/openssl/patches/ppc64.patch b/srcpkgs/openssl/patches/ppc64.patch
deleted file mode 100644
index c75ceedba2c0..000000000000
--- a/srcpkgs/openssl/patches/ppc64.patch
+++ /dev/null
@@ -1,96 +0,0 @@
-From 34ab13b7d8e3e723adb60be8142e38b7c9cd382a Mon Sep 17 00:00:00 2001
-From: Andy Polyakov <appro@openssl.org>
-Date: Sun, 5 May 2019 18:25:50 +0200
-Subject: [PATCH] crypto/perlasm/ppc-xlate.pl: add linux64v2 flavour
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-This is a big endian ELFv2 configuration. ELFv2 was already being
-used for little endian, and big endian was traditionally ELFv1
-but there are practical configurations that use ELFv2 with big
-endian nowadays (Adélie Linux, Void Linux, possibly Gentoo, etc.)
-
-Reviewed-by: Paul Dale <paul.dale@oracle.com>
-Reviewed-by: Richard Levitte <levitte@openssl.org>
-(Merged from https://github.com/openssl/openssl/pull/8883)
----
- crypto/perlasm/ppc-xlate.pl | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/crypto/perlasm/ppc-xlate.pl b/crypto/perlasm/ppc-xlate.pl
-index e52f2f6ea62..5fcd0526dff 100755
---- a/crypto/perlasm/ppc-xlate.pl
-+++ b/crypto/perlasm/ppc-xlate.pl
-@@ -49,7 +49,7 @@
- 	/osx/		&& do { $name = "_$name";
- 				last;
- 			      };
--	/linux.*(32|64le)/
-+	/linux.*(32|64(le|v2))/
- 			&& do {	$ret .= ".globl	$name";
- 				if (!$$type) {
- 				    $ret .= "\n.type	$name,\@function";
-@@ -80,7 +80,7 @@
- };
- my $text = sub {
-     my $ret = ($flavour =~ /aix/) ? ".csect\t.text[PR],7" : ".text";
--    $ret = ".abiversion	2\n".$ret	if ($flavour =~ /linux.*64le/);
-+    $ret = ".abiversion	2\n".$ret	if ($flavour =~ /linux.*64(le|v2)/);
-     $ret;
- };
- my $machine = sub {
-@@ -186,7 +186,7 @@
- 
- # Some ABIs specify vrsave, special-purpose register #256, as reserved
- # for system use.
--my $no_vrsave = ($flavour =~ /aix|linux64le/);
-+my $no_vrsave = ($flavour =~ /aix|linux64(le|v2)/);
- my $mtspr = sub {
-     my ($f,$idx,$ra) = @_;
-     if ($idx == 256 && $no_vrsave) {
-@@ -318,7 +318,7 @@ sub vfour {
- 	if ($label) {
- 	    my $xlated = ($GLOBALS{$label} or $label);
- 	    print "$xlated:";
--	    if ($flavour =~ /linux.*64le/) {
-+	    if ($flavour =~ /linux.*64(le|v2)/) {
- 		if ($TYPES{$label} =~ /function/) {
- 		    printf "\n.localentry	%s,0\n",$xlated;
- 		}
-
-From 098404128383ded87ba390dd74ecd9e2ffa6f530 Mon Sep 17 00:00:00 2001
-From: Andy Polyakov <appro@openssl.org>
-Date: Sun, 5 May 2019 18:30:55 +0200
-Subject: [PATCH] Configure: use ELFv2 ABI on some ppc64 big endian systems
-
-If _CALL_ELF is defined to be 2, it's an ELFv2 system.
-Conditionally switch to the v2 perlasm scheme.
-
-Reviewed-by: Paul Dale <paul.dale@oracle.com>
-Reviewed-by: Richard Levitte <levitte@openssl.org>
-(Merged from https://github.com/openssl/openssl/pull/8883)
----
- Configure | 10 +++++++---
- 1 file changed, 7 insertions(+), 3 deletions(-)
-
-diff --git a/Configure b/Configure
-index 22082deb4c7..e303d98deb3 100755
---- a/Configure
-+++ b/Configure
-@@ -1402,8 +1402,15 @@
- my %predefined_C = compiler_predefined($config{CROSS_COMPILE}.$config{CC});
- my %predefined_CXX = $config{CXX}
-     ? compiler_predefined($config{CROSS_COMPILE}.$config{CXX})
-     : ();
- 
-+unless ($disabled{asm}) {
-+    # big endian systems can use ELFv2 ABI
-+    if ($target eq "linux-ppc64") {
-+        $target{perlasm_scheme} = "linux64v2" if ($predefined_C{_CALL_ELF} == 2);
-+    }
-+}
-+
- # Check for makedepend capabilities.
- if (!$disabled{makedepend}) {
-     if ($config{target} =~ /^(VC|vms)-/) {
diff --git a/srcpkgs/openssl/patches/xxx-ppcle.patch b/srcpkgs/openssl/patches/xxx-ppcle.patch
deleted file mode 100644
index 2498af968899..000000000000
--- a/srcpkgs/openssl/patches/xxx-ppcle.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-commit 56e07856a7a9f7ce3582b8cf3843f252691475a6
-Author: q66 <daniel@octaforge.org>
-Date:   Fri Mar 5 18:36:01 2021 +0100
-
-    add ppcle support
-
-diff --git Configurations/10-main.conf Configurations/10-main.conf
-index 8dc3e85..18f10c9 100644
---- a/Configurations/10-main.conf
-+++ b/Configurations/10-main.conf
-@@ -665,6 +665,11 @@ my %targets = (
-         perlasm_scheme   => "linux32",
-         lib_cppflags     => add("-DB_ENDIAN"),
-     },
-+    "linux-ppcle" => {
-+        inherit_from     => [ "linux-generic32", asm("ppc32_asm") ],
-+        perlasm_scheme   => "linux32le",
-+        lib_cppflags     => add("-DL_ENDIAN"),
-+    },
-     "linux-ppc64" => {
-         inherit_from     => [ "linux-generic64", asm("ppc64_asm") ],
-         cflags           => add("-m64"),
-diff --git config config
-index 26225ca..6a1e830 100755
---- a/config
-+++ b/config
-@@ -543,6 +543,7 @@ case "$GUESSOS" in
- 	fi
- 	;;
-   ppc64le-*-linux2) OUT="linux-ppc64le" ;;
-+  ppcle-*-linux2) OUT="linux-ppcle" ;;
-   ppc-*-linux2) OUT="linux-ppc" ;;
-   mips64*-*-linux2)
- 	echo "WARNING! If you wish to build 64-bit library, then you have to"
-diff --git crypto/poly1305/asm/poly1305-ppc.pl crypto/poly1305/asm/poly1305-ppc.pl
-index e5d6933..3283f6b 100755
---- a/crypto/poly1305/asm/poly1305-ppc.pl
-+++ b/crypto/poly1305/asm/poly1305-ppc.pl
-@@ -314,10 +314,10 @@ $code.=<<___;
- 	beq-	Lno_key
- ___
- $code.=<<___	if ($LITTLE_ENDIAN);
--	lw	$h0,0($inp)		# load key material
--	lw	$h1,4($inp)
--	lw	$h2,8($inp)
--	lw	$h3,12($inp)
-+	lwz	$h0,0($inp)		# load key material
-+	lwz	$h1,4($inp)
-+	lwz	$h2,8($inp)
-+	lwz	$h3,12($inp)
- ___
- $code.=<<___	if (!$LITTLE_ENDIAN);
- 	li	$h1,4
diff --git a/srcpkgs/openssl/template b/srcpkgs/openssl/template
index 79da0b051aad..0c2177ed397f 100644
--- a/srcpkgs/openssl/template
+++ b/srcpkgs/openssl/template
@@ -1,6 +1,6 @@
 # Template file for 'openssl'
 pkgname=openssl
-version=1.1.1t
+version=3.0.8
 revision=1
 bootstrap=yes
 build_style=configure
@@ -14,10 +14,10 @@ make_check_target=test
 make_install_args="MANSUFFIX=ssl"
 short_desc="Toolkit for Secure Sockets Layer and Transport Layer Security"
 maintainer="John <me@johnnynator.dev>"
-license="OpenSSL"
+license="Apache-2.0"
 homepage="https://www.openssl.org"
 distfiles="https://www.openssl.org/source/openssl-${version}.tar.gz"
-checksum=8dee9b24bdb1dcbf0c3d1e9b02fb8f6bf22165e807f45adeb7c9677536859d3b
+checksum=6c13d2bf38fdf31eac3ce2a347073673f5d63263398f1f69d0df4a41253e4b3e
 conf_files="/etc/ssl/openssl.cnf"
 replaces="libressl>=0"
 
@@ -28,7 +28,11 @@ if [ "$CHROOT_READY" ]; then
 	build_options_default="asm"
 else
 	# openssl-c_rehash depends on perl, ignore on bootstrap
-	subpackages="libcrypto1.1 libssl1.1 openssl-devel"
+	subpackages="libcrypto3.0 libssl3.0 openssl-devel"
+fi
+
+if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
+	makedepends+=" libatomic-devel"
 fi
 
 case $XBPS_TARGET_MACHINE in
@@ -63,15 +67,15 @@ post_install() {
 	fi
 }
 
-libcrypto1.1_package() {
+libcrypto3.0_package() {
 	short_desc+=" - crypto library"
 	pkg_install() {
 		vmove "usr/lib/libcrypto.so.*"
-		vmove usr/lib/engines-1.1
+		vmove usr/lib/engines-3
 	}
 }
 
-libssl1.1_package() {
+libssl3.0_package() {
 	short_desc+=" - SSL/TLS library"
 	pkg_install() {
 		vmove "usr/lib/libssl.so.*"
@@ -87,7 +91,7 @@ openssl-c_rehash_package() {
 }
 
 openssl-devel_package() {
-	depends="${sourcepkg}>=${version}_${revision} libssl1.1>=${version}_${revision} libcrypto1.1>=${version}_${revision}"
+	depends="${sourcepkg}>=${version}_${revision} libssl3.0>=${version}_${revision} libcrypto3.0>=${version}_${revision}"
 	replaces="libressl-devel>=0"
 	short_desc+=" - development files"
 	pkg_install() {

From 1f6f59b6270ec4ce6b92d8bbd2e6a8060f5370dc Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Wed, 8 Feb 2023 18:03:53 -0500
Subject: [PATCH 2/9] racket: depend on libssl3.0

---
 srcpkgs/racket/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/racket/template b/srcpkgs/racket/template
index 2d96716c8afe..8c6df71d5c82 100644
--- a/srcpkgs/racket/template
+++ b/srcpkgs/racket/template
@@ -1,7 +1,7 @@
 # Template file for 'racket'
 pkgname=racket
 version=8.8
-revision=1
+revision=2
 archs="aarch64* armv6* armv7* i686* x86_64*"
 build_wrksrc=src
 build_style=gnu-configure
@@ -9,7 +9,7 @@ configure_args="--enable-useprefix --enable-curses"
 make_build_args="CC_FOR_BUILD=cc"
 hostmakedepends="liberation-fonts-ttf"
 makedepends="gtk+3-devel liblz4-devel ncurses-devel sqlite-devel zlib-devel"
-depends="gtk+3 libssl1.1"
+depends="gtk+3 libssl3.0"
 short_desc="Multi-paradigm programming language in the Lisp-Scheme family"
 maintainer="Andrea Brancaleoni <abc@pompel.me>"
 license="LGPL-3.0-only, MIT"

From 99327e9a291eede5ce176a557a77c140e409f56a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Sat, 25 Jun 2022 18:33:57 +0200
Subject: [PATCH 3/9] xbps: add patch for openssl, CFLAG

---
 srcpkgs/xbps/patches/openssl.patch | 23 +++++++++++++++++++++++
 srcpkgs/xbps/template              |  2 ++
 2 files changed, 25 insertions(+)
 create mode 100644 srcpkgs/xbps/patches/openssl.patch

diff --git a/srcpkgs/xbps/patches/openssl.patch b/srcpkgs/xbps/patches/openssl.patch
new file mode 100644
index 000000000000..ca7274542422
--- /dev/null
+++ b/srcpkgs/xbps/patches/openssl.patch
@@ -0,0 +1,23 @@
+From db1766986c4389eb7e17c0e0076971b711617ef9 Mon Sep 17 00:00:00 2001
+From: Juan RP <xtraeme@gmail.com>
+Date: Thu, 16 Apr 2020 14:57:18 +0200
+Subject: [PATCH] configure: accept any openssl version.
+
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index da8ae75f..383bc927 100755
+--- a/configure
++++ b/configure
+@@ -704,7 +704,7 @@ fi
+ # libssl with pkg-config support is required.
+ #
+ printf "Checking for libssl via pkg-config ... "
+-if pkg-config --exists 'libssl < 1.2' && ! pkg-config --exists libtls ; then
++if pkg-config --exists 'libssl' && ! pkg-config --exists libtls ; then
+ 	echo "found OpenSSL version $(pkg-config --modversion libssl)."
+ elif pkg-config --exists libssl libtls; then
+ 	echo "found LibreSSL version $(pkg-config --modversion libssl)."
+
diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template
index 1c9373c498dc..cf5f775f1375 100644
--- a/srcpkgs/xbps/template
+++ b/srcpkgs/xbps/template
@@ -20,6 +20,8 @@ depends="ca-certificates xbps-triggers"
 make_dirs="/etc/xbps.d 0755 root root"
 
 LDFLAGS="-ldl -pthread"
+# openssl3
+CFLAGS+=" -Wno-error"
 
 if [ "$CHROOT_READY" ]; then
 	makedepends+=" atf-devel"

From 67b55cc2057be0fe3837583d301067919a78b884 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Sat, 28 Jan 2023 16:58:32 -0500
Subject: [PATCH 4/9] git-crypt: update to 0.7.0, add CXXFLAG for openssl3

---
 srcpkgs/git-crypt/template | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/git-crypt/template b/srcpkgs/git-crypt/template
index f5c4c79b664d..211ab8a0adab 100644
--- a/srcpkgs/git-crypt/template
+++ b/srcpkgs/git-crypt/template
@@ -1,7 +1,7 @@
 # Template file for 'git-crypt'
 pkgname=git-crypt
-version=0.6.0
-revision=8
+version=0.7.0
+revision=1
 build_style=gnu-makefile
 make_use_env=yes
 make_build_args="ENABLE_MAN=yes"
@@ -13,7 +13,14 @@ maintainer="Andy Cobaugh <andrewcobaugh@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://www.agwa.name/projects/git-crypt/"
 distfiles="https://github.com/AGWA/git-crypt/archive/${version}.tar.gz"
-checksum=777c0c7aadbbc758b69aff1339ca61697011ef7b92f1d1ee9518a8ee7702bb78
+checksum=2210a89588169ae9a54988c7fdd9717333f0c6053ff704d335631a387bd3bcff
+
+do_build() {
+	make \
+		PREFIX=/usr prefix=/usr \
+		CXXFLAGS="$CXXFLAGS -DOPENSSL_API_COMPAT=0x30000000L" \
+		${makejobs} ${make_build_args} ${make_build_target}
+}
 
 post_install() {
 	vdoc README

From bc9cd51029fc48f46afc198dbf887fb4afaeb543 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 18 Feb 2023 12:12:50 +0100
Subject: [PATCH 5/9] git-brws: bump for openssl-3.0

---
 srcpkgs/git-brws/template | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/git-brws/template b/srcpkgs/git-brws/template
index ea5e550b0106..9ebcec181a1b 100644
--- a/srcpkgs/git-brws/template
+++ b/srcpkgs/git-brws/template
@@ -1,7 +1,7 @@
 # Template file for 'git-brws'
 pkgname=git-brws
 version=0.11.12
-revision=2
+revision=3
 build_style=cargo
 hostmakedepends="pkg-config"
 makedepends="openssl-devel"
@@ -12,9 +12,16 @@ homepage="https://rhysd.github.io/git-brws/"
 distfiles="https://github.com/rhysd/git-brws/archive/v${version}.tar.gz"
 checksum=3a4bbf93f0b16562260ca66c2b60c655d5bfc690d0229d11757be76d95cb81c5
 
-pre_build() {
+post_patch() {
 	# fixes an indexmap error when cross compiling
 	cargo update --package autocfg:1.0.1 --precise 1.1.0
+
+	# required for openssl3 compat
+	cargo update --package openssl-sys:0.9.58 --precise 0.9.80
+	cargo update --package openssl:0.10.30 --precise 0.10.45
+
+	# required for compatibility with Rust >= 1.64.0
+	cargo update --package socket2:0.3.15 --precise 0.3.19
 }
 
 post_install() {

From e93ef8a8b5f108f187b23036d9caec66c729b49a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 18 Feb 2023 12:13:29 +0100
Subject: [PATCH 6/9] git-series: bump for openssl-3.0

---
 srcpkgs/git-series/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/git-series/template b/srcpkgs/git-series/template
index 6c7dc54af0c7..7f9f691abd20 100644
--- a/srcpkgs/git-series/template
+++ b/srcpkgs/git-series/template
@@ -1,7 +1,7 @@
 # Template file for 'git-series'
 pkgname=git-series
 version=0.9.1
-revision=14
+revision=15
 build_style=cargo
 hostmakedepends="cmake pkg-config perl"
 makedepends="libgit2-devel libcurl-devel"
@@ -14,9 +14,9 @@ distfiles="https://github.com/git-series/git-series/archive/${version}.tar.gz"
 checksum=c0362e19d3fa168a7cb0e260fcdecfe070853b163c9f2dfd2ad8213289bc7e5f
 
 post_extract() {
-	cargo update --package libc --precise 0.2.55
-	cargo update --package url --precise 1.7.2
-	cargo update --package openssl-sys --precise 0.9.60
+	cargo update --package libc:0.2.17 --precise 0.2.55
+	cargo update --package url:1.2.3 --precise 1.7.2
+	cargo update --package openssl-sys:0.9.1 --precise 0.9.80
 }
 pre_build() {
 	export LIBGIT2_SYS_USE_PKG_CONFIG=yes

From 46e7b1dad3a74fbfe3ed613134e22f3e8a088046 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 18 Feb 2023 12:13:51 +0100
Subject: [PATCH 7/9] signal-backup-decode: bump for openssl-3.0

---
 srcpkgs/signal-backup-decode/template | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/signal-backup-decode/template b/srcpkgs/signal-backup-decode/template
index 747736adeb5e..6e5a442b8d3c 100644
--- a/srcpkgs/signal-backup-decode/template
+++ b/srcpkgs/signal-backup-decode/template
@@ -1,7 +1,7 @@
 # Template file for 'signal-backup-decode'
 pkgname=signal-backup-decode
 version=0.2.3
-revision=1
+revision=2
 build_style=cargo
 hostmakedepends="pkg-config"
 makedepends="openssl-devel sqlite-devel"
@@ -11,3 +11,9 @@ license="GPL-3.0-or-later"
 homepage="https://github.com/pajowu/signal-backup-decode"
 distfiles="${homepage}/archive/v${version}.tar.gz"
 checksum=e7727b6628004cd027e374bcd8a004d8c3e68b3ba03e82ce2c9e04ee58623ed2
+
+post_patch() {
+	# required for openssl3 compat
+	cargo update --package openssl-sys:0.9.60 --precise 0.9.80
+	cargo update --package openssl:0.10.32 --precise 0.10.45
+}

From 7882b845d30ce58ef25f06f070144a96bdc502f4 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Mon, 20 Feb 2023 15:37:39 -0500
Subject: [PATCH 8/9] gcfs: remove package

last release was on Apr 12, 2020
does not build with openssl 3
---
 srcpkgs/gcsf/template             | 22 ----------------------
 srcpkgs/removed-packages/template |  3 ++-
 2 files changed, 2 insertions(+), 23 deletions(-)
 delete mode 100644 srcpkgs/gcsf/template

diff --git a/srcpkgs/gcsf/template b/srcpkgs/gcsf/template
deleted file mode 100644
index 57aa68574521..000000000000
--- a/srcpkgs/gcsf/template
+++ /dev/null
@@ -1,22 +0,0 @@
-# Template file for 'gcsf'
-pkgname=gcsf
-version=0.1.28
-revision=1
-build_style=cargo
-hostmakedepends="pkg-config"
-makedepends="fuse-devel openssl-devel"
-short_desc="FUSE file system based on Google Drive"
-maintainer="Benjamín Albiñana <benalb@gmail.com>"
-license="MIT"
-homepage="https://github.com/harababurel/gcsf"
-distfiles="https://github.com/harababurel/gcsf/archive/${version}.tar.gz"
-checksum=8bc7f94630eefda55ac8851a4071d7782385b711ea8f6313e2e64be05f686592
-
-pre_build() {
-	# cannot divide `usize` by `u32`
-	cargo update --package lexical-core:0.6.7 --precise 0.6.8
-}
-
-post_install() {
-	vlicense LICENSE
-}
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 7a01cf67e4fc..d568b4899837 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,6 +1,6 @@
 # Template file for 'removed-packages'
 pkgname=removed-packages
-version=0.1.20230213
+version=0.1.20230220
 revision=1
 build_style=meta
 short_desc="Uninstalls packages removed from repository"
@@ -114,6 +114,7 @@ replaces="
  gconfmm-devel<=2.28.3_4
  gconfmm-doc<=2.28.3_4
  gconfmm<=2.28.3_4
+ gcsf<=0.1.28_1
  gegl3<=0.3.28_2
  gens-gs<=2.16.7_2
  geoip-data<=20171002_2

From 7783ad492813eef3ec3138d406615837a3797db5 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Mon, 20 Feb 2023 15:59:28 -0500
Subject: [PATCH 9/9] taisei: add cflag to build with openssl 3

---
 srcpkgs/taisei/template | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/srcpkgs/taisei/template b/srcpkgs/taisei/template
index d99720f499b6..016b02d7fa3a 100644
--- a/srcpkgs/taisei/template
+++ b/srcpkgs/taisei/template
@@ -13,6 +13,8 @@ license="MIT"
 homepage="https://taisei-project.org"
 distfiles="https://github.com/taisei-project/taisei/releases/download/v${version}/taisei-v${version}.tar.xz"
 checksum=dbc05f1b5c31981d8711130ac283355b7bfad403895f4096a6bb7e9a3d73a3bc
+# build failure with openssl 3
+CFLAGS+=" -Wno-error"
 
 post_install() {
 	vlicense COPYING

  parent reply	other threads:[~2023-02-20 21:00 UTC|newest]

Thread overview: 151+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-25 17:44 [PR PATCH] update openssl to 3.0.4 dkwo
2022-06-25 17:47 ` [PR PATCH] [Updated] " dkwo
2022-06-25 21:03 ` paper42
2022-06-26 17:32 ` [PR PATCH] [Updated] " dkwo
2022-06-27  7:50 ` dkwo
2022-06-27  9:55 ` Duncaen
2022-06-27  9:58 ` Duncaen
2022-06-27 13:14 ` [PR PATCH] [Updated] " dkwo
2022-06-27 13:44 ` leahneukirchen
2022-07-06 16:45 ` [PR PATCH] [Updated] update openssl to 3 series dkwo
2022-07-06 16:51 ` dkwo
2022-07-19  6:18 ` [PR PATCH] [Updated] " dkwo
2022-07-19  6:26 ` dkwo
2022-07-19  6:38 ` dkwo
2022-07-19  6:39 ` dkwo
2022-07-19  6:41 ` dkwo
2022-07-19  6:43 ` dkwo
2022-07-23 12:53 ` dkwo
2022-07-23 12:54 ` dkwo
2022-07-23 12:56 ` dkwo
2022-10-22  2:14 ` github-actions
2022-10-24 18:38 ` dkwo
2022-11-15 18:57 ` dkwo
2022-11-15 18:57 ` dkwo
2022-11-15 18:58 ` [PR PATCH] [Updated] " dkwo
2022-11-15 19:24 ` dkwo
2022-11-15 19:27 ` [PR PATCH] [Updated] " dkwo
2022-11-26 22:19 ` dkwo
2022-11-26 22:19 ` [PR PATCH] [Updated] " dkwo
2022-12-30 16:29 ` dkwo
2022-12-30 16:43 ` dkwo
2022-12-30 17:32 ` dkwo
2022-12-30 17:34 ` dkwo
2022-12-30 17:38 ` dkwo
2023-01-23 22:10 ` dkwo
2023-01-23 22:11 ` dkwo
2023-01-23 22:41 ` [PR PATCH] [Updated] " dkwo
2023-01-23 22:53 ` dkwo
2023-01-23 23:31 ` dkwo
2023-01-25 18:05 ` [PR REVIEW] " paper42
2023-01-25 18:05 ` paper42
2023-01-25 18:05 ` paper42
2023-01-25 19:25 ` dkwo
2023-01-25 19:26 ` dkwo
2023-01-25 19:27 ` dkwo
2023-01-25 19:35 ` [PR REVIEW] " dkwo
2023-01-25 19:37 ` paper42
2023-01-25 19:43 ` [PR PATCH] [Updated] " dkwo
2023-01-25 20:53 ` dkwo
2023-01-25 20:55 ` dkwo
2023-01-26 18:42 ` dkwo
2023-01-26 18:51 ` dkwo
2023-01-26 18:54 ` dkwo
2023-01-26 19:03 ` dkwo
2023-01-26 19:06 ` dkwo
2023-01-27 15:25 ` dkwo
2023-01-27 15:45 ` dkwo
2023-01-28 21:59 ` dkwo
2023-01-29 12:05 ` paper42
2023-01-30 14:20 ` [PR PATCH] [Updated] " dkwo
2023-01-30 15:15 ` dkwo
2023-01-30 15:27 ` dkwo
2023-01-30 15:28 ` dkwo
2023-01-30 15:36 ` dkwo
2023-01-30 19:18 ` dkwo
2023-01-30 19:18 ` dkwo
2023-02-02 14:55 ` dkwo
2023-02-04 16:51 ` dkwo
2023-02-04 16:53 ` dkwo
2023-02-07 19:43 ` dkwo
2023-02-08 23:05 ` dkwo
2023-02-10 16:31 ` dkwo
2023-02-13  2:22 ` dkwo
2023-02-16 16:17 ` dkwo
2023-02-16 23:36 ` dkwo
2023-02-17 15:17 ` dkwo
2023-02-17 15:32 ` [PR PATCH] [Updated] " dkwo
2023-02-17 21:34 ` jcgruenhage
2023-02-17 21:55 ` leahneukirchen
2023-02-18  5:40 ` benalb
2023-02-18 10:46 ` jcgruenhage
2023-02-18 11:15 ` jcgruenhage
2023-02-18 11:19 ` jcgruenhage
2023-02-20 17:03 ` dkwo
2023-02-20 17:06 ` [PR PATCH] [Updated] " dkwo
2023-02-20 17:12 ` jcgruenhage
2023-02-20 17:15 ` dkwo
2023-02-20 17:20 ` dkwo
2023-02-20 17:58 ` dkwo
2023-02-20 21:00 ` dkwo [this message]
2023-02-21  8:26 ` jcgruenhage
2023-02-21 16:37 ` dkwo
2023-02-21 16:42 ` [PR PATCH] [Updated] " dkwo
2023-02-22  7:19 ` paper42
2023-02-22 20:52 ` [PR PATCH] [Updated] " dkwo
2023-02-22 20:55 ` dkwo
2023-02-22 20:59 ` dkwo
2023-02-22 21:04 ` dkwo
2023-02-22 21:07 ` [PR PATCH] [Updated] " dkwo
2023-02-22 21:08 ` dkwo
2023-02-22 21:38 ` leahneukirchen
2023-02-23 14:09 ` jcgruenhage
2023-02-23 14:09 ` jcgruenhage
2023-02-23 14:09 ` jcgruenhage
2023-02-23 14:22 ` paper42
2023-02-23 16:08 ` [PR PATCH] [Updated] " dkwo
2023-02-23 16:09 ` dkwo
2023-02-23 18:45 ` [PR REVIEW] " paper42
2023-02-23 18:45 ` paper42
2023-02-23 18:45 ` paper42
2023-02-23 19:49 ` [PR PATCH] [Updated] " dkwo
2023-02-23 19:51 ` [PR REVIEW] " dkwo
2023-02-23 19:51 ` dkwo
2023-02-23 20:44 ` [PR PATCH] [Updated] " dkwo
2023-02-23 20:47 ` dkwo
2023-03-07 18:54 ` [PR PATCH] [Updated] " dkwo
2023-03-09 20:33 ` dkwo
2023-03-10 16:37 ` dkwo
2023-03-12 20:19 ` [PR REVIEW] " paper42
2023-03-14 21:16 ` dkwo
2023-03-14 21:16 ` [PR PATCH] [Updated] " dkwo
2023-03-17 14:07 ` dkwo
2023-04-11 15:21 ` dkwo
2023-05-29 23:18 ` [PR PATCH] [Updated] " dkwo
2023-05-29 23:21 ` dkwo
2023-06-01 14:34 ` dkwo
2023-06-02 14:47 ` dkwo
2023-06-02 15:00 ` dkwo
2023-06-28 21:24 ` [PR PATCH] [Updated] " dkwo
2023-07-25 16:59 ` dkwo
2023-07-25 17:00 ` dkwo
2023-07-27 17:05 ` [PR PATCH] [Updated] " dkwo
2023-07-28 19:02 ` dkwo
2023-08-06 14:41 ` dkwo
2023-08-08 20:23 ` classabbyamp
2023-08-08 20:24 ` classabbyamp
2023-08-08 20:27 ` classabbyamp
2023-08-09  7:09 ` dkwo
2023-08-09  7:15 ` classabbyamp
2023-08-17  8:38 ` dkwo
2023-08-17  8:38 ` [PR PATCH] [Updated] " dkwo
2023-08-17  8:39 ` classabbyamp
2023-08-17 15:52 ` [PR PATCH] [Updated] " dkwo
2023-08-17 16:24 ` dkwo
2023-08-19 15:24 ` dkwo
2023-08-19 23:37 ` classabbyamp
2023-08-20  1:48 ` classabbyamp
2023-08-20  2:08 ` classabbyamp
2023-08-20  8:27 ` [PR PATCH] [Updated] " dkwo
2023-08-20  8:29 ` dkwo
2023-08-27  3:48 ` [PR PATCH] [Closed]: " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230220210017.Koe9t1CvWS-c7I4Fk2mwMr41LvUeWwIOi0fzH7PBBfk@z \
    --to=dkwo@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).