From 95a0c9518b8a5659e7ba07aad0bcc338409e86cf Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Thu, 23 Nov 2017 11:11:28 +0000 Subject: [PATCH] build and load mod_brotli --- 00-base.conf | 1 + httpd.spec | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/00-base.conf b/00-base.conf index ec9acf1..28dacb3 100644 --- a/00-base.conf +++ b/00-base.conf @@ -23,6 +23,7 @@ LoadModule authz_host_module modules/mod_authz_host.so LoadModule authz_owner_module modules/mod_authz_owner.so LoadModule authz_user_module modules/mod_authz_user.so LoadModule autoindex_module modules/mod_autoindex.so +LoadModule brotli_module modules/mod_brotli.so LoadModule cache_module modules/mod_cache.so LoadModule cache_disk_module modules/mod_cache_disk.so LoadModule cache_socache_module modules/mod_cache_socache.so diff --git a/httpd.spec b/httpd.spec index ad2efc5..3ebf372 100644 --- a/httpd.spec +++ b/httpd.spec @@ -13,7 +13,7 @@ Summary: Apache HTTP Server Name: httpd Version: 2.4.29 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://httpd.apache.org/ Source0: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2 Source1: index.html @@ -80,7 +80,7 @@ License: ASL 2.0 Group: System Environment/Daemons BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: autoconf, perl-interpreter, perl-generators, pkgconfig, findutils, xmlto -BuildRequires: zlib-devel, libselinux-devel, lua-devel +BuildRequires: zlib-devel, libselinux-devel, lua-devel, brotli-devel BuildRequires: apr-devel >= 1.5.0, apr-util-devel >= 1.5.0, pcre-devel >= 5.0 BuildRequires: systemd-devel Requires: /etc/mime.types, system-logos-httpd @@ -278,6 +278,7 @@ export LYNX_PATH=/usr/bin/links --with-suexec-syslog \ --with-suexec-bin=%{_sbindir}/suexec \ --with-suexec-uidmin=1000 --with-suexec-gidmin=1000 \ + --with-brotli \ --enable-pie \ --with-pcre \ --enable-mods-shared=all \ @@ -681,6 +682,9 @@ rm -rf $RPM_BUILD_ROOT %{_rpmconfigdir}/macros.d/macros.httpd %changelog +* Thu Nov 23 2017 Joe Orton - 2.4.29-2 +- build and load mod_brotli + * Wed Oct 25 2017 Luboš Uhliarik - 2.4.29-1 - new version 2.4.29