mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
Added apache tomcat connector module
svn path=/nixpkgs/trunk/; revision=10260
This commit is contained in:
parent
12fafd0c7d
commit
c78e2d93c2
|
@ -0,0 +1,8 @@
|
|||
source $stdenv/setup
|
||||
|
||||
tar xfvz $src
|
||||
cd tomcat-connectors-*-src/native
|
||||
./configure --with-apxs=$apacheHttpd/bin/apxs --with-java-home=$jdk
|
||||
make
|
||||
ensureDir $out/modules
|
||||
cp apache-2.0/mod_jk.so $out/modules
|
|
@ -0,0 +1,14 @@
|
|||
{stdenv, fetchurl, apacheHttpd, jdk}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "tomcat-connectors-1.2.26";
|
||||
builder = ./builder.sh;
|
||||
|
||||
src = fetchurl {
|
||||
url = http://apache.proserve.nl/tomcat/tomcat-connectors/jk/source/jk-1.2.26/tomcat-connectors-1.2.26-src.tar.gz;
|
||||
md5 = "feaec245136bc4d99a9dde95a00ea93c";
|
||||
};
|
||||
|
||||
inherit apacheHttpd;
|
||||
buildInputs = [apacheHttpd jdk];
|
||||
}
|
|
@ -3028,6 +3028,10 @@ rec {
|
|||
inherit fetchurl stdenv apacheHttpd python;
|
||||
};
|
||||
|
||||
tomcat_connectors = import ../servers/http/apache-modules/tomcat-connectors {
|
||||
inherit fetchurl stdenv apacheHttpd jdk;
|
||||
};
|
||||
|
||||
mysql = import ../servers/sql/mysql {
|
||||
inherit fetchurl stdenv ncurses zlib perl;
|
||||
ps = procps; /* !!! Linux only */
|
||||
|
|
Loading…
Reference in a new issue