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