source: projects/specs/trunk/a/apache2/apache2-vl.spec @ 11205

Revision 11205, 29.2 KB checked in by tomop, 7 years ago (diff)

apache2-2.4.28-1

RevLine 
[8063]1%define contentdir %{_datadir}/apache2
2%define docroot /var/www/apache2
[8599]3%define suexec_caller www-data
[11205]4%define mmn 20120211
[8599]5%define mmnisa %{mmn}%{__isa_name}%{__isa_bits}
[521]6%define pkgname apache2
[8599]7%define vstring Vine
[521]8
9Summary: Apache HTTP Server
10Name: %{pkgname}
[11205]11Version: 2.4.28
[10560]12Release: 1%{_dist_release}
[521]13URL: http://httpd.apache.org/
14
15Vendor: Project Vine
16Distribution: Vine Linux
17Packager: daisuke
18
19Source0: http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
[8599]20Source2: index.html
[521]21Source3: apache2.logrotate
22Source4: apache2.init
[8599]23Source6: poweredby-vine.png
24Source7: apache2.tmpfiles
[521]25Source10: httpd.conf
[8599]26Source11: 00-base.conf
27Source12: 00-mpm.conf
28Source13: 00-lua.conf
29Source14: 01-cgi.conf
30Source15: 00-dav.conf
31Source16: 00-proxy.conf
32Source17: 00-ssl.conf
33Source18: 01-ldap.conf
34Source19: 00-proxyhtml.conf
35Source20: userdir.conf
36Source21: ssl.conf
37Source22: welcome.conf
38Source23: manual.conf
39Source25: 01-session.conf
[11205]40Source28: 00-optional.conf
[8599]41# Documentation
42Source30: README.confd
43Source31: README.confmod
[521]44# add vine entry to config.layout
45Source100: vine-config.layout
[8599]46
47Patch1: httpd-2.4.1-apctl.patch
[11205]48Patch2: httpd-2.4.9-apxs.patch
[8599]49Patch3: httpd-2.4.1-deplibs.patch
[11205]50Patch5: httpd-2.4.3-layout.patch
51#Patch6: httpd-2.4.3-apctl-systemd.patch
52# Needed for socket activation and mod_systemd patch
53#Patch19: httpd-2.4.25-detect-systemd.patch
[8599]54# Features/functional changes
55Patch23: httpd-2.4.4-export.patch
56Patch24: httpd-2.4.1-corelimit.patch
[11205]57#Patch25: httpd-2.4.25-selinux.patch
[8599]58Patch26: httpd-2.4.4-r1337344+.patch
59Patch27: httpd-2.4.2-icons.patch
[11205]60Patch29: httpd-2.4.27-systemd.patch
[8599]61Patch30: httpd-2.4.4-cachehardmax.patch
[10009]62Patch31: httpd-2.4.18-sslmultiproxy.patch
[11205]63Patch34: httpd-2.4.17-socket-activation.patch
64Patch35: httpd-2.4.17-sslciphdefault.patch
65
[521]66# Bug fixes
[8599]67Patch56: httpd-2.4.4-mod_unique_id.patch
[11205]68# https://bugzilla.redhat.com/show_bug.cgi?id=1397243
69Patch58: httpd-2.4.25-r1738878.patch
70Patch60: httpd-2.4.27-r1808230.patch
[521]71# Security fixes
72
[11205]73# https://github.com/apache/httpd/commit/4171fbfcb249e63f934471054d7a0752272fb8ee
74Patch61: httpd-2.4.27-fixticketkeys.patch
75
76
[521]77License: Apache Software License
78Group: System Environment/Daemons
79BuildRoot: %{_tmppath}/%{name}-%{version}-root
[8599]80BuildRequires: db4-devel, expat-devel, xmlto
[521]81BuildRequires: findutils, perl, openldap-devel, zlib-devel
82BuildRequires: apr-devel, apr-util-devel
83BuildRequires: pcre-devel, sqlite3-devel
[8599]84BuildRequires: lua-devel, libxml2-devel
[10359]85BuildRequires: libnghttp2-devel
[8063]86BuildRequires: www-common
[521]87Requires: mailcap, gawk, file, findutils, apr, apr-util
[8063]88Requires(pre): www-common
[521]89Requires(pre): chkconfig, mktemp, fileutils
90Requires(pre): sh-utils, textutils, shadow-utils
[1629]91Requires(post): alternatives
[521]92Provides: webserver
93Provides: httpd = %{version}
94Provides: httpd-mmn = %{mmn}
[8601]95Provides: apache2-mmn = %{mmn}
[521]96Obsoletes: apache2-apr, apache2-apr-devel
[8599]97Obsoletes: apache < 2.0, apache-devel < 2.0
[521]98
99%description
100Apache is a powerful, full-featured, efficient, and freely-available
101Web server. Apache is also the most popular Web server on the
102Internet.
103
104%package devel
105Group: Development/Libraries
106Summary: Development tools for the Apache HTTP server.
[8601]107Requires: libtool, apache2 = %{version}
[521]108Requires: apr-devel, apr-util-devel
109
110%description devel
111The httpd-devel package contains the APXS binary and other files
112that you need to build Dynamic Shared Objects (DSOs) for Apache.
113
114If you are installing the Apache HTTP server and you want to be
115able to compile or develop additional modules for Apache, you need
116to install this package.
117
118%package manual
119Group: Applications/Documentation
120Summary: Documentation for the Apache HTTP server.
121
122%description manual
123The httpd-manual package contains the complete manual and
124reference guide for the Apache HTTP server. The information can
125also be found at http://httpd.apache.org/docs/.
126
127%package -n mod_ssl-apache2
128Group: System Environment/Daemons
129Summary: SSL/TLS module for the Apache HTTP server
130Epoch: 1
131BuildRequires: openssl-devel
[9858]132Requires(pre): net-tools, openssl, dev, /bin/cat
[8601]133Requires: apache2, make, apache2-mmn = %{mmn}
[521]134
135%description -n mod_ssl-apache2
136The mod_ssl module provides strong cryptography for the Apache Web
137server via the Secure Sockets Layer (SSL) and Transport Layer
138Security (TLS) protocols.
139
140%prep
141%setup -q -n httpd-%{version}
142
143%patch1 -p1 -b .apctl
144%patch2 -p1 -b .apxs
[8599]145%patch3 -p1 -b .deplibs
[11205]146%patch5 -p1 -b .layout
147#%patch6 -p1 -b .apctlsystemd
[521]148
[11205]149#%patch19 -p1 -b .detectsystemd
150
[521]151%patch23 -p1 -b .export
152%patch24 -p1 -b .corelimit
[11205]153#%patch25 -p1 -b .selinux
[8599]154%patch26 -p1 -b .r1337344+
155%patch27 -p1 -b .icons
[11205]156%patch29 -p1 -b .systemd
[8599]157%patch30 -p1 -b .cachehardmax
158%patch31 -p1 -b .sslmultiproxy
[11205]159%patch34 -p1 -b .socketactivation
160%patch35 -p1 -b .sslciphdefault
[521]161
[8599]162%patch56 -p1 -b .uniqueid
[11205]163%patch58 -p1 -b .r1738878
164%patch60 -p1 -b .r1808230
[521]165
[11205]166%patch61 -p1 -b .ticketkeys
[9858]167
[8599]168# Patch in the vendor string
169sed -i '/^#define PLATFORM/s/Unix/%{vstring}/' os/unix/os.h
[521]170
[8599]171# Prevent use of setcap in "install-suexec-caps" target.
172sed -i '/suexec/s,setcap ,echo Skipping setcap for ,' Makefile.in
[521]173
174# add Vine configure's option to config.layout
175sed -e "s|${prefix}/lib|${prefix}/%{_lib}|" \
176  < $RPM_SOURCE_DIR/vine-config.layout >> config.layout
177
178%build
179# remove bundled apr, apr-util, pcre
180rm -rf srclib/{apr,apr-util,pcre}
181
[8599]182# regenerate configure scripts
183autoheader && autoconf || exit 1
184
[521]185CFLAGS="$RPM_OPT_FLAGS"
186SH_LDFLAGS="-Wl,-z,relro"
187export CFLAGS SH_LDFLAGS
188
189AP_CONFOPTS="\
190        --prefix=%{_sysconfdir}/apache2 \
191        --exec-prefix=%{_prefix} \
192        --bindir=%{_bindir} \
193        --sbindir=%{_sbindir} \
194        --mandir=%{_mandir} \
195        --libdir=%{_libdir} \
196        --sysconfdir=%{_sysconfdir}/apache2/conf \
197        --includedir=%{_includedir}/apache2 \
198        --libexecdir=%{_libdir}/apache2/modules \
199        --datadir=%{contentdir} \
200        --with-installbuilddir=%{_libdir}/apache2/build \
201        --enable-layout=Vine \
202        --with-program-name=apache2 \
203        --with-ldap \
204        --enable-ldap --enable-authnz-ldap \
205        --enable-mods-shared=all \
206        --enable-cache=shared \
207        --enable-cgi=shared \
208        --enable-cgid=shared \
209        --enable-rewrite=shared \
210        --enable-disk-cache=shared \
211        --enable-file-cache=shared \
212        --enable-mem-cache=shared \
213        --enable-authn-anon --enable-authn-alias \
214        --with-apr=%{_prefix} --with-apr-util=%{_prefix} \
215        --enable-suexec --with-suexec \
[8599]216        --enable-suexec-capabilities \
[521]217        --with-suexec-caller=%{suexec_caller} \
[8063]218        --with-suexec-docroot=%{docroot} \
[521]219        --with-suexec-logfile=%{_localstatedir}/log/apache2/suexec.log \
[10349]220        --with-suexec-bin=%{_sbindir}/suexec \
[521]221        --with-suexec-uidmin=500 --with-suexec-gidmin=500 \
222        --with-pcre \
[8599]223        --enable-pie \
[521]224        --enable-ssl --with-ssl \
225        --enable-deflate \
226        --enable-proxy --enable-proxy-connect \
[8599]227        --enable-proxy-http --enable-proxy-ftp \
228        --enable-case-filter --enable-case-filter-in \
[10359]229        --enable-http2 \
[8599]230        --enable-mpms-shared=all"
231./configure ${AP_CONFOPTS}
232make %{?_smp_mflags}
[521]233
234%install
235rm -rf $RPM_BUILD_ROOT
236
[8599]237make DESTDIR=$RPM_BUILD_ROOT install
[521]238
[8599]239# create apache2ctl symlink
240ln -sf apachectl $RPM_BUILD_ROOT%{_sbindir}/apache2ctl
[521]241
242# install conf file/directory
[8599]243mkdir $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf.d \
244      $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf.modules.d \
245      $RPM_BUILD_ROOT%{_sysconfdir}/apache2/sites.d
[521]246install -m 644 $RPM_SOURCE_DIR/README.confd \
247   $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf.d/README
[8599]248install -m 644 $RPM_SOURCE_DIR/README.confmod \
249   $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf.modules.d/README
[521]250
[8599]251for f in 00-base.conf 00-mpm.conf 00-lua.conf 01-cgi.conf 00-dav.conf \
252         00-proxy.conf 00-ssl.conf 01-ldap.conf 00-proxyhtml.conf \
[11205]253         01-ldap.conf 01-session.conf 00-optional.conf; do
[8599]254  install -m 644 -p $RPM_SOURCE_DIR/$f \
255                    $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf.modules.d/$f
256done
[521]257
[8599]258for f in welcome.conf ssl.conf manual.conf userdir.conf; do
259  install -m 644 -p $RPM_SOURCE_DIR/$f \
260     $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf.d/$f
[521]261done
262
[8599]263# Split-out extra config shipped as default in conf.d:
264for f in autoindex; do
265  mv docs/conf/extra/httpd-${f}.conf \
266     $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf.d/${f}.conf
[521]267done
[8599]268         
269# Extra config trimmed:
270rm -v docs/conf/extra/httpd-{ssl,userdir}.conf
[521]271
[8599]272rm $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf/*.conf
273install -m 644 -p $RPM_SOURCE_DIR/httpd.conf \
274   $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf/httpd.conf
275ln -sf httpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/apache2/conf/apache2.conf
[521]276
[8599]277# tmpfiles.d configuration
278mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d
279install -m 644 -p $RPM_SOURCE_DIR/apache2.tmpfiles \
280   $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d/apache2.conf
[521]281
[8599]282# Other directories
283mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/dav \
284         $RPM_BUILD_ROOT/run/apache2/htcacheclean
[521]285
[8599]286# Create cache directory
287mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/apache2 \
288         $RPM_BUILD_ROOT%{_localstatedir}/cache/apache2/proxy \
289         $RPM_BUILD_ROOT%{_localstatedir}/cache/apache2/ssl
290
[521]291# Make the MMN accessible to module packages
[8599]292echo %{mmnisa} > $RPM_BUILD_ROOT%{_includedir}/apache2/.mmn
293mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
294cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.apache2 <<EOF
295%%_httpd_mmn %{mmnisa}
296%%_httpd_apxs %%{_bindir}/apxs
297%%_httpd_modconfdir %%{_sysconfdir}/apache2/conf.modules.d
298%%_httpd_confdir %%{_sysconfdir}/apache2/conf.d
299%%_httpd_contentdir %{contentdir}
300%%_httpd_moddir %%{_libdir}/apache2/modules
301%%_apache2_mmn %{mmnisa}
302%%_apache2_apxs %%{_bindir}/apxs
303%%_apache2_modconfdir %%{_sysconfdir}/apache2/conf.modules.d
304%%_apache2_confdir %%{_sysconfdir}/apache2/conf.d
305%%_apache2_contentdir %{contentdir}
306%%_apache2_moddir %%{_libdir}/apache2/modules
307EOF
[521]308
[8599]309# Handle contentdir
310mkdir $RPM_BUILD_ROOT%{contentdir}/noindex
311install -m 644 -p $RPM_SOURCE_DIR/index.html \
312        $RPM_BUILD_ROOT%{contentdir}/noindex/index.html
313install -m 644 -p $RPM_SOURCE_DIR/poweredby-vine.png \
314        $RPM_BUILD_ROOT%{contentdir}/icons/
315rm -rf %{contentdir}/htdocs
[521]316
[8599]317# remove manual sources
318find $RPM_BUILD_ROOT%{contentdir}/manual \( \
319    -name \*.xml -o -name \*.xml.* -o -name \*.ent -o -name \*.xsl -o -name \*.dtd \
320    \) -print0 | xargs -0 rm -f
[521]321
[8599]322# Strip the manual down just to English and replace the typemaps with flat files:
323set +x
324for f in `find $RPM_BUILD_ROOT%{contentdir}/manual -name \*.html -type f`; do
325   if test -f ${f}.en; then
326      cp ${f}.en ${f}
327      rm ${f}.*
328   fi
329done
330set -x
[8063]331
[8599]332# Clean Document Root
333rm -v $RPM_BUILD_ROOT%{docroot}/html/*.html
334rm -v $RPM_BUILD_ROOT/var/www/cgi-bin/*
[521]335
336# symlinks for /etc/apache2
337ln -s ../..%{_localstatedir}/log/apache2 $RPM_BUILD_ROOT/etc/apache2/logs
[8599]338ln -s /run/apache2 $RPM_BUILD_ROOT/etc/apache2/run
[521]339ln -s ../..%{_libdir}/apache2/modules $RPM_BUILD_ROOT/etc/apache2/modules
340
341# install SYSV init stuff
342mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
343install -m755 $RPM_SOURCE_DIR/apache2.init \
344        $RPM_BUILD_ROOT/etc/rc.d/init.d/apache2
345%{__perl} -pi -e "s:\@docdir\@:%{_docdir}/%{name}-%{version}:g" \
346        $RPM_BUILD_ROOT/etc/rc.d/init.d/apache2
347
[8599]348# Install logrotate config
[521]349mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d
[8599]350install -m 644 -p $RPM_SOURCE_DIR/apache2.logrotate \
[521]351        $RPM_BUILD_ROOT/etc/logrotate.d/apache2
352
353# fix man page paths
354sed -e "s|/usr/local/apache2/conf/httpd.conf|/etc/apache2/conf/httpd.conf|" \
355    -e "s|/usr/local/apache2/conf/mime.types|/etc/mime.types|" \
356    -e "s|/usr/local/apache2/conf/magic|/etc/apache2/conf/magic|" \
357    -e "s|/usr/local/apache2/logs/error_log|/var/log/apache2/error_log|" \
358    -e "s|/usr/local/apache2/logs/access_log|/var/log/apache2/access_log|" \
[8599]359    -e "s|/usr/local/apache2/logs/httpd.pid|/run/apache2/apache2.pid|" \
360    -e "s|/usr/local/apache2|/etc/httpd|" < docs/man/httpd.8 \
361  > $RPM_BUILD_ROOT%{_mandir}/man8/httpd.8
[521]362
[8599]363# Make ap_config_layout.h libdir-agnostic
364sed -i '/.*DEFAULT_..._LIBEXECDIR/d;/DEFAULT_..._INSTALLBUILDDIR/d' \
365    $RPM_BUILD_ROOT%{_includedir}/apache2/ap_config_layout.h
[521]366
[8599]367# Fix path to instdso in special.mk
368sed -i '/instdso/s,top_srcdir,top_builddir,' \
369    $RPM_BUILD_ROOT%{_libdir}/apache2/build/special.mk
[521]370
[8599]371# Remove unpackaged files
372rm -vf \
[521]373      $RPM_BUILD_ROOT%{_libdir}/*.exp \
[8599]374      $RPM_BUILD_ROOT/etc/apache2/conf/mime.types \
[521]375      $RPM_BUILD_ROOT%{_libdir}/apache2/modules/*.exp \
376      $RPM_BUILD_ROOT%{_libdir}/apache2/build/config.nice \
[8599]377      $RPM_BUILD_ROOT%{_bindir}/{ap?-config,dbmmanage} \
378      $RPM_BUILD_ROOT%{_sbindir}/{checkgid,envvars*} \
379      $RPM_BUILD_ROOT%{contentdir}/htdocs/* \
380      $RPM_BUILD_ROOT%{_mandir}/man1/dbmmanage.* \
[521]381      $RPM_BUILD_ROOT%{contentdir}/cgi-bin/*
382
[8599]383rm -rf $RPM_BUILD_ROOT/etc/apache2/conf/{original,extra}
384
385
386
[521]387%triggerpostun -- apache < 2.0
388/sbin/chkconfig --add apache2
389
390
391%post
392/sbin/chkconfig --add apache2
393
394%preun
395if [ $1 = 0 ]; then
396        /sbin/service apache2 stop > /dev/null 2>&1
397        /sbin/chkconfig --del apache2
398fi
399
400%postun
401if [ "$1" -ge 1 ]; then
402        /sbin/service apache2 condrestart
403fi
404/sbin/ldconfig
405
[8599]406%define sslcert %{_sysconfdir}/pki/tls/certs/localhost.crt
407%define sslkey %{_sysconfdir}/pki/tls/private/localhost.key
408
[521]409%post -n mod_ssl-apache2
410umask 077
411
[8599]412if [ -f %{sslkey} -o -f %{sslcert} ]; then
413  exit 0
[521]414fi
415
[8599]416%{_bindir}/openssl genrsa \
417  -rand /proc/apm:/proc/cpuinfo:/proc/dma:/proc/filesystems:/proc/interrupts:/proc/ioports:/proc/pci:/proc/rtc:/proc/uptime \
418  2048 > %{sslkey} 2> /dev/null ||:
419
420FQDN=`hostname` ||:
[521]421if [ "x${FQDN}" = "x" ]; then
422   FQDN=localhost.localdomain
423fi
[8599]424   
425cat << EOF | %{_bindir}/openssl req -new -key %{sslkey} \
426         -x509 -sha256 -days 3650 -set_serial $RANDOM -extensions v3_req \
427         -out %{sslcert} 2>/dev/null ||:
[521]428--
429SomeState
430SomeCity
431SomeOrganization
432SomeOrganizationalUnit
433${FQDN}
434root@${FQDN}
435EOF
436
437%clean
438rm -rf $RPM_BUILD_ROOT
439
440%files
441%defattr(-,root,root)
[10560]442%license LICENSE
443%doc ABOUT_APACHE README CHANGES LAYOUT
[8599]444%doc docs/conf/extra/*.conf
[521]445
446%dir %{_sysconfdir}/apache2
447%{_sysconfdir}/apache2/modules
448%{_sysconfdir}/apache2/logs
449%{_sysconfdir}/apache2/run
450%dir %{_sysconfdir}/apache2/conf
[8599]451%config(noreplace) %{_sysconfdir}/apache2/conf/httpd.conf
452%config(noreplace) %{_sysconfdir}/apache2/conf/apache2.conf
[521]453%config(noreplace) %{_sysconfdir}/apache2/conf/magic
454
[8599]455%config(noreplace) %{_sysconfdir}/logrotate.d/apache2
456
[521]457%config %{_sysconfdir}/rc.d/init.d/apache2
458
459%dir %{_sysconfdir}/apache2/conf.d
460%{_sysconfdir}/apache2/conf.d/README
[8599]461%config(noreplace) %{_sysconfdir}/apache2/conf.d/*.conf
462%exclude %{_sysconfdir}/apache2/conf.d/ssl.conf
463%exclude %{_sysconfdir}/apache2/conf.d/manual.conf
[521]464
[8599]465%dir %{_sysconfdir}/apache2/conf.modules.d
466%{_sysconfdir}/apache2/conf.modules.d/README
467%config(noreplace) %{_sysconfdir}/apache2/conf.modules.d/*.conf
468%exclude %{_sysconfdir}/apache2/conf.modules.d/00-ssl.conf
[521]469
[8599]470%dir %{_sysconfdir}/apache2/sites.d
[521]471
[8599]472%{_prefix}/lib/tmpfiles.d/apache2.conf
473
[521]474%{_bindir}/ab
475%{_bindir}/ht*
476%{_bindir}/logresolve
477%{_sbindir}/ht*
[8599]478%{_sbindir}/apache2
479%{_sbindir}/apachectl
[521]480%{_sbindir}/apache2ctl
[8599]481%{_sbindir}/rotatelogs
482%{_sbindir}/fcgistarter
483%attr(4510,root,%{suexec_caller}) %{_sbindir}/suexec
[521]484
485%dir %{_libdir}/apache2
486%dir %{_libdir}/apache2/modules
[8599]487%{_libdir}/apache2/modules/mod_*.so
488%exclude %{_libdir}/apache2/modules/mod_ssl.so
[521]489
490%dir %{contentdir}
491%dir %{contentdir}/icons
492%dir %{contentdir}/error
493%dir %{contentdir}/error/include
[8599]494%dir %{contentdir}/noindex
[521]495%{contentdir}/icons/*
496%{contentdir}/error/README
[8599]497%{contentdir}/error/*.var
498%{contentdir}/error/include/*.html
499%{contentdir}/noindex/index.html
[521]500
[8063]501%dir %{docroot}/html
[8599]502%dir /var/www/cgi-bin
[8063]503
[8599]504%attr(0710,root,www-data) %dir /run/apache2
505%attr(0700,www-data,www-data) %dir /run/apache2/htcacheclean
506
[521]507%attr(0700,root,root) %dir %{_localstatedir}/log/apache2
[8063]508%attr(0700,www-data,www-data) %dir %{_localstatedir}/lib/dav
[8599]509%attr(0700,www-data,www-data) %dir %{_localstatedir}/cache/apache2
510%attr(0700,www-data,www-data) %dir %{_localstatedir}/cache/apache2/proxy
[521]511
512%{_mandir}/man1/*
[8599]513%exclude %{_mandir}/man1/apxs*
[521]514
515%{_mandir}/man8/*
516
[8599]517
[521]518%files manual
519%defattr(-,root,root)
520%{contentdir}/manual
[8599]521%config(noreplace) %{_sysconfdir}/apache2/conf.d/manual.conf
[521]522
[8599]523
[521]524%files -n mod_ssl-apache2
525%defattr(-,root,root)
526%{_libdir}/apache2/modules/mod_ssl.so
[8599]527%config(noreplace) %{_sysconfdir}/apache2/conf.modules.d/00-ssl.conf
[521]528%config(noreplace) %{_sysconfdir}/apache2/conf.d/ssl.conf
[8599]529%attr(0700,www-data,www-data) %dir %{_localstatedir}/cache/apache2/ssl
[521]530
[8599]531
[521]532%files devel
533%defattr(-,root,root)
534%{_includedir}/apache2
535%{_bindir}/apxs
[8599]536%{_mandir}/man1/apxs*
537%dir %{_libdir}/apache2/build
[521]538%{_libdir}/apache2/build/*.mk
539%{_libdir}/apache2/build/*.sh
[8599]540%{_sysconfdir}/rpm/macros.apache2
[521]541
[8599]542
[521]543%changelog
[11205]544* Sun Oct 15 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.28-1
545- new upstream release.
546
[10938]547* Fri Mar 17 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.25-1
548- new upstream release.
549- dropped Patch55: fixed in upstream.
550
[10560]551* Fri Jul  8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.23-1
552- new upstream release.
553
[10359]554* Tue Jun  7 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.20-2
555- enabled HTTP/2.
556
[10349]557* Sun May 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.20-1
558- updated to 2.4.20.
559- updated Patch58.
560- fixed %%files.
561- fixed location of suexec (BTS#3007).
562
[10067]563* Thu Mar 10 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.4.18-2
564- rebuilt with openssl 1.0.2g
565
[10009]566* Thu Feb  4 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.18-1
[10349]567- updated to 2.4.18.
[10009]568- fixed 00-base.conf.
569- updated Patch31.
570
[9861]571* Mon Dec  7 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.17-2
572- fixed configuration files.
573
[9858]574* Fri Dec  4 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.17-1
575- update to 2.4.17.
576- fixed dependency.
577
[8601]578* Wed Jun 25 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.4.9-2
579- modify dependency
580
[8599]581* Wed Jun 25 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.4.9-1
582- update to 2.4.9
583- remove suffix '2' from {htdigest,htpasswd,rotatelogs}2
584- use /run instead of /var/run
585- remove /etc/apache2/conf/ssl* , use /etc/pki now.
586- move suexec from %%{_libdir}/apache2 to %%{_sbindir}
587- split all LoadModules to conf.modules.d/*.conf
588- split module configs to conf.d/*.conf
589- cleanup docroot, move apache specific files to %%{_datadir}/apache2
590- add BR: lua-devel, libxml2-devel
591- add /etc/apache2/sites.d for virtual host settings.
592
[8063]593* Wed Dec 25 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.25-2
594- merge VineSeed spec file
595  * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.23-2
596  - rebuild with pcre-8.31
597
598  * Wed Mar 21 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.23-1
599  - update to 2.2.23
600  - add R(pre): www-common, BR: www-common
601  - move apache contents to %{contentdir}
602
[8062]603* Sat Sep 28 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.25-1
604- new upstream release with security fix (CVE-2013-1862,1896)
605- drop patch100 (is included in new release)
[6998]606
[8062]607* Fri May 17 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.24-2
608- add patch100 for fix CVE-2013-1862 (mod_rewrite)
[6959]609
[8062]610* Wed Feb 27 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.24-1
611- new upstream release with security fix (CVE-2012-3499, 4558)
612
613* Sun Sep 16 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.23-1
614- new upstream release with security fix (CVE-2012-3502,CVE-2012-2687)
615- update patch22 to fit new release
616- update man filename convert list
617
[5930]618* Wed Mar 21 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.22-1
619- update to 2.2.22
620  - CVE-2012-0021 (mod_log_config)
621  - CVE-2012-0031
622  - CVE-2012-0053
[8062]623- remove upstreamed patches
[5930]624
625* Fri Dec  9 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.21-5
626- add patch120 for fix CVE-2011-4317 (mod_rewrite/mod_proxy)
627
628* Fri Nov 18 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.21-4
629- add patch110 for fix CVE-2011-3607-4415 (ModSetEnvIf)
630
631* Wed Oct 12 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.21-3
632- add patch70 for fix byterange filter
633
634* Tue Oct 11 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.21-2
635- add Patch100 for fix CVE-2011-3368 (mod_proxy)
636
637* Wed Sep 14 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.21-1
638- new upstream release with security fix (CVE-2011-3348)
639- regression fixes of CVE-2011-3192 byterange fix in 2.2.20
640
641* Tue Sep  6 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.20-3
642- update Patch101 (Thanks to debian team)
643
644* Sat Sep  3 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.20-2
645- add Patch101 for fix CVE-2011-3192 regression
646
647* Thu Sep  1 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.20-1
648- new upstream release with security fix (CVE-2011-3192)
649- drop patch100 (is included in new release)
650
651* Thu Aug 25 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.19-2
652- add patch100 for fix CVE-2011-3192 (Range Header DoS)
653
[3942]654* Mon May 23 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.19-1
655- update to 2.2.19
656
[3749]657* Sat Apr 30 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.14-9
658- remove old Obsoletes/Conflicts
659
[2490]660* Tue Jan 11 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.14-8
661- rebuild with openssl-1.0.0c
662
663* Sat Aug 21 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.14-7
[2401]664- add  patch120 for fix CVE-2010-1452 (mod_dav/mod_cache) from mdk2010
665
[1629]666* Wed Aug 18 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.14-6
667- add R(post): alternatives
668
[877]669* Sat Mar 20 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 2.2.14-5
670- add patch110 for fix CVE-2010-0434 from mdk 2010
671
672* Sun Mar  7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 2.2.14-4
673- add patch100 for fix CVE-2010-0408 (mod_proxy_ajp)
674
[521]675* Fri Feb  5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.2.14-3
676- rebuilt with rpm-4.8.0-3 (on ppc)
677
678* Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.14-2
679- rebuild with db4-4.8.0
680
681* Tue Jan 05 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.14-1
682- new upstream release with security fix
683  (CVE-2009-2699, CVE-2009-3095, CVE-2009-3094)
684- fix ssl.conf (2.2.13-1 includes wrong file)
685
686* Sun Aug 09 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.13-1
687- new upstream release
688
689* Wed Jul 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.12-1
690- new upstream release
691  (including security fix for CVE-2009-1890, CVE-2009-1191,
692   CVE-2009-1195, CVE-2009-1955, CVE-2009-1956, CVE-2009-0023)
693
694* Fri Jan 09 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.11-2
695- rebuilt with openldap-2.4.11
696
697* Fri Jan  2 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.11-1
698- new upstream release
699
700* Sat Oct 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.10-1
701- new upstream release (including security fix for CVE-2008-2939)
702
703* Fri Jun 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.9-1
704- new upstream release (including security fix for CVE-2008-2364, CVE-2007-6420)
705- built with db4-4.6.21, apr 1.3.0
706
707* Sun Apr 27 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.2.8-1
708- add Patch60 (to fix bug#31418).
709
710* Thu Feb 21 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.8-0vl2
711- rebuild with expat-2.0.1
712
713* Tue Jan 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.8-0vl1
714- new upstream release
715
716* Sat Nov  3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.6-0vl2
717- added postun script from VinePlus/4.0 package
718  * Tue Sep 11 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.2.3-0vl3.2
719  - add postun script to restart daemon with message
720
721* Sun Jul 01 2007 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.3-0vl8
722- updated Patch2: httpd-2.2.3-apxs.patch
723
724* Sun Jun 24 2007 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.3-0vl7
725- modified libdir in config.layout for lib64 architecture
726
727* Sun May 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-0vl6
728- rebuilt with openssl-0.9.8e
729
730* Thu May 10 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.2.3-0vl5
731- rebuilt with new toolchain and db4-4.3.x
732
[8062]733* Wed Feb  7 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-0vl4
[521]734- added BuildRequires: pcre-devel, sqlite3-devel <BTS:VineLinux:474>
735
736* Mon Sep 11 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.2.3-0vl3
737- change manual Group to Applications/Documentation. <BTS:VineLinux:163>
738
739* Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.2.3-0vl2
740- rebuilt with openldap-2.3.27-0vl1
741
742* Sat Jul 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-0vl1
743- new upstream release including security fix (CVE-2006-3747)
744
745* Sun May 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-0vl1
746- new upstream release
747  - update to 2.2.2
748- remove apr/apr-devel subpackage,
749  use external apr/apr-util instead of internal one.
750
751* Sun May 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.58-0vl1
752- new upstream release
753- use apache2.prefork as default.
754
755* Thu Mar 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.55-0vl3
756- rebuild to use new _localstatedir (rpm-4.4.2-0vl11)
757- remove unpackaged files in %%install section
758
759* Fri Jan 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.55-0vl2
760- fix logrotate configuration (use apache2.pid instead of httpd.pid)
761  (BTS:10)
762- use Epoch instead of Serial
763
764* Sat Oct 15 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.55-0vl1
765- new upstream release
766- drop obsolete security patches which is merged in upstream
767
768* Sat Oct 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.54-0vl1
769- new upstream release
770
771* Sun Sep 11 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.53-0vl2
772- added Patch122 to 125 for secutiry fix
773  (CAN-2004-{1268,2088,2700,2728})
774- fix %install section
775
776* Sun Apr 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.53-0vl1
777- new upstream release
778
779* Sat Nov 06 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.52-0vl1
780- new upstream release
781
782* Sun Oct 24 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.0.50-0vl4
783- rebuilt with db4-4.2.52
784
785* Sat Sep  4 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 2.0.50-0vl3
786- separate apr, apr-devel packages
787- add BuildPreReq: zlib-devel
788
789* Sun Jul 11 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.50-0vl2
790- fix %%files to include instdso.sh
791  thanks to jax <jax AT morejams DOT no-ip DOT com>
792- add %%{?_smp_mflags} to make option.
793
794* Sun Jul  4 2004 IWAI, Masaharu <iwai@alib.jp> 2.0.50-0vl1
795- new upstream version
796
797* Sun Nov 23 2003 IWAI, Masaharu <iwai@alib.jp> 2.0.48-0vl1
798- new upstream version
799
800* Mon Sep 15 2003 IWAI, Masaharu <iwai@alib.jp> 2.0.47-0vl1
801- new upstream version
802- update apxs patch (Patch101)
803- fix dependency:
804    - change file name to package name in Requires and {Build,}Prereq
805- add BuildPrereq: openldap-devel
806- update %%files section
807- rename httpd.8 manpage
808
[8062]809* Mon May 12 2003 Satoshi MACHINO <machino@vinelinux.org> 2.0.45-0vl1
[521]810- new upstream version
811- used vine-config.layout in srclib
812
[8062]813* Mon May 12 2003 Satoshi MACHINO <machino@vinelinux.org> 2.0.44-0vl9
[521]814- rebuild
815
816* Sun Apr  6 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl8
817- change pkg name from mod_ssl to mod_ssl-apache2
818- remove "apache-manual" entry from Obsoletes:
819
820* Thu Apr  3 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl7
821- remove "mod_dav" and "apache-devel" from Obsoletes:
822- enable MPMS(worker %mpms )
823
824* Sun Mar 30 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl6
825- add correct config_vars.mk
826
827* Sun Mar 30 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl5
828- apply apxs's patch ( from Debian)
829
830* Sun Mar 30 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl4
831- add apr-config,apu-config to devel's %file
832
833* Sun Mar 30 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl3
834- change apxs path ( /usr/sbin -> /usr/bin
835- add symlink under /etc/apache2/conf
836  (logs, run), httpd.conf -> apache2.conf
837- fixed apache2 initscript.
838
839* Sat Mar 29 2003 Kazuhisa TAKEI <takei@vinelinux.org> 2.0.44-0vl2
840- build Vine Linux
841- new upstream version
842- sharing with apache1
843
844* Wed Sep  4 2002 Nalin Dahyabhai <nalin@redhat.com> 2.0.40-8
845- link httpd with libssl to avoid library loading/unloading weirdness
846
847* Tue Sep  3 2002 Joe Orton <jorton@redhat.com> 2.0.40-7
848- add LoadModule lines for proxy modules in httpd.conf (#73349)
849- fix permissions of conf/ssl.*/ directories; add Makefiles for
850  certificate management (#73352)
851
852* Mon Sep  2 2002 Joe Orton <jorton@redhat.com> 2.0.40-6
853- provide "httpd-mmn" to manage module ABI compatibility
854
855* Sun Sep  1 2002 Joe Orton <jorton@redhat.com> 2.0.40-5
856- fix SSL session cache (#69699)
857- revert addition of LDAP support to apr-util
858
859* Mon Aug 26 2002 Joe Orton <jorton@redhat.com> 2.0.40-4
860- set SIGXFSZ disposition to "ignored" (#69520)
861- make dummy connections to the first listener in config (#72692)
862
863* Mon Aug 26 2002 Joe Orton <jorton@redhat.com> 2.0.40-3
864- allow "apachectl configtest" on a 1.3 httpd.conf
865- add mod_deflate
866- enable LDAP support in apr-util
867- don't package everything in /var/www/error as config(noreplace)
868
869* Wed Aug 21 2002 Bill Nottingham <notting@redhat.com> 2.0.40-2
870- add trigger (#68657)
871
872* Mon Aug 12 2002 Joe Orton <jorton@redhat.com> 2.0.40-1
873- update to 2.0.40
874
875* Wed Jul 24 2002 Joe Orton <jorton@redhat.com> 2.0.36-8
876- improve comment on use of UserDir in default config (#66886)
877
878* Wed Jul 10 2002 Joe Orton <jorton@redhat.com> 2.0.36-7
879- use /sbin/nologin as shell for apache user (#68371)
880- add patch from CVS to fix possible infinite loop when processing
881  internal redirects
882
883* Wed Jun 26 2002 Gary Benson <gbenson@redhat.com> 2.0.36-6
884- modify init script to detect 1.3.x httpd.conf's and direct users
885  to the migration guide
886
887* Tue Jun 25 2002 Gary Benson <gbenson@redhat.com> 2.0.36-5
888- patch apachectl to detect 1.3.x httpd.conf's and direct users
889  to the migration guide
890- ship the migration guide
891
892* Fri Jun 21 2002 Joe Orton <jorton@redhat.com>
893- move /etc/httpd2 back to /etc/httpd
894- add noindex.html page and poweredby logo; tweak default config
895  to load noindex.html if no default "/" page is present.
896- add patch to prevent mutex errors on graceful restart
897
898* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 2.0.36-4
899- automated rebuild
900
901* Wed Jun 12 2002 Joe Orton <jorton@redhat.com> 2.0.36-3
902- add patch to fix SSL mutex handling
903
904* Wed Jun 12 2002 Joe Orton <jorton@redhat.com> 2.0.36-2
905- improved config directory patch
906
907* Mon May 20 2002 Joe Orton <jorton@redhat.com>
908- initial build; based heavily on apache.spec and mod_ssl.spec
909- fixes: #65214, #58490, #57376, #61265, #65518, #58177, #57245
[877]910
Note: See TracBrowser for help on using the repository browser.