Commit graph

315 commits

Author SHA1 Message Date
Edwin Groothuis
e4aa76a9be Remove USE_REINPLACE from categories starting with W 2006-05-13 04:41:22 +00:00
Clement Laforet
d8348f8d1d - Remove obsolete patch which add support to Windows Update Service when
apache acts as a proxy.

Reported by:    Bjoern Voigt <bjoern@cs.tu-berlin.de>
2006-05-10 19:50:26 +00:00
Clement Laforet
a06a227db3 - Fix build with WITH_KQUEUE_SUPPORT
Pointed out by:	Marian Cerny <cerny@icomvision.com>
2006-05-02 07:55:27 +00:00
Clement Laforet
5572132c9c - Fix plist
Spotted by:	mnag
Pointy hat to:	clement
2006-05-01 16:54:40 +00:00
Clement Laforet
98d01ce7d2 Oops I forgot to "cvs rm" a secfix
Spotted by:	krion
2006-05-01 11:33:17 +00:00
Clement Laforet
c19a553306 - Update to 2.0.58 2006-05-01 09:24:56 +00:00
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Jun Kuriyama
a06ee65df0 Chase shlib bump of libexpat. 2006-01-30 23:20:05 +00:00
Edwin Groothuis
84b1517c16 SHA256ify
Approved by: krion@
2006-01-24 03:16:52 +00:00
Edwin Groothuis
508b8d82f4 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 03:01:03 +00:00
Clement Laforet
4b2f11fc9c - Finish cleanups and fix build with threads enables. 2006-01-17 09:40:53 +00:00
Clement Laforet
e21e38437c - remove print-closest-mirror target from apache20 Makefile
Noticed by:	erwin, pav,  KOMATSU Shinichiro <koma2@lovepeers.org> [1]
PR:		ports/91849 [1]
Pointy hat to:	clement
2006-01-16 08:22:21 +00:00
Clement Laforet
c5d4c969c8 Cleanups and fixes
- remove useless options (and fix thread stuff) [1]
- move print-closest-mirror to bsd.apache.mk
- move threads configure options out of Makefile.modules
- Fix stupid logic to disable v4mapped address [2]
- and more...

Submitted/spotted by:   many, Hirohisa Yamaguchi <umq@ueo.co.jp> [1]
                        ume[2]
PR:                     ports/91813 [1]
2006-01-15 18:58:38 +00:00
Clement Laforet
19784a80b9 SECURITY: CVE-2005-3352 (cve.mitre.org)
mod_imap: Escape untrusted referer header before outputting in HTML
     to avoid potential cross-site scripting.  Change also made to
     ap_escape_html so we escape quotes.  Reported by JPCERT.
     [Mark Cox]

Reported by:    simon
2005-12-12 20:35:19 +00:00
Clement Laforet
d38b409f15 - Various package fixes
- Bump PORTREVISION
2005-12-04 14:59:41 +00:00
Clement Laforet
4ed1aa0f17 - Fix INDEX build
pointy hat to:	clement
2005-12-04 09:08:42 +00:00
Clement Laforet
54b5eedff9 - resync' with www/apache2 2005-12-03 23:04:21 +00:00
Ade Lovett
54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00
Clement Laforet
b85846c6d1 - Don't rerun the apache2.sh rc script on restart's, just stop and start
normally

PR:		ports/86402
Submitted by:	Jarrod Sayers <jarrod@netleader.com.au>
2005-10-30 20:51:56 +00:00
Bill Fenner
34e5ee949e Use the proper syntax for groups when using ${MASTER_SITE_foo}
Approved by:	MAINTAINER timeout (2 weeks)
2005-10-25 18:58:53 +00:00
Clement Laforet
f5baa45806 - Update to 2.0.55 2005-10-14 13:54:09 +00:00
Clement Laforet
d3a7908876 - Apply openssl 0.9.8 fix by default. OpenSSL 0.9.8 is now the default
from ports

Reported by:	erwin
2005-09-20 08:39:50 +00:00
Clement Laforet
24ed4b55bc - Hook www/apache20 to the build. It fixes some errors in INDEX build with
exp build

Reported by:	kris
2005-09-18 22:29:16 +00:00
Clement Laforet
fa30142737 - Sync with www/apache2 2005-09-10 14:45:03 +00:00
Clement Laforet
d03aaaaa5e - make sure SSL dependency doesn't exists if WITHOUT_MODULES_SSL is defined 2005-08-01 10:04:18 +00:00
Clement Laforet
45df42849e - Add fix for CAN-2005-2088
From Changelog:
  *) SECURITY: CAN-2005-2088
     core: If a request contains both Transfer-Encoding and Content-Length
     headers, remove the Content-Length, mitigating some HTTP Request
     Splitting/Spoofing attacks.  [Paul Querna, Joe Orton]

- Rename previous patch to CVE ID
- bump PORTREVISION

Security:       CAN-2005-2088
Obtained From: Apache repository
2005-07-26 10:10:35 +00:00
Clement Laforet
7a67d06cd1 Security: fix a buffer overrun in ssl_callback_SSLVerify_CRL()
Reported by:	thierry
2005-07-26 08:25:13 +00:00
Clement Laforet
b9be9d957f - Remove debug line. 2005-06-01 17:49:31 +00:00
Clement Laforet
8978d00aab - Add support for multiple instances of apache2 to startup script.
It's a little bit experimental, but it works.
2005-06-01 17:47:53 +00:00
Clement Laforet
d20de50ad7 - Sync with www/apache2 2005-05-22 09:09:42 +00:00
Clement Laforet
e3590ec81f - Backport PORTDOCS fix from www/apache21.
Recent changes in bsd.port.mk prevent from using PORTDOCS= #
2005-02-24 09:52:29 +00:00
Clement Laforet
826434a289 - backout previous commit.
I blindly committed a change from my dev tree. Since USE_APACHE design
  is flacky, it had a very annoying impact.

PR:		   ports/77391 [1]
Also reported by: pointyhat via kris,
                  Scot Hetzel <swhetzel@gmail.com> [1]
Pointy hat to:    clement
2005-02-11 15:46:11 +00:00
Clement Laforet
a828e013aa - I want to keep APACHE_PORT overridable even with apache2. 2005-02-08 21:40:06 +00:00
Clement Laforet
2e6e1ded1c - Update to 2.0.53
- Download bz2'd tarball [1]
- Add print-closest-mirrors target.
  It allows you to find the 6 (3 http/3 ftp) closest mirror,
  base on http://www.apache.org/dyn/closer.cgi/httpd/
  make print-closest-mirrors >> /etc/make.conf automatically add
  the six closest mirror to the head of ${MASTER_SITE_APACHE_HTTPD}.

Requested by:	delphij
2005-02-08 15:17:06 +00:00
Clement Laforet
4e5a21d57a - Fix non DSO apache detection
Noticed by:	Xavier Beaudouin <kiwi@oav.net>
2005-01-26 14:06:35 +00:00
Clement Laforet
c54346f8c3 Changes in Makefile.modules.3rd
o Major change(s)
   - in some cases, modules are still built as static modules, making
     modules selection useless and generate a non-desired httpd

o Minor change(s)
   - apxs detection is done only if port isn't a server one.
   - Mark modules ports as IGNORED if apaxhe is built statically
   - fix make show-modules when when WITH_ALL_STATIC_MODULES is defined

Most issues discovered by:      Jason Mealins <jason_mealins@bigfix.com>
2005-01-26 10:00:11 +00:00
Clement Laforet
15f899a77d - make WITHOUT_<CATEGORY>_MODULES really works.
(it was still stuck with WITHOUT_<CATEGORY>)

Noticed by:	Jason Mealins <jason_mealins@bigfix.com>
2005-01-25 10:11:34 +00:00
Clement Laforet
ae9562845c - Add support for databases/db43 in apache2[1] and apache21.
- rename files/patch-srclib:apr-utils:build:dbm.m4 to
  files/patch-srclib:apr-util:build:dbm.m4

Based on PR:		ports/76152 [1]
Submitted by:		Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> [1]
2005-01-17 20:30:08 +00:00
Clement Laforet
4e80ec5376 o startup script:
- Use apache{2,21}flags variable in apache{2,21}_checkconfig().
  It fixes restart when apache2ssl_enable is set to YES in rc.conf
  and httpd.conf is "old" (i.e. non -DSSL safe) [1]

o Makefile
- split post-install target to add install-startup-script:
  User can now upgrade startup script without reinstalling apache2.
  NOTE: this is NOT package-safe and NOT supported, even if in most of
  cases they're no risk.

Noticed by:     many [1]
2005-01-11 13:45:05 +00:00
Clement Laforet
1bf03c0c63 - Add a note about the dangerousness of quotes in make.conf 2004-12-27 20:38:37 +00:00
Clement Laforet
a967a37908 - Bump PORTREVISION to refect recent changes.
Since www/mod_python3 needs envvars.d stuff to work.
2004-12-19 19:52:44 +00:00
Clement Laforet
d77a69574f - Fix a bug in mod_ssl. When client aborts connection, mod_ssl still try
to send its data, ad vitam eternam.

Noticed by:	Didier Bringer <bringer at echo dot fr>
Patched by:	Bruno Ducrot <ducrot at poupinou dot org>
2004-12-17 22:24:05 +00:00
Clement Laforet
2ab76c8193 - Remove useless APR_FROM_PORTS check in post-install
- Add support for modular sbin/envvars
  You can now put your own scripts you want to execute at envvars
  stage in ${PREFIX}/etc/apache2/envvars.d
  Only script ending by *.env are run.

  Example:
	/usr/local/etc/apache2/envvars.d/mod_python3.env

Discussed with:	perky on -apache@
2004-12-17 17:52:20 +00:00
Clement Laforet
91122c6017 - s/INSTALLS_SHILB/INSTALLS_SHLIB/ 2004-12-13 10:18:47 +00:00
Clement Laforet
be4ae2c39a - Remove installation of unused highperformance*.conf
- Move examples config files to ${EXAMPLESDIR}
- Relax permissions on ${PREFIX}/www instead of ${PREFIX}/www/data
2004-12-12 11:48:55 +00:00
Clement Laforet
c95fdac48a - Rename patch file. 2004-12-11 16:01:42 +00:00
Clement Laforet
7c168732cc - As discussed on apache@, don't create httpd.conf.bak, and remove stalled
httpd.conf.bak file at deinstall time.
2004-11-29 09:38:45 +00:00
Clement Laforet
c5d3398e2f - minor cleanups. 2004-11-13 18:23:34 +00:00
Clement Laforet
791aa3191a - Fix memory consumption DoS, CVE CAN-2004-0942
Reported by:    josef
Obtained from:  Apache CVS
2004-11-10 18:24:44 +00:00