aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2018-04-09 09:44:17 +0300
committerTimo Teräs <timo.teras@iki.fi>2018-04-09 09:44:17 +0300
commitde35722a3295116d8e64305c01a1168932b56f26 (patch)
tree8ed054389f817af39420600a2e7543c48e7dbccd
parent8b0d7dd4e894d2fafd4ff8bf46cadf7e40134717 (diff)
downloadaports-de35722a3295116d8e64305c01a1168932b56f26.tar.bz2
aports-de35722a3295116d8e64305c01a1168932b56f26.tar.xz
testing/racket: adjust for libressl2.7
-rw-r--r--testing/racket/APKBUILD6
-rw-r--r--testing/racket/libressl.patch18
2 files changed, 14 insertions, 10 deletions
diff --git a/testing/racket/APKBUILD b/testing/racket/APKBUILD
index acedecc527..343019ed77 100644
--- a/testing/racket/APKBUILD
+++ b/testing/racket/APKBUILD
@@ -6,12 +6,12 @@
# TODO: Figure out how to run tests.
pkgname=racket
pkgver=6.12
-pkgrel=2
+pkgrel=3
pkgdesc="A general purpose programming language in the Lisp-Scheme family"
url="https://racket-lang.org/"
arch="all"
license="LGPL-3.0-or-later MIT"
-depends="ca-certificates libressl2.6-libcrypto libressl2.6-libssl"
+depends="ca-certificates libressl2.7-libcrypto libressl2.7-libssl"
makedepends="chrpath libffi-dev libucontext-dev paxmark"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.racket-lang.org/releases/$pkgver/installers/$pkgname-minimal-$pkgver-src.tgz
@@ -69,4 +69,4 @@ sha512sums="f342f0e475abb8ceb692cc66cde8d0741f0b106721210d427b569453ead642bbb951
ff7804e37cbab237921f7d4c334f6cbb2909e9284b7b2cec1dfd3e73ec189b8ecf0cb0cabd1abedb09020f2a57ad4c32088ea73e5cb71afdafce39a7a718b10c paxmark.patch
6af0ae984ac54f167f0513795905e9dc845e1c1554935f73958d4e21c5fad35eca791866cfdf94dfcee586ec28335d90520d769010c63cd6ab528e6be3f2c21c musl-fixes.patch
1a96718e6a065bd08f0ff046e799fd4d7657d99789b2cdda8cf7cdd8c2d91742dd34fb43f4c6fabde89a764e073bdecdd96e2caeee49feaac242d30b17d6422b makefile-fix-bashism.patch
-72fd6870c849e6f94a426041ccee0e94146c85e33fe7da4a4bdbc72f8b81fac846935f9abfe91170a91dc32180652ec1d0260ec94587e3480ce1fa578400f8f4 libressl.patch"
+780f9d0336acfe887a30ed044df93adbc4a09a5154b5edf034b225a7de350788077820d9f8cc633d2527015e30348bd7b083991e77caa88871ddc5cf899d07f3 libressl.patch"
diff --git a/testing/racket/libressl.patch b/testing/racket/libressl.patch
index 7470c6c652..0b2e83b6f8 100644
--- a/testing/racket/libressl.patch
+++ b/testing/racket/libressl.patch
@@ -1,6 +1,7 @@
---- a/collects/openssl/libcrypto.rkt
-+++ b/collects/openssl/libcrypto.rkt
-@@ -37,7 +37,12 @@
+diff -ru racket-6.12.orig/collects/openssl/libcrypto.rkt racket-6.12/collects/openssl/libcrypto.rkt
+--- racket-6.12.orig/collects/openssl/libcrypto.rkt 2017-01-07 15:34:14.000000000 +0200
++++ racket-6.12/collects/openssl/libcrypto.rkt 2018-04-09 09:42:53.241968324 +0300
+@@ -37,7 +37,13 @@
;; Other specific known versions
"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"
@@ -8,15 +9,17 @@
+ "0.9.8e" "0.9.8b" "0.9.8" "0.9.7"
+
+ ;; LibreSSL
++ "43" ;; 2.7.2+
+ "42" ;; 2.6.3+
+ "41" ;; 2.5.5+
+))
(define libcrypto-load-fail-reason #f)
---- a/collects/openssl/libssl.rkt
-+++ b/collects/openssl/libssl.rkt
-@@ -9,6 +9,24 @@
+diff -ru racket-6.12.orig/collects/openssl/libssl.rkt racket-6.12/collects/openssl/libssl.rkt
+--- racket-6.12.orig/collects/openssl/libssl.rkt 2016-04-15 23:33:56.000000000 +0300
++++ racket-6.12/collects/openssl/libssl.rkt 2018-04-09 09:43:20.028984576 +0300
+@@ -9,6 +9,25 @@
(provide libssl
libssl-load-fail-reason)
@@ -34,6 +37,7 @@
+ "0.9.8e" "0.9.8b" "0.9.8" "0.9.7"
+
+ ;; LibreSSL
++ "45" ;; 2.7.2+
+ "44" ;; 2.6.3+
+ "43" ;; 2.5.3+
+))
@@ -41,7 +45,7 @@
(define libssl-load-fail-reason #f)
;; We need to declare because they might be distributed with PLT Scheme
-@@ -28,4 +46,4 @@
+@@ -28,4 +47,4 @@
(lambda (x)
(set! libssl-load-fail-reason (exn-message x))
#f)])