Commit graph

83 commits

Author SHA1 Message Date
Pav Lucistnik
891ef4d473 - Point users to www/tomcat* ports and set expiration counter to one month
PR:		ports/129271
Submitted by:	Yoshihiro Ota <ota@j.email.ne.jp>
2008-12-12 13:20:46 +00:00
Edwin Groothuis
090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Sam Lawrance
7593163249 Unbreak jakarta-tomcat3 by re-adding a file it requires from
the tomcat4 port.

Approved by:	portmgr (erwin)
2006-10-22 03:56:14 +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
Mark Linimon
437c1578c6 Reset inactive maintainer who has not responded to email.
Hat:		portmgr
2006-09-05 07:11:22 +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
Edwin Groothuis
84b1517c16 SHA256ify
Approved by: krion@
2006-01-24 03:16:52 +00:00
Edwin Groothuis
508b8d82f4 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 03:01:03 +00:00
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
Trevor Johnson
3bca696b10 Add size data, approved by maintainers. 2004-03-18 18:01:13 +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
d284785285 Improved the description of this port.
PR:		44102
Requested by:	Liu Kang <lazykang@hotmail.com>
2002-10-15 19:29:09 +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
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