Report forwarded
to guix-patches@gnu.org: bug#50029; Package guix-patches.
(Thu, 12 Aug 2021 17:06:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Giovanni Biscuolo <g@xelera.eu>:
New bug report received and forwarded. Copy sent to guix-patches@gnu.org.
(Thu, 12 Aug 2021 17:06:02 GMT) (full text, mbox, link).
Hello maintainers,
As promised in [bug#49859] I was able to assemble a patch for adb to use
openssl 1.1 instead of the old and unsopported openssl 1.0.
As described in the patch, I got the patch from Debian [1] and
fortunately it applies as-is! (I'm not able to asses the code but I'm
pretty sure Debian maintener did it for me).
I was able to build and install the package and tested it by connecting
to my Android phone with adb via wi-fi: is this a viable test to check
if the patch is OK?
Happy hacking! Gio'
[1] https://sources.debian.org/data/main/a/android-platform-system-core/1%3A7.0.0%2Br33-1/debian/patches/adb_libssl_11.diff
--
Giovanni Biscuolo
Xelera IT Infrastructures
Added indication that bug 50029 blocks46602
Request was from "Leo Famulari" <leo@famulari.name>
to control@debbugs.gnu.org.
(Sun, 15 Aug 2021 17:44:01 GMT) (full text, mbox, link).
Reply sent
to Leo Famulari <leo@famulari.name>:
You have taken responsibility.
(Sun, 15 Aug 2021 22:10:01 GMT) (full text, mbox, link).
Notification sent
to Giovanni Biscuolo <g@xelera.eu>:
bug acknowledged by developer.
(Sun, 15 Aug 2021 22:10:01 GMT) (full text, mbox, link).
Subject: Re: [bug#50029] [PATCH] adb, use openssl 1.1
Date: Sun, 15 Aug 2021 18:09:03 -0400
On Thu, Aug 12, 2021 at 07:04:42PM +0200, Giovanni Biscuolo wrote:
> Hello maintainers,
>
> As promised in [bug#49859] I was able to assemble a patch for adb to use
> openssl 1.1 instead of the old and unsopported openssl 1.0.
Awesome!
> From f0c275121a74d7c20b4383e3bb65d6c27ad7a0e7 Mon Sep 17 00:00:00 2001
> From: Giovanni Biscuolo <g@xelera.eu>
> Date: Thu, 12 Aug 2021 18:09:02 +0200
> Subject: [PATCH] gnu: adb: Make compatible with openssl 1.1
>
> OpenSSL version 1.1 brought some API changes which broke the build here, fix
> that by accessing rsa->n (and e) directly, using RSA_get0_key instead.
>
> Patch from: https://sources.debian.org/data/main/a/android-platform-system-core/1%3A7.0.0%2Br33-1/debian/patches/adb_libssl_11.diff
>
> * gnu/local.mk (dist_patch_DATA): Add adb-libssl_11-compat.patch
>
> * gnu/packages/android.scm: (android-platform-system-core) Add
> adb-libssl_11-compat.patch; (adb) Use openssl as input
>
> * gnu/packages/patches/adb-libssl_11-compat.patch: New file
I cleaned up the commit message and renamed the patch to
adb-libssl_11-compatibility.patch and pushed as
05effbbfc2fc6223aafacf8a3cb2b2d970b6bb66
bug archived.
Request was from Debbugs Internal Request <help-debbugs@gnu.org>
to internal_control@debbugs.gnu.org.
(Mon, 13 Sep 2021 11:24:04 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the
GNU Public License version 2. The current version can be
obtained from https://bugs.debian.org/debbugs-source/.