Files

52 lines
1.7 KiB
Tcl
Raw Permalink Normal View History

2025-10-23 17:15:32 +02:00
# -*- 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
PortSystem 1.0
PortGroup java 1.0
name tomcat-native-2
2026-03-14 20:28:15 +01:00
version 2.0.14
2025-10-23 17:15:32 +02:00
revision 0
categories java www
maintainers nomaintainer
license Apache-2
description Tomcat 9+ HTTP Server native library support version 2.
long_description This port provides access to native apr and other \
functions utilized by tomcat.
homepage https://tomcat.apache.org/
master_sites apache:tomcat/tomcat-connectors/native/${version}/source/
2026-03-14 20:28:15 +01:00
checksums rmd160 4ef853a14798ea719160455cd229937d22249fd0 \
sha256 51ca50295c8005e6bb4a32a0cdc7ee5bc224406ae402075b031f5b3073bf2bdb \
size 474739
2025-10-23 17:15:32 +02:00
distname tomcat-native-${version}-src
worksrcdir ${distname}/native
depends_lib port:apr \
port:openssl
# java Portgroup settings
java.version 11+
java.fallback openjdk11
configure.args --with-apr=${prefix} \
--with-ssl=${prefix}
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.
Make sure the AprLifecycleListener is enabled in your server.xml like so:
<Listener className=\"org.apache.catalina.core.AprLifecycleListener\" />
For further information please see https://tomcat.apache.org/native-doc/index.html
"
livecheck.type regex
livecheck.url https://archive.apache.org/dist/tomcat/tomcat-connectors/native/
livecheck.regex {(\d+\.\d+\.\d+)/}