nixpkgs/pkgs/development/libraries/cracklib/default.nix
Will Dietz a3eccfd5b0 cracklib: 2.9.6 -> 2.9.7
https://github.com/cracklib/cracklib/releases/tag/v2.9.7

I haven't looked into the details but notes mention:

> apply patch to fix CVE-2016-6318 Stack-based buffer overflow when parsing large GECOS field
> fix a buffer overflow processing long words
2019-03-03 23:52:00 -06:00

22 lines
693 B
Nix

{ stdenv, fetchurl, zlib, gettext }:
stdenv.mkDerivation rec {
pname = "cracklib";
version = "2.9.7";
src = fetchurl {
url = "https://github.com/${pname}/${pname}/releases/download/v${version}/${pname}-${version}.tar.bz2";
sha256 = "1rimpjsdnmw8f5b7k558cic41p2qy2n2yrlqp5vh7mp4162hk0py";
};
buildInputs = [ zlib gettext ];
meta = with stdenv.lib; {
homepage = https://github.com/cracklib/cracklib;
description = "A library for checking the strength of passwords";
license = licenses.lgpl21; # Different license for the wordlist: http://www.openwall.com/wordlists
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix;
};
}