summaryrefslogtreecommitdiff
path: root/www/jakarta-tomcat4/files (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - Remove expired www/jakarta-tomcat4 port: www/jakarta-tomcat5 is recommendedPav Lucistnik2009-12-087-899/+0
| | | | instead for new installations
* Unbreak jakarta-tomcat3 by re-adding a file it requires fromSam Lawrance2006-10-221-0/+34
| | | | | | the tomcat4 port. Approved by: portmgr (erwin)
* - Work around an inability of rc.subr's _find_processes() to work withPav Lucistnik2006-09-081-2/+2
| | | | | processes that show as [java] on ps output. This should fix the rc script stop action for all folks.
* Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.Doug Barton2006-02-201-1/+1
| | | | | | | We have not checked for this KEYWORD for a long time now, so this is a complete noop, and thus no PORTREVISION bump. Removing it at this point is mostly for pedantic reasons, and partly to avoid perpetuating this anachronism by copy and paste to future scripts.
* - Make sure the rc script creates and chowns the PID file before runningSam Lawrance2006-02-081-1/+8
| | | | | | | | | | 'daemon'. No need for the port to create a PID file at install time (it would just be eaten by rc.d/cleanvar anyway). - Use 'ps -o comm' to grab a suitable procname. 'ps -o command' is not reliable enough. - Bump PORTREVISION since these changes fix broken rc script operation. Approved by: maintainer timeout (as part of previous update)
* Since the procname of tomcat processes may vary due to javavmwrapper,Sam Lawrance2006-02-071-1/+8
| | | | | | | | | | subvert the 'check_pid_file' procname check by setting it from the output of 'ps'. Remove the previous attempt at handling this problem, which was to put a wildcard in procname. I'll wear my pointy hat for that bogus hack. Reported by: Fritz Heinrichmeyer <Fritz.Heinrichmeyer@FernUni-Hagen.de>
* Clean up Tomcat 4, 4.1, 5, and 5.5 ports.Sam Lawrance2006-02-074-34/+246
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes apply to all ports, unless mentioned otherwise: - Move jakarta-tomcat55 to tomcat55 (it is no longer a Jakarta project). [6] - Improve the tomcat55 rc script. Fix PID handling. Improve the shutdown process. Use USE_RC_SUBR to its full potential. [2] - Backport tomcat55 rc script to the other tomcat ports. This allows us to pass command line arguments to the JVM. Noted in UPDATING. [1], [3], [4] - Change ownership of installed files. All files are now installed with default uid/gid (root:wheel) except for those in the conf/, logs/, temp/ and work/ directories. [5] - No longer install tomcatXXctl binary. rc scripts are more flexible and can be reconfigured without recompiling. - Remove AUTO_START and STOP_TIMEOUT (replaced with rc tomcatXX_stop_timeout). - Remove a long list of sed expressions in favour of SUB_LIST. - Move pkg_{,de}install to files/pkg_{,de}install.in. Add them to SUB_FILES. Tidy up substitutions and remove hardcoded values. - Some nonfunctional tidying and removal of Makefile cruft. PR: ports/38018 [1], ports/38020 [2], ports/74344 [3], ports/75143 [4], ports/83434 [5], ports/92692 [6] Submitted by: Ari Suutari <ari.suutari@syncrontech.com> [1] [2], SimpleRezo Team <freebsd@simplerezo.com> [3], Anton Yudin <toha@toha.org.ua> [4], Jan Grant <jan.grant@bristol.ac.uk> [5], lawrance [6] Approved by: Kang Liu <liukang@cn.freebsd.org> (maintainer) [6] Maintainer timeouts on [1], [2], [3], [4], [5] Big thanks to: hq for the initial tomcat55 script jasonb on FreeNode #tomcat for packaging advice
* - Update to bsd.java.mk 2.0Herve Quiroz2004-12-291-0/+2
| | | | | | | | | | | | | | - Backup config files during deinstall [1] - Use MAN1 in Makefile [1] - Fix pkg_add permission problem [2] - ECHO_CMD -> ECHO_MSG [1] - Bump PORTREVISION [1] - Mark as DEPRECATED [1] - Fix MASTER_SITE [1] - Add $FreeBSD$ tags where missing [1] PR: 75604 [1], 57235 [2] Submitted by: maintainer [1] [2]
* Fixed daemonctl control program to work with the FreeBSD JDK 1.3.1.Ernst de Haan2002-10-091-1/+5
| | | | | | | | | | | | | | The fix consists of 2 lines at the beginning of the program: setuid(geteuid()); setgid(getegid()); Bumped PORTREVISION of Orion, Tomcat and JBoss ports. PR: 40470, 43679 Submitted by: Ari Suutari <ari.suutari@syncrontech.com> Reviewed by: audit Approved by: Silence on -audit (since Sept 13, 2002)
* Reverting to revision 1.7. This change should first be audited byErnst de Haan2002-08-281-4/+1
| | | | | | audit@ since it may be bypassing security restrictions. Pointed out by: kris
* Executing setuid(geteuid()) to fix SUID. At the moment SUID doesErnst de Haan2002-08-281-1/+4
| | | | | | | not work. Submitted by: Ari Suutari <ari.suutari@syncrontech.com> See: http://www.geocrawler.com/mail/msg.php3?msg_id=9029840&list=162
* Fixed a typo. Replaced %%PORTREVISION%% with %%PORTVERSION%%.Ernst de Haan2002-08-281-2/+2
| | | | Submitted by: Dan Hulme <dan_256@yahoo.com>
* Changed daemonctl program to check if the JAR file exists beforeErnst de Haan2002-05-081-1/+11
| | | | | trying to start the JVM. This is a serious usability improvement. Bumped PORTREVISION.
* Improved the startup script. Always displaying a space firstErnst de Haan2002-05-081-2/+4
| | | | | | | | | | | before the name of the application being started/stopped. The advantage is that if there is an error, then the message will have a space prepended instead of being appended to the previous application name. When the application is 'stop'ped, the error messages, if any, are now hidden. Instead the name of the application is just shown. Bumped PORTREVISION.
* Now using generic startup.sh and daemonctl.c that will beErnst de Haan2002-04-152-107/+0
| | | | | | | | | | | | | | | | | | shared among other ports, like www/orion, www/jboss2 and www/jakarta-tomcat3. Now displaying installation settings in pre-patch phase. Customizing files using ${SED} in post-patch phase. Furthermore some small changes to promote consistency and genericity. I'm attempting to make the result of $ diff -ruN --exclude=CVS jakarta-tomcat3 jakarta-tomcat4 as small as possible. Bumped PORTREVISION to help portupgrade in doing what it does best ;)
* Daemon control program now checks if process is reallyErnst de Haan2002-04-081-20/+90
| | | | | | | | | | | | | | | | | | terminated. If not, it will send the process a SIGKILL after a certain time-out period. The time-out can be passed to the port Makefile as a parameter. Improved documentation a bit here and there. Added some explicit casts to make lint(1) a bit happier :-) Applied some refactoring here and there. Moved some functionality into a new function 'existsProcess'. Slightly changed the output of the program. Bumped PORTREVISION.
* Made the daemon control program less verbose.Ernst de Haan2002-04-081-11/+6
| | | | | | Bumped PORTREVISION. Prompted by: Kees Jan Koster <K.J.Koster@kpn.com>
* Now checking for the Java VM too in the controlErnst de Haan2002-04-031-3/+43
| | | | program. Bumped PORTREVISION.
* Little generalization and cleanup. NothingErnst de Haan2002-04-031-16/+2
| | | | spectacular. Not bumped PORTREVISION.
* Upgrade to Jakarta Tomcat 4.0.3. The Jakarta Tomcat 3Ernst de Haan2002-04-011-0/+44
| | | | | | branch has moved to www/jakarta-tomcat3. PR: 31096, 32022
* Replacing the man page title (in capitals) in orderErnst de Haan2002-03-302-2/+2
| | | | | | | | to make the man page fully generic for jakarta-tomcat, jakarta-tomcat4, orion and possibly others. PORTREVISION is not bumped, since the resulting man page is exactly the same.
* Lot of changes: Using USE_JAVA infrastructure. Upgraded portErnst de Haan2002-03-308-255/+473
| | | | | | to 3.3.1. Using HTTP_PORT i.s.o. LISTEN_PORT. Using daemonctl.c i.s.o. tomcatctl shell script. Displaying steps i.s.o. commands being executed. Synced man page.
* Now sets the CLASSPATH *after* JAVA_HOME is determined.Ernst de Haan2002-02-251-3/+3
| | | | Reported by: Clive Lin <clive@tongi.org>
* Fixed the man page for tomcatctl.Ernst de Haan2002-02-212-116/+50
|
* Cleaned things up. Made things working :-) Both the startup scriptErnst de Haan2002-02-213-63/+101
| | | | | | | | | | | | | | | | in ${PREFIX}/etc/rc.d and the control script in ${PREFIX}/bin have been refactored and now actually work very well. Using the 'www' user and group, creating them if they don't exist. I've used the same approach as www/apache13. STDOUT_LOG and STDERR_LOG are now fixed (no ?= anymore) since the package deinstall does not support a different location. This fixes the first half of PR 28624. See: http://www.freebsd.org/cgi/query-pr.cgi?pr=34931 Reported by: Kees Jan Koster <k.j.koster@kpn.com>
* Startup script to be installed in ${PREFIX}/etc/rc.d/.Ernst de Haan2002-02-212-0/+48
|
* Reverting changes. Accidentally committed *all* changes in my working copy, ↵Ernst de Haan2002-02-191-95/+48
| | | | instead of only removing the second APP_TITLE from the Makefile.
* APP_TITLE was set twice.Ernst de Haan2002-02-191-48/+95
| | | | Reported by: Kimura Fuyuki <fuyuki@mj.0038.net>
* Now using tomcatctl instead of tomcat.shErnst de Haan2002-02-041-25/+0
|
* A new tomcatctl control script, installed in /bin.Ernst de Haan2002-02-043-0/+291
|
* A lot of changes:Ernst de Haan2002-02-042-5/+14
| | | | | | | | | | | | | | * Bumped PORTREVISION * Now displays installation settings * Now possible to choose JDK. By default uses FreeBSD JDK 1.3.1 (instead of FreeBSD JDK 1.1.8) * Does not depend on pinstall anymore * Now possible to change TOMCAT_HOME. By default uses /jakarta-tomcat-3.2.3 (instead of /tomcat) * Now possible to change LISTEN_PORT. Default is 8080 (unchanged) * Added support for running Tomcat as a different user/group. By default a new user 'tomcat' and a new group 'tomcat' are created and used * A 'tomcatctl' script is installed in /usr/local/bin/, which uses interprocess communication to start/stop/restart Tomcat * Option is added for automatically starting Tomcat after install (AUTO_START). By default Tomcat is started right away * Appends stdout and stderr to log files * Uses a numeric prefix for the script in /etc/rc.d (now by default 020.jakarta-tomcat.sh instead of tomcat.sh)
* Upgrade to 3.2.3.Dirk Froemberg2001-08-051-4/+4
|
* - provide startup scriptDirk Froemberg2001-05-212-0/+35
| | | | | - log tomcat messages to a file (logs/tomcat.log) - fix plist
* Give jakarta-tomcat a chance of working with mod_jk.Dirk Froemberg2001-05-201-0/+45