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