Commit graph

35 commits

Author SHA1 Message Date
jlam
cf3f21d472 Update apache to 1.3.19. The pkgsrc-related changes include adding a
config.layout file instead of specifying every directory as on option to
the Apache configure script.  This layout file might be useful later when
we package Apache 2.x.  I also reordered a few lines so that it's easier
to diff apache/Makefile and apache6/Makefile (hi itojun!).  Also build
the mod_define shared module from the mod_ssl sources.

Relevant changes from version 1.3.17.1 include:

  *) Rewrite ap_unparse_uri_components() to make it safer and more readable
  *) Under certain circumstances, Apache did not supply the
     right response headers when requiring authentication.
  *) Clean up some end-of-loop not reached warnings
  *) Add the correct language tag for interoperation with the Taiwanese
     versions of MSIE and Netscape.
  *) Workaround enabled for a core dump which appeared in broken
     NameVirtualHost configurations.
  *) Sporadic core dump in ap_default_port_for_scheme() with
     internal requests
  *) SECURITY: The default installation could lead to mod_negotiation
     and mod_dir/mod_autoindex displaying a directory listing instead of
     the index.html.* files, if a very long path was created artificially
     by using many slashes. Now a 403 FORBIDDEN is returned.
  *) Trailing slashes (if they exist) are now removed from ServerRoot,
     because there were known problems with them.
  *) TPF startup/shutdown fixes.
  *) Correct a typo in httpd.conf.
  *) Get the correct IP address if ServerName isn't set and we can't
     find a fully-qualified domain name at startup.
  *) Fix pointer arithmetic in mod_rewrite map expansion.
  *) Fixed a problem with file extensions being truncated during
     the call to ap_os_canonical_filename().
2001-03-13 20:52:26 +00:00
jdolecek
96606f662b Put back the patch to avoid dlclose(). Without the patch, it's not
possible to use LoadModule at all (httpd crashes soon after it forks).
This is most probably an Apache problem. Until the real problem
is tracked down, put this in as workaround.

This addresses lib/12164 and bin/12283.
2001-02-27 20:04:23 +00:00
jlam
9669e40488 Correct HTML syntax. 2001-02-03 20:53:10 +00:00
jlam
ec0d4b522c Update apache to 1.3.17. Important changes from version 1.3.14 include:
-) Remove patch to avoid dlclose()ing on NetBSD.  The mod_perl vs. perl CGI
   mis-interaction seems to be gone and I wasn't able to reproduce it on my
   system.

*) Fix the declaration of the module structure in mod_example.
*) Fix the handling of variable expansion look-ahead in mod_rewrite,
   i.e. syntax like %{LA-U:REMOTE_USER}, and also fix the parsing of
   more complicated nested RewriteMap lookups.
*) mod_status now respects ?refresh=n of 1 or greater.  If the given
   refresh value is not a number, ?refresh is set to 1 second.
*) Accomodate an out-of-space condition in the piped logs and the
   rotatelogs.c code, and no longer churn log processes for this condition.
*) Make cgi-bin work as a regular directory when using mod_vhost_alias
   with no VirtualScriptAlias directives.
*) Move the check of the Expect request header field after the hook
   for ap_post_read_request, since that is the only opportunity for
   modules to handle Expect extensions.
*) Eliminate caching problems of mod_autoindex results, so the last
   modified date of the directory is returned as the Last-Modified
   and ETag HTTP header tags are sent if IndexOptions TrackModified
   directive/option is used.
*) Correct an issue with Alias and ScriptAlias directives that
   file path arguments were not normalized in canonical form.
   This correction makes no attempt to normalize regular expression
   forms of Alias or ScriptAlias.
*) Add a new LogFormat directive, %c, that will log connection
   status at the end of the response.
*) Update the mime.types file to the registered media types as of 2000-10-19.
*) Restore functionality broken by the mod_rewrite security fix:
   rewrite map lookup keys and default values are now expanded
   so that the lookup can depend on the requested URI etc.
2001-02-02 16:39:56 +00:00
jlam
f7c81d455f Install cgi-bin scripts with executable bit set. 2001-01-14 05:58:01 +00:00
jlam
d0abc415ac Update apache to 1.3.14. Changes from version 1.3.12 are listed below.
The security fixes are:
     * A problem with the Rewrite module, mod_rewrite, allowed access to
       any file on the web server under certain circumstances
     * The handling of Host: headers in mass virtual hosting
       configurations, mod_vhost_alias, could allow access to any file on
       the server
     * If a cgi-bin directory is under the document root, the source to
       the scripts inside it could be sent if using mass virtual hosting

   The main new features include:
     * Support for a directory-based configuration system. If any of the
       configuration directives point to directories instead of files,
       all files in that directory (and in subdirectories) will be also
       parsed as configuration files
     * Support name-based virtual hosting without needing to specify an
       IP address in the Apache configuration file. This enables sites
       that use dynamic IP addresses to support name-based virtual
       hosting as well as allowing identical machines to share a
       configuration file, say in a load-balanced cluster
     * The SetEnvIf and BrowserMatch range of directives are now able to
       be used in .htaccess files.
     * Administrators who are nervous about their full server version
       details being public can use the new keyword 'ProductOnly' in the
       ServerTokens directive. This keyword forces the server to only
       return the string "Apache" as the server version.
     * The new digest authentication module, mod_auth_digest has had a
       number of fixes and upgrades applied
2000-10-13 21:46:45 +00:00
jlam
a29e7d6317 Update build to work with mod_ssl-2.6.6-1.3.12 to keep in sync with ap-ssl.
EAPI didn't change so no need to change Apache's version number.

Also standardize package builds to have Apache listen on ports 80/443
regardless of UID of user that builds the package, and make MAINTAINER
point to me.
2000-09-12 14:17:31 +00:00
jlam
749b27c581 Don't specify version numbers of the libraries to load for SSL support --
version numbers change, and it doesn't work correctly on a.out anyway.

Closes pkg/10309.
2000-09-06 05:52:48 +00:00
explorer
470b971d20 unneeded patch removed 2000-04-21 02:19:33 +00:00
hubertf
6539d1231e defuzz 2000-02-09 00:54:01 +00:00
christos
b2ee1a6e4c update for 1.3.11 2000-01-31 16:35:36 +00:00
rh
5ad7f2cded defuzz 1999-11-27 21:57:11 +00:00
tron
a18ca017b2 Update Apache package to version 1.3.9 (SSL Module 2.4.8) using patches
suppled by SUNAGAWA Keiki in PR pkg/8819. This version mostly fixes
bugs discovered since version 1.3.6.
1999-11-21 22:09:26 +00:00
tv
94ca81aacb Fix libcrypto and libssl version numbers. The whole LoadFile bogosity
will be fixed at OpenSSL 0.9.3's update.
1999-05-23 21:16:52 +00:00
tv
ac8956d192 Do this the right way; it wasn't installing the shared modules after the
last fix.
1999-05-07 13:46:43 +00:00
tv
61368c5a05 The "Module list reconstruction" section inserted into httpd.conf-dist
is extremely confusing to new users, and isn't necessary for proper
Apache operation.  Make Makefile.tmpl skip the code which does this.
1999-05-02 21:13:08 +00:00
tv
930832d85c Update Apache to 1.3.6, mod_ssl to 2.2.8, and mod_perl to 1.19. mod_ssl
now makes use of OpenSSL.
1999-04-30 17:05:19 +00:00
tv
f5f9698e0b pkglint: rcsid 1998-12-07 17:35:49 +00:00
tv
d9888daccd - Update mod_ssl's distname to 2.1.3 (does not require an apache version
bump; EAPI is unchanged)
- Remove restriction of mod_include to disallow "../" or "/" prefixed
  file names in <!--#include file=""--> if Includes (but not
  IncludesNOEXEC) is set; proposed in Apache PR mod_include/3500
- Add signature for hook function used to do mod_include callbacks
  (perl-embedded SSI was not working with new 4 argument call)
1998-12-07 16:20:39 +00:00
tv
c3c09199ef (oops,) and add NetBSD RCS ids. 1998-12-05 05:00:00 +00:00
tv
70e8b228dc Add two patches released post-Apache-1.3.3 on www.apache.org. THESE FIX
POTENTIAL DENIAL OF SERVICE BUGS IN APACHE 1.3.3 (and 1.3.2, in the case
of patch-core-404).
1998-12-05 04:59:35 +00:00
tv
109b5b2d81 Work around Apache dlclose() bug, where shared objects may be dlclose()d
before their cleanup procedures are called.  Fixes mod_perl vs. CGI
interaction bug.
1998-12-05 00:00:09 +00:00
tv
ccf67c359f Bump version to 1.3.3.2' - add timefmt' argument to
ap_include_extern_func's (needed for a couple upcoming XSSI-extending
modules).  Also fix apxs to use `install' and fix the cgi-bin
`preservation' while we're here.
1998-12-04 17:23:19 +00:00
tv
9eb89f8faf Bump version to "1.3.3.1": Add parse_string to the include_extern
interface, and use the EAPI hooks interface for calling external
mod_include subs.  (Needed to make mod_perl work as a DSO.)
1998-12-03 22:26:52 +00:00
tv
289260480c Update Apache and mod_ssl using new build layout (see post to tech-pkg for
details).  No security fixes in Apache 1.3.3, so immediate upgrade from
1.3.2 is not necessary.
1998-12-03 17:23:51 +00:00
frueauf
2dfc4ec9d6 Some pkglint nits and add missing rcs ids. 1998-11-12 23:54:33 +00:00
cjs
c8a278c9e3 Add patch to fix serialized accept.
Also submitted to the Apache Group, gnats number os-netsd/3120.
1998-10-05 19:55:27 +00:00
tv
9d4f395c15 Update Apaches to 1.3.2.
apache-modssl: update mod_ssl to 2.0.12, and rename pkg to
"apache-1.3.2-modssl-2.0.12" such that mod_ssl version changes are noted.
1998-10-03 22:00:22 +00:00
tv
da5163ac00 Make this work properly on ELF. Use -Wl,--export-dynamic, and no leading
symbol underscore, on ELF systems.
1998-10-02 14:40:13 +00:00
hubertf
576cfe4944 Mention NetBSD on the newly created site. 1998-09-05 23:14:45 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
cjs
e3718d75f8 Set the permissions of http/include/* directly, to fix a bug where if
the distribution is extrated with umask 077 (so that src/include/* are
not world readable) they never get those permissions turned on when
installed.
1998-07-21 22:39:56 +00:00
tv
3255847d19 Update to 1.3b7 and rework the Makefile:
- Now uses APACI, Apache's GNU-autoconf-style (but not GNU autoconf)
  configuration system to configure, build, and install
- Enables build and install of all `support' tools
- Enables use of shared modules, and compiles mod_include dynamically
- Installs the Apache user manual by default.
1998-06-04 19:38:36 +00:00
cjs
7ad7be4468 Move some stuff from a patch to a sed script. Add ability to set root of
http tree to somewhere other than /usr/pkg/http. Move pid file to /var/run.
1998-03-05 11:42:42 +00:00
cjs
b78415894e Initial version of apache web server package: 1.3b3. 1998-03-05 08:02:22 +00:00