389-ds-base: 1.3.5.4 -> 1.3.5.15

This commit is contained in:
Graham Christensen 2017-02-05 16:40:28 -05:00
parent d93fdc0f54
commit ef875a60c1
No known key found for this signature in database
GPG Key ID: 06121D366FE9435C

View File

@ -2,14 +2,14 @@
, db, cyrus_sasl, svrcore, icu, net_snmp, kerberos, pcre, perlPackages , db, cyrus_sasl, svrcore, icu, net_snmp, kerberos, pcre, perlPackages
}: }:
let let
version = "1.3.5.4"; version = "1.3.5.15";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "389-ds-base-${version}"; name = "389-ds-base-${version}";
src = fetchurl { src = fetchurl {
url = "http://directory.fedoraproject.org/binaries/${name}.tar.bz2"; url = "http://directory.fedoraproject.org/binaries/${name}.tar.bz2";
sha256 = "1f1r4wky8x39jdabnd277f6m0snnzh9f0wvsr8x4rnvkckjphbx8"; sha256 = "1z17nnr4axndjyp413kyxb6iwdfky7nlsjhlc0klvdi2ai983p91";
}; };
buildInputs = [ buildInputs = [
@ -20,13 +20,6 @@ stdenv.mkDerivation rec {
# TODO: Fix bin/ds-logpipe.py, bin/logconv, bin/cl-dump # TODO: Fix bin/ds-logpipe.py, bin/logconv, bin/cl-dump
patches = [ ./perl-path.patch patches = [ ./perl-path.patch
# https://fedorahosted.org/389/ticket/48354
(fetchpatch {
name = "389-ds-base-CVE-2016-5416.patch";
url = "https://fedorahosted.org/389/changeset/3c2cd48b7d2cb0579f7de6d460bcd0c9bb1157bd/?format=diff&new=3c2cd48b7d2cb0579f7de6d460bcd0c9bb1157bd";
addPrefixes = true;
sha256 = "1kv3a3di1cihkaf8xdbb5mzvhm4c3frx8rc5mji8xgjyj9ni6xja";
})
]; ];
preConfigure = '' preConfigure = ''