Bug 31096 - New port for jakarta-tomcat 4
Summary: New port for jakarta-tomcat 4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ernst de Haan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-07 06:50 UTC by jonathan.chen
Modified: 2002-04-01 22:36 UTC (History)
0 users

See Also:


Attachments
jakarta-tomcat4.tar.gz (10.86 KB, text/plain)
2001-10-07 06:50 UTC, jonathan.chen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jonathan.chen 2001-10-07 06:50:00 UTC
This new port installs Jakarta-Tomcat 4.0 Release

Fix: Notes: The port requires jdk1.2.2 at the very least, but
allows the installer to define JAVA_HOME to determine just
which java-vm to use with the port.
How-To-Repeat: N/A
Comment 1 jonathan.chen 2001-10-15 22:34:22 UTC
Here's a link to the tarball, if the only reason why this hasn't been
reviewed or committed is 'cos no one likes uudecode:

    http://users.itouch.co.nz/~jonc/ports/jakarta-tomcat4.tar.gz

-- 
Jonathan Chen <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Comment 2 Ernst de Haan 2001-10-19 12:44:35 UTC
It seems your .tar.gz file is actually a tar file :-)
== Ernst <ernst@jollem.com>
Comment 3 Ernst de Haan 2001-10-19 12:48:35 UTC
This port is missing a dependency ( /usr/ports/devel/pinstall ) and you 
should have used portlint to check the port, because your RUN_DEPENDS needs 
to appear higher up in the file... :-)

But I would love to see a Tomcat port. Perhaps you can take a look at the 
www/orion port to see how you can improve the value of your port by 
installing something like a tomcatctl script, add a man page, make sure 
Tomcat4 does not conflict with Tomcat3, Apache, Orion, etc by making sure the 
HTTP server listens at a different port (suggestion: 9040 or so).

== Ernst <ernst@jollem.com>
Comment 4 jonathan.chen 2001-10-22 22:00:56 UTC
On Fri, Oct 19, 2001 at 01:48:35PM +0200, Ernst de Haan wrote:
> This port is missing a dependency ( /usr/ports/devel/pinstall )

Eh? There is a:

    BUILD_DEPENDS=  pinstall:${PORTSDIR}/devel/pinstall

in the current version's Makefile. Are you looking at the same file I am?

>and you 
> should have used portlint to check the port, because your RUN_DEPENDS needs 
> to appear higher up in the file... :-)

Fixed.

Updated file at:

    http://users.itouch.co.nz/~jonc/ports/jakarta-tomcat4.tar.gz

> But I would love to see a Tomcat port. Perhaps you can take a look at the 
> www/orion port to see how you can improve the value of your port by 
> installing something like a tomcatctl script, add a man page, make sure 
> Tomcat4 does not conflict with Tomcat3, Apache, Orion, etc by making sure the 
> HTTP server listens at a different port (suggestion: 9040 or so).

Yeah, I'd considered the port conflict, but had decided that people who
had been using tomcat for some time would not appreciate the unexpected
port change.

Cheers.
-- 
Jonathan Chen <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
  If you're right 90% of the time, why quibble about the remaining 3%?
Comment 5 Ernst de Haan 2001-10-23 09:53:39 UTC
Hi Jonathan,

> Eh? There is a:
>
>     BUILD_DEPENDS=  pinstall:${PORTSDIR}/devel/pinstall
>
> in the current version's Makefile. Are you looking at the same file I am?

Oops. Sorry, I must have been sleeping when I wrote that :)

> >and you
> > should have used portlint to check the port, because your RUN_DEPENDS
> > needs to appear higher up in the file... :-)
>
> Fixed.

Okay.

> Updated file at:
>
>     http://users.itouch.co.nz/~jonc/ports/jakarta-tomcat4.tar.gz

If I have any time I'll try it tomorrow.

> > But I would love to see a Tomcat port. Perhaps you can take a look at the
> > www/orion port to see how you can improve the value of your port by
> > installing something like a tomcatctl script, add a man page, make sure
> > Tomcat4 does not conflict with Tomcat3, Apache, Orion, etc by making sure
> > the HTTP server listens at a different port (suggestion: 9040 or so).
>
> Yeah, I'd considered the port conflict, but had decided that people who
> had been using tomcat for some time would not appreciate the unexpected
> port change.

Well, it's a new port (jakarta-tomcat4 instead of jakarta-tomcat), so it's 
not really a change of a current port.

The advantages are obvious. If you use a different accept-port by default, 
then you can install and run Tomcat 3 and 4 at the same time. And Orion and 
Apache too :-) And perhaps in a not so distant future some other JSP 
containers too B-)

BTW, if you're introducing a port containing a newer version of a program 
that is already in the ports tree (and stays there with the new one) you can 
also submit a diff. I was told to submit a diff between www/orion and 
www/orion-current when I submitted the latter. Just FYI. The advantage is 
that the new port has the same history as the older. So in fact it's becoming 
sort of a branch.

Ernst


-- 
Ernst de Haan
EuroNet Internet B.V.

    "Come to me all who are weary and burdened
        and I will give you rest" -- Jesus Christ
Comment 6 dirk freebsd_committer freebsd_triage 2001-11-20 21:39:43 UTC
Responsible Changed
From-To: freebsd-ports->dirk

I'll deal with it.
Comment 7 dirk freebsd_committer freebsd_triage 2001-11-23 17:10:21 UTC
Responsible Changed
From-To: dirk->znerd

Over to new maintainer of jakarta-tomcat.
Comment 8 Ernst de Haan freebsd_committer freebsd_triage 2002-04-01 22:35:17 UTC
State Changed
From-To: open->closed

A Jakarta Tomcat 4 port is now available as 
www/jakarta-tomcat.