flightgear: 2016.4.4 -> 2017.3.1 for CVE-2017-13709

This commit is contained in:
Franz Pletz 2017-09-28 19:09:17 +02:00
parent 1e0ec4216f
commit dffd77b037
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4
2 changed files with 13 additions and 10 deletions

View File

@ -6,18 +6,20 @@
stdenv.mkDerivation rec {
name = "simgear-${version}";
version = "2016.4.4";
shortVersion = "2016.4";
version = "2017.3.1";
shortVersion = "2017.3";
src = fetchurl {
url = "mirror://sourceforge/flightgear/release-${shortVersion}/${name}.tar.bz2";
sha256 = "1p615wmh744m01mcqik27ah1wjdf3sj7vard1vfdpz5v0q0gs52m";
sha256 = "1x71wvycs2bjgmmacswgk6091p65p46fr40mr7f4kcipnx88bq0f";
};
buildInputs = [ plib freeglut xproto libX11 libXext xextproto libXi inputproto
libICE libSM libXt libXmu mesa boost zlib libjpeg freealut
openscenegraph openal expat cmake apr curl ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Simulation construction toolkit";
homepage = https://gitorious.org/fg/simgear;

View File

@ -2,18 +2,18 @@
, freeglut, freealut, mesa, libICE, libjpeg, openal, openscenegraph, plib
, libSM, libunwind, libX11, xproto, libXext, xextproto, libXi, inputproto
, libXmu, libXt, simgear, zlib, boost, cmake, libpng, udev, fltk13, apr
, makeDesktopItem, qtbase
, makeDesktopItem, qtbase, qtdeclarative, glew
}:
let
version = "2016.4.4";
shortVersion = "2016.4";
version = "2017.3.1";
shortVersion = "2017.3";
data = stdenv.mkDerivation rec {
name = "flightgear-base-${version}";
src = fetchurl {
url = "mirror://sourceforge/flightgear/release-${shortVersion}/FlightGear-${version}-data.tar.bz2";
sha256 = "0s4nlkwi9jfc408agsl0w5xl3vajrvplc66k3nwg92wsr614pz9x";
sha256 = "166q0fsbp17lx1l1n6i8cfk3d1i79pasz1liya09z6m2i1pb026z";
};
phases = [ "installPhase" ];
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "mirror://sourceforge/flightgear/release-${shortVersion}/${name}.tar.bz2";
sha256 = "1z7s9m2g85g8q9zxawhpal84rq2jin1ppchshbwi460gwk5r46fm";
sha256 = "1kccf91vmxnzyki6grx09s10dvr4j6qrz34ikj7jn81g5scisbkg";
};
# Of all the files in the source and data archives, there doesn't seem to be
@ -56,6 +56,7 @@ stdenv.mkDerivation rec {
freeglut freealut mesa libICE libjpeg openal openscenegraph plib
libSM libunwind libX11 xproto libXext xextproto libXi inputproto
libXmu libXt simgear zlib boost cmake libpng udev fltk13 apr qtbase
glew qtdeclarative
];
postInstall = ''
@ -66,10 +67,10 @@ stdenv.mkDerivation rec {
do
wrapProgram $f --set FG_ROOT "${data}/share/FlightGear"
done
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Flight simulator";
maintainers = with maintainers; [ raskin the-kenny ];