Ticket #48099: tomcat-native.diff

File tomcat-native.diff, 1.7 KB (added by mattbishop (Matt Bishop), 9 years ago)

Patch for this Portfile

  • Portfile

    old new  
    44PortSystem 1.0
    55
    66name                tomcat-native
    7 version             1.1.32
     7version             1.2.3
    88categories          java www
    99maintainers         nomaintainer
    1010license             Apache-2
     
    1717homepage            http://tomcat.apache.org/
    1818master_sites        apache:tomcat/tomcat-connectors/native/${version}/source/
    1919
    20 checksums           rmd160  0124ecee2fca0bab0019f3c34051fc0088fb215b \
    21                     sha256  26936848f727e162f513bd2b5f7b2300d7d716a5e92e5f4ebcd0e1eff8e09584
     20checksums           rmd160  a9fb937c35c7a89a6b07eb41f3fb29cb34ea2a7a \
     21                    sha256  36bf786371742c98ca8b167d3cb59ad2162169bdcaab122da8d0e923dc10742f
    2222
    2323distname            ${name}-${version}-src
    24 worksrcdir          ${distname}/jni/native
     24worksrcdir          ${distname}/native
    2525
    2626depends_lib         port:apr \
    2727                    path:lib/libssl.dylib:openssl
    2828
    2929configure.args      --with-apr=${prefix} \
    30                     --with-ssl=${prefix} \
    31                     --with-java-platform=2
     30                    --with-ssl=${prefix}
    3231
    3332if {[info exists env(JAVA_HOME)]} {
    3433    configure.args-append   --with-java-home="$env(JAVA_HOME)"
     
    5453               maxThreads=\"150\" minSpareThreads=\"25\" maxSpareThreads=\"75\"
    5554               enableLookups=\"false\" redirectPort=\"8443\" acceptCount=\"100\"
    5655               connectionTimeout=\"20000\" disableUploadTimeout=\"true\" protocol=\"org.apache.coyote.http11.Http11AprProtocol\" />
     56
     57For further information please see https://tomcat.apache.org/native-doc/index.html
    5758"
    5859
    5960livecheck.type      regex