Commit graph

54 commits

Author SHA1 Message Date
Herve Quiroz
8f4433d3b7 Add a new MASTER_SITES entry
PR:		79267
Submitted by:	maintainer
2005-04-02 22:18: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
ae8618d863 - Update to bsd.java.mk 2.0
- 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]
2004-12-29 13:25:09 +00:00
Herve Quiroz
d32a583dd8 Assign all Jakarta Tomcat ports to the same maintainer, Kang Liu (already
maintainer of www/jakarta-tomcat5).
2004-12-03 14:20:04 +00:00
Herve Quiroz
e868aeb5e7 Reset znerd's ports maintainership:
- 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)
2004-12-03 01:01:33 +00:00
Ernst de Haan
ba82dd52df Set LATEST_LINK to ${APP_SHORTNAME}. LATEST_LINK was
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>
2004-04-03 11:22:22 +00:00
Ernst de Haan
9b953b2624 Set LATEST_LINK.
Reported by:	kris
2004-03-08 09:50:08 +00:00
Ernst de Haan
7bccf3f6cb Removed metaverse.nl from MASTER_SITES. 2004-02-23 07:30:41 +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
Ade Lovett
7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00
Ernst de Haan
2d0baff5f5 Upgrade to Tomcat 4.0.6, released on 9 October 2002. From the
News & Status page:

	A security vulnerability has been confirmed to exist in
	Apache Tomcat 4.0.x releases (including Tomcat 4.0.5),
	which allows to use a specially crafted URL to return the
	unprocessed source of a JSP page, or, under special
	circumstances, a static resource which would otherwise have been
	protected by security constraint, without the need for being
	properly authenticated.  This is based on a variant of the
	exploit that was disclosed on
	09/24/2002.

See:
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.6/RELEASE-NOTES
2002-10-10 22:51:09 +00:00
Ernst de Haan
aa1f22138c Fixed daemonctl control program to work with the FreeBSD JDK 1.3.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)
2002-10-09 23:10:32 +00:00
Ernst de Haan
054458fd11 Changed target installation directory so it does not include
the minor version number anymore.

Bumped PORTREVISION.

PR:		43565
Requested by:	Andrew Gerweck <andy@gerweck.dyndns.org>
2002-10-09 22:37:54 +00:00
Ernst de Haan
84141c9cb3 Security fix: Upgrade to 4.0.5.
PR:	43503
2002-09-30 12:37:20 +00:00
Ernst de Haan
cee03dba7d Changed WRKDIR definition. It is changed from
${.CURDIR}/work to ${WRKDIRPREFIX}${.CURDIR}/work.

PR:		39593
2002-08-10 10:42:48 +00:00
Ernst de Haan
e5490f30ef Improved the post-installation message.
Requested by:	phantom
2002-06-25 15:12:50 +00:00
Ernst de Haan
571a6e66a6 Upgrade to Tomcat 4.0.4.
For release notes, see:
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/RELEASE-NOTES
2002-06-24 07:17:40 +00:00
Ernst de Haan
156b71b59f Changed daemonctl program to check if the JAR file exists before
trying to start the JVM. This is a serious usability improvement.
Bumped PORTREVISION.
2002-05-08 22:00:04 +00:00
Ernst de Haan
15db7d6349 Improved the startup script. Always displaying a space first
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.
2002-05-08 21:54:06 +00:00
Ernst de Haan
98af9f9735 Now using generic startup.sh and daemonctl.c that will be
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 ;)
2002-04-15 21:34:42 +00:00
Ernst de Haan
d0d77b1ada Daemon control program now checks if process is really
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.
2002-04-08 21:50:23 +00:00
Ernst de Haan
f50f786a29 Made the daemon control program less verbose.
Bumped PORTREVISION.

Prompted by:	Kees Jan Koster <K.J.Koster@kpn.com>
2002-04-08 19:19:32 +00:00
Ernst de Haan
77a1003364 Now installs the shell scripts as well. They were previously
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>
2002-04-06 20:16:21 +00:00
Ernst de Haan
411b78699b Fixed a problem where the extracted files would
sometimes (?) be looked for in the directory
'work/work' instead of just 'work'.
Bumped PORTREVISION.
2002-04-04 22:48:18 +00:00
Ernst de Haan
92502db7fc Creating symlink to tools.jar. Bumped PORTREVISION.
Prompted by:	Calvin NG <calvinng@brel.com>
2002-04-04 22:03:26 +00:00
Ernst de Haan
2684781e36 Minor cleanup. 2002-04-03 21:28:50 +00:00
Ernst de Haan
d0f2cbece8 Now checking for the Java VM too in the control
program. Bumped PORTREVISION.
2002-04-03 20:42:07 +00:00
Ernst de Haan
144c6b62ca Little generalization and cleanup. Nothing
spectacular. Not bumped PORTREVISION.
2002-04-03 19:49:27 +00:00
Ernst de Haan
2297db65d5 Upgrade to Jakarta Tomcat 4.0.3. The Jakarta Tomcat 3
branch has moved to www/jakarta-tomcat3.

PR:	31096, 32022
2002-04-01 22:01:22 +00:00
Ernst de Haan
91dae29ec0 Changed a message to make it more generic. 2002-03-30 21:08:55 +00:00
Ernst de Haan
9380d814ea Replacing the man page title (in capitals) in order
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.
2002-03-30 19:53:18 +00:00
Ernst de Haan
f8b311d639 Now replacing STARTUP_SCRIPT in man page. Bumped PORTREVISION again. 2002-03-30 18:51:01 +00:00
Ernst de Haan
fb6cc4416b Stopping the server from pkg-deinstall. Applying
replacements to server.xml. Bumped PORTREVISION.
2002-03-30 18:42:23 +00:00
Ernst de Haan
784972ffc4 Removed reference to workers.properties since it no
longer exists. Bumped PORTREVISION.
2002-03-30 18:15:21 +00:00
Ernst de Haan
5542a04479 Removed reference to non-existent ${FILESDIR}/MANIFEST.MF.
Bumped PORTREVISION.
2002-03-30 16:45:40 +00:00
Ernst de Haan
00af56ae88 Lot of changes: Using USE_JAVA infrastructure. Upgraded port
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.
2002-03-30 14:51:12 +00:00
Ernst de Haan
b1b733982c Fixed the man page for tomcatctl. 2002-02-21 20:31:20 +00:00
Ernst de Haan
229c3f67eb Cleaned things up. Made things working :-) Both the startup script
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>
2002-02-21 20:06:55 +00:00
Ernst de Haan
02e7b57e58 Upgraded from Jakarta 3.2.3 to 3.2.4.
Not using DIST_SUBDIR anymore.
2002-02-21 11:03:08 +00:00
Ernst de Haan
7995f8fd5d Reverting changes. Accidentally committed *all* changes in my working copy, instead of only removing the second APP_TITLE. Bumped the PORTREVISION. 2002-02-19 13:52:30 +00:00
Ernst de Haan
5416e71b19 APP_TITLE was set twice.
Reported by: Kimura Fuyuki <fuyuki@mj.0038.net>
2002-02-19 08:20:39 +00:00
Ernst de Haan
f62ea0b0a3 A lot of changes:
* 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)
2002-02-04 13:38:25 +00:00
Akinori MUSHA
4adc5a8a71 Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
2002-01-29 12:08:37 +00:00
Dirk Froemberg
a47260d708 Give maintainership to znerd. 2001-11-23 17:08:42 +00:00
Michael Haro
e278fc13a2 MASTER_SITE moved
Approved by: maintainer
2001-10-01 21:01:46 +00:00
Dirk Froemberg
8fc93c2651 Upgrade to 3.2.3. 2001-08-05 09:37:23 +00:00
Dirk Froemberg
71e52831aa - provide startup script
- log tomcat messages to a file (logs/tomcat.log)
- fix plist
2001-05-21 08:05:38 +00:00
Dirk Froemberg
a63fee938c Give jakarta-tomcat a chance of working with mod_jk. 2001-05-20 17:10:56 +00:00
Dirk Froemberg
4ca853343c Upgrade to 3.2.1.
PR:		ports/26027
Submitted by:	Michael Lyngbøl <michael@lyngbol.dk>
2001-04-08 13:09:03 +00:00