Merge branch 'staging'; security /cc #21642
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{ lib, stdenv, fetchurl, perl, xz, gmp ? null
|
||||
, aclSupport ? false, acl ? null
|
||||
, attrSupport ? false, attr ? null
|
||||
, selinuxSupport? false, libselinux ? null, libsepol ? null
|
||||
, autoconf, automake114x, texinfo
|
||||
, withPrefix ? false
|
||||
@@ -44,12 +45,14 @@ let
|
||||
|
||||
buildInputs = [ gmp ]
|
||||
++ optional aclSupport acl
|
||||
++ optional attrSupport attr
|
||||
++ optionals stdenv.isCygwin [ autoconf automake114x texinfo ] # due to patch
|
||||
++ optionals selinuxSupport [ libselinux libsepol ];
|
||||
|
||||
crossAttrs = {
|
||||
buildInputs = [ gmp.crossDrv ]
|
||||
++ optional aclSupport acl.crossDrv
|
||||
++ optional attrSupport attr.crossDrv
|
||||
++ optionals selinuxSupport [ libselinux.crossDrv libsepol.crossDrv ]
|
||||
++ optional (stdenv.ccCross.libc ? libiconv)
|
||||
stdenv.ccCross.libc.libiconv.crossDrv;
|
||||
@@ -90,8 +93,6 @@ let
|
||||
|
||||
makeFlags = optionalString stdenv.isDarwin "CFLAGS=-D_FORTIFY_SOURCE=0";
|
||||
|
||||
postFixup = ""; # FIXME: remove on next mass rebuild
|
||||
|
||||
meta = {
|
||||
homepage = http://www.gnu.org/software/coreutils/;
|
||||
description = "The basic file, shell and text manipulation utilities of the GNU operating system";
|
||||
|
||||
@@ -54,6 +54,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
hardeningDisable = [ "all" ];
|
||||
|
||||
# Work around a bug in the generated flex lexer (upstream flex bug?)
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error";
|
||||
|
||||
preConfigure =
|
||||
'' for i in "tests/util/"*.in
|
||||
do
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "unbound-${version}";
|
||||
version = "1.5.10";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://unbound.net/downloads/${name}.tar.gz";
|
||||
sha256 = "11lli8jgq4n917gcx6nw728g1hqc2lszwlxa5mdb78m2ri7qp6x3";
|
||||
sha256 = "1dzsxyp34ianp08wk4vf13qzl5ss5rr9v1p8zr1aggfywrsbhzbb";
|
||||
};
|
||||
|
||||
outputs = [ "out" "lib" "man" ]; # "dev" would only split ~20 kB
|
||||
|
||||
@@ -5,11 +5,11 @@ let
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "pyunbound";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.5.9";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://unbound.net/downloads/unbound-${version}.tar.gz";
|
||||
sha256 = "01328cfac99ab5b8c47115151896a244979e442e284eb962c0ea84b7782b6990";
|
||||
sha256 = "1dzsxyp34ianp08wk4vf13qzl5ss5rr9v1p8zr1aggfywrsbhzbb";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl expat libevent swig python ];
|
||||
|
||||
31
pkgs/tools/text/gnused/422.nix
Normal file
31
pkgs/tools/text/gnused/422.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gnused-4.2.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnu/sed/sed-4.2.2.tar.bz2;
|
||||
sha256 = "f048d1838da284c8bc9753e4506b85a1e0cc1ea8999d36f6995bcb9460cddbd7";
|
||||
};
|
||||
|
||||
outputs = [ "out" "info" ];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.gnu.org/software/sed/;
|
||||
description = "GNU sed, a batch stream editor";
|
||||
|
||||
longDescription = ''
|
||||
Sed (stream editor) isn't really a true text editor or text
|
||||
processor. Instead, it is used to filter text, i.e., it takes
|
||||
text input and performs some operation (or set of operations) on
|
||||
it and outputs the modified text. Sed is typically used for
|
||||
extracting part of a file using pattern matching or substituting
|
||||
multiple occurrences of a string within a file.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -1,15 +1,19 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchurl, perl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gnused-4.2.2";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnused-${version}";
|
||||
version = "4.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnu/sed/sed-4.2.2.tar.bz2;
|
||||
sha256 = "f048d1838da284c8bc9753e4506b85a1e0cc1ea8999d36f6995bcb9460cddbd7";
|
||||
url = "mirror://gnu/sed/sed-${version}.tar.xz";
|
||||
sha256 = "1anhdgah8h423hlmn9hwzxzr7hjbqjm6hxq3z1p7p7nf8640vhj7";
|
||||
};
|
||||
|
||||
outputs = [ "out" "info" ];
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
preConfigure = "patchShebangs ./build-aux/help2man";
|
||||
|
||||
meta = {
|
||||
homepage = http://www.gnu.org/software/sed/;
|
||||
description = "GNU sed, a batch stream editor";
|
||||
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
enableParallelBuilding = true;
|
||||
buildInputs = [ automake autoconf libtool zimlib cxxtools tntnet ];
|
||||
setSourceRoot = "cd openzim-*/zimreader; export sourceRoot=`pwd`";
|
||||
preConfigurePhases = [ "./autogen.sh" ];
|
||||
preConfigure = "./autogen.sh";
|
||||
|
||||
meta = {
|
||||
description = "A tool to serve ZIM files using HTTP";
|
||||
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [ automake autoconf libtool lzma pkgconfig zimlib file zlib ];
|
||||
setSourceRoot = "cd openzim-*/zimwriterfs; export sourceRoot=`pwd`";
|
||||
preConfigurePhases = [ "./autogen.sh" ];
|
||||
preConfigure = "./autogen.sh";
|
||||
|
||||
meta = {
|
||||
description = "A console tool to create ZIM files";
|
||||
|
||||
Reference in New Issue
Block a user