Commit graph

77 commits

Author SHA1 Message Date
abs
05cc642fed Update jakarta-tomcat to 5.0.28.
Also, work around a horrible interaction with the gzip in NetBSD
    2.0 (at least RC4). If gzip is used in a pipeline the tarfile
    fails to extract (PR bin/27228)

Changes since 5.0.27:
     General
       fix        30239: Updated IIS how-to to link to Wiki page with
                  instrutions for IIS 5 and IIS 6 configurations. (yoavs)
       fix        30238: Replaced isapi_redirector.dll isapi_redirect.dll
                  in installation script for consistency. (yoavs)
       fix        29584: Enhanced and clarified JNDI documentation.
                  (yoavs)
       fix        30245: Corrected Connector documentation to list
                  "address" as a common attribute. (yoavs)
       fix        29826: Modified setclasspath.bat exit code to 1.
                  (yoavs)
       update     Updated status page, mostly rewritten. (yoavs)
       update     Updated Jakarta-Commons dependencies: BeanUtils to 1.7.0,
                  Collections to 3.1. (yoavs)
       update     Removed classic compiler directives from Ant build, as we
                  use modern anyways. (yoavs)
       update     Modified RELEASE-PLAN-5.0.html to indicate status given
                  start of work on Tomcat 5.next. (yoavs)
       update     Added command lines utilities version.sh, version.bat to
                  let you know what version is installed. (funkman)

     Catalina
                  30602: Subject is not available during the first call
       fix        to the servlet which use the basic authentication
                  (jfarcand)
       fix        29831: Added support for Boolean property to
                  BeanFactory. (yoavs)
       fix        28875: Made ErrorReportValve use UTF-8 encoding by
                  default. (yoavs)
       fix        30325: Only set CATALINA_HOME if not already set (in
                  bin/catalina.sh). (yoavs)
       fix        30144: Made SSIServlet check resource MimeType before
                  using text/html and UTF-8 default. (yoavs)
                  29406: Made JAASRealm configurable as to whether it
       fix        should use the context ClassLoader or the default
                  ClassLoader by adding a useContextClassLoader boolean
                  attribute. (yoavs)
                  If ServletResponse.getWriter() is called and no char
                  encoding has been specified, set response char encoding to
       fix        default (ISO-8859-1) so that it is reflected in
                  getContentType() and Content-Type header, as required by
                  the Servlet Spec (Bugtraq 6152759) (luehe)
       fix        29869: Better JMX/JSR77 support in StandardContext and
                  StandardWrapper. (remm)
       update     Fixed broken link to JK documenration from AJP Connector
                  reference page. (yoavs)
       fix        30587: Typo in ExtendedAccessLogValve. (yoavs)
       fix        30561: Broken restart of NamingService. (yoavs)
       fix        29668: NPE in HostConfig, directory created for
                  deployed WAR instead of xml file. (yoavs)
       fix        30179: Improved Bootstrap catalina.properties
                  handling. (yoavs)
       fix        30762: Servlet#destroy was called before
                  contextDestroyed. (yoavs)
       fix        30650: Added explicit comments on session equals()
                  implementation. (yoavs)

     Coyote
       fix     30770: Check that the browser actually sent a user-agent
               header before using it. (billbarker)
               Default charset not included in Content-Type response header
       fix     if no char encoding was specified (see Bugtraq 6152759).
               (luehe)

     Jasper
       fix     29971: Commented out page directive is parsed. (luehe)
       fix     30067: 'Scripting elements are disallowed here' exception
               behind scriptless tag. (luehe)
       fix     30073: NPE when compiling .jspx with broken xml format in
               jspcmode. (luehe)
       fix     30291: Smap for a tag should not include its body.
               (kinman)
       fix     30289: Incorrect Smap for multiple line java expression.
               (kinman)

     Cluster

     Webapps
       fix     29779: Admin/Examples SetCharacterEncodingFilter wrong
               package. (yoavs)
       fix     30354: manager-howto.xml used wrong Ant task. (yoavs)
2004-10-11 21:15:48 +00:00
xtraeme
fcde7e8060 www/jakarta-tomcat: Add missing files, should fix installation problem
seen in kristerw@'s bulk build.

Bump PKGREVISION.
2004-09-09 07:14:16 +00:00
erh
e9e8f2e1b4 Update to Jakarta Tomcat 5.0.27.
Various bugs fixed, some added and renamed jar files. Changelog available at:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/changelog.html
2004-07-22 21:30:30 +00:00
abs
d632c1c870 Update jakarta-tomcat to 5.0.25
No Changelog available. Also switch to buildlink3
2004-06-28 13:58:52 +00:00
xtraeme
6614cd492f www/jakarta-tomcat: fix PLIST. Should fix the problem seen in the last
bulk build.

Bump PKGREVISION.
2004-06-07 22:42:27 +00:00
xtraeme
85cbdf7476 Update www/jakarta-tomcat to 5.0.24.
Changes *unknown*, sorry but can't find them.
While here, install the configuration files correctly, use
${RCD_SCRIPTS_DIR} in MESSAGE, etc.
2004-05-26 15:16:25 +00:00
abs
01c781ff85 Update jakarta-tomcat to 5.0.19nb1
As we need the jdk to run, switch USE_JAVA from 'run' to 'yes'
2004-05-05 15:37:25 +00:00
erh
80e4fce279 Add the script to get the list of master sites for Tomcat 5. 2004-04-29 18:25:33 +00:00
erh
4daf1a6b31 Update the jakarta-tomcat package to Tomcat 5.0.19.
This is a Java Servlet 2.4 and JSP 2.0 server.
2004-04-29 18:24:55 +00:00
reed
2d4122dd45 Fix references to rc.d scripts. This package uses RCD_SCRIPTS
which installs to ${RCD_SCRIPTS_EXAMPLEDIR}. But the MESSAGE
referred to wrong hard-coded location if the RCD_SCRIPTS_EXAMPLEDIR
was not the default. So use RCD_SCRIPTS_EXAMPLEDIR instead.

PKGREVISION not bumped because if someone had changed
RCD_SCRIPTS_EXAMPLEDIR before recent change of autoregistration
of rc.d script in PLIST, then it could not have been packaged
in first place.

Note that this commit does not imply that the MESSAGE is correct.
In some cases, the MESSAGE is clearly wrong such as suggesting
running the rc.d script from the example directory (which will work
although).
2004-04-23 22:43:20 +00:00
reed
9c790735db mk/bsd.pkg.install.mk now automatically registers
the RCD_SCRIPTS rc.d script(s) to the PLIST.

This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.

This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)

These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)

I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.

Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
  hard-coded etc/rc.d. These need to be fixed.
- maybe  remove from mk/${OPSYS}.pkg.dist mtree specifications too.
2004-04-23 22:07:52 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
grant
a07fcadc4e use RCD_SCRIPTS_SHELL. 2003-12-04 15:00:57 +00:00
reed
e2336bb021 "It's" stands for "it is" (or "it has"). The apostrophe is not used
for a possessive (like her, his, whose, their, and its).

Note that I didn't check for proper use of "its" (when it should
be "it is" or "it has" instead).

I also saw over 15 other grammar or punctuation problems, but not
fixed in this commit.
2003-08-30 02:14:19 +00:00
jschauma
cffa35af85 Add pseudo-category 'java'. 2003-08-23 15:16:36 +00:00
jmmv
d7aa8a64f2 Use OWN_DIRS instead of MAKE_DIRS, and use the right operator +=.
Fixes PR pkg/22039 by Todd Vierling.
2003-07-22 21:35:12 +00:00
martti
33e2a02324 COMMENT should start with a capital letter. 2003-07-22 04:14:17 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jschauma
99e6fe788b Change dependency of jakarta-ant into apache-ant, as it's now known.
All build fine with the new version of ant.
2003-06-03 17:02:44 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
jlam
8d07c1b468 Use the JAVA_HOME of the JDK upon which the jakarta-tomcat package depends
as the default JAVA_HOME.  It can still be overridden by an environment
variable.
2002-12-28 22:34:13 +00:00
jlam
659d9c5347 Convert to use buildlink2, bsd.pkg.install.mk, and java-vm.mk. 2002-12-28 21:35:04 +00:00
jlam
e503817fe4 Refer to www/ap-jk (distributed as part of Tomcat) instead of the older
www/ap-jserv.
2002-12-28 21:09:15 +00:00
jlam
87e060f2b7 Replace "/usr/pkg" with "%D". 2002-12-26 22:59:32 +00:00
jlam
04c8f5b996 Use PKG_JAVA_HOME consistently instead of JAVA_HOME now that JAVA_HOME is
no longer defined by bsd.pkg.mk.
2002-10-10 01:01:09 +00:00
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +00:00
abs
3b7a88e009 since we need ant.jar at runtime, switch jakarta-ant from BUILD_DEPENDS to DEPENDS 2002-06-19 09:10:00 +00:00
abs
21a6a78e8d Add a 'flush' option to the rc.d script. Bump version to jakarta-tomcat-3.2.4nb1
If you've used tomcat this probably comes under the category of bugfix :)
2002-05-23 15:48:44 +00:00
cjep
8da02ed7f6 Add NetBSD tags. 2002-05-20 19:06:03 +00:00
abs
a2accd70ae include crimson.jar and ant.jar in default CLASSPATH 2002-05-17 13:24:57 +00:00
jwise
de51c9466a Fix build in java2 case. This is somewhat of a kluge for the fact that
tomcat makes mistaken assumptions about which revisions of java some
features became available in, and to ensure that the package works with
both jdk-1.1 and later (emulated) jdks.
2002-04-19 17:48:21 +00:00
jwise
60715496a9 Update jakarta-servletapi, jakarta-tomcat, and ap-jk to version 3.2.4.
We are not advancing to the 3.3 or 4.0 branches at the moment, as neither
will work with our native JDK without a lot more work.

Changes since Tomcat 3.2.3 (the last pkgsrc version):

7.1 Fixes and Enhancements in Release 3.2.4

This section highlights the bugs fixed in this release.

  -  Cookie name expires is a reserved token (#1114)
  -  Thread initialization problem in thread pool (#1745)
  -  AJP12 returned invalid HTTP headers when redirecting to very
     long URLS (#2333)
  -  Fixed casting problem in JspFactoryImpl.getPageContext().  (#4260)
  -  Setting sesstion-timeout in web.xml did not prevent sessions from
     timing out.  (#4412)
  -  Fixed race condition in ServerSocketFactory.getDefault().  (#4418)
  -  Removed the restrictions on encoded spcecial characters in URLs
     that was added as a security precaution in 3.2.3.  The encoded
     special characters are not decoded and remain the URL and
     path info returned to servlets.
  -  Jk_nt_service now supports the ability to be restarted automatically
     by the Windows 2000 service control manager if Tomcat terminates
     abnormally.
  -  Fixed invalid servlet mapping in web.xml generated by JspC (#3474, #3499)
  -  Added findResource() and findResources() to AdaptiveClassLoader12
  -  A Date: HTTP header is now sent in responses when running stand
     alone. (#345)
  -  Simple held on to a reference to removed objects preventing
     garbage collection.
  -  Tomcat 3.2.4 now ships with JAXP 1.1.  Prior releases used
     JAXP 1.0.1.  Tomcat 3.2.4 remains completely compatible with
     the older version of JAXP and there is no requirement for users
     to upgrade to JAXP 1.1 unless their applications require the new
     version.
  -  Fixed NullPointerException in HttpConnectionHandler.  (#4577)


7.2 Security Vulnerabilities fixed in Tomcat 3.2.4

The randomness of generated session ids has been enhanced to prevent the
generation of guessable ids.
2002-04-19 15:54:20 +00:00
jwise
d0399ba78c Quick fix for apache.org security advisory -- example webapps as present
have a cross-site scripting vulnerability.  For now, we remove them, but
we will update to a newer version when one is available.
2002-04-09 18:24:51 +00:00
abs
440afc65cb Move MAKE_FLAGS= to after .include "../../mk/bsd.pkg.mk" to ensure it overrides any external settings 2002-03-26 16:37:26 +00:00
abs
46b5373763 73 dork points and a swift beating about the head with a clue-by-four for
my previous change.
When resetting any externally set MAKE_FLAGS, it makes sense to check if
this Makefile is trying to set it itself...
2002-03-25 19:19:52 +00:00
abs
c09eb4bd41 If we're overriding MAKE_PROGRAM to ant we should probably reset MAKE_FLAGS
to avoid any 'make' MAKE_FLAGS confusing 'ant'.
2002-03-10 23:59:00 +00:00
skrll
08bdd44549 mkdir -> ${MKDIR}
rmdir -> ${RMDIR}
rm -> ${RM} (${RM} added to PLIST_SUBST)
chmod -> ${CHMOD}
chown -> ${CHOWN}
2002-02-15 10:12:28 +00:00
zuntum
431e7a7dda Move pkg/ files into package's toplevel directory 2001-11-01 02:15:23 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
abs
83a3a4c393 Do not install a .orig file (also fixes binary package under Linux) 2001-08-23 18:06:16 +00:00
jwise
b9a0798e67 Update jakarta-{servletapi,tomcat} to version 3.2.3. The only real change
is a fix to a security problem allowing unauthorized access to protected
content.
2001-08-11 22:05:22 +00:00
abs
ce60f0d4b2 Switch to a dynamic PLIST so we can install against jdk or sun-jdk 2001-06-21 13:12:25 +00:00
abs
d9a13bd466 Obey rc.conf if present (modelled on apache rc.d file), plus allow entries
to be prepended to CLASSPATH by setting optional tomcat_classpath
2001-05-24 16:06:43 +00:00
wiz
d3c112794d Add size. 2001-05-21 21:45:45 +00:00
agc
8f972b049a + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 12:12:16 +00:00
jwise
8d52d896ed Fix thinko in a message. Purely aesthetic. 2001-04-13 07:47:43 +00:00
jwise
9001444411 Make sure .orig files from patching don't get installed. 2001-04-05 19:12:21 +00:00
wennmach
c58997e660 RCS Id police 2001-04-03 11:05:24 +00:00
jwise
26c8fd12f2 Add a run' rc script command corresponding to the tomcat run' startup
directive -- run in the foreground for debugging purposes.
2001-04-02 18:50:50 +00:00