<pre style='margin:0'>
Frank Schima (mf2k) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/bcda2d9d16088bffdb0d62c1bb3e8f6069395eee">https://github.com/macports/macports-ports/commit/bcda2d9d16088bffdb0d62c1bb3e8f6069395eee</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new bcda2d9 tomcat-native: update to version 1.2.21
</span>bcda2d9 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit bcda2d9d16088bffdb0d62c1bb3e8f6069395eee
</span>Author: Matt Bishop <matt@thebishops.org>
AuthorDate: Mon Feb 18 12:29:16 2019 -0800
<span style='display:block; white-space:pre;color:#404040;'> tomcat-native: update to version 1.2.21
</span>---
java/tomcat-native/Portfile | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/java/tomcat-native/Portfile b/java/tomcat-native/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3e6eb12..5b7a5bf 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/java/tomcat-native/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/java/tomcat-native/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,9 +1,10 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup java 1.0
</span>
name tomcat-native
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.2.19
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.2.21
</span> categories java www
maintainers {thebishops.org:matt @mattbishop} openmaintainer
license Apache-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,9 +17,9 @@ long_description This port provides access to native apr and other \
</span> homepage http://tomcat.apache.org/
master_sites apache:tomcat/tomcat-connectors/native/${version}/source/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 bc25cd36a839e8e613f1c2b44e7b49f69216801c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 95c91d17907b321f3abe8799bd73bf32b544dd12ff59bcb3eb7db584bbf65f63 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 418183
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 01c9c3e44c94adf5038fb4b7698a5c18f474c8cd \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 05bba41671cc91c531c366a9ccd930b38a107a0212c73181961f3cda508d5007 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 418909
</span>
distname ${name}-${version}-src
worksrcdir ${distname}/native
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,23 +27,20 @@ worksrcdir ${distname}/native
</span> depends_lib port:apr \
path:lib/libssl.dylib:openssl
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# java Portgroup settings
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+java.version 1.7+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+java.fallback openjdk8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args --with-apr=${prefix} \
--with-ssl=${prefix}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {[info exists env(JAVA_HOME)]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-java-home="$env(JAVA_HOME)"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-java-home="/System/Library/Frameworks/JavaVM.framework"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> build.args EXTRA_LDFLAGS="-shrext .jnilib"
notes "
To integrate this into tomcat, add -Djava.library.path=${prefix} to the tomcat options or\
to CATALINA_OPTS.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-You then need to configure a Connector in server.xml\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-with the appropriate apr protocol class for your use,\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+You then need to configure a Connector in server.xml with the appropriate apr protocol class for your use,\
</span> for instance:
protocol=\"org.apache.coyote.http11.Http11AprProtocol\",
protocol=\"org.apache.coyote.ajp.AjpAprProtocol\"
</pre><pre style='margin:0'>
</pre>