mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Tomcat can use the Apache Portable Runtime to provide superior scalability,
performance, and better integration with native server technologies. APR has many uses, including access to advanced IO functionality (such as sendfile, epoll and OpenSSL), OS level functionality (random number generation, system status, etc), and native process handling (shared memory, NT pipes and Unix sockets). These features allows making Tomcat a general purposewebserver, will enable much better integration with other native web technologies, and overall make Java much more viable as a full fledged webserver platform rather than simply a backend focused technology.
This commit is contained in:
parent
898fa77bad
commit
504dfd7f7f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208082
@ -1237,6 +1237,7 @@
|
||||
SUBDIR += tikiwiki
|
||||
SUBDIR += tinymce
|
||||
SUBDIR += tinyproxy
|
||||
SUBDIR += tomcat-native
|
||||
SUBDIR += tomcat41
|
||||
SUBDIR += tomcat55
|
||||
SUBDIR += tomcat6
|
||||
|
31
www/tomcat-native/Makefile
Normal file
31
www/tomcat-native/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# New ports collection makefile for: tomcat-native
|
||||
# Date created: 28 Feb 2008
|
||||
# Whom: Alex Dupre <ale@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= tomcat-native
|
||||
PORTVERSION= 1.1.13
|
||||
CATEGORIES= www java
|
||||
MASTER_SITES= ${MASTER_SITE_APACHE}
|
||||
MASTER_SITE_SUBDIR= tomcat/tomcat-connectors/native
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
||||
|
||||
MAINTAINER= ale@FreeBSD.org
|
||||
COMMENT= Tomcat native library
|
||||
|
||||
LIB_DEPENDS= apr-1.2:${PORTSDIR}/devel/apr
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/jni/native
|
||||
|
||||
USE_OPENSSL= yes
|
||||
USE_JAVA= yes
|
||||
USE_LDCONFIG= yes
|
||||
JAVA_VERSION= 1.5+
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-apr=${LOCALBASE} \
|
||||
--with-java-home=${JAVA_HOME} \
|
||||
--with-ssl=${SSLBASE}
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/tomcat-native/distinfo
Normal file
3
www/tomcat-native/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (tomcat-native-1.1.13-src.tar.gz) = 1bdf8b22eba97dc2f1fc25ed35a936cc
|
||||
SHA256 (tomcat-native-1.1.13-src.tar.gz) = 72cf681cb2a4c17f0fa612d258252d3b260529bdbda4b498718d56cdf64b55f0
|
||||
SIZE (tomcat-native-1.1.13-src.tar.gz) = 188391
|
16
www/tomcat-native/files/patch-Makefile.in
Normal file
16
www/tomcat-native/files/patch-Makefile.in
Normal file
@ -0,0 +1,16 @@
|
||||
--- Makefile.in.orig 2008-02-28 15:08:20.000000000 +0100
|
||||
+++ Makefile.in 2008-02-28 15:08:52.000000000 +0100
|
||||
@@ -67,12 +67,7 @@
|
||||
|
||||
|
||||
install: $(TARGET_LIB)
|
||||
- $(APR_MKDIR) $(DESTDIR)$(includedir) $(DESTDIR)$(libdir)/pkgconfig \
|
||||
- $(DESTDIR)$(libdir) $(DESTDIR)$(bindir)
|
||||
- $(INSTALL_DATA) tcnative.pc $(DESTDIR)$(libdir)/pkgconfig/$(TCNATIVE_PCFILE)
|
||||
- list='$(INSTALL_SUBDIRS)'; for i in $$list; do \
|
||||
- ( cd $$i ; $(MAKE) DESTDIR=$(DESTDIR) install ); \
|
||||
- done
|
||||
+ $(APR_MKDIR) $(DESTDIR)$(libdir)
|
||||
$(LIBTOOL) --mode=install $(INSTALL) -m 755 $(TARGET_LIB) $(DESTDIR)$(libdir)
|
||||
|
||||
$(TARGET_LIB): $(OBJECTS)
|
14
www/tomcat-native/pkg-descr
Normal file
14
www/tomcat-native/pkg-descr
Normal file
@ -0,0 +1,14 @@
|
||||
Tomcat can use the Apache Portable Runtime to provide superior scalability,
|
||||
performance, and better integration with native server technologies.
|
||||
APR has many uses, including access to advanced IO functionality (such as
|
||||
sendfile, epoll and OpenSSL), OS level functionality (random number
|
||||
generation, system status, etc), and native process handling (shared memory,
|
||||
NT pipes and Unix sockets).
|
||||
|
||||
These features allows making Tomcat a general purposewebserver, will
|
||||
enable much better integration with other native web technologies, and
|
||||
overall make Java much more viable as a full fledged webserver platform
|
||||
rather than simply a backend focused technology.
|
||||
|
||||
- Alex Dupre
|
||||
ale@FreeBSD.org
|
4
www/tomcat-native/pkg-plist
Normal file
4
www/tomcat-native/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
lib/libtcnative-1.a
|
||||
lib/libtcnative-1.la
|
||||
lib/libtcnative-1.so
|
||||
lib/libtcnative-1.so.1
|
Loading…
Reference in New Issue
Block a user