nixpkgs/pkgs/development/libraries/openslp/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
1.2 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, fetchpatch }:
2016-01-08 19:12:18 +00:00
stdenv.mkDerivation rec {
pname = "openslp";
version = "2.0.0";
2016-01-08 19:12:18 +00:00
src = fetchurl {
url = "mirror://sourceforge/openslp/${version}/${version}/openslp-${version}.tar.gz";
2016-01-08 19:12:18 +00:00
sha256 = "16splwmqp0400w56297fkipaq9vlbhv7hapap8z09gp5m2i3fhwj";
};
2016-10-27 00:51:06 +00:00
patches = [
(fetchpatch {
name = "openslp-2.0.0-null-pointer-deref.patch";
url = "https://src.fedoraproject.org/cgit/rpms/openslp.git/plain/openslp-2.0.0-null-pointer-deref.patch";
2016-10-27 00:51:06 +00:00
sha256 = "186f3rj3z2lf5h1lpbhqk0szj2a9far1p3mjqg6422f29yjfnz6a";
})
(fetchpatch {
name = "openslp-2.0.0-CVE-2016-7567.patch";
url = "https://src.fedoraproject.org/cgit/rpms/openslp.git/plain/openslp-2.0.0-cve-2016-7567.patch";
sha256 = "0zp61axx93b7nrbsyhn2x4dnw7n9y6g4rys21hyqxk4khrnc2yr9";
2016-10-27 00:51:06 +00:00
})
2018-01-06 20:25:00 +00:00
./CVE-2016-4912.patch
2021-02-02 17:37:09 +00:00
./CVE-2019-5544.patch
2016-10-27 00:51:06 +00:00
];
meta = with lib; {
homepage = "http://www.openslp.org/";
2016-01-08 19:12:18 +00:00
description = "An open-source implementation of the IETF Service Location Protocol";
maintainers = with maintainers; [ ttuegel ];
license = licenses.bsd3;
platforms = platforms.all;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
2016-01-08 19:12:18 +00:00
};
}