96 Commits

Author SHA1 Message Date
sthen
89f03cf7b9 security update to apache-httpd 2.4.33 2018-03-29 19:30:53 +00:00
sthen
314981266b fix, now we havef DH_set0_pqg, BIO_set_init, BIO_get_data, BIO_set_data
(code in same ifdef also wants #define BN_get_*_prime_*, BIO_get_shutdown,
BIO_set_shutdown, DH_bits)
2018-02-18 21:02:45 +00:00
sthen
6d5abb6039 regen patches, no change 2018-02-18 20:38:15 +00:00
jsing
ada1b018a3 LibreSSL has had SSL_CTX_set_{min,max}_proto_version() for a while now,
so we do not gain much from carrying this diff in ports.

ok sthen@
2018-02-14 16:06:54 +00:00
sthen
91cf9fde33 update to apache-httpd 2.4.29, from David CARLIER (slightly overdue commit!) 2018-01-12 22:11:41 +00:00
rpe
9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00
sthen
bf566a6424 patch apache httpd CVE-2017-9798, backported from upstream's branches/2.4.x
This is a use after free error that causes a corrupted Allow header to
be constructed in response to HTTP OPTIONS requests. It can leak pieces
of arbitrary memory from the server process that may contain secrets.
The memory pieces change after multiple requests, so for a vulnerable
host an arbitrary number of memory chunks can be leaked.

The bug appears if a webmaster tries to use the "Limit" directive with
an invalid HTTP method.
2017-09-18 19:25:38 +00:00
sthen
7b49e4d578 update to httpd-2.4.27 2017-07-14 17:14:33 +00:00
sthen
debe999b71 additional patch for ab with earlier libressl (SSL_CTX_set_*_proto_version),
not needed for -current, but easier to keep in sync for -stable if it's here
2017-07-14 17:10:46 +00:00
sthen
15b9c75021 oops, reinstate a line i dropped by mistake 2017-07-14 17:06:51 +00:00
sthen
68720c1949 security update to apache-httpd-2.4.26, from David CARLIER with minor tweaks from me
(2.4.27 to follow)
2017-07-14 17:04:12 +00:00
sthen
ac9028ac6d update to apache-httpd-2.4.25
CVE-2016-8740 CVE-2016-5387 CVE-2016-2161 CVE-2016-0736 CVE-2016-8743
2017-03-17 07:36:35 +00:00
sthen
17b134e289 update to apache-httpd 2.4.23, ok ajacoutot 2016-07-05 14:32:16 +00:00
ajacoutot
af8bf723fa Properly bump REVISION.
spotted by Markus Lude
2016-06-22 18:52:16 +00:00
ajacoutot
687d5ed71b So, mod_perl will reset $0 to argv[0] which will break the rc.d script
functionality. So let's use apachectl2 for start and stop, disable rc_reload
(which should have been done anyway) and relax the default pexp (workaround).

breakage reported by Michael Lechtermann
ok sthen@
2016-06-22 08:27:07 +00:00
sthen
e758dcc5d4 replace apache-httpd-openbsd, keeping -common separate for now to avoid pain
with PLISTs
2016-04-28 18:22:17 +00:00
sthen
b7da9d14d0 http2 works here now, so enable it 2016-04-28 08:51:35 +00:00
ajacoutot
8ced2ebf85 Update to apache-httpd-2.4.20. 2016-04-28 08:40:42 +00:00
naddy
2c4204cf62 remove SHARED_ONLY from simple ports that use the gettext or libiconv module 2016-03-18 21:38:22 +00:00
sthen
3e6f016f25 Disable Apache httpd's mod_http2.so for now, as reported by
Pedro de Oliveira it isn't working on OpenBSD yet.
2016-01-15 23:40:02 +00:00
ajacoutot
4edf8e6414 Don't sample /var/www/conf/modules.samples/, let webapps do that.
Optionaly include /var/www/conf/modules/*.conf instead of /etc/apache2/modules/*.conf,
this allows the usual MESSAGE linking from modules.samples/ to modules/ to work
out-of-the-box.

ok sthen@
2015-12-30 09:59:31 +00:00
ajacoutot
811225a15d Update to apache-httpd-2.4.18. 2015-12-23 14:51:55 +00:00
sthen
94b3768d61 As found by ajacoutot, nghttp2 was getting picked up by httpd's autoconf;
make it an explicit dependency and package mod_http2.
2015-12-01 16:45:30 +00:00
sthen
f4a0b2a055 update to apache-httpd-2.4.17, and add scaffolding to use the same type of
modules.sample mechanism as apache-httpd-openbsd
2015-10-27 18:18:17 +00:00
claudio
3fc98fa5b9 Make sure mod_cgi and mod_cgid are built and installed. Depending if apache
is prefork or threaded one or the other needs to be used to allow CGI handling.
For fast cgi mod_proxy_fcgi should be used.
OK sthen@ tested by Alessandro DE LAURENZIS
2015-10-24 12:17:50 +00:00
sthen
ecf118bf1c fix miscommit that removed @rcscript (thanks, update-plist!) 2015-09-13 12:37:49 +00:00
sthen
9843dd1bd1 Move to improved version of no_ssl3 patch for apache-httpd, thanks to
Kaspar Brand (https://bz.apache.org/bugzilla/show_bug.cgi?id=58349)
- small tweak from Kaspar's patch for 2.4 backport.
2015-09-13 12:31:45 +00:00
ajacoutot
1c3749f791 Do not pick up gawk. 2015-09-10 10:30:04 +00:00
jca
805dbb689d Guard use of SSLv3*method. Die if SSLv3 forced in conf but unavail.
Fixes "undefined symbol" errors at dlopen time.

Reported by Pedro de Oliveira, ok sthen@
2015-09-07 06:32:04 +00:00
ajacoutot
09eb14f688 Don't own /var/www/htdocs/, it's part of mtree.
Don't ship the empty example logs directory.
2015-07-18 20:01:13 +00:00
sthen
0b10ec0e46 cope with sslv3 being disabled 2015-07-18 04:59:42 +00:00
sthen
90cbc28af4 adjust @pkgpath depending on flavour, so updates for apache-httpd--ldap work
correctly. (in reality this wasn't a big problem as we don't build the ldap
flavoured version in bulk builds anyway, due to dependence on conflicting
versions of apr-util).
2015-07-18 01:11:40 +00:00
ajacoutot
533ae8b9ab Update to apache-httpd-2.4.16.
ok sthen@
2015-07-18 00:55:09 +00:00
ajacoutot
5ecb9c4fa0 Cleanup. 2015-07-18 00:33:53 +00:00
ajacoutot
31c647ab8a Move default document root to /var/www to be able to switch between web
servers easily; idea from stsp@
Split the package into -main and -common (which holds common files for
apache 1 and 2).

discussed with stsp@ sthen@
ok stsp@
2015-07-17 23:57:58 +00:00
ajacoutot
349bd79515 Change the default user to "www".
This makes it easier to switch from one web server to the other.

discussed with stsp@ sthen@
ok sthen@
2015-07-17 19:52:06 +00:00
stsp
b016c6702e Update www/apache-httpd to 2.4.12.
Manual configuration updates might be required, see
http://httpd.apache.org/docs/2.4/upgrading.html
MPMs can now be loaded at runtime. The default config keeps using 'prefork'.
Based on an initial diff by claudio@
ok sthen@ ajacoutot@
2015-05-15 08:08:03 +00:00
naddy
6bb8d0674b Drop USE_GROFF from ports where the formatting differences are acceptable
or mandoc provides the more useful output.
2015-02-16 22:57:07 +00:00
sthen
220181f344 Drop some patches; libressl renamed SSL_CTX_use_certificate_chain to
SSL_CTX_use_certificate_chain_mem (libssl/src/ssl/ssl.h r1.79 et al) so
this no longer conflicts.
2015-02-06 15:19:01 +00:00
sthen
1673a28362 sync WANTLIB to fix the -ldap flavour, as found by Joe Price
(missed during the heimdal removal because this isn't linked to the build
to avoid conflicting dependencies on apr-util and apr-util--ldap by
different ports in the tree).
2014-11-04 21:46:55 +00:00
sthen
d181616867 rename mod_ssl's (very old) internal function, SSL_CTX_use_certificate_chain,
because a function with the same name was added to libressl recently.

unbreaks 130-odd ports.
2014-10-02 17:13:28 +00:00
sthen
eda157a449 apache2 FAKE_AS_ROOT tweak. We currently install suexec2 without setuid
privileges, but the file in the fake directory is mode 4555 owned by the
user building the port, so triggering checks at package creation time
because the plist doesn't have a @mode 4555 annotation. Change the PLIST
to explicitly install this file as mode 555 (no setuid bit) to allow
packaging to succeed. This commit does not change the mode of the file
installed by the package, users wanting suexec will still need to chmod
it themselves, just allows a FAKE_AS_ROOT=No build to work.

While there, swap some /var for LOCALSTATEDIR.
2014-09-17 10:11:08 +00:00
espie
963975501d explicitly mark the few ports that don't build with FAKE_AS_ROOT=No 2014-09-16 09:07:03 +00:00
stsp
3b4d2a1f94 update to apache-httpd 2.2.29; ok sthen 2014-09-09 10:08:23 +00:00
kili
8fe8e948eb Rename rc scripts of apache-httpd to apache resp. apache2 to get rid
of a conflict with base httpd.

ok sthen@
2014-07-27 10:51:37 +00:00
sthen
b7e7b4903f instead of lynx -dump, use ftp -o- | sed to strip out html tags (for
apachectl status / fullstatus)

ok ajacoutot@
2014-07-16 14:41:19 +00:00
pascal
2c4c24a773 Fix apache after COMP removal.
ok naddy@
2014-07-12 14:11:32 +00:00
stsp
86fc6931eb Fix runtime breakage in www/apache-httpd after RAND_egd() removal; ok sthen 2014-04-27 19:15:43 +00:00
ajacoutot
ec06c7f600 Regen WANTLIB for kerberos removal. 2014-04-21 22:47:07 +00:00
sthen
a91c12da19 unbreak following removal of "chil" engine in libcrypto 2014-04-14 19:23:31 +00:00