Commit graph

193 commits

Author SHA1 Message Date
grant
48e85c9b62 be quiet in all targets except post-install. 2003-04-15 01:39:15 +00:00
wiz
e4b22ed387 Fix fetch stage. Noted broken by grant. 2003-04-10 19:31:52 +00:00
wiz
79dd59d61e Update to 1.3.27nb4: compile with mod-ssl-2.8.14.
Remove quite some lint while here.
2003-04-10 08:25:21 +00:00
jlam
3ef633718c (1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
Makefiles simply need to use this value often, for better or for
    worse.

(2) Create a new variable FIX_RPATH that lists variables that should
    be cleansed of -R or -rpath values if ${_USE_RPATH} is "no".  By
    default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and
    additional variables may be appended from package Makefiles.
2003-03-14 19:37:30 +00:00
jmmv
a754f1c0c3 Use MASTER_SITE_APACHE. 2003-02-23 15:55:57 +00:00
grant
e8bd0cf988 also pass CPPFLAGS to apxs. 2003-02-17 22:33:55 +00:00
grant
c0120deb5c pass LDFLAGS to apxs. 2003-02-17 21:31:09 +00:00
grant
a25ed7d30d set the default source files to *.c, as this is common in our apache
modules.
2003-02-17 20:58:19 +00:00
grant
69a1c6fa6e USE_PERL5 is already defined in apache/buildlink2.mk. 2003-02-17 17:47:52 +00:00
grant
710d00a6a3 add makefile fragment for Apache modules.
This provides a build and install target to simplify the writing of
Apache module Makefiles.

ok'd by wiz.
2003-02-17 17:32:08 +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
abs
8b28d00afd Use XARGS="${XARGS}" rather than XARGS=${XARGS} when adding to MAKE_ENV.
Avoids breakage on Linux which has XARGS as "usr/bin/xargs -r"
2003-01-27 11:10:27 +00:00
jschauma
167d43fea7 Make this use ${CHOWN}, ${CHMOD}, ${XARGS} and ${FIND}, rather than the
hard-coded commands, which may not be in the PATH depending on the operating
system.  This partly addresses PR pkg/19804.
2003-01-20 22:58:26 +00:00
grant
276042c696 Revert to previous behavior and use db1 functions in libc if they are
present, rather than installing databases/db (affects NetBSD, Linux,
Darwin and possibly others).

As suggested by Kimmo Suominen.
2002-12-22 13:04:39 +00:00
grant
78e8431b23 Tidy up conditional use of databases/db/buildlink2.mk.
Fixes build problem on Solaris.
2002-12-19 14:08:34 +00:00
jlam
76bdc72fc4 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.
2002-11-19 23:08:47 +00:00
tron
68ab4a719e Fix glitch in last commit. 2002-11-18 10:40:12 +00:00
tron
faef62d0af Use "${NONBINMODE}" instead of mode "0" so that "pkg_admin check" still
works for a normal user. Also invoke "chmod" only once because fork()
and exec() is expensive on certain platforms.
2002-11-18 10:36:35 +00:00
martti
c80138e37a Fix chmod (PR#19093 by Adrian Portelli). Bump PKGREVISION. 2002-11-18 08:19:37 +00:00
martti
ba0bc59f54 Updated apache to 1.3.27nb2
chmod 0 libexec/cgi-bin/{printenv,test-cgi} (to make nessus happy).
2002-11-15 10:40:26 +00:00
martti
06229b5bbf chmod 0 libexec/cgi-bin/{printenv,test-cgi} (to make nessus happy). 2002-11-15 09:08:06 +00:00
wiz
38ed98e5fc Unused. 2002-10-25 12:59:48 +00:00
tron
2abca9a311 Update "apache" package to version 1.3.27nb1 which is now based version
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-25 09:00:29 +00:00
jlam
f8d269d8c5 Use newer way to convert a build dependency to a full dependency. 2002-10-18 21:46:02 +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
jlam
1626476cb5 Fully convert to buildlink2, even on Solaris. 2002-10-10 00:52:43 +00:00
tron
02318624eb Update "apache" package to version 1.3.27. This version fixes many bugs
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-10-04 19:14:02 +00:00
grant
c15738ec00 Explicitly turn on large file support, as some Apache modules have
problems when it is not enabled, notably mod_perl. Fixes pkg/18070
from myself, ok'd by wiz.

Bump PKGREVISION.
2002-09-26 01:48:29 +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
428690a394 Fix typo, from pkg/18336 by Joachim Koenig-Baltes. 2002-09-20 01:53:14 +00:00
jlam
5c053dd06a Take advantage of the auto-generation and installation of rc.d scripts. 2002-09-19 09:04:02 +00:00
jlam
82497c7f64 Use USE_PERL5=build instead of directly depending on perl. 2002-09-13 23:42:27 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
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-25 18:38:05 +00:00
mycroft
d18238a32d Crank libmm dependency versions and dependent pkg revisions. 2002-08-01 00:58:31 +00:00
wiz
fb88b63b73 Update apache packages with some common changes:
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-30 18:40:14 +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
wiz
6718d8cd70 Test some more files before using 1.5 rc.subr features.
Closes pkg/17378 by Greg A. Woods.
2002-07-02 11:57:19 +00:00
taca
7acdf43499 Update to mod_ssl to 2.8.10. Since apache package contains it,
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-24 16:26:18 +00:00
taca
f03e21d4df - Add share/httpd/htdocs/index.html.lb.utf8 to PLIST.
- Prevent chown whole files under ${PREFIX}/share/httpd.
2002-06-20 17:12:36 +00:00
tron
f7e64164e2 Add missing "source/" to master site entries for "ftp.funet.fi". 2002-06-19 15:22:36 +00:00
fredb
a1000c817a Define ${EXTRACT_SUFX} before referring to it on the left hand side
(indirectly, through ``SITES_${MODSSL_DIST}=''), and add a comment
regarding same, to help spare maintainers from brain-damage.
2002-06-19 15:14:16 +00:00
tron
9f0a6127ea Use the same master sites of the "mod_ssl" as in the "ap-ssl" package. 2002-06-19 14:07:51 +00:00
jdolecek
d94ae5e191 update for now-available mod_ssl-2.8.9-1.3.26 2002-06-19 11:03:58 +00:00
jdolecek
306739b5f5 g/c patch-an, this is fixed by Apache 1.3.26 different way 2002-06-19 10:31:01 +00:00
jdolecek
c46cbb86cf g/c, Apache folks fixed this differently 2002-06-19 10:28:31 +00:00
jdolecek
564cc4aca9 Update apache to 1.3.26.
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-19 10:17:58 +00:00
itojun
871627fca7 crank PKGREVISION 2002-06-18 02:06:01 +00:00
itojun
86a26c2594 http chunk transfer vulnerability
http://httpd.apache.org/info/security_bulletin_20020617.txt
2002-06-18 01:45:36 +00:00
kleink
a763c90bcc G/c references to ftp.uni-trier.de. 2002-05-08 11:44:50 +00:00
jlam
fbb10cccfb Update www/apache to 1.3.24 with EAPI patch from mod_ssl-2.8.8-1.3.24.
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-04-02 14:13:01 +00:00