With this patch, the sablotron base URI for xslt processing is set to the
current working directory, so document inclusion (ala
<xsl:apply-templates select="document(data/test.xml)" />
) will DTRT.
Bump the pkg version to 1.1nb1, as stylesheets written for the new version
may not work with the old.
use X11_BUILDLINK_MK as a test value. Generally just reordering the
inclusions so that x11.buildlink.mk comes before the other buildlink.mk
files will make everthing work.
- Whitespace changes to Makefile
- From the commit log for apache/Makefile:
Don't do the dance with ROOT_GROUP. Apache extension modules installed by
apxs are now installed with "${INSTALL} -c -o ${LIBOWN} -g ${LIBGRP}",
which should do the right thing regardless of the platform. ${INSTALL} is
replaced with the full path to the install program used by pkgsrc, which
should be /usr/bin/install on NetBSD, and /usr/ucb/install on Solaris.
This should fix pkg/14232 by Pierre Bourgin.
apxs are now installed with "${INSTALL} -c -o ${LIBOWN} -g ${LIBGRP}",
which should do the right thing regardless of the platform. ${INSTALL} is
replaced with the full path to the install program used by pkgsrc, which
should be /usr/bin/install on NetBSD, and /usr/ucb/install on Solaris.
This should fix pkg/14232 by Pierre Bourgin.
into the apache mod_php.so DSO.
PHP4_CONFIGURE_ARGS should contain GNU configure options, a complete
list of which may be found at:
http://www.php.net/manual/en/install.configure.php
Note that this is generally not needed as many of the extensions (session,
mysql, pgsql, pcre) may be dynamically loaded, and are separately packaged
in pkgsrc.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
Changes from version 2.8.4 include:
*) Upgraded to Apache 1.3.22
*) Fixed check whether server certificate wildcard CommonName (CN)
matches the configured server name.
*) Fixed buffer overflow.
using the pkgsrc expat library instead of the builtin one (this is to
avoid conflicts between expat libraries when an expat XML parser is loaded
by either mod_perl or mod_php), and:
Security vulnerabilities
* A vulnerability was found in the split-logfile support program. A
request with a specially crafted Host: header could allow any file
with a .log extension on the system to be written to.
* A vulnerability was found when Multiviews are used to negotiate
the directory index. In some configurations, requesting a URI with
a QUERY_STRING of M=D could return a directory listing rather than
the expected index page.
General bug fixes and improvements
* Bug fixes
* The supplied icons are now also distributed in PNG format
* New directives have been added to the mod_usertrack module, The
first, CookieDomain, can be used to customise the Domain
attribute.
* A new directive, AcceptMutex, allows run-time configuration of the
mutex type used for accept serialization.
* mod_auth has been enhanced to allow access to a document to be
controlled based on the owner of the file being served.
* A new directive, AcceptFilter, has been added to control BSD
accept filters at run-time. The functionality can postpone the
requirement for a child process to handle a new connection until
an HTTP request has arrived, therefore increasing the number of
connections that a given number of child processes can handle
- Updated the IPv6 patch
Apache 1.3.20 - 1.3.22 Major changes
Security vulnerabilities
* A vulnerability was found in the Win32 port of Apache 1.3.20. A
client submitting a very long URI could cause a directory listing
to be returned rather than the default index page. A 403 Forbidden
will now be returned. CAN-2001-0729
* A vulnerability was found in the split-logfile support program. A
request with a specially crafted Host: header could allow any file
with a .log extension on the system to be written to. PR#7848
CAN-2001-0730
* A vulnerability was found when Multiviews are used to negotiate
the directory index. In some configurations, requesting a URI with
a QUERY_STRING of M=D could return a directory listing rather than
the expected index page. CAN-2001-0731
The security issues above have been assigned standardized names, CAN-
by the Common Vulnerabilities and Exposures project (cve.mitre.org)
New features
The main new features in 1.3.22 (compared to 1.3.20) are:
* The user manual has been updated. As well as a number of small
fixes these updates include new translations into French and
Japanese, a guide to using Apache httpd on Cygwin, a lexicon of
Apache error messages, updated TPF documentation, and a
comprehensive guide to using log files
* The user manual can now be moved out of the htdocs DocumentRoot
during installation by invoking configure with the --manualdir=
switch, to allow separation of on-line docs from regular contents.
* The supplied icons are now also distributed in PNG format
* A significant overhaul to the Apache Bench program, ab has taken
place, as first reported in April. The new Apache Bench includes
fixes, additional statistics, csv and gnuplot output, and some
SSL support
* New directives have been added to the mod_usertrack module, The
first, CookieDomain, can be used to customise the Domain
attribute. The patch to add the CookieDomain directive was first
submitted over two years ago. Historically mod_usertrack has used
the obsolete Netscape cookie syntax. The new CookieStyle directive
allows use of the RFC2109 or RFC2965 syntax instead. PR#5023,
PR#5920, PR#6140.
* The server will now display a warning if line-end comments (#) are
found in the configuration file. Not all directives are able to
handle comments on the same line
* A new directive, AcceptMutex, allows run-time configuration of the
mutex type used for accept serialization, currently a compile-time
only setting in 1.3. Since different types of mutex have different
performance characteristics on different platforms, this directive
will allow administrators to tune their Apache server more easily.
The current list of possible methods is: uslock, pthread, sysvsem,
fcntl, flock, os2sem, tpfcore, none. Not all platforms support all
methods
* mod_auth has been enhanced to allow access to a document to be
controlled based on the owner of the file being served. Require
file-owner will only allow files to be served where the
authenticated username matches the user that owns the document.
Require file-group works in a similar way checking that the group
matches
New features that relate to specific platforms:
* A new directive, AcceptFilter, has been added to control BSD
accept filters at run-time. This should make it easier to move
server binaries across different BSD machines without requiring
recompilation. Support for accept filters was first added to
version 1.3.14, the functionality can postpone the requirement for
a child process to handle a new connection until an HTTP request
has arrived, therefore increasing the number of connections that a
given number of child processes can handle
* On Win32 mod_unique_id, mod_mime_magic, and the mod_vhost_alias
modules are now enabled
* The Cygwin port includes a number of fixes and updates. Cygwin
support was first introduced in version 1.3.20
* On Windows 2000, the service display names can now be modified
by the user (use the service control panel applet)
* On Win32 a new option -W can be used to set up a dependency on
another service, see win_service.html
* The server will now take advantage of recent improvements to the
TPF operating system which include an enhanced system fork and
exec, updates to allow non-blocking file descriptors, and an
update to shutdown processing
Bugs fixed
The following bugs were found in Apache 1.3.20 and have been fixed in
Apache 1.3.22:
* Under certain circumstances a child may crash due to a bug in
mod_include. If a server uses an ErrorDocument for 404 (request
not found) errors which points to a server-parsed HTML file which
uses a <!--#include virtual="file" --> section, then a request
containing %2f will result in a segfault. The segfault is harmless
and does not cause a security problem, but is being triggered by
the recent IIS worm
* The Multiviews functionality has been fixed to prevent
mod_negotiation from serving any multiview variant that contains
unknown filename extensions. PR#8130
* Apache will prefer installed version of the Expat library over the
bundled version. This fixes conflicts when multiple copies of the
Expat library get loaded (notably when using mod_perl and
XML::Parsers::Expat)
* UnsetEnv now works from the main body of a configuration file.
PR#8254
* When used as a reverse proxy any headers set by other modules
(such as mod_usertrack or mod_securid) now get passed on to the
back-end server. PR#6055
* Server response headers can now be logged via the proxy. PR#7461
* mod_proxy will now pay attention to HTTP headers that specify the
request is not to be cached. PR#5668
* When a client making a request via mod_proxy died unexpectedly,
mod_proxy did not close its connection. PR#8090
* The CacheForceCompletion directive has been fixed PR#7383,
PR#8067, PR#6585
* A memory leak has been fixed in the mod_mime_magic module
* A Satisfy All option has been added to the default container
designed to stop access to .htaccess files. Without this
directive, these files could still be fetched if they were within
the scope of a Satisfy Any directive.
The following bugs relate to specific platforms:
* A number of fixes for NetWare have been added. These include:
enabling long file names in htpasswd and htdigest, protection
against ill behaved modules, better handling of abnormal
shutdowns, dealing with the limited stack space during server side
includes, and recognising special filenames such as proxy:http://
correctly
* A shutdown hang could occur on Solaris when using lots of piped
TransferLogs and at least one piped ErrorLog
* On EBCDIC platforms a bug in the proxy module stopped SSL proxying
working
* On Win32, mod_unique_id did not guarantee a unique ID due to
threading
* The Win32 Makefiles are now 100% compatible with the Microsoft
Visual C++ compiler versions 5,6,7
mod_xslt provides a simple, fast mechanism for doing XSLT transformations
of XML content for presentation to the user. It doesn't seek to provide
all the bells and whistles of, say, Cocoon, but being implemented natively
and using an XSLT parser (sablotron) which is implemented natively, it
provides a nice lightweight solution.
- Bug fixes (memory leaks and other errors)
- Made $HTTP_SESSION_VARS['foo'] and $foo be references to the same value
when register_globals is on. (Andrei)
- Added is_callable() function that can be used to find out whether
its argument is a valid callable construct. (Andrei)
- Added pg_last_notice() function. (Rasmus from suggestion by Dirk@rackspace.com)
- Added support to getimagesize to return dimensions of BMP and PSD
files. (Derick)
- Added Japanese multibyte string functions support. (Rui)
- Added key_exists() to check if a given key or index exists in an
array or object. (David Croft)
- Added -C command-line option to avoid chdir to the script's directory. (Stig)
- printf argnum (parameter swapping) support. (Morten Poulsen, Rasmus)
- Modified get_parent_class() and get_class_methods() to accept a class name as
well as a class instance. (Andrei, Zend Engine)
- Added array_map() function that applies a callback to the elements
of given arrays and returns the result. It can also be used with a
null callback to transpose arrays. (Andrei)
- Added array_filter(), which allows filtering of array elements via
the specified callback. (Andrei)
On NetBSD, we need to link libgcc.a whole-archive so that certain symbols
from the C++ implementation (__get_eh_context, etc.) referenced by DSOs
written in C++ will resolve correctly. This makes php4-sablot work with
mod_php4.so (from ap-php4) on ELF platforms when loaded by Apache's httpd.
- Fixed all prototypes
- Add prototypes to work with newer perl version
- By default, thwart access to files named 'passwd' and '.cvspass'
(configurable in cvsweb.conf). This avoids security problems with
naive configuration
- diff "Attic" redirect bugfix
- Preset the global variable the stores the per file cvs info to avoid
accumulating cruft under modperl
- Avoid warning about uninitialized value if displaying a particular
branch only
- Allow for 0.X versions
- Fix the PRINTF tie method, this messed up the annotate display
- Implement gzip compressed output by using the Compress::Zlib module
- View Adobe Acrobat .pdf files embedded in the cvs markup view
- IPv6 patch will be maintained at ftp://ftp.piuha.net/pub/misc/
A better ChangeLog (1.3.19 -> 1.3.20) is available in
pkgsrc/www/apache/Makefile rev 1.73