1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
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.
2006-02-20 20:47:50 +00:00
Sam Lawrance
b79dc1999f - Make sure the rc script creates and chowns the PID file before running
'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)
2006-02-08 13:35:17 +00:00
Sam Lawrance
314fa7a3d9 Since the procname of tomcat processes may vary due to javavmwrapper,
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>
2006-02-07 13:41:00 +00:00
Sam Lawrance
a0156c5c5b Clean up Tomcat 4, 4.1, 5, and 5.5 ports.
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
2006-02-07 08:50:09 +00:00
Herve Quiroz
d1f2d08b33 Run 'load_rc_config' command earlier in the rcNG launcher script
PR:		86032
Submitted by:	Julio C. Perera R. <jcperera@azul.gl>
2005-09-14 12:30:23 +00:00
Herve Quiroz
6a944ac6a6 - New RCng stratup script with no use of tomcat55ctl. Several extra flags are
provided to customize the behavior of the Tomcat process. See the header of
  the script for further information.
- Fix permission issue with ${STDOUT_LOG} and ${STDERR_LOG}

PR:		38018 [1], 38020 [2], 59571 [3], 74344 [4], 75143 [5]
Submitted by:	Ari Suutari <ari.suutari@syncrontech.com> [1] [2],
		ve <ve@hardcore.lt> [3],
		SimpleRezo Team <freebsd@simplerezo.com> [4],
		Anton Yudin <toha@toha.org.ua> [5]
Discussed on:	freebsd-java@
Reviewed by:	Jan Grant <Jan.Grant@bristol.ac.uk>
Approved by:	maintainer timeout
2005-09-02 12:45:34 +00:00
Herve Quiroz
1c8a6423f0 Update to version 5.5.9: this port is a repocopy of www/jakarta-tomcat5 and it
now tracks the Tomcat 5.5.x branch

PR:		81458
Reported by:	Scott Balmos <scott.balmos@utoledo.edu>
Submitted by:	Kang Liu <liukang@bjut.edu.cn> (maintainer)
2005-06-13 14:08:34 +00:00
Herve Quiroz
7550f0313f - Update to 5.0.30 [1]
- Use MAN1 in Makefile [1]
- Back up config files during deinstall [2]
- Fix pkg_add warnings [1]
- Add $FreeBSD$ tags where missing
- Use ECHO_MSG rather than ECHO_CMD

PR:		75152 [1], 43565 [2]
Submitted by:	maintainer [1], Brent Verner <brent@rcfile.org> [2]
2004-12-17 03:15:07 +00:00
Ernst de Haan
115f42c702 New port: Jakarta Tomcat 5.x.
See:
http://jakarta.apache.org/site/news.html#20030804.1
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html

PR:		55502
Submitted by:	Kang Liu <lazykang@hotmail.com>
2003-08-13 11:39:38 +00:00