mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
tinc_pre: fix error after openssl upgrade
With the openssl upgrade to 1.0.2r / 1.1.1b the tinc pre-release version stopped working due to a bug in tinc where an encryption function was used during decryption. I submitted a patch upstream [1] but that wasn't released yet. [1] http://git.tinc-vpn.org/git/browse?p=tinc;a=commit;h=2b0aeec02d64bb4724da9ff1dbc19b7d35d7c904
This commit is contained in:
parent
3944fa41a0
commit
447c21089b
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, autoreconfHook, texinfo, ncurses, readline, zlib, lzo, openssl }:
|
||||
{ stdenv, fetchgit, fetchpatch, autoreconfHook, texinfo, ncurses, readline, zlib, lzo, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tinc-${version}";
|
||||
@ -12,6 +12,14 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "man" "info" ];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "tinc-openssl-1.0.2r.patch";
|
||||
url = "http://git.tinc-vpn.org/git/browse?p=tinc;a=patch;h=2b0aeec02d64bb4724da9ff1dbc19b7d35d7c904";
|
||||
sha256 = "0kidzlmgl0cin4g54ygcxa0jbq9vwlk3dyq5f65nkjd8yvayfzi8";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook texinfo ];
|
||||
buildInputs = [ ncurses readline zlib lzo openssl ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user