Merge pull request #297846 from anthonyroussel/update-apache-modules

Update apacheHttpdPackages
This commit is contained in:
Robert Scott 2024-03-23 22:06:26 +00:00 committed by GitHub
commit 7b151da560
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 265 additions and 61 deletions

View File

@ -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 ];

View File

@ -1,23 +1,41 @@
{ lib, stdenv, fetchurl, pkg-config, mod_ca, apr, aprutil }:
{
apr,
aprutil,
directoryListingUpdater,
fetchurl,
lib,
mod_ca,
pkg-config,
stdenv,
}:
stdenv.mkDerivation rec {
pname = "mod_crl";
version = "0.2.3";
version = "0.2.4";
src = fetchurl {
url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
sha256 = "1x186kp6fr8nwg0jlv5phagxndvw4rjqfga9mkibmn6dx252p61d";
hash = "sha256-w8YIhed9J1uo5uwhfOVe5LhNLUvFZCgUO4FrHm344Rg=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ mod_ca apr aprutil ];
buildInputs = [
apr
aprutil
mod_ca
];
inherit (mod_ca) configureFlags installFlags;
passthru.updateScript = directoryListingUpdater {
url = "https://redwax.eu/dist/rs/";
};
meta = with lib; {
description = "RedWax module for Certificate Revocation Lists";
homepage = "https://redwax.eu";
changelog = "https://source.redwax.eu/projects/RS/repos/mod_crl/browse/ChangeLog";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ dirkx ];

View File

@ -1,23 +1,41 @@
{ lib, stdenv, fetchurl, pkg-config, mod_ca, apr, aprutil }:
{
apr,
aprutil,
directoryListingUpdater,
fetchurl,
lib,
mod_ca,
pkg-config,
stdenv,
}:
stdenv.mkDerivation rec {
pname = "mod_csr";
version = "0.2.3";
version = "0.2.4";
src = fetchurl {
url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
sha256 = "1p4jc0q40453wpvwqgnr1n007b4jxpkizzy3r4jygsxxgg4x9w7x";
hash = "sha256-JVd5N5UnAxDwq6AavEHA0HsY2TRa+9RmLLJeRZbj+4Q=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ mod_ca apr aprutil ];
buildInputs = [
apr
aprutil
mod_ca
];
inherit (mod_ca) configureFlags installFlags;
passthru.updateScript = directoryListingUpdater {
url = "https://redwax.eu/dist/rs/";
};
meta = with lib; {
description = "RedWax CA service module to handle Certificate Signing Requests";
homepage = "https://redwax.eu";
changelog = "https://source.redwax.eu/projects/RS/repos/mod_csr/browse/ChangeLog";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ dirkx ];

View File

@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
homepage = "http://0pointer.de/lennart/projects/mod_dnssd";
homepage = "https://0pointer.de/lennart/projects/mod_dnssd";
description = "Provide Zeroconf support via DNS-SD using Avahi";
license = licenses.asl20;
platforms = platforms.linux;

View File

@ -1,22 +1,41 @@
{ lib, stdenv, fetchurl, pkg-config, mod_ca, apr, aprutil }:
{
apr,
aprutil,
directoryListingUpdater,
fetchurl,
lib,
mod_ca,
pkg-config,
stdenv,
}:
stdenv.mkDerivation rec {
pname = "mod_ocsp";
version = "0.2.2";
version = "0.2.3";
src = fetchurl {
url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
sha256 = "0wy5363m4gq1w08iny2b3sh925bnznlln88pr9lgj9vgbn8pqnrn";
hash = "sha256-G+m/KdJCCTlSMeJzUnCRJkBEQ8cOQ+rJhA3NPrwh1Us=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ mod_ca apr aprutil ];
buildInputs = [
apr
aprutil
mod_ca
];
inherit (mod_ca) configureFlags installFlags;
passthru.updateScript = directoryListingUpdater {
url = "https://redwax.eu/dist/rs/";
};
meta = with lib; {
description = "RedWax CA service modules of OCSP Online Certificate Validation";
homepage = "https://redwax.eu";
changelog = "https://source.redwax.eu/projects/RS/repos/mod_csr/browse/ChangeLog";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ dirkx ];

View File

@ -1,20 +1,33 @@
{ stdenv, fetchurl, apacheHttpd, perl, nixosTests }:
{
apacheHttpd,
directoryListingUpdater,
fetchurl,
lib,
nixosTests,
perl,
stdenv,
}:
stdenv.mkDerivation rec {
pname = "mod_perl";
version = "2.0.12";
version = "2.0.13";
src = fetchurl {
url = "mirror://apache/perl/${pname}-${version}.tar.gz";
sha256 = "sha256-9bghtZsP3JZw5G7Q/PMtiRHyUSYYmotowWUvkiHu4mk=";
sha256 = "sha256-reO+McRHuESIaf7N/KziWNbVh7jGx3PF8ic19w2C1to=";
};
buildInputs = [ apacheHttpd perl ];
buildInputs = [
apacheHttpd
perl
];
buildPhase = ''
perl Makefile.PL \
MP_APXS=${apacheHttpd.dev}/bin/apxs
make
'';
installPhase = ''
mkdir -p $out
make install DESTDIR=$out
@ -24,6 +37,22 @@ stdenv.mkDerivation rec {
rm $out/nix -rf
'';
passthru.tests = nixosTests.mod_perl;
meta.mainProgram = "mp2bug";
passthru = {
updateScript = directoryListingUpdater {
url = "https://archive.apache.org/dist/perl/";
};
tests = nixosTests.mod_perl;
};
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "Integration of perl with the Apache2 web server";
homepage = "https://perl.apache.org/download/index.html";
changelog = "https://github.com/apache/mod_perl/blob/trunk/Changes";
license = licenses.asl20;
mainProgram = "mp2bug";
maintainers = with maintainers; [ ];
platforms = platforms.unix;
};
}

View File

@ -1,22 +1,41 @@
{ lib, stdenv, fetchurl, pkg-config, mod_ca, apr, aprutil }:
{
apr,
aprutil,
directoryListingUpdater,
fetchurl,
lib,
mod_ca,
pkg-config,
stdenv,
}:
stdenv.mkDerivation rec {
pname = "mod_pkcs12";
version = "0.2.2";
version = "0.2.3";
src = fetchurl {
url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
sha256 = "1jfyax3qrw9rpf2n0pn6iw4dpn2nl4j0i2a998n5p1mdmjx9ch73";
hash = "sha256-k7BZ5d0WigyTmoUyFds7UCJ/tFBiUxd5pS4cVxmAI1g=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ mod_ca apr aprutil ];
buildInputs = [
apr
aprutil
mod_ca
];
inherit (mod_ca) configureFlags installFlags;
passthru.updateScript = directoryListingUpdater {
url = "https://redwax.eu/dist/rs/";
};
meta = with lib; {
description = "RedWax CA service modules for PKCS#12 format files";
homepage = "https://redwax.eu";
changelog = "https://source.redwax.eu/projects/RS/repos/mod_pkcs12/browse/ChangeLog";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ dirkx ];

View File

@ -1,13 +1,21 @@
{ lib, stdenv, fetchFromGitHub, apacheHttpd, python3, libintl }:
{
apacheHttpd,
fetchFromGitHub,
lib,
libintl,
nix-update-script,
python3,
stdenv,
}:
stdenv.mkDerivation rec {
pname = "mod_python";
version = "unstable-2022-10-18";
version = "3.5.0.2";
src = fetchFromGitHub {
owner = "grisha";
repo = pname;
rev = "d066b07564d2194839eceb535485eb1ba0c292d8";
rev = "refs/tags/${version}";
hash = "sha256-EH8wrXqUAOFWyPKfysGeiIezgrVc789RYO4AHeSA6t4=";
};
@ -18,13 +26,21 @@ stdenv.mkDerivation rec {
"BINDIR=$(out)/bin"
];
passthru = { inherit apacheHttpd; };
buildInputs = [
apacheHttpd
python3
] ++ lib.optionals stdenv.isDarwin [
libintl
];
buildInputs = [ apacheHttpd python3 ]
++ lib.optional stdenv.isDarwin libintl;
passthru = {
inherit apacheHttpd;
updateScript = nix-update-script { };
};
meta = with lib; {
homepage = "https://modpython.org/";
changelog = "https://github.com/grisha/mod_python/blob/${version}/NEWS";
description = "An Apache module that embeds the Python interpreter within the server";
mainProgram = "mod_python";
platforms = platforms.unix;

View File

@ -1,22 +1,41 @@
{ lib, stdenv, fetchurl, pkg-config, mod_ca, apr, aprutil }:
{
apr,
aprutil,
directoryListingUpdater,
fetchurl,
lib,
mod_ca,
pkg-config,
stdenv,
}:
stdenv.mkDerivation rec {
pname = "mod_scep";
version = "0.2.3";
version = "0.2.4";
src = fetchurl {
url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
sha256 = "1imddqyi81l90valvndx9r0ywn32ggijrdfrjmbx8j1abaccagrc";
hash = "sha256-HFPQ1A3ULtT2MduIQZS1drdQvCdZqJqKpOsJLEw67sI=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ mod_ca apr aprutil ];
buildInputs = [
apr
aprutil
mod_ca
];
inherit (mod_ca) configureFlags installFlags;
passthru.updateScript = directoryListingUpdater {
url = "https://redwax.eu/dist/rs/";
};
meta = with lib; {
description = "RedWax CA service modules for SCEP (Automatic ceritifcate issue/renewal)";
homepage = "https://redwax.eu";
changelog = "https://source.redwax.eu/projects/RS/repos/mod_scep/browse/ChangeLog";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ dirkx ];

View File

@ -1,22 +1,41 @@
{ lib, stdenv, fetchurl, pkg-config, mod_ca, apr, aprutil }:
{
apr,
aprutil,
directoryListingUpdater,
fetchurl,
lib,
mod_ca,
pkg-config,
stdenv,
}:
stdenv.mkDerivation rec {
pname = "mod_spkac";
version = "0.2.2";
version = "0.2.3";
src = fetchurl {
url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
sha256 = "0hpr58yazbi21m0sjn22a8ns4h81s4jlab9szcdw7j9w9jdc7j0h";
hash = "sha256-J1pGz+/AD0IPwRPBA+wt9PgV9qnZEHX66VCBGqhf0b8=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ mod_ca apr aprutil ];
buildInputs = [
apr
aprutil
mod_ca
];
inherit (mod_ca) configureFlags installFlags;
passthru.updateScript = directoryListingUpdater {
url = "https://redwax.eu/dist/rs/";
};
meta = with lib; {
description = "RedWax CA service module for handling the Netscape keygen requests. ";
homepage = "https://redwax.eu";
changelog = "https://source.redwax.eu/projects/RS/repos/mod_spkac/browse/ChangeLog";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ dirkx ];

View File

@ -15,17 +15,18 @@
, iniparser
, libmemcached
, mapnik
, nix-update-script
}:
stdenv.mkDerivation rec {
pname = "mod_tile";
version = "0.7.0";
version = "0.7.1";
src = fetchFromGitHub {
owner = "openstreetmap";
repo = "mod_tile";
rev = "v${version}";
hash = "sha256-jDuOcmKzZGU6L0aOfPKRGpDLbX0O9ueTufBy7Bd6KMU=";
rev = "refs/tags/v${version}";
hash = "sha256-zXUwTG8cqAkY5MC1jAc2TtMgNMQPLc5nc22okVYP4ME=";
};
nativeBuildInputs = [
@ -64,6 +65,8 @@ stdenv.mkDerivation rec {
doCheck = true;
passthru.updateScript = nix-update-script { };
meta = with lib; {
homepage = "https://github.com/openstreetmap/mod_tile";
description = "Efficiently render and serve OpenStreetMap tiles using Apache and Mapnik";

View File

@ -1,22 +1,46 @@
{ lib, stdenv, fetchurl, pkg-config, mod_ca, apr, aprutil }:
{
apr,
aprutil,
directoryListingUpdater,
fetchurl,
lib,
mod_ca,
pkg-config,
stdenv,
}:
stdenv.mkDerivation rec {
pname = "mod_timestamp";
version = "0.2.2";
version = "0.2.3";
src = fetchurl {
url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
sha256 = "1p18mgxx2ainfrc2wm27rl3lh6yl0ihx6snib60jnp694587bfwg";
hash = "sha256-X49gJ1wQtwQT3GOZkluxdMIY2ZRpM9Y7DZln6Ag9DvM=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ mod_ca apr aprutil ];
buildInputs = [
apr
aprutil
mod_ca
];
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isClang [
"-Wno-error=int-conversion"
"-Wno-error=implicit-function-declaration"
]);
inherit (mod_ca) configureFlags installFlags;
passthru.updateScript = directoryListingUpdater {
url = "https://redwax.eu/dist/rs/";
};
meta = with lib; {
description = "RedWax CA service module for issuing signed timestamps";
homepage = "https://redwax.eu";
changelog = "https://source.redwax.eu/projects/RS/repos/mod_timestamp/browse/ChangeLog";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ dirkx ];