diff options
author | Aaron Andersen <aaron@fosslib.net> | 2020-01-07 20:49:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-07 20:49:24 -0500 |
commit | e9d3a3c7d8036bd71bbf33e3ff1b0d0cac32816a (patch) | |
tree | 8343910b8a11111602e16c1113a8201e6d9edbe4 /pkgs/servers/http/apache-modules/mod_csr/default.nix | |
parent | 794780d9a4dfb8eac4c612f60db5854d43a6e4d7 (diff) | |
parent | f85ec2d8960a1a9708c0a261871c83f0abcc4f79 (diff) | |
download | nixpkgs-e9d3a3c7d8036bd71bbf33e3ff1b0d0cac32816a.tar nixpkgs-e9d3a3c7d8036bd71bbf33e3ff1b0d0cac32816a.tar.gz nixpkgs-e9d3a3c7d8036bd71bbf33e3ff1b0d0cac32816a.tar.bz2 nixpkgs-e9d3a3c7d8036bd71bbf33e3ff1b0d0cac32816a.tar.lz nixpkgs-e9d3a3c7d8036bd71bbf33e3ff1b0d0cac32816a.tar.xz nixpkgs-e9d3a3c7d8036bd71bbf33e3ff1b0d0cac32816a.tar.zst nixpkgs-e9d3a3c7d8036bd71bbf33e3ff1b0d0cac32816a.zip |
Merge pull request #76417 from dirkx/redwax-modules
mod_ca, mod_crl, mod_csr, mod_ocsp, mod_scep, mod_pkcs12, mod_spkac, mod_timestamp: init at 0.2.1
Diffstat (limited to 'pkgs/servers/http/apache-modules/mod_csr/default.nix')
-rw-r--r-- | pkgs/servers/http/apache-modules/mod_csr/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/servers/http/apache-modules/mod_csr/default.nix b/pkgs/servers/http/apache-modules/mod_csr/default.nix new file mode 100644 index 00000000000..60f97d2f361 --- /dev/null +++ b/pkgs/servers/http/apache-modules/mod_csr/default.nix @@ -0,0 +1,41 @@ +{ stdenv, fetchurl, pkgconfig, mod_ca, apr, aprutil }: + +stdenv.mkDerivation rec { + pname = "mod_csr"; + version = "0.2.1"; + + src = fetchurl { + url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz"; + sha256 = "01sdvv07kchdd6ssrmd2cbhj50qh2ibp5g5h6jy1jqbzp0b3j9ja"; + }; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ mod_ca apr aprutil ]; + inherit (mod_ca) configureFlags installFlags; + + # After openssl-1.0.2t, starting in openssl-1.1.0l + # parts of the OpenSSL struct API was replaced by + # getters - but some setters where forgotten. + # + # It is expected that these are back/retrofitted in version + # openssl-1.1.1d -- but while fixing this it was found + # that there were quite a few other setters missing and + # that some of the memory management needed was at odds + # with the principles used sofar. + # + # See https://github.com/openssl/openssl/pull/10563 + # + # So as a stopgap - use a minimalist compat. layer + # https://source.redwax.eu/projects/RS/repos/mod_csr/browse/openssl_setter_compat.h + # + preBuild = "cp ${./openssl_setter_compat.h} openssl_setter_compat.h"; + + meta = with stdenv.lib; { + description = "RedWax CA service module to handle Certificate Signing Requests"; + + homepage = "https://redwax.eu"; + license = licenses.asl20; + platforms = platforms.unix; + maintainers = with maintainers; [ dirkx ]; + }; +} |