aboutsummaryrefslogtreecommitdiff
path: root/www/tomcat41
Commit message (Collapse)AuthorAgeFilesLines
* - Make sure the rc script creates and chowns the PID file before runningSam Lawrance2006-02-082-8/+9
| | | | | | | | | | | | | '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) Notes: svn path=/head/; revision=155511
* Since the procname of tomcat processes may vary due to javavmwrapper,Sam Lawrance2006-02-072-2/+9
| | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=155418
* Clean up Tomcat 4, 4.1, 5, and 5.5 ports.Sam Lawrance2006-02-075-98/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=155396
* SHA256ifyEdwin Groothuis2006-01-241-0/+1
| | | | | | | Approved by: krion@ Notes: svn path=/head/; revision=154308
* - Fix a patching problem in Tomcat portsHerve Quiroz2005-03-211-4/+4
| | | | | | | | | | | - Add a patch-dependency on jakarta-tomcat4 PR: 79052 Submitted by: maintainer Obtained from: des (for jakarta-tomcat41) Notes: svn path=/head/; revision=131802
* Remove hardcoded WRKDIRPREFIX.Kirill Ponomarev2005-03-191-1/+0
| | | | | | | Proposed by: des Notes: svn path=/head/; revision=131649
* - Back up config files during deinstallHerve Quiroz2004-12-192-58/+77
| | | | | | | | | | - Use ECHO_MSG rather than ECHO_CMD PR: 43565 Submitted by: maintainer, Brent Verner <brent@rcfile.org> Notes: svn path=/head/; revision=124473
* - Update to version 4.1.31 [1]Herve Quiroz2004-12-064-16/+50
| | | | | | | | | | | | | - Update to bsd.java.mk 2.0 [1] - Use MASTER_SITE_JAKARTA [1] - Improved filename of manpage in Makefile [1] - Added $FreeBSD$ tags where missing PR: 74705 [1] Submitted by: maintainer [1] Notes: svn path=/head/; revision=123275
* Assign all Jakarta Tomcat ports to the same maintainer, Kang Liu (alreadyHerve Quiroz2004-12-031-1/+1
| | | | | | | maintainer of www/jakarta-tomcat5). Notes: svn path=/head/; revision=123042
* Reset znerd's ports maintainership:Herve Quiroz2004-12-031-1/+1
| | | | | | | | | | | | | - All JDK ports (and JDK documentation ports) that were formerly maintained by znerd have been assigned to java@FreeBSD.org - I will handle some of the remaining ports (jakarta-commons-*, jdom, xalan-j and xmlenc) - Everything else is reset to ports@FreeBSD.org Approved by: znerd (maintainer) Notes: svn path=/head/; revision=123012
* Set LATEST_LINK to ${APP_SHORTNAME}. LATEST_LINK wasErnst de Haan2004-04-031-1/+1
| | | | | | | | | | | previously already set to jakarta-tomcat[VERSION], but this was not consistent with the jakarta-tomcat5 port. PR: 63210 Submitted by: Kang Liu <liukang@bjpu.edu.cn> Notes: svn path=/head/; revision=106024
* Update to Tomcat 4.1.30.Ernst de Haan2004-03-082-3/+4
| | | | Notes: svn path=/head/; revision=103285
* Set LATEST_LINK.Ernst de Haan2004-03-081-0/+1
| | | | | | | Reported by: kris Notes: svn path=/head/; revision=103279
* Fixed name of PID file in pkg-deinstall.Ernst de Haan2004-01-022-1/+2
| | | | | | | | | | Bumped PORTREVISION. PR: 60781 Submitted by: Kang Liu <liukang@bjpu.edu.cn> Notes: svn path=/head/; revision=97077
* Fixed the MASTER_SITES.Ernst de Haan2003-11-271-1/+1
| | | | | | | Approved by: portmgr (adamw) Notes: svn path=/head/; revision=94804
* Fix last commit. PORTVERSION should be 4.1.29, not 4.1.27.Ernst de Haan2003-11-211-1/+1
| | | | | | | Noticed by: ve@hardcore.lt Notes: svn path=/head/; revision=94632
* Update port to version 4.1.29Ernst de Haan2003-11-212-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the process, fix the packing list to obtain a clean pkg_add/pkg_deinstall sequence (a number of empty directory where not created in previous versions) The generated package now includes directives to fix file/dir ownership after install, so that the installed tree is identical to what you obtain after 'make install' from the port. Summary of changes to Tomcat since 4.1.27: . The Coyote connector (HTTP/1.1 and AJP/1.3) has been upgraded to Coyote 1.1, which is the one used by Tomcat 5.0.x. . Upgrade distributed jars: DBCP (1.1) commons-modeler (1.1) Xerces (2.5.0) regexp (1.3). . Added support for nesting a Context Listener and a Webapp Loader within a DefaultContext. . Minor docs updates. . StandardContext: Fix reloading regression. . StandardDefaultContext: Fix support for defining ResourceLink . StandardWrapperValve: Fix infinite recursion when logging in certain cases . JNDIRealm: Many bugfixes (18698, 11678, 19864, 20518, . 14817, 22236), and allow multiple user patterns. . CGI Servlet: Bugfixes (22857, 22858). . WebDAV Servlet: Fix bad handling of the destinationPath URL. . SecurityClassLoad: Preload a few additional classes from Coyote. . MemoryUser: XML-escape the values when writing out the tomcat-users.xml file. Submitted by: Angelo Turetta <aturetta@commit.it> PR: 58973 Notes: svn path=/head/; revision=94615
* Use the FIND and XARGS macros introduced in bsd.port.mk 1.391.Trevor Johnson2003-11-131-1/+1
| | | | Notes: svn path=/head/; revision=93885
* Update to 4.1.27.Ernst de Haan2003-08-113-1460/+1472
| | | | | | | | | | | | | | | | | Tomcat 4.1.27 includes security fixes for: . improper recycling of SSL client certificates with Coyote JK 2 . improper handling of invalid content lengths in requests, causing HTTP processors to be left in an invalid state in Coyote HTTP/1.1, causing a DoS condition . URI normalization bug in Coyote . improper handling of certain URLs in Coyote JK 2, causing a DoS condition PR: 55362 Submitted by: Kang Liu <lazykang@hotmail.com> Notes: svn path=/head/; revision=86753
* Upgrade to 4.1.24.Ernst de Haan2003-03-273-63/+134
| | | | | | | | | PR: 50241 Requested by: Tony Harverson <Tony@epages.net> Jason Jenkins <socrates73@hotmail.com> Notes: svn path=/head/; revision=77518
* Clear moonlight beckons.Ade Lovett2003-03-072-1/+1
| | | | | | | | | | Requiem mors pacem pkg-comment, And be calm ports tree. E Nomini Patri, E Fili, E Spiritu Sancti. Notes: svn path=/head/; revision=77045
* Update to 4.1.18.Ernst de Haan2003-01-034-809/+1273
| | | | Notes: svn path=/head/; revision=72407
* Improved description.Ernst de Haan2002-10-152-4/+4
| | | | | | | | PR: 44102 Requested by: Liu Kang <lazykang@hotmail.com> Notes: svn path=/head/; revision=68117
* Fixed daemonctl control program to work with the FreeBSD JDK 1.3.1.Ernst de Haan2002-10-091-1/+1
| | | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=67721
* Changed target installation directory so it does not includeErnst de Haan2002-10-091-1/+2
| | | | | | | | | | | | the minor version number anymore. Bumped PORTREVISION. PR: 43565 Requested by: Andrew Gerweck <andy@gerweck.dyndns.org> Notes: svn path=/head/; revision=67718
* Security fix: Upgrade to 4.1.12.Ernst de Haan2002-09-303-993/+1034
| | | | | | | PR: 43504 Notes: svn path=/head/; revision=67267
* Upgrade to Tomcat 4.1.10 (stable).Ernst de Haan2002-09-112-3/+3
| | | | Notes: svn path=/head/; revision=66130
* New port: Jakarta Tomcat 4.1. This port is based on the Tomcat 4Ernst de Haan2002-09-039-1696/+1069
| | | | | | | port. Notes: svn path=/head/; revision=65553
* 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 Notes: svn path=/head/; revision=65197
* 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 Notes: svn path=/head/; revision=65167
* Fixed a typo. Replaced %%PORTREVISION%% with %%PORTVERSION%%.Ernst de Haan2002-08-281-2/+2
| | | | | | | Submitted by: Dan Hulme <dan_256@yahoo.com> Notes: svn path=/head/; revision=65166
* Changed WRKDIR definition. It is changed fromErnst de Haan2002-08-101-1/+1
| | | | | | | | | ${.CURDIR}/work to ${WRKDIRPREFIX}${.CURDIR}/work. PR: 39593 Notes: svn path=/head/; revision=64325
* Improved the post-installation message.Ernst de Haan2002-06-251-1/+1
| | | | | | | Requested by: phantom Notes: svn path=/head/; revision=61955
* Upgrade to Tomcat 4.0.4.Ernst de Haan2002-06-243-7/+10
| | | | | | | | For release notes, see: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/RELEASE-NOTES Notes: svn path=/head/; revision=61870
* Changed daemonctl program to check if the JAR file exists beforeErnst de Haan2002-05-082-2/+12
| | | | | | | | trying to start the JVM. This is a serious usability improvement. Bumped PORTREVISION. Notes: svn path=/head/; revision=58756
* Improved the startup script. Always displaying a space firstErnst de Haan2002-05-082-3/+5
| | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=58755
* Now using generic startup.sh and daemonctl.c that will beErnst de Haan2002-04-153-119/+13
| | | | | | | | | | | | | | | | | | | | | 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 ;) Notes: svn path=/head/; revision=57735
* Daemon control program now checks if process is reallyErnst de Haan2002-04-082-21/+94
| | | | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=57470
* Made the daemon control program less verbose.Ernst de Haan2002-04-082-12/+7
| | | | | | | | | Bumped PORTREVISION. Prompted by: Kees Jan Koster <K.J.Koster@kpn.com> Notes: svn path=/head/; revision=57462
* Now installs the shell scripts as well. They were previouslyErnst de Haan2002-04-062-2/+11
| | | | | | | | | | | | | | | | | | not installed because there was the control program tomcat4ctl already. For some instances, however, tomcat4ctl is not powerful enough. For instance when setting up multiple instances of Tomcat, see http://jakarta.apache.org/tomcat/tomcat-4.0-doc/RUNNING.txt. Also added tools.jar to pkg-plist. It should have been added previously. Bumped PORTREVISION. Prompted by: Gavin Cameron <gavin@itworks.com.au> Notes: svn path=/head/; revision=57386
* Improved package comment (IMO).Ernst de Haan2002-04-041-1/+1
| | | | Notes: svn path=/head/; revision=57330
* Fixed a problem where the extracted files wouldErnst de Haan2002-04-041-2/+2
| | | | | | | | | sometimes (?) be looked for in the directory 'work/work' instead of just 'work'. Bumped PORTREVISION. Notes: svn path=/head/; revision=57329
* Creating symlink to tools.jar. Bumped PORTREVISION.Ernst de Haan2002-04-041-1/+5
| | | | | | | Prompted by: Calvin NG <calvinng@brel.com> Notes: svn path=/head/; revision=57328
* Minor cleanup.Ernst de Haan2002-04-031-1/+1
| | | | Notes: svn path=/head/; revision=57284
* Now checking for the Java VM too in the controlErnst de Haan2002-04-032-3/+44
| | | | | | | program. Bumped PORTREVISION. Notes: svn path=/head/; revision=57271
* Little generalization and cleanup. NothingErnst de Haan2002-04-032-33/+21
| | | | | | | spectacular. Not bumped PORTREVISION. Notes: svn path=/head/; revision=57268
* Upgrade to Jakarta Tomcat 4.0.3. The Jakarta Tomcat 3Ernst de Haan2002-04-015-219/+1126
| | | | | | | | | branch has moved to www/jakarta-tomcat3. PR: 31096, 32022 Notes: svn path=/head/; revision=57160
* Changed a message to make it more generic.Ernst de Haan2002-03-301-1/+1
| | | | Notes: svn path=/head/; revision=56988
* Replacing the man page title (in capitals) in orderErnst de Haan2002-03-303-2/+4
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=56986
* Now replacing STARTUP_SCRIPT in man page. Bumped PORTREVISION again.Ernst de Haan2002-03-301-1/+2
| | | | Notes: svn path=/head/; revision=56976