Skip to content

Commit

Permalink
tomcat-connectors: 1.2.32 -> 1.2.40
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Nov 8, 2014
1 parent 392f828 commit 824879c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
8 changes: 0 additions & 8 deletions pkgs/servers/http/apache-modules/tomcat-connectors/builder.sh

This file was deleted.

23 changes: 15 additions & 8 deletions pkgs/servers/http/apache-modules/tomcat-connectors/default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
{stdenv, fetchurl, apacheHttpd, jdk}:
{ 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;
buildInputs = [apacheHttpd jdk];
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 ];
}

0 comments on commit 824879c

Please sign in to comment.