From 15fab6b55ea495c7cd9b060b4b50e0e61d277cf1 Mon Sep 17 00:00:00 2001 From: Johannes Date: Fri, 19 Oct 2018 14:38:00 +0200 Subject: [PATCH] zou: rebuild with libressl-2.8 --- srcpkgs/zou/patches/libressl-2.8.patch | 10 ++++++++++ srcpkgs/zou/template | 7 ++++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/zou/patches/libressl-2.8.patch diff --git a/srcpkgs/zou/patches/libressl-2.8.patch b/srcpkgs/zou/patches/libressl-2.8.patch new file mode 100644 index 00000000000..bdb3d278ff8 --- /dev/null +++ b/srcpkgs/zou/patches/libressl-2.8.patch @@ -0,0 +1,10 @@ +--- Cargo.toml.orig 2018-10-30 00:19:23.713512967 +0100 ++++ Cargo.toml 2018-10-30 00:20:02.501175591 +0100 +@@ -46,3 +46,7 @@ + lto = false + debug-assertions = true + panic = 'unwind' ++ ++ ++[patch.crates-io] ++openssl-sys = {git = 'https://github.com/jnbr/rust-openssl', rev = "d5471c97ae86e5bd1032eb6fd95005933f507c49"} diff --git a/srcpkgs/zou/template b/srcpkgs/zou/template index e069e11933b..83fd8c74c38 100644 --- a/srcpkgs/zou/template +++ b/srcpkgs/zou/template @@ -1,7 +1,7 @@ # Template file for 'zou' pkgname=zou version=0.2.0 -revision=4 +revision=5 build_style=cargo hostmakedepends="pkg-config" makedepends="libressl-devel" @@ -12,6 +12,11 @@ homepage="https://github.com/k0pernicus/zou" distfiles="https://github.com/k0pernicus/zou/archive/v${version}.tar.gz" checksum=cb47cb1023991135c2ae168f436f3ddae497393d7ac3c8b15a174eef2a191f3f +pre_build() { + cargo update + cargo update --package openssl-sys --precise 0.9.35 +} + post_install() { vlicense LICENSE }