Additional redwax modules - including comments from review on #75620.

This commit is contained in:
Dirk-Willem van Gulik
2019-12-24 17:01:04 +01:00
parent 826d61e5d9
commit f85ec2d896
12 changed files with 393 additions and 0 deletions
@@ -0,0 +1,35 @@
{ stdenv, fetchurl, pkgconfig, apacheHttpd, openssl, openldap }:
stdenv.mkDerivation rec {
pname = "mod_ca";
version = "0.2.1";
src = fetchurl {
url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
sha256 = "1pxapjrzdsk2s25vhgvf56fkakdqcbn9hjncwmqh0asl1pa25iic";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ apacheHttpd openssl openldap ];
# Note that configureFlags and installFlags are inherited by
# the various submodules.
#
configureFlags = [
"--with-apxs=${apacheHttpd.dev}/bin/apxs"
];
installFlags = [
"INCLUDEDIR=${placeholder ''out''}/include"
"LIBEXECDIR=${placeholder ''out''}/modules"
];
meta = with stdenv.lib; {
description = "RedWax CA service module";
homepage = "https://redwax.eu";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ dirkx ];
};
}