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 {
|
stdenv.mkDerivation rec {
|
||||||
name = "libupnp-1.6.20";
|
name = "libupnp-${version}";
|
||||||
|
version = "1.6.20";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "mirror://sourceforge/pupnp/${name}.tar.bz2";
|
owner = "mrjimenez";
|
||||||
sha256 = "0qrsdsb1qm85hc4jy04qph895613d148f0x1mmk6z99y3q43fdgf";
|
repo = "pupnp";
|
||||||
|
rev = "release-${version}";
|
||||||
|
sha256 = "10583dkz1l5sjp2833smql8w428x2nbh1fni8j6h9rji6ma2yhs0";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
autoconf
|
||||||
|
automake
|
||||||
|
libtool
|
||||||
|
];
|
||||||
|
|
||||||
hardeningDisable = [ "fortify" ];
|
hardeningDisable = [ "fortify" ];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
./bootstrap
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "libupnp, an open source UPnP development kit for Linux";
|
description = "libupnp, an open source UPnP development kit for Linux";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user