Commit graph

41 commits

Author SHA1 Message Date
Sam Lawrance
73efe3bca8 Update to 5.5.20.
PR:		ports/104459
Submitted by:	Tomas Verbaitis <tomasv@megalogika.lt>
2006-11-01 12:06:01 +00:00
Pav Lucistnik
898335a4e5 - Work around an inability of rc.subr's _find_processes() to work with
processes that show as [java] on ps output.  This should fix the rc script
  stop action for all folks.
2006-09-08 09:31:07 +00:00
Herve Quiroz
eb954f7d1a Reset maintainer
Approved by:	maintainer
2006-09-06 22:33:49 +00:00
Herve Quiroz
9303ba9a19 Update to 5.5.17
PR:		98581
Submitted by:	Tomas Verbaitis <tomasv@megalogika.lt>
Approved by:	maintainer timeout
2006-07-03 09:49:56 +00:00
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
8189bccc87 Fix build when using Java 1.4: the compatibility distfile was wrong
PR:		90913
Submitted by:	maintainer, lesi
Reported by:	Yamamoto Takao <takao@oakat.org>,
		Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
2005-12-27 16:12:35 +00:00
Herve Quiroz
93da56e7be Update maintainer address
Requested by:	maintainer
2005-12-24 03:43:37 +00:00
Herve Quiroz
23d25f4c7f - Update to 5.5.12
- Add SHA256 info
- Update WWW

PR:		90380
Submitted by:	maintainer
2005-12-24 03:20:30 +00:00
Herve Quiroz
7d30d6ec15 - Allow user to specify a Tomcat deamon user/group through TOMCAT_USER and
TOMCAT_GROUP (www/www by default)
- Make it possible to add user/group even if UID/GID number is reserved

PR:		85761
Submitted by:	Pawel Wieleba <P.Wieleba@iem.pw.edu.pl>
Approved by:	maintainer
2005-09-29 15:08:23 +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
370093d654 Install ${PREFIX}/bin/tomcat55ctl even if rcNG script does not make use of it.
This should help users that are used to it.

As a side effect, this change will also fix the packing list.

Reported by:	pointyhat via kris
2005-09-06 03:23:45 +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
042daf2242 Allow the port to build/install/run with Java 1.4
PR:		81458
Submitted by:	Scott Balmos <scott.balmos@utoledo.edu>
Approved by:	maintainer timeout
2005-07-25 16:10: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
9529a8acdc - Fix a patching problem in Tomcat ports
- Add a patch-dependency on jakarta-tomcat4

PR:		79052
Submitted by:	maintainer
Obtained from:	des (for jakarta-tomcat41)
2005-03-21 00:08:05 +00:00
Kirill Ponomarev
0c08ac6ac1 Remove hardcoded WRKDIRPREFIX.
Proposed by:	des
2005-03-19 18:44:29 +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
Greg Lewis
db3584336f . Update to 5.0.29.
PR:		73275
Submitted by:	Kang Liu <liukang@bjut.edu.cn> (maintainer)
2004-11-03 16:35:35 +00:00
Greg Lewis
43cde3cc8d . Update to 5.0.28.
PR:		71240
Submitted by:	Kang Liu <liukang@bjut.edu.cn> (maintainer)
2004-09-01 19:37:51 +00:00
Vanilla I. Shu
bd246897e7 1. update www/jakarta-tomcat5 to 5.0.27
2. move the orignal config file to ${APP_HOME}/conf.orig, I think it would be helpful if the config files have been changed.

PR:		ports/69617
Submitted by:	maintainer
2004-07-26 15:28:49 +00:00
Greg Lewis
1764d3a8ba . Update to 5.0.25.
. Update maintainer's email address.

PR:		67623
Submitted by:	Kang Liu <liukang@bjpu.edu.cn> (maintainer)
2004-06-16 21:18:38 +00:00
Mark Linimon
5125ee4bb4 Update to 5.0.24.
PR:		ports/66614
Submitted by:	Kang Liu <liukang@bjpu.edu.cn> (maintainer)
2004-05-13 22:36:23 +00:00
Pav Lucistnik
4e5f0bce31 - Use MASTER_SITES_APACHE_JAKARTA
PR:		ports/65158
Submitted by:	Kang Liu <liukang@bjpu.edu.cn> (maintainer)
2004-04-04 12:39:24 +00:00
Pav Lucistnik
d5e2f33ca9 - Convert to bsd.java.mk 2.0 macros
PR:		ports/65118
Submitted by:	Kang Liu <liukang@bjpu.edu.cn> (maintainer)
2004-04-03 21:48:46 +00:00
Oliver Eikemeier
867ffd7cee remove duplicate LATEST_LINK
PR:		64134
Submitted by:	Kang Liu <liukang@bjpu.edu.cn>
2004-03-12 02:39:29 +00:00
Ernst de Haan
9b953b2624 Set LATEST_LINK.
Reported by:	kris
2004-03-08 09:50:08 +00:00
James E. Housley
6dc9c9ac89 1. jakarta-tomcat3,4,41,5 has the same PORTNAME and didn't set LATEST_LINK in
their Makefile.It may cause tomcat5 to conflict with other tomcat(s).
2. Replace spaces by tab

PR:		63209
Submitted by:	MAINTAINER
2004-02-24 01:46:41 +00:00
Greg Lewis
f879ae3cef . Update jakarta-tomcat5 to 5.0.19
. Add SIZE in distinfo

PR:		63062
Submitted by:	Kang Liu <liukang@bjpu.edu.cn> (maintainer)
2004-02-19 22:14:10 +00:00
Joe Marcus Clarke
73f7c91b5d Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.
(Part 1)
2004-02-04 05:10:27 +00:00
Mark Linimon
82501bd959 1.Update www/jakarta-tomcat to 5.0.18.
Changelog: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/changelog.html
2.Fix wrong url in the 2nd master site

PR:		ports/61767
Submitted by:	Kang Liu <liukang@bjpu.edu.cn> (maintainer)
2004-01-31 09:13:22 +00:00
Ernst de Haan
4c6b96197f Fixed name of PID file in pkg-deinstall.
Bumped PORTREVISION.

PR:		60781
Submitted by:	Kang Liu <liukang@bjpu.edu.cn>
2004-01-02 12:31:11 +00:00
Ernst de Haan
928436b764 Update to 5.0.16.
Submitted by:	maintainer
PR:		60036
2003-12-27 18:16:35 +00:00
Greg Lewis
6b728ad6dd . Update to 5.0.14
PR:		59480
Submitted by:	Angelo Turetta <aturetta@commit.it>
Approved by:	"Kang Liu" <liukang@bjpu.edu.cn> (maintainer)
2003-11-20 19:59:02 +00:00
Trevor Johnson
f725dc8ef5 Use the FIND and XARGS macros introduced in bsd.port.mk 1.391. 2003-11-13 12:54:57 +00:00
Daichi GOTO
60b86a2bc2 fix: www/jakarta-tomcat5
- fix pkg permission and master_sites problem

PR:		57234
Submitted by:	Kang Liu <liukang@bjpu.edu.cn> (maintainer)
Pointed out by:	Angelo Turetta
2003-09-26 05:54:44 +00:00
Ernst de Haan
b73613f41c Update to 5.0.12.
PR:		56764
Submitted by:	SADA Kenji <sada@BSDclub.org>
Approved by:	maintainer
2003-09-25 08:59:31 +00:00
Ernst de Haan
a419f9104d Update to 5.0.10.
PR:		56581
Submitted by:	maintainer
2003-09-08 14:12:22 +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