Commit graph

12 commits

Author SHA1 Message Date
martti
3b5d0c70a5 Fix pkg/33191 (affects only SunOS 5.8 so I didn't bumpà revision). 2008-10-15 13:00:50 +00:00
tron
53bd945a40 Remove custom "restart" code from startup script so that Apache really
gets restarted when "/etc/rc.d/apache restart" is used. This fixes
PR pkg/24179 for the "apache2" package.
2005-04-18 14:35:57 +00:00
martti
2c203e550d Create /usr/pkg/etc/httpd/ssl.crl for Certificate Revocation Lists 2005-04-15 17:21:42 +00:00
martti
bb33b9257e Install mkcert to help with certificate creation. The script was
taken from the ap-ssl package (which is for apache 1.3.x).
2005-04-11 18:56:05 +00:00
jlam
eb22e582df As per discussion in pkg/18854, remove support for apache_start.conf as
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.

Also make the script more verbose.
2002-11-19 23:08:27 +00:00
lukem
df661f69e5 Only set apache_start to "start" if it's not already set.
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-14 00:29:50 +00:00
grant
0c5bb6abcc Make these scripts more portable by taking advantage of automatic rc.d
script handling and using @RCD_SCRIPTS_SHELL@.

as discussed with jlam.
2002-09-20 02:01:54 +00:00
jlam
a020ed9056 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:50:52 +00:00
tv
d84b6cc3f9 Provide the common rc.d directive "reload" as an alias for "apachectl graceful",
which reloads the server without killing transfers in progress.
2002-07-07 00:45:18 +00:00
jlam
bb73ed674a --------------------------------------------------------------------------------
Update www/apache2 to 2.0.35, the first stable release of Apache 2.x.
Pkgsrc changes include:

  *) Compiling the included modules statically.  Add-ons will be built
     dynamically.
  *) Match improvements to www/apache rc.d script.
  *) Automatically add "Listen 0.0.0.0:80" to the sample config files as the
     default install of NetBSD is IPv4/IPv6 and we want the default install of
     Apache to work out-of-the-box.
  *) Automatically reset the User and Group directives to match the ones for
     suEXEC in the config files to ease the use of suEXEC in Apache.

Changes from version 2.0.32 beta include:

  *) Small bug fixes across the board.
  *) Bug fixes to the various MPMs.
  *) Performance improvements.
  *) Fixes for mod_include errors on boundary conditions
  *) Bug fixes for mod_proxy to prevent hangs and for RFC2616 compliance.
  *) Improvements to mod_dav for improved API and for RFC 3253 compliance
  *) Improvemants to mod_ssl to support SSL proxy and RSA SSLC 1.x/2.x
  *) Greatly improve mod_cache (disk/mem) [this is disabled in pkgsrc]
  *) New scoreboard file implementation that is readable by 3rd-party apps.
  *) Allow all Perchild directives to accept either numerical UID/GID
     or logical user/group names.
  *) Add support for macro expansion within the variable names in
     <!--#echo--> and <!--#set--> directives
  *) Implement SSLSessionCache shmht and shmcb.
  *) New directive ProxyIOBufferSize. Sets the size of the buffer used
     when reading from a remote HTTP server in proxy.
  *) Scrap CacheMaxExpireMin and CacheDefaultExpireMin. Change
     CacheMaxExpire and CacheDefaultExpire to use seconds rather than
     hours.
  *) New Directive SSIUndefinedEcho. to change the '(none)' echoed
     for a undefined variable.
  *) Introduce PassPhraseDialog "|/path/to/pipe" mechanism to mod_ssl.
  *) New Directive for mod_proxy: ProxyRemoteMatch.
  *) Fix IPv6 name-based virtual hosts.
  *) Introduce AddOutputFilterByType directive.
2002-04-13 21:35:50 +00:00
jlam
ea5c83babc Have a default value for apache_start so it doesn't need to be specified
in /etc/rc.conf.
2002-03-06 20:21:38 +00:00
jlam
9d13a40b72 Update www/apache2 to 2.0.32 beta. Pkgsrc changes from the previous version
include:

  *) Move the binaries back into ${PREFIX}/sbin to match the locations
     for www/apache.

  *) Build the Apache modules (including mod_ssl) so that apache2 has
     the same functionality as apache.

  *) Support shared modules on platforms that support them.  Otherwise,
     link the modules statically into the server.

  *) Support suEXEC in the same way as for www/apache.

  *) Honor PKG_SYSCONFDIR.

  *) Add a rc.d-style control script based on www/apache/files/apache.sh.

  *) Strongly buildlinkify again after previous changes broke it.

Relevant changes from version 2.0.28 beta include:

  *) A ton of bug fixes in both the main server code and the module code
     (it _is_ a beta release following a previous beta release).

  *) Several performance and memory optimizations.

  *) The Location: response header field, used for external
     redirect, *must* be an absoluteURI.  The Redirect directive
     tested for that, but RedirectMatch didn't -- it would allow
     almost anything through.  Now it will try to turn an abs_path
     into an absoluteURI, but it will correctly varf like Redirect
     if the final redirection target isn't an absoluteURI.

  *) Add several new mod_proxy directives:
     ProxyTimeout, ProxyPreserveHost, ProxyPass.

  *) FTP directory listings are now always retrieved in ASCII mode.
     The FTP proxy properly escapes URI's and HTML in the generated
     listing, and escapes the path components when talking to the FTP
     server.

  *) Add FileETag directive to allow configurable control of what
     data are used to form ETag values for file-based URIs.

  *) Introduced the ForceLanguagePriority directive, to prevent
     returning MULTIPLE_CHOICES or NONE_ACCEPTABLE in some cases,
     when using Multiviews.
2002-03-05 23:56:22 +00:00