mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
tomcat-connectors: 1.2.32 -> 1.2.40
This commit is contained in:
parent
392f828c5d
commit
824879cfd4
@ -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
|
@ -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 ];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user