uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
35
pkgs/servers/http/apache-modules/mod_auth_mellon/default.nix
Normal file
35
pkgs/servers/http/apache-modules/mod_auth_mellon/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, stdenv, apacheHttpd, autoconf, automake, autoreconfHook, curl, fetchFromGitHub, glib, lasso, libtool, libxml2, libxslt, openssl, pkg-config, xmlsec }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "mod_auth_mellon";
|
||||
version = "0.18.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "latchset";
|
||||
repo = "mod_auth_mellon";
|
||||
rev = "v${version}";
|
||||
sha256 = "0alfa8hz09jdg29bi1mvhwyr2nl0nvss2a2kybrcjvdw1fx6vijn";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config autoconf automake ];
|
||||
buildInputs = [ apacheHttpd curl glib lasso libtool libxml2 libxslt openssl xmlsec ];
|
||||
|
||||
configureFlags = ["--with-apxs2=${apacheHttpd.dev}/bin/apxs" "--exec-prefix=$out"];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp ./mellon_create_metadata.sh $out/bin
|
||||
mkdir -p $out/modules
|
||||
cp ./.libs/mod_auth_mellon.so $out/modules
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/latchset/mod_auth_mellon";
|
||||
description = "An Apache module with a simple SAML 2.0 service provider";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ womfoo ];
|
||||
};
|
||||
|
||||
}
|
||||
35
pkgs/servers/http/apache-modules/mod_ca/default.nix
Normal file
35
pkgs/servers/http/apache-modules/mod_ca/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, apacheHttpd, openssl, openldap, apr, aprutil }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mod_ca";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
|
||||
sha256 = "0gs66br3aig749rzifxn6j1rz2kps4hc4jppscly48lypgyygy8s";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ apacheHttpd openssl openldap apr aprutil ];
|
||||
|
||||
# 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 lib; {
|
||||
description = "RedWax CA service module";
|
||||
|
||||
homepage = "https://redwax.eu";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ dirkx ];
|
||||
};
|
||||
}
|
||||
25
pkgs/servers/http/apache-modules/mod_crl/default.nix
Normal file
25
pkgs/servers/http/apache-modules/mod_crl/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, mod_ca, apr, aprutil }:
|
||||
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mod_crl";
|
||||
version = "0.2.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
|
||||
sha256 = "1x186kp6fr8nwg0jlv5phagxndvw4rjqfga9mkibmn6dx252p61d";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ mod_ca apr aprutil ];
|
||||
inherit (mod_ca) configureFlags installFlags;
|
||||
|
||||
meta = with lib; {
|
||||
description = "RedWax module for Certificate Revocation Lists";
|
||||
|
||||
homepage = "https://redwax.eu";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ dirkx ];
|
||||
};
|
||||
}
|
||||
34
pkgs/servers/http/apache-modules/mod_cspnonce/default.nix
Normal file
34
pkgs/servers/http/apache-modules/mod_cspnonce/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ stdenv, lib, fetchFromGitHub, apacheHttpd }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mod_cspnonce";
|
||||
version = "1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wyattoday";
|
||||
repo = "mod_cspnonce";
|
||||
rev = version;
|
||||
sha256 = "0kqvxf1dn8r0ywrfiwsxryjrxii2sq11wisbjnm7770sjwckwqh5";
|
||||
};
|
||||
|
||||
buildInputs = [ apacheHttpd ];
|
||||
|
||||
buildPhase = ''
|
||||
apxs -ca mod_cspnonce.c
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/modules
|
||||
cp .libs/mod_cspnonce.so $out/modules
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An Apache2 module that makes it dead simple to add nonce values to the CSP";
|
||||
homepage = "https://github.com/wyattoday/mod_cspnonce";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ dasj19 ];
|
||||
};
|
||||
}
|
||||
25
pkgs/servers/http/apache-modules/mod_csr/default.nix
Normal file
25
pkgs/servers/http/apache-modules/mod_csr/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, mod_ca, apr, aprutil }:
|
||||
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mod_csr";
|
||||
version = "0.2.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
|
||||
sha256 = "1p4jc0q40453wpvwqgnr1n007b4jxpkizzy3r4jygsxxgg4x9w7x";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ mod_ca apr aprutil ];
|
||||
inherit (mod_ca) configureFlags installFlags;
|
||||
|
||||
meta = with 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 ];
|
||||
};
|
||||
}
|
||||
44
pkgs/servers/http/apache-modules/mod_dnssd/default.nix
Normal file
44
pkgs/servers/http/apache-modules/mod_dnssd/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib, stdenv, fetchurl, fetchpatch, pkg-config, apacheHttpd, apr, avahi }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mod_dnssd";
|
||||
version = "0.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://0pointer.de/lennart/projects/mod_dnssd/${pname}-${version}.tar.gz";
|
||||
sha256 = "2cd171d76eba398f03c1d5bcc468a1756f4801cd8ed5bd065086e4374997c5aa";
|
||||
};
|
||||
|
||||
configureFlags = [ "--disable-lynx" ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ apacheHttpd avahi apr ];
|
||||
|
||||
patches = [ (fetchpatch {
|
||||
url = "http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/mod-dnssd/vivid/download/package-import%40ubuntu.com-20130530193334-kqebiy78q534or5k/portforapache2.4.pat-20130530222510-7tlw5btqchd04edb-3/port-for-apache2.4.patch";
|
||||
sha256 = "1hgcxwy1q8fsxfqyg95w8m45zbvxzskf1jxd87ljj57l7x1wwp4r";
|
||||
}) ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/modules
|
||||
cp src/.libs/mod_dnssd.so $out/modules
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
# TODO: Packages in non-standard directories not stripped.
|
||||
# https://github.com/NixOS/nixpkgs/issues/141554
|
||||
stripDebugList=modules
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://0pointer.de/lennart/projects/mod_dnssd";
|
||||
description = "Provide Zeroconf support via DNS-SD using Avahi";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
38
pkgs/servers/http/apache-modules/mod_fastcgi/default.nix
Normal file
38
pkgs/servers/http/apache-modules/mod_fastcgi/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib, stdenv, fetchFromGitHub, fetchurl, apacheHttpd }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mod_fastcgi";
|
||||
version = "2.4.7.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FastCGI-Archives";
|
||||
repo = "mod_fastcgi";
|
||||
rev = version;
|
||||
hash = "sha256-ovir59kCjKkgbraX23nsmzlMzGdeNTyj3MQd8cgvLsg=";
|
||||
};
|
||||
|
||||
buildInputs = [ apacheHttpd ];
|
||||
|
||||
preBuild = ''
|
||||
cp Makefile.AP2 Makefile
|
||||
makeFlags="top_dir=${apacheHttpd.dev}/share prefix=$out"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/FastCGI-Archives/mod_fastcgi";
|
||||
description = "Provide support for the FastCGI protocol";
|
||||
|
||||
longDescription = ''
|
||||
mod_fastcgi is a module for the Apache web server that enables
|
||||
FastCGI - a standards based protocol for communicating with
|
||||
applications that generate dynamic content for web pages. FastCGI
|
||||
provides a superset of CGI functionality, but a subset of the
|
||||
functionality of programming for a particular web server API.
|
||||
Nonetheless, the feature set is rich enough for programming
|
||||
virtually any type of web application, but the result is generally
|
||||
more scalable.
|
||||
'';
|
||||
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
39
pkgs/servers/http/apache-modules/mod_itk/default.nix
Normal file
39
pkgs/servers/http/apache-modules/mod_itk/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, mod_ca
|
||||
, apr
|
||||
, aprutil
|
||||
, apacheHttpd
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mod_itk";
|
||||
version = "2.4.7-04";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://mpm-itk.sesse.net/mpm-itk-${version}.tar.gz";
|
||||
sha256 = "sha256:1kzgd1332pgpxf489kr0vdwsaik0y8wp3q282d4wa5jlk7l877v0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ mod_ca apr aprutil apacheHttpd ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/modules
|
||||
${apacheHttpd.dev}/bin/apxs -S LIBEXECDIR=$out/modules -i mpm_itk.la
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "an MPM (Multi-Processing Module) for the Apache web server.";
|
||||
maintainers = [ maintainers.zupo ];
|
||||
homepage = "http://mpm-itk.sesse.net/";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
24
pkgs/servers/http/apache-modules/mod_ocsp/default.nix
Normal file
24
pkgs/servers/http/apache-modules/mod_ocsp/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, mod_ca, apr, aprutil }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mod_ocsp";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
|
||||
sha256 = "0wy5363m4gq1w08iny2b3sh925bnznlln88pr9lgj9vgbn8pqnrn";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ mod_ca apr aprutil ];
|
||||
inherit (mod_ca) configureFlags installFlags;
|
||||
|
||||
meta = with lib; {
|
||||
description = "RedWax CA service modules of OCSP Online Certificate Validation";
|
||||
|
||||
homepage = "https://redwax.eu";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ dirkx ];
|
||||
};
|
||||
}
|
||||
33
pkgs/servers/http/apache-modules/mod_perl/default.nix
Normal file
33
pkgs/servers/http/apache-modules/mod_perl/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ stdenv, fetchurl, apacheHttpd, perl, nixosTests }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mod_perl";
|
||||
version = "2.0.11";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://apache/perl/${pname}-${version}.tar.gz";
|
||||
sha256 = "0x3gq4nz96y202cymgrf56n8spm7bffkd1p74dh9q3zrrlc9wana";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix build on perl-5.34.0, https://github.com/Perl/perl5/issues/18617
|
||||
../../../../development/perl-modules/mod_perl2-PL_hash_seed.patch
|
||||
];
|
||||
|
||||
buildInputs = [ apacheHttpd perl ];
|
||||
buildPhase = ''
|
||||
perl Makefile.PL \
|
||||
MP_APXS=${apacheHttpd.dev}/bin/apxs
|
||||
make
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
make install DESTDIR=$out
|
||||
mv $out${apacheHttpd}/* $out
|
||||
mv $out${apacheHttpd.dev}/* $out
|
||||
mv $out${perl}/* $out
|
||||
rm $out/nix -rf
|
||||
'';
|
||||
|
||||
passthru.tests = nixosTests.mod_perl;
|
||||
}
|
||||
24
pkgs/servers/http/apache-modules/mod_pkcs12/default.nix
Normal file
24
pkgs/servers/http/apache-modules/mod_pkcs12/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, mod_ca, apr, aprutil }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mod_pkcs12";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
|
||||
sha256 = "1jfyax3qrw9rpf2n0pn6iw4dpn2nl4j0i2a998n5p1mdmjx9ch73";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ mod_ca apr aprutil ];
|
||||
inherit (mod_ca) configureFlags installFlags;
|
||||
|
||||
meta = with lib; {
|
||||
description = "RedWax CA service modules for PKCS#12 format files";
|
||||
|
||||
homepage = "https://redwax.eu";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ dirkx ];
|
||||
};
|
||||
}
|
||||
36
pkgs/servers/http/apache-modules/mod_python/default.nix
Normal file
36
pkgs/servers/http/apache-modules/mod_python/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, stdenv, fetchurl, apacheHttpd, python2, libintl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mod_python";
|
||||
version = "3.5.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://dist.modpython.org/dist/${pname}-${version}.tgz";
|
||||
sha256 = "146apll3yfqk05s8fkf4acmxzqncl08bgn4rv0c1rd4qxmc91w0f";
|
||||
};
|
||||
|
||||
patches = [ ./install.patch ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace dist/version.sh \
|
||||
--replace 'GIT=`git describe --always`' "" \
|
||||
--replace '-$GIT' ""
|
||||
'';
|
||||
|
||||
installFlags = [ "LIBEXECDIR=${placeholder "out"}/modules" ];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/modules $out/bin
|
||||
'';
|
||||
|
||||
passthru = { inherit apacheHttpd; };
|
||||
|
||||
buildInputs = [ apacheHttpd python2 ]
|
||||
++ lib.optional stdenv.isDarwin libintl;
|
||||
|
||||
meta = {
|
||||
homepage = "http://modpython.org/";
|
||||
description = "An Apache module that embeds the Python interpreter within the server";
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
12
pkgs/servers/http/apache-modules/mod_python/install.patch
Normal file
12
pkgs/servers/http/apache-modules/mod_python/install.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
diff -ru -x '*~' mod_python-3.5.0-orig/dist/Makefile.in mod_python-3.5.0/dist/Makefile.in
|
||||
--- mod_python-3.5.0-orig/dist/Makefile.in 2013-11-12 04:21:34.000000000 +0100
|
||||
+++ mod_python-3.5.0/dist/Makefile.in 2014-11-07 11:28:24.466377733 +0100
|
||||
@@ -34,7 +34,7 @@
|
||||
install_py_lib: mod_python src
|
||||
@cd src; $(MAKE) psp_parser.c
|
||||
if test -z "$(DESTDIR)" ; then \
|
||||
- $(PYTHON_BIN) setup.py install --optimize 2 --force ; \
|
||||
+ $(PYTHON_BIN) setup.py install --optimize 2 --force --prefix $(out) ; \
|
||||
else \
|
||||
$(PYTHON_BIN) setup.py install --optimize 2 --force --root $(DESTDIR) ; \
|
||||
fi
|
||||
24
pkgs/servers/http/apache-modules/mod_scep/default.nix
Normal file
24
pkgs/servers/http/apache-modules/mod_scep/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, mod_ca, apr, aprutil }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mod_scep";
|
||||
version = "0.2.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
|
||||
sha256 = "1imddqyi81l90valvndx9r0ywn32ggijrdfrjmbx8j1abaccagrc";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ mod_ca apr aprutil ];
|
||||
inherit (mod_ca) configureFlags installFlags;
|
||||
|
||||
meta = with lib; {
|
||||
description = "RedWax CA service modules for SCEP (Automatic ceritifcate issue/renewal)";
|
||||
|
||||
homepage = "https://redwax.eu";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ dirkx ];
|
||||
};
|
||||
}
|
||||
24
pkgs/servers/http/apache-modules/mod_spkac/default.nix
Normal file
24
pkgs/servers/http/apache-modules/mod_spkac/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, mod_ca, apr, aprutil }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mod_spkac";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
|
||||
sha256 = "0hpr58yazbi21m0sjn22a8ns4h81s4jlab9szcdw7j9w9jdc7j0h";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ mod_ca apr aprutil ];
|
||||
inherit (mod_ca) configureFlags installFlags;
|
||||
|
||||
meta = with lib; {
|
||||
description = "RedWax CA service module for handling the Netscape keygen requests. ";
|
||||
|
||||
homepage = "https://redwax.eu";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ dirkx ];
|
||||
};
|
||||
}
|
||||
45
pkgs/servers/http/apache-modules/mod_tile/default.nix
Normal file
45
pkgs/servers/http/apache-modules/mod_tile/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, apacheHttpd, apr, cairo, iniparser, mapnik }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mod_tile";
|
||||
version = "unstable-2017-01-08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openstreetmap";
|
||||
repo = "mod_tile";
|
||||
rev = "e25bfdba1c1f2103c69529f1a30b22a14ce311f1";
|
||||
sha256 = "12c96avka1dfb9wxqmjd57j30w9h8yx4y4w34kyq6xnf6lwnkcxp";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Pull upstream fix for -fno-common toolchains:
|
||||
# https://github.com/openstreetmap/mod_tile/pull/202
|
||||
(fetchpatch {
|
||||
name = "fno-common";
|
||||
url = "https://github.com/openstreetmap/mod_tile/commit/a22065b8ae3c018820a5ca9bf8e2b2bb0a0bfeb4.patch";
|
||||
sha256 = "1ywfa14xn9aa96vx1adn1ndi29qpflca06x986bx9c5pqk761yz3";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ apacheHttpd apr cairo iniparser mapnik ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-apxs=${apacheHttpd.dev}/bin/apxs"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/modules
|
||||
make install-mod_tile DESTDIR=$out
|
||||
mv $out${apacheHttpd}/* $out
|
||||
rm -rf $out/nix
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/openstreetmap/mod_tile";
|
||||
description = "Efficiently render and serve OpenStreetMap tiles using Apache and Mapnik";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ jglukasik ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
24
pkgs/servers/http/apache-modules/mod_timestamp/default.nix
Normal file
24
pkgs/servers/http/apache-modules/mod_timestamp/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, mod_ca, apr, aprutil }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mod_timestamp";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://redwax.eu/dist/rs/${pname}-${version}.tar.gz";
|
||||
sha256 = "1p18mgxx2ainfrc2wm27rl3lh6yl0ihx6snib60jnp694587bfwg";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ mod_ca apr aprutil ];
|
||||
inherit (mod_ca) configureFlags installFlags;
|
||||
|
||||
meta = with lib; {
|
||||
description = "RedWax CA service module for issuing signed timestamps";
|
||||
|
||||
homepage = "https://redwax.eu";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ dirkx ];
|
||||
};
|
||||
}
|
||||
28
pkgs/servers/http/apache-modules/mod_wsgi/default.nix
Normal file
28
pkgs/servers/http/apache-modules/mod_wsgi/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, stdenv, fetchFromGitHub, apacheHttpd, python, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mod_wsgi";
|
||||
version = "4.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GrahamDumpleton";
|
||||
repo = "mod_wsgi";
|
||||
rev = version;
|
||||
hash = "sha256-gaWA6m4ENYtm88hCaoqrcIooA0TBI7Kj6fU6pPShoo4=";
|
||||
};
|
||||
|
||||
buildInputs = [ apacheHttpd python ncurses ];
|
||||
|
||||
patchPhase = ''
|
||||
sed -r -i -e "s|^LIBEXECDIR=.*$|LIBEXECDIR=$out/modules|" \
|
||||
${if stdenv.isDarwin then "-e 's|/usr/bin/lipo|lipo|'" else ""} \
|
||||
configure
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/GrahamDumpleton/mod_wsgi";
|
||||
description = "Host Python applications in Apache through the WSGI interface";
|
||||
license = lib.licenses.asl20;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, stdenv, fetchurl, apacheHttpd, jdk }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tomcat-connectors";
|
||||
version = "1.2.48";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://apache/tomcat/tomcat-connectors/jk/${pname}-${version}-src.tar.gz";
|
||||
sha256 = "15wfj1mvad15j1fqw67qbpbpwrcz3rb0zdhrq6z2sax1l05kc6yb";
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
"--with-apxs=${apacheHttpd.dev}/bin/apxs"
|
||||
"--with-java-home=${jdk}"
|
||||
];
|
||||
|
||||
setSourceRoot = ''
|
||||
sourceRoot=$(echo */native)
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/modules
|
||||
cp apache-2.0/mod_jk.so $out/modules
|
||||
'';
|
||||
|
||||
buildInputs = [ apacheHttpd jdk ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Provides web server plugins to connect web servers with Tomcat";
|
||||
homepage = "https://tomcat.apache.org/download-connectors.cgi";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue