pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/apache-tomcat9 www/apache-tomcat9: import apache-t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/965bf9cc8e39
branches: trunk
changeset: 318273:965bf9cc8e39
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Tue Jan 22 14:54:41 2019 +0000
description:
www/apache-tomcat9: import apache-tomcat-9.0.14
Apache Tomcat is an implementation of the Java Servlet and JavaServer Pages
technologies. The Java Servlet and JavaServer Pages specifications are
developed under the Java Community Process.
Apache Tomcat is developed in an open and participatory environment and
released under the Apache Software License. Apache Tomcat is intended to
be a collaboration of the best-of-breed developers from around the world.
We invite you to participate in this open development project.
Apache Tomcat powers numerous large-scale, mission-critical web applications
across a diverse range of industries and organizations.
This package tracks 9.x release branch.
diffstat:
www/apache-tomcat9/DESCR | 13 +
www/apache-tomcat9/INSTALL | 9 +
www/apache-tomcat9/MESSAGE | 8 +
www/apache-tomcat9/Makefile | 98 ++++
www/apache-tomcat9/PLIST | 636 ++++++++++++++++++++++++++++++
www/apache-tomcat9/distinfo | 6 +
www/apache-tomcat9/files/smf/manifest.xml | 34 +
www/apache-tomcat9/files/tomcat.sh | 97 ++++
8 files changed, 901 insertions(+), 0 deletions(-)
diffs (truncated from 933 to 300 lines):
diff -r 83eb09ee9bc6 -r 965bf9cc8e39 www/apache-tomcat9/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apache-tomcat9/DESCR Tue Jan 22 14:54:41 2019 +0000
@@ -0,0 +1,13 @@
+Apache Tomcat is an implementation of the Java Servlet and JavaServer Pages
+technologies. The Java Servlet and JavaServer Pages specifications are
+developed under the Java Community Process.
+
+Apache Tomcat is developed in an open and participatory environment and
+released under the Apache Software License. Apache Tomcat is intended to
+be a collaboration of the best-of-breed developers from around the world.
+We invite you to participate in this open development project.
+
+Apache Tomcat powers numerous large-scale, mission-critical web applications
+across a diverse range of industries and organizations.
+
+This package tracks 9.x release branch.
diff -r 83eb09ee9bc6 -r 965bf9cc8e39 www/apache-tomcat9/INSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apache-tomcat9/INSTALL Tue Jan 22 14:54:41 2019 +0000
@@ -0,0 +1,9 @@
+#!@SH@
+#
+# $NetBSD: INSTALL,v 1.1 2019/01/22 14:54:41 ryoon Exp $
+
+case "${STAGE}" in
+POST-INSTALL)
+ ${CHOWN} -R @TOMCAT_USER@:@TOMCAT_GROUP@ ${PKG_PREFIX}/share/tomcat/webapps
+ ;;
+esac
diff -r 83eb09ee9bc6 -r 965bf9cc8e39 www/apache-tomcat9/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apache-tomcat9/MESSAGE Tue Jan 22 14:54:41 2019 +0000
@@ -0,0 +1,8 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2019/01/22 14:54:41 ryoon Exp $
+
+The ${PREFIX}/share/tomcat/webapps directory will be mercilessly mangled
+in updates, so pick a different directory for your own local appBase
+(in ${PREFIX}/share/tomcat/conf/server.xml). You have been warned. :)
+
+===========================================================================
diff -r 83eb09ee9bc6 -r 965bf9cc8e39 www/apache-tomcat9/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apache-tomcat9/Makefile Tue Jan 22 14:54:41 2019 +0000
@@ -0,0 +1,98 @@
+# $NetBSD: Makefile,v 1.1 2019/01/22 14:54:41 ryoon Exp $
+#
+
+DISTNAME= apache-tomcat-${TOMCAT_VER}
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_APACHE:=tomcat/tomcat-9/v${TOMCAT_VER}/bin/}
+
+MAINTAINER= ryoon%NetBSD.org@localhost
+HOMEPAGE= http://tomcat.apache.org/
+COMMENT= Implementation of Java Servlet and JavaServer Pages technologies
+LICENSE= apache-2.0
+
+CONFLICTS+= jakarta-tomcat55-[0-9]*
+CONFLICTS+= jakarta-tomcat-[0-9]*
+
+NO_BUILD= yes
+USE_LANGUAGES= # none
+USE_JAVA= run
+USE_JAVA2= 8
+USE_TOOLS+= pax
+
+.include "../../mk/bsd.prefs.mk"
+
+TOMCAT_VER= 9.0.14
+TOMCAT_HOME= ${PREFIX}/share/tomcat
+EGDIR= ${PREFIX}/share/examples/tomcat
+DOCDIR= ${PREFIX}/share/doc/tomcat
+RCD_SCRIPTS= tomcat
+SMF_NAME= tomcat
+TOMCAT_USER?= tomcat
+TOMCAT_GROUP?= tomcat
+PKG_GROUPS= ${TOMCAT_GROUP}
+PKG_USERS= ${TOMCAT_USER}:${TOMCAT_GROUP}
+PKG_GROUPS_VARS+= TOMCAT_GROUP
+PKG_USERS_VARS+= TOMCAT_USER
+PKG_HOME.tomcat= ${TOMCAT_HOME}
+PKG_SHELL.tomcat= ${SH}
+PKG_SYSCONFDIR.tomcat= ${TOMCAT_HOME}/conf
+OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR.tomcat} ${TOMCAT_USER} ${TOMCAT_GROUP} 0755
+FILES_SUBST+= JAVA_HOME=${PKG_JAVA_HOME} TOMCAT_HOME=${TOMCAT_HOME} \
+ TOMCAT_USER=${TOMCAT_USER} TOMCAT_GROUP=${TOMCAT_GROUP}
+
+PRIVATE_EGFILES= server.xml tomcat-users.xml
+PUBLIC_EGFILES= catalina.policy catalina.properties \
+ context.xml logging.properties web.xml
+DOCFILES= LICENSE NOTICE RELEASE-NOTES RUNNING.txt
+WORK_DIRS= work temp logs
+
+.for f in ${PRIVATE_EGFILES}
+CONF_FILES_PERMS+= ${EGDIR}/${f} ${PKG_SYSCONFDIR.tomcat}/${f} \
+ ${TOMCAT_USER} ${TOMCAT_GROUP} 0640
+.endfor
+
+.for f in ${PUBLIC_EGFILES}
+CONF_FILES_PERMS+= ${EGDIR}/${f} ${PKG_SYSCONFDIR.tomcat}/${f} \
+ ${TOMCAT_USER} ${TOMCAT_GROUP} 0644
+.endfor
+
+.for d in ${WORK_DIRS}
+OWN_DIRS_PERMS+= ${TOMCAT_HOME}/${d} ${TOMCAT_USER} ${TOMCAT_GROUP} 0755
+.endfor
+
+INSTALLATION_DIRS+= ${TOMCAT_HOME} ${EGDIR} ${DOCDIR}
+
+do-install:
+.for d in ${WORK_DIRS}
+ ${RM} -rf ${WRKSRC}/${d}
+.endfor
+
+.for f in ${DOCFILES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCDIR}/${f}
+ ${RM} -f ${WRKSRC}/${f}
+.endfor
+
+.for f in ${PRIVATE_EGFILES}
+ ${INSTALL_DATA} ${WRKSRC}/conf/${f} ${DESTDIR}${EGDIR}/${f}
+ ${RM} -f ${WRKSRC}/conf/${f}
+.endfor
+
+.for f in ${PUBLIC_EGFILES}
+ ${INSTALL_DATA} ${WRKSRC}/conf/${f} ${DESTDIR}${EGDIR}/${f}
+ ${RM} -f ${WRKSRC}/conf/${f}
+.endfor
+
+ ${FIND} ${WRKSRC} -name \*.exe -type f -print | ${XARGS} ${RM} -f
+ ${FIND} ${WRKSRC} -name \*.bat -type f -print | ${XARGS} ${RM} -f
+
+ cd ${WRKSRC} && ${PAX} -rw -pm . ${DESTDIR}${TOMCAT_HOME}
+
+ ${FIND} ${DESTDIR}${TOMCAT_HOME} -type d -print | \
+ ${XARGS} ${CHMOD} ${PKGDIRMODE}
+ ${FIND} ${DESTDIR}${TOMCAT_HOME} -type f -print | \
+ ${XARGS} ${CHMOD} ${SHAREMODE}
+ ${FIND} ${DESTDIR}${TOMCAT_HOME} -type f -name \*.sh -print | \
+ ${XARGS} ${CHMOD} ${BINMODE}
+
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 83eb09ee9bc6 -r 965bf9cc8e39 www/apache-tomcat9/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/apache-tomcat9/PLIST Tue Jan 22 14:54:41 2019 +0000
@@ -0,0 +1,636 @@
+@comment $NetBSD: PLIST,v 1.1 2019/01/22 14:54:41 ryoon Exp $
+share/doc/tomcat/LICENSE
+share/doc/tomcat/NOTICE
+share/doc/tomcat/RELEASE-NOTES
+share/doc/tomcat/RUNNING.txt
+share/examples/tomcat/catalina.policy
+share/examples/tomcat/catalina.properties
+share/examples/tomcat/context.xml
+share/examples/tomcat/logging.properties
+share/examples/tomcat/server.xml
+share/examples/tomcat/tomcat-users.xml
+share/examples/tomcat/web.xml
+share/tomcat/BUILDING.txt
+share/tomcat/CONTRIBUTING.md
+share/tomcat/README.md
+share/tomcat/bin/bootstrap.jar
+share/tomcat/bin/catalina-tasks.xml
+share/tomcat/bin/catalina.sh
+share/tomcat/bin/ciphers.sh
+share/tomcat/bin/commons-daemon-native.tar.gz
+share/tomcat/bin/commons-daemon.jar
+share/tomcat/bin/configtest.sh
+share/tomcat/bin/daemon.sh
+share/tomcat/bin/digest.sh
+share/tomcat/bin/makebase.sh
+share/tomcat/bin/setclasspath.sh
+share/tomcat/bin/shutdown.sh
+share/tomcat/bin/startup.sh
+share/tomcat/bin/tomcat-juli.jar
+share/tomcat/bin/tomcat-native.tar.gz
+share/tomcat/bin/tool-wrapper.sh
+share/tomcat/bin/version.sh
+share/tomcat/conf/jaspic-providers.xml
+share/tomcat/conf/jaspic-providers.xsd
+share/tomcat/conf/tomcat-users.xsd
+share/tomcat/lib/annotations-api.jar
+share/tomcat/lib/catalina-ant.jar
+share/tomcat/lib/catalina-ha.jar
+share/tomcat/lib/catalina-storeconfig.jar
+share/tomcat/lib/catalina-tribes.jar
+share/tomcat/lib/catalina.jar
+share/tomcat/lib/ecj-4.9.jar
+share/tomcat/lib/el-api.jar
+share/tomcat/lib/jasper-el.jar
+share/tomcat/lib/jasper.jar
+share/tomcat/lib/jaspic-api.jar
+share/tomcat/lib/jsp-api.jar
+share/tomcat/lib/servlet-api.jar
+share/tomcat/lib/tomcat-api.jar
+share/tomcat/lib/tomcat-coyote.jar
+share/tomcat/lib/tomcat-dbcp.jar
+share/tomcat/lib/tomcat-i18n-de.jar
+share/tomcat/lib/tomcat-i18n-es.jar
+share/tomcat/lib/tomcat-i18n-fr.jar
+share/tomcat/lib/tomcat-i18n-ja.jar
+share/tomcat/lib/tomcat-i18n-ko.jar
+share/tomcat/lib/tomcat-i18n-pt-BR.jar
+share/tomcat/lib/tomcat-i18n-ru.jar
+share/tomcat/lib/tomcat-i18n-zh-CN.jar
+share/tomcat/lib/tomcat-jdbc.jar
+share/tomcat/lib/tomcat-jni.jar
+share/tomcat/lib/tomcat-util-scan.jar
+share/tomcat/lib/tomcat-util.jar
+share/tomcat/lib/tomcat-websocket.jar
+share/tomcat/lib/websocket-api.jar
+share/tomcat/webapps/ROOT/RELEASE-NOTES.txt
+share/tomcat/webapps/ROOT/WEB-INF/web.xml
+share/tomcat/webapps/ROOT/asf-logo-wide.svg
+share/tomcat/webapps/ROOT/bg-button.png
+share/tomcat/webapps/ROOT/bg-middle.png
+share/tomcat/webapps/ROOT/bg-nav.png
+share/tomcat/webapps/ROOT/bg-upper.png
+share/tomcat/webapps/ROOT/favicon.ico
+share/tomcat/webapps/ROOT/index.jsp
+share/tomcat/webapps/ROOT/tomcat-power.gif
+share/tomcat/webapps/ROOT/tomcat.css
+share/tomcat/webapps/ROOT/tomcat.gif
+share/tomcat/webapps/ROOT/tomcat.png
+share/tomcat/webapps/ROOT/tomcat.svg
+share/tomcat/webapps/docs/BUILDING.txt
+share/tomcat/webapps/docs/RELEASE-NOTES.txt
+share/tomcat/webapps/docs/RUNNING.txt
+share/tomcat/webapps/docs/WEB-INF/web.xml
+share/tomcat/webapps/docs/aio.html
+share/tomcat/webapps/docs/api/index.html
+share/tomcat/webapps/docs/appdev/build.xml.txt
+share/tomcat/webapps/docs/appdev/deployment.html
+share/tomcat/webapps/docs/appdev/index.html
+share/tomcat/webapps/docs/appdev/installation.html
+share/tomcat/webapps/docs/appdev/introduction.html
+share/tomcat/webapps/docs/appdev/processes.html
+share/tomcat/webapps/docs/appdev/sample/build.xml
+share/tomcat/webapps/docs/appdev/sample/docs/README.txt
+share/tomcat/webapps/docs/appdev/sample/index.html
+share/tomcat/webapps/docs/appdev/sample/sample.war
+share/tomcat/webapps/docs/appdev/sample/src/mypackage/Hello.java
+share/tomcat/webapps/docs/appdev/sample/web/WEB-INF/web.xml
+share/tomcat/webapps/docs/appdev/sample/web/hello.jsp
+share/tomcat/webapps/docs/appdev/sample/web/images/tomcat.gif
+share/tomcat/webapps/docs/appdev/sample/web/index.html
+share/tomcat/webapps/docs/appdev/source.html
+share/tomcat/webapps/docs/appdev/web.xml.txt
+share/tomcat/webapps/docs/apr.html
+share/tomcat/webapps/docs/architecture/index.html
+share/tomcat/webapps/docs/architecture/overview.html
+share/tomcat/webapps/docs/architecture/requestProcess.html
+share/tomcat/webapps/docs/architecture/requestProcess/authentication-process.png
+share/tomcat/webapps/docs/architecture/requestProcess/request-process.png
+share/tomcat/webapps/docs/architecture/startup.html
+share/tomcat/webapps/docs/architecture/startup/serverStartup.pdf
+share/tomcat/webapps/docs/architecture/startup/serverStartup.txt
+share/tomcat/webapps/docs/balancer-howto.html
+share/tomcat/webapps/docs/building.html
+share/tomcat/webapps/docs/cgi-howto.html
+share/tomcat/webapps/docs/changelog.html
+share/tomcat/webapps/docs/class-loader-howto.html
+share/tomcat/webapps/docs/cluster-howto.html
+share/tomcat/webapps/docs/comments.html
+share/tomcat/webapps/docs/config/ajp.html
+share/tomcat/webapps/docs/config/automatic-deployment.html
+share/tomcat/webapps/docs/config/cluster-channel.html
+share/tomcat/webapps/docs/config/cluster-deployer.html
+share/tomcat/webapps/docs/config/cluster-interceptor.html
+share/tomcat/webapps/docs/config/cluster-listener.html
+share/tomcat/webapps/docs/config/cluster-manager.html
+share/tomcat/webapps/docs/config/cluster-membership.html
+share/tomcat/webapps/docs/config/cluster-receiver.html
+share/tomcat/webapps/docs/config/cluster-sender.html
+share/tomcat/webapps/docs/config/cluster-valve.html
+share/tomcat/webapps/docs/config/cluster.html
+share/tomcat/webapps/docs/config/context.html
+share/tomcat/webapps/docs/config/cookie-processor.html
+share/tomcat/webapps/docs/config/credentialhandler.html
+share/tomcat/webapps/docs/config/engine.html
+share/tomcat/webapps/docs/config/executor.html
+share/tomcat/webapps/docs/config/filter.html
+share/tomcat/webapps/docs/config/globalresources.html
+share/tomcat/webapps/docs/config/host.html
+share/tomcat/webapps/docs/config/http.html
+share/tomcat/webapps/docs/config/http2.html
+share/tomcat/webapps/docs/config/index.html
+share/tomcat/webapps/docs/config/jar-scan-filter.html
+share/tomcat/webapps/docs/config/jar-scanner.html
+share/tomcat/webapps/docs/config/jaspic.html
+share/tomcat/webapps/docs/config/listeners.html
+share/tomcat/webapps/docs/config/loader.html
+share/tomcat/webapps/docs/config/manager.html
+share/tomcat/webapps/docs/config/realm.html
+share/tomcat/webapps/docs/config/resources.html
+share/tomcat/webapps/docs/config/server.html
+share/tomcat/webapps/docs/config/service.html
+share/tomcat/webapps/docs/config/sessionidgenerator.html
Home |
Main Index |
Thread Index |
Old Index