Checkout Tools
  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
The GCC flag "-Wno-error=comment" introduced by r1855446

and r1850745 are only known since GCC 4.2. Since it gets

set unconditionally, this breaks compilation with old GCC

even when not using maintainer mode.

Make the fix for maintainer mode more specific by using

a version dependent pragma in the relevant two C files

only switching off error status for comment warnings.

  1. … 2 more files in changeset.
Make the work-around for C++ style comments causing fatal errors in

maintainer-mode for later versions of clang module compile specific

(we will still SEE the errors though when buidlin)

This just got me. I upgraded macOS to Mojave (w/ latest Xcode) and I always build w/ maintainer-mode. The problem is that libxml2 will include various unicode/*.h files that have C++ type comments, which causes building to fail (due to Werror). Work around this.

Propose backportable fix to accept libxml2 path in the

base form or the absolute path to include tree form.

Nowhere does the --with-libxml2= arg suggest the path

is that of the include tree, and disagrees with httpd's

use of --with- syntax for package location.

mod_brotli: Update makefile to allow using Brotli library >= 0.6.0.

The 0.6.0 version has just been released [1], and it contains the

necessary API required for mod_brotli.

[1] https://github.com/google/brotli/releases/tag/v0.6.0

configure: add dependency checks for mod_crypto

Don't enable mod_crypto in reallyall builds if we don't have a dev

version of APR-util (or APR 2).

mod_brotli: Update makefile to cope with the pkg-config layout change

in https://github.com/google/brotli/commit/fe9f9a9

There's a typo in the upstream commit [1] (s/brotlicommon/libbrotlicommon)

that currently produces an unusable libbrotlienc.pc file, but hopefully

this is going to be fixed there.

[1] https://github.com/google/brotli/commit/fe9f9a9#diff-af3b638bc2a3e6c650974192a53c7291R409

unused variable error could mistakenly note that brotli isn't available.

mod_brotli: Update makefiles to use the library layout of the official

Brotli repository.

With the recent update (https://github.com/google/brotli/pull/464), the

official repository now produces pkg-config metadata files (brotli.pc),

and has a fixed library layout (libbrotlicommon/libbrotlienc/libbrotlidec)

on both Windows and Linux. Expect this layout in the makefiles, and take

advantage of the pkg-config metadata, if it's available.

  1. … 1 more file in changeset.
mod_brotli: Rewrite the autoconf script in a, hopefully, less convoluted way.

Explicitly handle different cases when we do a pkg-config lookup

(<nothing>, --with-brotli or --with-brotli=yes) or examine the path

provided by the user (--with-brotli=PATH).

This lays the groundwork to simplify the switch to the official Brotli

library (https://github.com/google/brotli), instead of expecting the

install layout of a third-party wrapper (https://github.com/bagder/libbrotli).

mod_brotli: Unbreak building other filter modules without libbrotlienc.

Don't add -lbrotlienc to the MOD_LDFLAGS unconditionally. And, when

adding it, use MOD_BROTLI_LDADD to avoid linking all filter modules

against this library.

mod_brotli: Add initial implementation.

This new module supports dynamic Brotli (RFC 7932) compression. Existing

mod_deflate installations can benefit from better compression ratio by

sending Brotli-compressed data to the clients that support it:

SetOutputFilter BROTLI_COMPRESS;DEFLATE

The module features zero-copy processing, which is only possible with the

new API from the upcoming 1.0.x series of brotli [1]. The Linux makefile

works against libbrotli [2], as currently the core brotli repository doesn't

offer a way to build a library [3]. Apart from that, only the CMake build

is now supported.

[1] https://github.com/google/brotli

[2] https://github.com/bagder/libbrotli

[3] https://github.com/google/brotli/pull/332

  1. … 5 more files in changeset.
mod_crypto: Add the all purpose crypto filters with support for HLS.

  1. … 14 more files in changeset.
m4: please any autoconf by quoting AC_DEFUN's names. PR 58126.

Submitted by: olli hauer <ohauer gmx.de>

  1. … 4 more files in changeset.
Spin off module-specific build options into separate build vars.

[second try, supersedes r1385214]

Add MOD_CFLAGS, MOD_LDFLAGS variables etc. to the build commands,

which are available to modules for customization on a per-subdir

basis (by adding definitions to modules.mk). Reduces the risk

of side-effects when a module needs to add CFLAGS, LDFLAGS etc.

and these would be added to the global settings (ALL_CFLAGS etc.).

Adapt build settings for mod_ssl, mod_socache_dc, mod_deflate,

mod_xml2enc, mod_proxy_html, and mod_lua to use the new MOD_xxx

build variables.

Change PICFLAGS, SHLTCFLAGS and LTCFLAGS into config vars, instead

of AC_SUBSTing them in build/rules.mk.in. For support/ab, introduce

ab_CFLAGS and ab_LDFLAGS, and define explicit make targets where

they appear at the proper position in the build commands.

Consistently use "--with-xxx=PATH" in configure help strings which

are used to specify a path to the installation directory of an

auxiliary package.

  1. … 7 more files in changeset.
revert r1385214, as I inadvertently left out acinclude.m4.

  1. … 6 more files in changeset.
Spin off module-specific build options into separate build vars.

Add MOD_CFLAGS, MOD_LDFLAGS variables etc. to the build commands,

which are available to modules for customization on a per-subdir

basis (by adding definitions to modules.mk). Reduces the risk

of side-effects when a module needs to add CFLAGS, LDFLAGS etc.

and these would be added to the global settings (ALL_CFLAGS etc.).

Adapt build settings for mod_ssl, mod_socache_dc, mod_deflate,

mod_xml2enc, mod_proxy_html, and mod_lua to use the new MOD_xxx

build variables.

Change PICFLAGS, SHLTCFLAGS and LTCFLAGS into config vars, instead

of AC_SUBSTing them in build/rules.mk.in. For support/ab, introduce

ab_CFLAGS and ab_LDFLAGS, and define explicit make targets where

they appear at the proper position in the build commands.

Consistently use "--with-xxx=PATH" in configure help strings which

are used to specify a path to the installation directory of an

auxiliary package.

  1. … 6 more files in changeset.
* modules/filters/config.m4: Prevent libsed internals from polluting

the global symbol namespace.

Change module sets and default activation status:

1) Promoted from "most" to "few"

- mod_headers

2) Demoted from "yes" to "most"

- mod_actions

- mod_allowmethods

- mod_auth_form

- mod_buffer

- mod_cgi(d)

- mod_include

- mod_negotiation

- mod_ratelimit

- mod_request

- mod_userdir

Remember: default module set is "most",

but only the LoadModule lines of all

modules except "yes" are commented out by default.

The following modules will now be loaded by default:

- mod_access_compat

- mod_alias

- mod_auth_basic

- mod_authn_core

- mod_authn_file

- mod_authz_core

- mod_authz_groupfile

- mod_authz_host

- mod_authz_user

- mod_autoindex

- mod_dir

- mod_env

- mod_filter

- mod_headers

- mod_log_config

- mod_mime

- mod_mpm_event

- mod_reqtimeout

- mod_setenvif

- mod_status

- mod_unixd

- mod_version

  1. … 4 more files in changeset.
Solaris doesn't support "test -e" in combination

with "sh". We use "-f" in all other places.

Link the modules that use it against the XML library so the server will start.
Improve detection of libxml2

mod_xml2enc/mod_proxy_html drop

Part 3: Introduce them to autoconf

I expect this'll want further attention, but not tonight

adjustments of build priorities of modules without special dependencies

all -> most:

- mod_sed

reallyall -> most:

- mod_log_debug

reallyall -> all:

- mod_dav_lock

- mod_echo

- mod_charset_lite

- mod_slotmem_plain

- mod_dialup

few -> all:

- mod_data

- mod_reflector

- mod_asis

most -> all:

- mod_heartbeat

- mod_heartmonitor

- mod_watchdog

most -> reallyall:

- mod_imagemap

- mod_cern_meta

- mod_ident

See thread at

http://mail-archives.apache.org/mod_mbox/httpd-dev/201107.mbox/%3C201107052321.56063.sf@sfritsch.de%3E

  1. … 10 more files in changeset.
Allow to specify module specific custom linker flags

via the MOD_XXX_LDADD variables.

Use APR_ADDTO instead of APR_SETVAR or direct

variable assignment.

This is especially useful when building mod_lua

or mod_deflate against a lua resp. libz which

are installed in non-standard locations.

One can add "-R ..." to MOD_LUA_LDADD and

MOD_DEFLATE_LDADD before configure to fix

the RPATH/RUNPATH of those modules.

  1. … 7 more files in changeset.
Tolerate dependency checking failures in configure

for modules that have been enabled only implicitely.

  1. … 5 more files in changeset.
Reset LDFLAGS after zlib testing for mod_deflate.

Library flags are kept in MOD_DEFLATE_LDADD, not

globally in LDFLAGS.

Respect platform specific runpath linker flag

when building mod_deflate and mod_lua.

  1. … 2 more files in changeset.
mod_data: Introduce a filter to support RFC2397 data URLs.

  1. … 6 more files in changeset.
Add to modules' help text (displayed by ./configure -h) more

information that will be useful in deciding whether to enable

them or not.

  1. … 10 more files in changeset.