about summary refs log tree commit diff
path: root/pkgs/servers/http/apache-modules/mod_ca/default.nix
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2024-03-23 22:06:26 +0000
committerGitHub <noreply@github.com>2024-03-23 22:06:26 +0000
commit7b151da560bc900bc78812b6374055d1a0a151fc (patch)
tree2030e46e861c286ca47a612d5be93c26f0697d4a /pkgs/servers/http/apache-modules/mod_ca/default.nix
parent81391c8d46cd625d914f854754bd5a46e1863bb6 (diff)
parentfbbf8be029a2b054da72612b4e90619a3617f641 (diff)
downloadnixlib-7b151da560bc900bc78812b6374055d1a0a151fc.tar
nixlib-7b151da560bc900bc78812b6374055d1a0a151fc.tar.gz
nixlib-7b151da560bc900bc78812b6374055d1a0a151fc.tar.bz2
nixlib-7b151da560bc900bc78812b6374055d1a0a151fc.tar.lz
nixlib-7b151da560bc900bc78812b6374055d1a0a151fc.tar.xz
nixlib-7b151da560bc900bc78812b6374055d1a0a151fc.tar.zst
nixlib-7b151da560bc900bc78812b6374055d1a0a151fc.zip
Merge pull request #297846 from anthonyroussel/update-apache-modules
Update apacheHttpdPackages
Diffstat (limited to 'pkgs/servers/http/apache-modules/mod_ca/default.nix')
-rw-r--r--pkgs/servers/http/apache-modules/mod_ca/default.nix36
1 files changed, 28 insertions, 8 deletions
diff --git a/pkgs/servers/http/apache-modules/mod_ca/default.nix b/pkgs/servers/http/apache-modules/mod_ca/default.nix
index a357f0291ce5..4eb67f02c9a0 100644
--- a/pkgs/servers/http/apache-modules/mod_ca/default.nix
+++ b/pkgs/servers/http/apache-modules/mod_ca/default.nix
@@ -1,33 +1,53 @@
-{ lib, stdenv, fetchurl, pkg-config, apacheHttpd, openssl, openldap, apr, aprutil }:
+{
+  apacheHttpd,
+  apr,
+  aprutil,
+  directoryListingUpdater,
+  fetchurl,
+  lib,
+  openldap,
+  openssl,
+  pkg-config,
+  stdenv,
+}:
 
 stdenv.mkDerivation rec {
   pname = "mod_ca";
-  version = "0.2.2";
+  version = "0.2.3";
 
   src = fetchurl {
     url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
-    sha256 = "0gs66br3aig749rzifxn6j1rz2kps4hc4jppscly48lypgyygy8s";
+    hash = "sha256-HGnhypOO0WOgRw9i9oqO4da131zAwBXOdrc9dypFjyk=";
   };
 
   nativeBuildInputs = [ pkg-config ];
-  buildInputs = [ apacheHttpd openssl openldap apr aprutil ];
+
+  buildInputs = [
+    apacheHttpd
+    apr
+    aprutil
+    openldap
+    openssl
+  ];
 
   # Note that configureFlags and installFlags are inherited by
   # the various submodules.
   #
-  configureFlags = [
-    "--with-apxs=${apacheHttpd.dev}/bin/apxs"
-  ];
+  configureFlags = [ "--with-apxs=${apacheHttpd.dev}/bin/apxs" ];
 
   installFlags = [
     "INCLUDEDIR=${placeholder "out"}/include"
     "LIBEXECDIR=${placeholder "out"}/modules"
   ];
 
+  passthru.updateScript = directoryListingUpdater {
+    url = "https://redwax.eu/dist/rs/";
+  };
+
   meta = with lib; {
     description = "RedWax CA service module";
-
     homepage = "https://redwax.eu";
+    changelog = "https://source.redwax.eu/projects/RS/repos/mod_ca/browse/ChangeLog";
     license = licenses.asl20;
     platforms = platforms.unix;
     maintainers = with maintainers; [ dirkx ];