about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAnthony Roussel <anthony@roussel.dev>2024-03-21 22:12:07 +0100
committerAnthony Roussel <anthony@roussel.dev>2024-03-22 12:52:21 +0100
commitaa0ce1d98aa3447cea5ce8f2bb7434ecc89be691 (patch)
tree00c60f9cb84810e81a18437a7d75c506d5243f05
parent0cb727d0b55b974c6790792a2143eaabb99ba6e1 (diff)
downloadnixlib-aa0ce1d98aa3447cea5ce8f2bb7434ecc89be691.tar
nixlib-aa0ce1d98aa3447cea5ce8f2bb7434ecc89be691.tar.gz
nixlib-aa0ce1d98aa3447cea5ce8f2bb7434ecc89be691.tar.bz2
nixlib-aa0ce1d98aa3447cea5ce8f2bb7434ecc89be691.tar.lz
nixlib-aa0ce1d98aa3447cea5ce8f2bb7434ecc89be691.tar.xz
nixlib-aa0ce1d98aa3447cea5ce8f2bb7434ecc89be691.tar.zst
nixlib-aa0ce1d98aa3447cea5ce8f2bb7434ecc89be691.zip
apacheHttpdPackages.mod_ca: add passthru.updateScript
-rw-r--r--pkgs/servers/http/apache-modules/mod_ca/default.nix32
1 files changed, 26 insertions, 6 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..06929b6024dd 100644
--- a/pkgs/servers/http/apache-modules/mod_ca/default.nix
+++ b/pkgs/servers/http/apache-modules/mod_ca/default.nix
@@ -1,4 +1,15 @@
-{ 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";
@@ -10,24 +21,33 @@ stdenv.mkDerivation rec {
   };
 
   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 ];