tomcat-connectors: 1.2.32 -> 1.2.40

This commit is contained in:
Domen Kožar 2014-11-08 19:48:47 +01:00
parent 392f828c5d
commit 824879cfd4
2 changed files with 15 additions and 16 deletions

View File

@ -1,8 +0,0 @@
source $stdenv/setup
tar xfvz $src
cd tomcat-connectors-*-src/native
./configure --with-apxs=$apacheHttpd/bin/apxs --with-java-home=$jdk
make
mkdir -p $out/modules
cp apache-2.0/mod_jk.so $out/modules

View File

@ -1,14 +1,21 @@
{ stdenv, fetchurl, apacheHttpd, jdk }:
stdenv.mkDerivation {
name = "tomcat-connectors-1.2.32";
builder = ./builder.sh;
stdenv.mkDerivation rec {
name = "tomcat-connectors-1.2.40";
src = fetchurl {
url = http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.32-src.tar.gz;
sha256 = "1dim62warzy1hqvc7cvnqsbq475sr6vpgwd6gfmddmkgw155saji";
url = "http://www.apache.si/tomcat/tomcat-connectors/jk/${name}-src.tar.gz";
sha256 = "0pbh6s19ba5k2kahiiqgx8lz8v4fjllzn0w6hjd08x7z9my38pl9";
};
inherit apacheHttpd;
configureFlags = "--with-apxs=${apacheHttpd}/bin/apxs --with-java-home=${jdk}";
sourceRoot = "${name}-src/native";
installPhase = ''
mkdir -p $out/modules
cp apache-2.0/mod_jk.so $out/modules
'';
buildInputs = [ apacheHttpd jdk ];
}