summaryrefslogtreecommitdiff
path: root/www/apache
AgeCommit message (Collapse)AuthorFilesLines
2002-12-22Revert to previous behavior and use db1 functions in libc if they aregrant1-4/+12
present, rather than installing databases/db (affects NetBSD, Linux, Darwin and possibly others). As suggested by Kimmo Suominen.
2002-12-19Tidy up conditional use of databases/db/buildlink2.mk.grant1-5/+7
Fixes build problem on Solaris.
2002-11-19As per discussion in pkg/18854, remove support for apache_start.conf asjlam1-19/+8
the precedence of the contents of this file changes depending on whether it's started at boot time or started manually, and it's not really necessary to add the extra complexity since it's valid (and easier) to just set apache_start in /etc/rc.conf.
2002-11-18Fix glitch in last commit.tron1-2/+2
2002-11-18Use "${NONBINMODE}" instead of mode "0" so that "pkg_admin check" stilltron1-3/+3
works for a normal user. Also invoke "chmod" only once because fork() and exec() is expensive on certain platforms.
2002-11-18Fix chmod (PR#19093 by Adrian Portelli). Bump PKGREVISION.martti1-3/+4
2002-11-15Updated apache to 1.3.27nb2martti1-2/+2
chmod 0 libexec/cgi-bin/{printenv,test-cgi} (to make nessus happy).
2002-11-15chmod 0 libexec/cgi-bin/{printenv,test-cgi} (to make nessus happy).martti1-1/+2
2002-10-25Unused.wiz1-60/+0
2002-10-25Update "apache" package to version 1.3.27nb1 which is now based versiontron2-5/+6
2.8.12-1.3.27 of "mod_ssl" module so that one doesn't need two version of the "mod_ssl" sources to build "apache".
2002-10-18Use newer way to convert a build dependency to a full dependency.jlam1-2/+2
2002-10-14Only set apache_start to "start" if it's not already set.lukem1-3/+3
Previously, if apache_start was set in /etc/rc.conf and /etc/rc.d/apache was loaded as part of the /etc/rc start sequence, apache_start's value would be overridden by "apache_start=start" in this script, because /etc/rc.conf would have already been loaded and load_rc_config() would not reload it again. This problem would not have been seen if /etc/rc.d/apache was started manually, or /etc/rc.conf.d/apache or @PKG_SYSCONFDIR@/apache_start.conf was used to set apache_start. (I am using /etc/rc.conf, and was wondering why apache wasn't starting with ssl support at boot, but worked after a manual restart...)
2002-10-10Fully convert to buildlink2, even on Solaris.jlam1-3/+3
2002-10-04Update "apache" package to version 1.3.27. This version fixes many bugstron3-29/+31
discovered in version 1.3.26 including these security fixes: - SECURITY: CAN-2002-0840 (cve.mitre.org) Prevent a cross-site scripting vulnerability in the default error page. The issue could only be exploited if the directive UseCanonicalName is set to Off and a server is being run at a domain that allows wildcard DNS. [Matthew Murphy] - SECURITY CAN-2002-0843 (cve.mitre.org) Fix some possible overflows in ab.c that could be exploited by a malicious server. Reported by David Wagner. [Jim Jagielski] - SECURITY CAN-2002-0839 (cve.mitre.org) Add the new directive 'ShmemUIDisUser'. By default, Apache will no longer set the uid/gid of SysV shared memory scoreboard to User/Group, and it will therefore stay the uid/gid of the parent Apache process. This is actually the way it should be, however, some implementations may still require this, which can be enabled by 'ShmemUIDisUser On'. Reported by iDefense. [Jim Jagielski]
2002-09-26Explicitly turn on large file support, as some Apache modules havegrant1-2/+6
problems when it is not enabled, notably mod_perl. Fixes pkg/18070 from myself, ok'd by wiz. Bump PKGREVISION.
2002-09-20Make these scripts more portable by taking advantage of automatic rc.dgrant1-2/+2
script handling and using @RCD_SCRIPTS_SHELL@. as discussed with jlam.
2002-09-20Fix typo, from pkg/18336 by Joachim Koenig-Baltes.jlam1-2/+2
2002-09-19Take advantage of the auto-generation and installation of rc.d scripts.jlam1-3/+1
2002-09-13Use USE_PERL5=build instead of directly depending on perl.jlam2-5/+5
2002-08-25Merge changes in packages from the buildlink2 branch that havejlam9-13/+47
buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework.
2002-08-01Crank libmm dependency versions and dependent pkg revisions.mycroft1-2/+2
2002-07-30Update apache packages with some common changes:wiz3-24/+40
Give Apache a user and group by default, not only with suexec. The variables for this have changed from APACHE_SUEXEC_USER and APACHE_SUEXEC_GROUP to APACHE_USER and APACHE_GROUP. Mention 'Apache' in COMMENT. Use variables for the version number instead of copying it around. Bump PKGREVISION. For apache{,6}: Change paths to /var/httpd instead of /var/spool/httpd. Honour STRIPFLAG. Add --without-confadjust as configure argument. Enable the 'define' module. For apache: Enable proxy module on NOPIC platforms. Some of these changes are based on pkg/17469 by Greg A. Woods, some on comments by Johnny Lam. Reviewed by Johnny Lam.
2002-07-07Provide the common rc.d directive "reload" as an alias for "apachectl graceful",tv1-1/+4
which reloads the server without killing transfers in progress.
2002-07-02Test some more files before using 1.5 rc.subr features.wiz1-2/+2
Closes pkg/17378 by Greg A. Woods.
2002-06-24Update to mod_ssl to 2.8.10. Since apache package contains it,taca2-6/+6
bump PKGREVISION. Changes with mod_ssl 2.8.10 (19-Jun-2002 to 24-Jun-2002) *) Fixed off-by-one buffer overflow bug in the compatibility functionality (mapping of old directives to new ones). *) Fixed memory leak in processing of CA certificates. *) In case there is actually a certificate chain in the session cache, we now use the value of SSL_get_peer_certificate(ssl) to verify as it will have been removed from the chain before it was put in the cache. *) Seed the PRNG with a maximum of 1K from the internal scoreboard.
2002-06-20- Add share/httpd/htdocs/index.html.lb.utf8 to PLIST.taca5-12/+71
- Prevent chown whole files under ${PREFIX}/share/httpd.
2002-06-19Add missing "source/" to master site entries for "ftp.funet.fi".tron1-2/+2
2002-06-19Define ${EXTRACT_SUFX} before referring to it on the left hand sidefredb1-1/+3
(indirectly, through ``SITES_${MODSSL_DIST}=''), and add a comment regarding same, to help spare maintainers from brain-damage.
2002-06-19Use the same master sites of the "mod_ssl" as in the "ap-ssl" package.tron1-2/+4
2002-06-19update for now-available mod_ssl-2.8.9-1.3.26jdolecek3-2019/+7
2002-06-19g/c patch-an, this is fixed by Apache 1.3.26 different wayjdolecek1-2/+1
2002-06-19g/c, Apache folks fixed this differentlyjdolecek1-13/+0
2002-06-19Update apache to 1.3.26.jdolecek4-44/+2094
Custom mod_ssl eapi patch used for now, since update of mod_ssl for 1.3.26 isn't available yet. This fixes the CAN-2002-0392 (mitre.org) [CERT VU#944335] security issue. For full list of changes, see http://www.apache.org/dist/httpd/CHANGES_1.3
2002-06-18crank PKGREVISIONitojun1-2/+2
2002-06-18http chunk transfer vulnerabilityitojun2-1/+15
http://httpd.apache.org/info/security_bulletin_20020617.txt
2002-05-08G/c references to ftp.uni-trier.de.kleink1-3/+2
2002-04-02Update www/apache to 1.3.24 with EAPI patch from mod_ssl-2.8.8-1.3.24.jlam4-23/+31
Relevant changes from version 1.3.23 include: * Prevent invalid client hostnames from appearing in the log file. * Various mod_proxy improvements, such as the new ProxyIOBufferSize directive. * The new ''IgnoreCase' keyword to the IndexOptions directive. * mod_rewrite's 'rnd' was broken and has been fixed. * The '-S' option of 'apxs' was not able to handle quotes; also 'apxs' is now rebuilt when options are changed. * proxy now correctly handles Cookies and X-Cache headers. * Fixed a problem in TPF when we were using the wrong subpool when opening the error log. * pthread accept() mutexes on Solaris were broken (since we were not linking against pthread)
2002-03-28Fix build on arm-elf.thorpej2-1/+15
2002-03-18If we do not have /etc/rc.subr then call apache_doit "$1" not eval ↵abs1-2/+2
${start_cmd} - "/etc/rc.d/apache restart" and friends work again on Linux
2002-02-28Update www/apache to 1.3.23nb1. Changes from version 1.3.23 include usingjlam3-5/+28
the EAPI patches from modssl-2.8.7-1.3.23. Also, link against the MM Shared Memory library (devel/libmm) to provide shared memory support in Apache/EAPI. For example, this allows mod_ssl to use a high-performance RAM-based session cache instead of a disk-based one.
2002-02-26Add back ability to change the value of "apache_start" from /etc/rc.confjlam1-7/+24
that was lost in the previous commit. "${apache_start}" is the subcommand sent to apachectl to control how httpd is started. It's value may be overridden in: @PKG_SYSCONFDIR@/apache_start.conf /etc/rc.conf /etc/rc.conf.d/apache, in order of increasing precedence. Its possible values are "start" and "startssl", and defaults to "start".
2002-02-05Solaris' test binary (test/[) doesn't grok "-e". Replace with "-f".jlam1-3/+3
Noted by Stoned Elipot <seb@netbsd.org> in private email.
2002-02-05Remove the perl buildlink. I disagree that installing a perl script shouldn'tjmc1-2/+1
commit the package to depending on perl as well but that seems to be the current way it's done for apache.
2002-02-05Apache installs apxs which is a perl script so the package needs to depend onjmc1-1/+2
perl as well.
2002-02-01Update apache to 1.3.23 with the EAPI patch from mod_ssl-2.8.6-1.3.23.jlam7-27/+32
The main new features in 1.3.23 (compared to 1.3.22) are: * HTTP/1.1 support for mod_proxy. * Other mod_proxy improvements. * The new 'FileETag' directive to allow one to build the format of the ETag via runtime directives. * Addition of a 'filter callback' function to enable modules to intercept the output byte stream for dynamic page caching. The following bugs were found in Apache 1.3.22 and have been fixed in Apache 1.3.23: * Fix incorrect "Content-Length" header in the 416 response. * Revert mod_negotation's handling of path_info and query_args to the 1.3.20 behavior (PRs: 8628, 8582, 8538). * Prevent an Apache module from being loaded or added twice due to duplicate LoadModule or AddModule directives.
2002-01-01Fix installation so that existing config files are preserved when buildingjlam3-85/+22
from source instead of installing from a binary package (problem noted in private email by George Coulouris <george@coulouris.org>. Also move the ownership of SSL-related config directories to the www/ap-ssl package.
2001-12-26Vastly simplify this script by using /etc/rc.subr. Provide minimal startjlam1-62/+17
functionality on pre-1.5 platforms, as apachectl may always be used instead for the full control interface.
2001-12-26(1) Create new variable "APACHE_SUEXEC_CONFIGURE_ARGS" that may containjlam1-10/+13
--suexec-* configure options that are passed directly to the Apache configure script. This may be used to tune the suEXEC configuration in more restrictive ways, e.g. --suexec-uidmin=1000. This solution is more open-ended than the fix proposed in pkg/14973. Also, we don't duplicate all of the options from the Apache configure script in pkgsrc bsd.pkg.defaults.mk. This closes pkg/14973 by Eric Schnoebelen <eric@cirr.com> (2) For namespace consistency, deprecate APACHE_USER in favor of APACHE_SUEXEC_USER. Move APACHE_USER into bsd.pkg.obsolete.mk. (3) Create the suEXEC user when the functionality is enabled in the server so that CGI scripts will work properly. This closes pkg/14903 by Wojciech Puchar <wojtek@3miasto.net>
2001-12-02Fix typo.jlam1-2/+2
2001-12-02bsd.pkg.install.mk calls the INSTALL script at the right timesjlam1-2/+1
automatically, so no need to do it ourselves.