From 7ebbdfb14dd86baa7b63b11e4aea9eb909239bd0 Mon Sep 17 00:00:00 2001 From: Johannes Date: Fri, 19 Oct 2018 14:37:51 +0200 Subject: [PATCH] taizen: rebuild with libressl-2.8 --- srcpkgs/taizen/patches/libressl-2.8.patch | 10 ++++++++++ srcpkgs/taizen/template | 6 +++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/taizen/patches/libressl-2.8.patch diff --git a/srcpkgs/taizen/patches/libressl-2.8.patch b/srcpkgs/taizen/patches/libressl-2.8.patch new file mode 100644 index 00000000000..267b9b03266 --- /dev/null +++ b/srcpkgs/taizen/patches/libressl-2.8.patch @@ -0,0 +1,10 @@ +--- Cargo.toml.orig 2018-10-30 00:39:37.753448674 +0100 ++++ Cargo.toml 2018-10-30 00:40:01.649440996 +0100 +@@ -13,3 +13,7 @@ + urlencoding = "1.0.0" + clap = "2.32.0" + lazy_static = "1.0.2" ++ ++ ++[patch.crates-io] ++openssl-sys = {git = 'https://github.com/jnbr/rust-openssl', rev = "d5471c97ae86e5bd1032eb6fd95005933f507c49"} diff --git a/srcpkgs/taizen/template b/srcpkgs/taizen/template index 3c33c9f5a02..639e13eeb15 100644 --- a/srcpkgs/taizen/template +++ b/srcpkgs/taizen/template @@ -1,7 +1,7 @@ # Template file for 'taizen' pkgname=taizen version=0.0.0.20180808 -revision=2 +revision=3 _githash=39f77b5c1128d710b12244e433677daaf87c085e wrksrc="${pkgname}-${_githash}" build_style=cargo @@ -15,6 +15,10 @@ distfiles="${homepage}/archive/${_githash}.tar.gz" checksum=7de71509bc2b4494af1e103ddb18e0eeafe0bd90c797d6cae343c44f583bfd15 nocross="Attempts to run non-native binaries during build" +pre_build() { + cargo update --package openssl-sys --precise 0.9.35 +} + post_install () { vlicense LICENSE }