mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
libupnp: 1.6.20 -> 1.6.21 for CVE-2016-8863
Switching to git tags means we don't get pre-generated configure scripts. Thusly, run bootstrap ourselves. For https://github.com/NixOS/nixpkgs/issues/21289 For CVE-2016-8863 (remote code execution)
This commit is contained in:
parent
2f17c3628e
commit
0d3f0f05e2
|
@ -1,15 +1,28 @@
|
|||
{ fetchurl, stdenv }:
|
||||
{ fetchFromGitHub, stdenv, autoconf, automake, libtool }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libupnp-1.6.20";
|
||||
name = "libupnp-${version}";
|
||||
version = "1.6.20";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/pupnp/${name}.tar.bz2";
|
||||
sha256 = "0qrsdsb1qm85hc4jy04qph895613d148f0x1mmk6z99y3q43fdgf";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mrjimenez";
|
||||
repo = "pupnp";
|
||||
rev = "release-${version}";
|
||||
sha256 = "10583dkz1l5sjp2833smql8w428x2nbh1fni8j6h9rji6ma2yhs0";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
autoconf
|
||||
automake
|
||||
libtool
|
||||
];
|
||||
|
||||
hardeningDisable = [ "fortify" ];
|
||||
|
||||
preConfigure = ''
|
||||
./bootstrap
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "libupnp, an open source UPnP development kit for Linux";
|
||||
|
||||
|
|
Loading…
Reference in a new issue