Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Please unblock package racket

I think bug #836346 is probably worth fixing in stretch. Otherwise
most users of racket will need to install libssl-dev (because of the
not ideal way that racket loads the openssl libraries). I don't yet
have confirmation from upstream that they agree with my fix.

diff -Nru racket-6.7/debian/changelog racket-6.7/debian/changelog
- --- racket-6.7/debian/changelog       2016-10-29 09:14:40.000000000 -0300
+++ racket-6.7/debian/changelog 2017-03-05 08:55:03.000000000 -0400
@@ -1,3 +1,11 @@
+racket (6.7-2) unstable; urgency=medium
+
+  * Patch libcrypto.rkt to look for openssl 1.1, recommend libssl1.1. Bug
+    fix: "Raco fails without libssl-dev", thanks to Martin Tang (Closes:
+    #836346).
+
+ -- David Bremner <brem...@debian.org>  Sun, 05 Mar 2017 08:55:03 -0400
+
 racket (6.7-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru racket-6.7/debian/control racket-6.7/debian/control
- --- racket-6.7/debian/control 2016-10-29 09:14:40.000000000 -0300
+++ racket-6.7/debian/control   2017-03-05 08:55:03.000000000 -0400
@@ -17,7 +17,7 @@
 Depends: ${misc:Depends}, ${shlibs:Depends}, racket-common (= 
${source:Version})
 Recommends: racket-doc (>= ${source:Upstream-Version}),
             libglib2.0-0, libpangocairo-1.0-0, libjpeg62-turbo, libpng16-16,
- -            libgtk2.0-0, libgdk-pixbuf2.0-0, libunique-1.0-0
+            libgtk2.0-0, libgdk-pixbuf2.0-0, libunique-1.0-0, libssl1.1
 Breaks: plt-scheme (<<5.0~)
 Replaces: plt-scheme (<<5.0~)
 Provides: plt-scheme
diff -Nru 
racket-6.7/debian/patches/0001-openssl-update-known-versions-of-lib-crypto-ssl.patch
 
racket-6.7/debian/patches/0001-openssl-update-known-versions-of-lib-crypto-ssl.patch
- --- 
racket-6.7/debian/patches/0001-openssl-update-known-versions-of-lib-crypto-ssl.patch
      1969-12-31 20:00:00.000000000 -0400
+++ 
racket-6.7/debian/patches/0001-openssl-update-known-versions-of-lib-crypto-ssl.patch
        2017-03-05 08:55:03.000000000 -0400
@@ -0,0 +1,37 @@
+From 403bd68ab40f224b669a82eaf7ef5f5939addd43 Mon Sep 17 00:00:00 2001
+From: David Bremner <da...@tethera.net>
+Date: Sat, 4 Mar 2017 09:18:41 -0400
+Subject: [PATCH] openssl: update known versions of lib{crypto,ssl}.
+
+The existing versions no longer work on current Debian.
+---
+ collects/openssl/libcrypto.rkt | 7 +++++--
+ 1 file changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/collects/openssl/libcrypto.rkt b/collects/openssl/libcrypto.rkt
+index 774d9611ca..9a946fe228 100644
+--- a/collects/openssl/libcrypto.rkt
++++ b/collects/openssl/libcrypto.rkt
+@@ -15,7 +15,8 @@
+ ;; - Debian and Ubuntu use a few fixed library versions even though
+ ;;   actual OpenSSL version changes:
+ ;;   - Debian squeeze: lib{crypto,ssl}.so.0.9.8
+-;;   - Debian {wheezy, jessie, stretch, sid}: lib{crypto,ssl}.so.1.0.0
++;;   - Debian {wheezy, jessie}: lib{crypto,ssl}.so.1.0.0
++;;   - Debian {stretch, sid}: lib{crypto,ssl}.so.1.1, lib{crypto,ssl}.so.1.0.2
+ ;;   - Ubuntu {14.04, 14.10, 15.04}: lib{crypto,ssl}.so.1.0.0
+ ;;   - Debian and Ubuntu also provide versionless library in pkg "libssl-dev"
+ ;; - Fedora provides libraries suffixed with actual versions (eg
+@@ -32,9 +33,11 @@
+ 
+     ;; Compatibility-based version / SONAME
+     "10"     ;; Fedora
+-    "1.0.0"  ;; Debian, Ubuntu
++    "1.1"    ;; Newer Debian
++    "1.0.0"  ;; Older Debian, Ubuntu
+ 
+     ;; Other specific known versions
++    "1.0.2"
+     "1.0.1k" "1.0.1j" "1.0.1g" "1.0.1e"
+     "1.0" "1.0.0" "1.0.0e" "1.0.0d" "1.0.0c" "1.0.0b" "1.0.0a"
+     "0.9.8e" "0.9.8b" "0.9.8" "0.9.7"))
diff -Nru racket-6.7/debian/patches/series racket-6.7/debian/patches/series
- --- racket-6.7/debian/patches/series  1969-12-31 20:00:00.000000000 -0400
+++ racket-6.7/debian/patches/series    2017-03-05 08:55:03.000000000 -0400
@@ -0,0 +1,2 @@
+# debian/source/git-patches exported from git by quilt-patches-deb-export-hook
+0001-openssl-update-known-versions-of-lib-crypto-ssl.patch
diff -Nru racket-6.7/debian/source/git-patches 
racket-6.7/debian/source/git-patches
- --- racket-6.7/debian/source/git-patches      1969-12-31 20:00:00.000000000 
-0400
+++ racket-6.7/debian/source/git-patches        2017-03-05 08:55:03.000000000 
-0400
@@ -0,0 +1,2 @@
+upstream/${UPSTREAM_REF}..patches/${DEB_REF}
+


unblock racket/6.7-2

- -- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-----BEGIN PGP SIGNATURE-----

iQGzBAEBCAAdFiEE3VS2dnyDRXKVCQCp8gKXHaSnniwFAli8SbkACgkQ8gKXHaSn
niz7SAv/eeVM7zdOi9PbcLade9X5H7OsfRNcW6ONKiaWgSyClbQvmSvzdvpRmley
ugOlnS9wyScqB+5s90Y4wjtyZMouHXOP5HrratK0NsCCqERIpDpTMvtx8NRu2jUu
6Yn+oYtZIFdamWU+tLWPrGNXv2ocZ7MJVDqINY1tpdPgzHDe8liszeo4MeTtrT4L
5kLjNhFNadNJ1BuKNhOmNduIh6nYfr1vo8xXdezGb8oKouI9HCJVL1hhqk9MWJTq
86acbHgTDFzKJq2n0c7uslWAS3Ss6PgB1XjQcqWnljIvrjjJv8iLCcMGUzzShgMe
up9+Vz/BvGE/cJz2DxCIvgNwCubklqHjwRUhbthSqAcds6mHEJNRn/BdSHrbvtHb
tq7j6WieQfU9QIf8xdslucdM4Zgeoh7R8bZRCiyV/nko27Ehlo06/RUAdrgzvp6V
L5rhS2uZYMpuP+AMhqUa6BJ7y/26ihVVKVbt6l/M2+sq11p2ybO+xJhWVDYhT0yo
eSfL6upn
=wLsU
-----END PGP SIGNATURE-----

Reply via email to