Merge remote-tracking branch 'upstream/master' into hardened-stdenv

This commit is contained in:
Robin Gloster
2016-04-18 13:49:22 +00:00
1369 changed files with 35810 additions and 10571 deletions
+6 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, autoreconfHook }:
{ stdenv, fetchurl, autoreconfHook, acl }:
stdenv.mkDerivation rec {
name = "gnutar-${version}";
@@ -24,7 +24,11 @@ stdenv.mkDerivation rec {
substituteInPlace src/system.c --replace '_(' 'N_('
'';
buildInputs = stdenv.lib.optional stdenv.isDarwin autoreconfHook;
outputs = [ "out" "info" ];
buildInputs = [ ]
++ stdenv.lib.optional stdenv.isLinux acl
++ stdenv.lib.optional stdenv.isDarwin autoreconfHook;
# May have some issues with root compilation because the bootstrap tool
# cannot be used as a login shell for now.
+2 -2
View File
@@ -1,14 +1,14 @@
{ stdenv, fetchurl }:
let
version = "9.38";
version = "15.14.1";
in
stdenv.mkDerivation rec {
name = "p7zip-${version}";
src = fetchurl {
url = "mirror://sourceforge/p7zip/p7zip_${version}_src_all.tar.bz2";
sha256 = "0mxribb9a3lz3bifz6002hg7vyy8h9piinypian533hw8qvswfx7";
sha256 = "1m15iwglyjpiw82m7dbpykz8s55imch34w20w09l34116vdb97b9";
};
preConfigure = ''
+1 -1
View File
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
installBin unrar
install -Dt "$out/bin" unrar
mkdir -p $out/share/doc/unrar
cp acknow.txt license.txt \
+28 -12
View File
@@ -1,15 +1,31 @@
{stdenv, fetchsvn, zlib, autoconf, automake, libtool}:
{ stdenv, fetchFromGitHub, fetchpatch, cmake, zlib, openssl }:
stdenv.mkDerivation {
name = "unshield-0.7pre3955";
src = fetchsvn {
url = https://synce.svn.sourceforge.net/svnroot/synce/trunk/unshield;
rev = 3955;
sha256 = "0rpk7sb7b0v19qn4jn0iih505l4zkpns3mrbmm88p61xiz06zg7a";
stdenv.mkDerivation rec {
name = "unshield-${version}";
version = "1.3";
src = fetchFromGitHub {
owner = "twogood";
repo = "unshield";
rev = version;
sha256 = "0cg84jr0ymvi8bmm3lx5hshhgm33vnr1rma1mfyqkc065c7gi9ja";
};
patches = [
# Fix build in separate directory
(fetchpatch {
url = "https://github.com/twogood/unshield/commit/07ce8d82f0f60b9048265410fa8063298ab520c4.patch";
sha256 = "160pbk2r98lv3vd0qxsxm6647qn5mddj37jzfmccdja4dpxhxz2z";
})
];
nativeBuildInputs = [ cmake ];
buildInputs = [ zlib openssl ];
meta = with stdenv.lib; {
description = "Tool and library to extract CAB files from InstallShield installers";
homepage = https://github.com/twogood/unshield;
license = licenses.mit;
platforms = platforms.linux;
};
configureFlags = "--with-zlib=${zlib}";
buildInputs = [autoconf automake libtool];
preConfigure = ''
./bootstrap
'';
}
+4 -4
View File
@@ -3,11 +3,11 @@ let
s = # Generated upstream information
rec {
baseName="zpaq";
version="708";
version="711";
name="${baseName}-${version}";
hash="15qvsr7mmb77n1gfyr2h1mkql6m8a313z2f1j9qv50qiivw2v4i6";
url="http://mattmahoney.net/dc/zpaq708.zip";
sha256="15qvsr7mmb77n1gfyr2h1mkql6m8a313z2f1j9qv50qiivw2v4i6";
hash="0kva9xn3rhm2xpbbq3yrx3c9y150fw434ayd82fzhr24nsjjaxsf";
url="http://mattmahoney.net/dc/zpaq711.zip";
sha256="0kva9xn3rhm2xpbbq3yrx3c9y150fw434ayd82fzhr24nsjjaxsf";
};
in
stdenv.mkDerivation {
+4 -4
View File
@@ -3,11 +3,11 @@ let
s = # Generated upstream information
rec {
baseName="zpaqd";
version="633";
version="707";
name="${baseName}-${version}";
hash="00zgc4mcmsd3d4afgzmrp6ymcyy8gb9kap815d5a3f9zhhzkz4dx";
url="http://mattmahoney.net/dc/zpaqd633.zip";
sha256="00zgc4mcmsd3d4afgzmrp6ymcyy8gb9kap815d5a3f9zhhzkz4dx";
hash="0012jzs2gk232shgx60323jd3g1i5ab5sjydynz2d1k3dkjxs688";
url="http://mattmahoney.net/dc/zpaqd707.zip";
sha256="0012jzs2gk232shgx60323jd3g1i5ab5sjydynz2d1k3dkjxs688";
};
isUnix = with stdenv; isLinux || isGNU || isDarwin || isFreeBSD || isOpenBSD;
isx86 = stdenv.isi686 || stdenv.isx86_64;