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

78 Commits

Author SHA1 Message Date
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
adb71ad85d - Back up config files during deinstall
- Use ECHO_MSG rather than ECHO_CMD

PR:		43565
Submitted by:	maintainer, Brent Verner <brent@rcfile.org>
2004-12-19 04:04:26 +00:00
Herve Quiroz
dc02f52de0 - Update to version 4.1.31 [1]
- 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]
2004-12-06 02:35:41 +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
3df24cd6c4 Update to Tomcat 4.1.30. 2004-03-08 10:06:08 +00:00
Ernst de Haan
9b953b2624 Set LATEST_LINK.
Reported by:	kris
2004-03-08 09:50:08 +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
78f80cdd8f Fixed the MASTER_SITES.
Approved by:	portmgr (adamw)
2003-11-27 08:35:02 +00:00
Ernst de Haan
5278339f94 Fix last commit. PORTVERSION should be 4.1.29, not 4.1.27.
Noticed by:	ve@hardcore.lt
2003-11-21 12:14:02 +00:00
Ernst de Haan
0a7e7cb55a Update port to version 4.1.29
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
2003-11-21 06:53:45 +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
Ernst de Haan
625625d0d3 Update to 4.1.27.
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>
2003-08-11 11:00:04 +00:00
Ernst de Haan
eda40f3947 Upgrade to 4.1.24.
PR:		50241
Requested by:	Tony Harverson <Tony@epages.net>
		Jason Jenkins <socrates73@hotmail.com>
2003-03-27 07:35:34 +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
4d0a685fbb Update to 4.1.18. 2003-01-03 14:03:32 +00:00
Ernst de Haan
87df060b01 Improved description.
PR:		44102
Requested by:	Liu Kang <lazykang@hotmail.com>
2002-10-15 19:31:40 +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
30b7c3be35 Security fix: Upgrade to 4.1.12.
PR:	43504
2002-09-30 12:40:59 +00:00
Ernst de Haan
9a8fc42bf7 Upgrade to Tomcat 4.1.10 (stable). 2002-09-11 13:49:19 +00:00
Ernst de Haan
6844be8d51 New port: Jakarta Tomcat 4.1. This port is based on the Tomcat 4
port.
2002-09-03 09:47:01 +00:00
Ernst de Haan
8960bcb67e Reverting to revision 1.7. This change should first be audited by
audit@ since it may be bypassing security restrictions.

Pointed out by:	kris
2002-08-28 22:54:21 +00:00
Ernst de Haan
a23e6ab5b9 Executing setuid(geteuid()) to fix SUID. At the moment SUID does
not work.

Submitted by:	Ari Suutari <ari.suutari@syncrontech.com>
See:		http://www.geocrawler.com/mail/msg.php3?msg_id=9029840&list=162
2002-08-28 09:29:59 +00:00
Ernst de Haan
97f02f513a Fixed a typo. Replaced %%PORTREVISION%% with %%PORTVERSION%%.
Submitted by: Dan Hulme <dan_256@yahoo.com>
2002-08-28 09:22:01 +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
f8bd9d89d3 Improved package comment (IMO). 2002-04-04 22:52:30 +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