Merge #21526: unbound 1.5.10 -> 1.6.0

This commit is contained in:
Vladimír Čunát 2016-12-30 23:17:58 +01:00
commit c2752f8228
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
5 changed files with 44 additions and 6 deletions

View File

@ -9,6 +9,25 @@ stdenv.mkDerivation rec {
sha256 = "0zhcx67afb6b5r936w5jmaydj3ks8zh83n9rm5sv3m3k8q8jib1q";
};
# The configure script of libpaper is buggy: it uses AC_SUBST on a headerfile
# to compile sysconfdir into the library. Autoconf however defines sysconfdir
# as "${prefix}/etc", which is not expanded by AC_SUBST so libpaper will look
# for config files in (literally, without expansion) '${prefix}/etc'. Manually
# setting sysconfdir fixes this issue.
preConfigure = ''
configureFlagsArray+=(
"--sysconfdir=$out/etc"
)
'';
# Set the default paper to letter (this is what libpaper uses as default as well,
# if you call getdefaultpapername()).
# The user can still override this with the PAPERCONF environment variable.
postInstall = ''
mkdir -p $out/etc
echo letter > $out/etc/papersize
'';
meta = {
description = "Library for handling paper characteristics";
homepage = "http://packages.debian.org/unstable/source/libpaper";

View File

@ -29,8 +29,11 @@ stdenv.mkDerivation rec {
];
postInstall = ''
for i in "$out/bin/"*; do
wrapProgram "$i" --prefix PATH : "${groff}/bin"
# apropos/whatis uses program name to decide whether to act like apropos or whatis
# (multi-call binary). `apropos` is actually just a symlink to whatis. So we need to
# make sure that we don't wrap symlinks (since that changes argv[0] to the -wrapped name)
find "$out/bin" -type f | while read file; do
wrapProgram "$file" --prefix PATH : "${groff}/bin"
done
'';

View File

@ -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

View File

@ -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 ];

View File

@ -24596,6 +24596,22 @@ in {
};
});
sphinxcontrib_newsfeed = buildPythonPackage (rec {
name = "sphinxcontrib-newsfeed-${version}";
version = "0.1.4";
src = pkgs.fetchurl {
url = "mirror://pypi/s/sphinxcontrib-newsfeed/${name}.tar.gz";
sha256 = "1d7gam3mn8v4in4p16yn3v10vps7nnaz6ilw99j4klij39dqd37p";
};
propagatedBuildInputs = with self; [sphinx];
meta = {
description = "Extension for adding a simple Blog, News or Announcements section to a Sphinx website";
homepage = http://bitbucket.org/prometheus/sphinxcontrib-newsfeed;
license = licenses.bsd2;
};
});
sphinxcontrib_plantuml = buildPythonPackage (rec {
name = "sphinxcontrib-plantuml-0.7";