Commit Graph

167 Commits

Author SHA256 Message Date
de7dee913a Accepting request 316550 from home:pgajdos
- access_compat shared also for 11sp3

- apache2-implicit-pointer-decl.patch renamed to 
  httpd-implicit-pointer-decl.patch to align with other
  patches names

- apachectl is now wrapper to start_apache2; therefore, it honors 
  HTTPD_INSTANCE variable, see README-instances.txt for details 
  + httpd-apachectl.patch
  - httpd-2.4.10-apachectl.patch

- a2enmod/a2dismod and a2enflag/a2disflag now respect 
  HTTPD_INSTANCE=<instance_name> environment variable, which can be 
  used to specify apache instance name; sysconfig file is expected 
  at /etc/sysconfig/apache2@<instance_name> 
 (see README-instances.txt for details)

- provides suse_maintenance_mmn symbol [bnc#915666] (internal)

- credits to Roman Drahtmueller:
  * add reference to /etc/permissions.local to output of %post if
    setting the permissions of suexec2 fails
  * do not enable mod_php5 by default any longer
  * httpd-2.0.49-log_server_status.dif obsoleted
  * apache2-mod_ssl_npn.patch removed because not used
  * include mod_reqtimeout.conf in httpd.conf
  * added cgid-timeout.conf, include
    it in httpd.conf
- fix default value APACHE_MODULES in sysconfig file
- %service_* macros for apache2@.service

OBS-URL: https://build.opensuse.org/request/show/316550
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=453
2015-07-14 09:04:22 +00:00
924136ec0d Accepting request 314699 from home:pgajdos
- allow to run multiple instances of Apache on one system
  [fate#317786] (internal)
  * distributed httpd.conf no longer includes sysconfig.d, nor this 
    directory is shipped. httpd.conf includes loadmodule.conf and 
    global.conf which are former sysconfig.d/loadmodule.conf and 
    sysconfig.d/global.conf for default /etc/sysconfig/apache2
    global.conf and loadmodule.conf are not included when
    sysconfig variables could have been read by start_apache2
    startup script (run with systemd services). Therefore, when
    starting server via /usr/sbin/httpd, sysconfig variables
    are not taken into account.
  * some not-maintained scripts are moved from
    /usr/share/apache2 to /usr/share/apache2/deprecated-scripts
  * all modules comment in sysconfig file is not generated 
    anymore
  * added README-instances.txt
  * removed Sources:
    load_configuration
    find_mpm
    get_module_list
    get_includes
    find_httpd_includes
    apache-find-directives
  * added Sources:
    deprecated-scripts.tar.xz
    apache2-README-instances.txt
    apache2-loadmodule.conf
    apache2-global.conf
    apache2-find-directives
    apache2@.service

OBS-URL: https://build.opensuse.org/request/show/314699
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=452
2015-07-13 08:18:58 +00:00
8c712886f9 Accepting request 313617 from home:elvigia:branches:Apache
- apache2.service: We have to use KillMode=mixed for the
  graceful stop, restart to work properly.

OBS-URL: https://build.opensuse.org/request/show/313617
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=451
2015-06-25 14:12:19 +00:00
e078f69d56 Accepting request 311566 from home:pgajdos
- dropped 2.0 -> 2.2 modules transition during upgrade
  * apache-20-22-upgrade renamed to apache-22-24-upgrade
- apache-*-upgrade script is called in %posttrans now [bnc#927223]

OBS-URL: https://build.opensuse.org/request/show/311566
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=450
2015-06-12 07:59:31 +00:00
b4e9c76a3b Accepting request 311264 from home:pgajdos
- fix find_mpm to echo mpm binary

OBS-URL: https://build.opensuse.org/request/show/311264
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=449
2015-06-09 11:43:45 +00:00
20d9617863 Accepting request 309875 from home:elvigia:branches:Apache
- apache2.service: Only order us after network.target and 
  nss-lookup.target but not pull the units in.
- apache2.service: SSL requires correct system time to
  work properly, order after time-sync.target

OBS-URL: https://build.opensuse.org/request/show/309875
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=448
2015-06-03 16:19:51 +00:00
1c66eaf9ed Accepting request 309129 from home:pgajdos
- align filenames with upstream names (and add compat symlinks)
- find_httpd2_includes renamed to find_httpd_includes

OBS-URL: https://build.opensuse.org/request/show/309129
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=447
2015-06-02 08:26:32 +00:00
d7b41eca02 Accepting request 308624 from home:pgajdos
- access_compat now built as shared and disabled by default
- amend config to use also old syntax when access_compat is
  loaded
- added apache2-README-access_compat.txt
- added apache-find-directive script
- see [bnc#896083] and its duplicates

OBS-URL: https://build.opensuse.org/request/show/308624
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=446
2015-05-26 08:17:52 +00:00
6f49159b79 OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=445 2015-05-15 13:35:07 +00:00
d3e2121d30 Accepting request 306357 from home:guohouzuo:freeipa
CVE-2015-0253

OBS-URL: https://build.opensuse.org/request/show/306357
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=444
2015-05-15 13:11:40 +00:00
c1c669e98d Accepting request 305442 from home:kstreitova:branches:Apache
- simplify apache2.logrotate, use sharedscripts [bnc#713581]

- remove curly brackets around format sequence "%y" in 
  `stat --format="%{y}" %{SOURCE1}` that caused an incorrect
  evaluation. Add escaping to proper spec-cleaner processing in
  the future

OBS-URL: https://build.opensuse.org/request/show/305442
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=443
2015-05-05 14:04:17 +00:00
Cristian Rodríguez
70524cd248 Accepting request 295209 from home:kstreitova:branches:Apache
- remove 'exit 0' from the %post section in the specfile that was
  placed here incorrectly and caused that the rest of the %post
  section couldn't be executed.

OBS-URL: https://build.opensuse.org/request/show/295209
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=442
2015-04-10 01:12:40 +00:00
5f6514874a Accepting request 295183 from home:pgajdos
- /etc/init.d/apache2 reload -> systemctl reload apache2.service
  in apache2.logrotate [bnc#926523]

- authz_default -> authz_core in sysconfig.apache2/APACHE_MODULES
  [bnc#922236]

OBS-URL: https://build.opensuse.org/request/show/295183
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=441
2015-04-09 15:49:19 +00:00
Roman Drahtmueller
c7c4561297 Accepting request 290225 from home:dimstar:Factory
- Add Requires(post) apache2 to the subpackage -worker, -event and
  -prefork: their respective post scriptlets execute
  /usr/share/apache2/get_module_list, which is shipped as part of
  the main package. This script has the side-effect to call
  find_mpm, which in turn creates the corresponding /usr/sbin/httpd2
  symlink.

OBS-URL: https://build.opensuse.org/request/show/290225
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=440
2015-03-10 21:08:07 +00:00
Tomáš Chvátal
35630bb4ed Accepting request 287858 from home:jsegitz:branches:Apache
- Patched get_module_list to ensure proper SELinux context for
  sysconfig.d/loadmodule.conf

OBS-URL: https://build.opensuse.org/request/show/287858
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=439
2015-03-02 13:56:03 +00:00
Tomáš Chvátal
9eaa42a2d9 - Pname -> name variable reduction
- Try to fix sle11 build

OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=438
2015-02-25 21:11:43 +00:00
Tomáš Chvátal
3e25bad9f4 - Version bumpt o 2.4.12:
*) mpm_winnt: Accept utf-8 (Unicode) service names and descriptions for
     internationalization.  [William Rowe]
  *) mpm_winnt: Normalize the error and status messages emitted by service.c,
     the service control interface for Windows.  [William Rowe]
  *) configure: Fix --enable-v4-mapped configuration on *BSD. PR 53824.
     [ olli hauer <ohauer gmx.de>, Yann Ylavic ]

OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=437
2015-02-25 20:00:01 +00:00
Tomáš Chvátal
21519bff71 - Exit cleanly on end of the post and cleanup the update detection
- Remove Apache.xpm as it ain't used

OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=436
2015-02-25 18:03:53 +00:00
Tomáš Chvátal
8b05757aa0 - Cleanup init/unit decision making and provide just systemd service
on systemd systems

OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=435
2015-02-25 15:59:55 +00:00
Tomáš Chvátal
75383b5f81 - Deprecate realver define as it is equal to version.
- Explicitely state MPM mods to ensure we don't lose some bnc#444878

OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=434
2015-02-25 13:54:02 +00:00
Tomáš Chvátal
f121dc4250 - Pass over spec-cleaner, there should be no actual technical
change in this just reduction of lines in the spec

OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=433
2015-02-25 13:43:34 +00:00
Cristian Rodríguez
02163d8757 Accepting request 287376 from home:kstreitova:branches:Apache
- add httpd-2.4.x-mod_lua_websocket_DoS.patch to fix mod_lua bug
  where a maliciously crafted websockets PING after a script calls
  r:wsupgrade() can cause a child process crash
  [CVE-2015-0228], [bnc#918352].

OBS-URL: https://build.opensuse.org/request/show/287376
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=432
2015-02-24 01:47:47 +00:00
1bd179994f Accepting request 281990 from home:elvigia:branches:Apache
- httpd-2.4.3-mod_systemd.patch find libsystemd-daemon 
  with pkg-config, this is the only correct way, in current
  versions sd_notify is in libsystemd and in old products
  in libsystemd-daemon.

OBS-URL: https://build.opensuse.org/request/show/281990
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=431
2015-02-18 10:45:26 +00:00
f4f49e5231 Accepting request 283916 from home:pgajdos
- httpd2.pid in rc.apache2 was wrong [bnc#898193]

OBS-URL: https://build.opensuse.org/request/show/283916
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=430
2015-02-03 16:13:11 +00:00
Cristian Rodríguez
b3413e39e4 Accepting request 281475 from home:elvigia:branches:Apache
- remove obsolete patches 
* httpd-2.4.10-check_null_pointer_dereference.patch
* httpd-event-deadlock.patch
* httpd-2.4.x-bnc871310-CVE-2013-5704-mod_headers_chunked_requests.patch
* httpd-2.4.x-bnc909715-CVE-2014-8109-mod_lua_handling_of_Require_line.patch

- Apache 2.4.11 
  *) SECURITY: CVE-2014-3583 (cve.mitre.org)
     mod_proxy_fcgi: Fix a potential crash due to buffer over-read, with 
     response headers' size above 8K.  [Yann Ylavic, Jeff Trawick]
  *) SECURITY: CVE-2014-3581 (cve.mitre.org)
     mod_cache: Avoid a crash when Content-Type has an empty value.
     PR 56924.  [Mark Montague <mark catseye.org>, Jan Kaluza]
  *) SECURITY: CVE-2014-8109 (cve.mitre.org)
     mod_lua: Fix handling of the Require line when a LuaAuthzProvider is
     used in multiple Require directives with different arguments.
     PR57204 [Edward Lu <Chaosed0 gmail.com>]
  *) SECURITY: CVE-2013-5704 (cve.mitre.org)
     core: HTTP trailers could be used to replace HTTP headers
     late during request processing, potentially undoing or
     otherwise confusing modules that examined or modified
     request headers earlier.  Adds "MergeTrailers" directive to restore
     legacy behavior.  [Edward Lu, Yann Ylavic, Joe Orton, Eric Covener]
  *) mod_ssl: New directive SSLSessionTickets (On|Off).
     The directive controls the use of TLS session tickets (RFC 5077),
     default value is "On" (unchanged behavior).
     Session ticket creation uses a random key created during web
     server startup and recreated during restarts. No other key
     recreation mechanism is available currently. Therefore using session
     tickets without restarting the web server with an appropriate frequency

OBS-URL: https://build.opensuse.org/request/show/281475
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=429
2015-01-16 15:52:19 +00:00
Roman Drahtmueller
b9fbfaa975 Accepting request 280882 from home:bruno_friedmann:branches:Apache
- Redone lost patch to fix boo#859439 
  + service reload can cause log data to be lost with logrotate
  under some circumstances: remove "-t" from service reload.
  [bnc#859439]

OBS-URL: https://build.opensuse.org/request/show/280882
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=428
2015-01-12 11:47:35 +00:00
Roman Drahtmueller
3cd0bfc911 Accepting request 280312 from home:AndreasSchwab:f
- Fix URL syntax in various files

OBS-URL: https://build.opensuse.org/request/show/280312
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=427
2015-01-08 14:49:10 +00:00
fefabf0a4d Accepting request 266793 from home:pgajdos
- fix IfModule directive around SSLSessionCache [bnc#842377c#11]

OBS-URL: https://build.opensuse.org/request/show/266793
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=426
2014-12-30 13:15:12 +00:00
Tomáš Chvátal
b23df1a23f Accepting request 265897 from home:kstreitova:branches:Apache
- Repair patch names in the changelog in order to be submitted to the
  Factory without error from the check script.

OBS-URL: https://build.opensuse.org/request/show/265897
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=425
2014-12-26 11:13:18 +00:00
Cristian Rodríguez
ba24c8b5d8 Accepting request 265358 from home:kstreitova:branches:Apache
- added httpd-2.4.x-bnc871310-CVE-2013-5704-mod_headers_chunked_\
  requests.patch to fix flaw in the way mod_headers handled chunked
  requests. Adds "MergeTrailers" directive to restore legacy
  behavior [bnc#871310], [CVE-2013-5704].

- added httpd-2.4.x-bnc909715-CVE-2014-8109-mod_lua_handling_of_\
  Require_line.patch that fixes handling of the Require line when
  a LuaAuthzProvider is  used in multiple Require directives with
  different arguments [bnc#909715], [CVE-2014-8109].

OBS-URL: https://build.opensuse.org/request/show/265358
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=424
2014-12-19 01:04:03 +00:00
Cristian Rodríguez
07869f95a0 Accepting request 264210 from home:pgajdos
- fixed start at boot for ssl and encrypted key [bnc#792309]

OBS-URL: https://build.opensuse.org/request/show/264210
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=423
2014-12-08 05:06:40 +00:00
bb240f4d27 Accepting request 263394 from home:Ledest:bashisms
fix shebang in start_apache2 script that contains bash-specific constructions

OBS-URL: https://build.opensuse.org/request/show/263394
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=422
2014-12-04 09:37:13 +00:00
Roman Drahtmueller
f64d31d835 Accepting request 263227 from home:pgajdos
- small improvement of ssl instructions [bnc#891813]

OBS-URL: https://build.opensuse.org/request/show/263227
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=421
2014-11-27 13:45:11 +00:00
bf5cc252d9 Accepting request 260627 from home:kstreitova:branches:Apache
- httpd-2.1.9-apachectl.dif renamed to httpd-2.4.10-apachectl.patch 
  and updated (fixed bashism).

OBS-URL: https://build.opensuse.org/request/show/260627
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=420
2014-11-11 17:06:29 +00:00
40b2a9f983 Accepting request 260414 from home:Ledest:misc
fix bashisms in post scripts

OBS-URL: https://build.opensuse.org/request/show/260414
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=419
2014-11-10 10:08:27 +00:00
Roman Drahtmueller
951efc68a1 Accepting request 260263 from home:kstreitova:branches:Apache
- added httpd-2.4.10-check_null_pointer_dereference.patch to avoid
  a crash when Content-Type has an empty value [bnc#899836], 
  CVE-2014-3581

OBS-URL: https://build.opensuse.org/request/show/260263
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=418
2014-11-07 16:56:25 +00:00
a751749ac2 Accepting request 260088 from home:Ledest:misc
fix bashism in apache2ctl script: replace 'source' with '.'

OBS-URL: https://build.opensuse.org/request/show/260088
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=417
2014-11-07 15:23:57 +00:00
Cristian Rodríguez
5494e05306 Accepting request 259172 from home:elvigia:branches:Apache
- httpd-event-deadlock.patch:  Fix worker-listener 
  deadlock in graceful restart.

OBS-URL: https://build.opensuse.org/request/show/259172
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=416
2014-10-31 17:05:48 +00:00
Tomáš Chvátal
9c7ab77596 Accepting request 259117 from home:pgajdos:apache2
OBS-URL: https://build.opensuse.org/request/show/259117
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=415
2014-10-31 09:50:04 +00:00
Tomáš Chvátal
e906ab12cb Accepting request 258991 from home:pgajdos:apache2
OBS-URL: https://build.opensuse.org/request/show/258991
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=414
2014-10-30 14:33:56 +00:00
89a0424a96 Accepting request 256892 from home:pgajdos
- drop (turned off) itk mpm spec file code as mpm-itk is now 
  provided as a separate module, not via patch 
  (see http://mpm-itk.sesse.net/ and [bnc#851229])

OBS-URL: https://build.opensuse.org/request/show/256892
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=413
2014-10-16 13:07:28 +00:00
5700ed3d4b Accepting request 255745 from home:pgajdos
- enable mod_imagemap [bnc#866366]

OBS-URL: https://build.opensuse.org/request/show/255745
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=412
2014-10-13 16:20:07 +00:00
691a4e4389 Accepting request 254957 from home:pgajdos
- fixed link to Apache quickstart [bnc#624681], [bnc#789806]

OBS-URL: https://build.opensuse.org/request/show/254957
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=411
2014-10-10 13:06:23 +00:00
9fe47c8d91 - the following unused patches were removed from the package:
* apache2-mod_ssl_npn.patch
  * httpd-2.0.49-log_server_status.dif

OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=410
2014-10-06 12:46:43 +00:00
9c9e69c324 Accepting request 253625 from home:pgajdos
- 700 permissions for /usr/sbin/apache2-systemd-ask-pass and
  /usr/sbin/start_apache2 [bnc#851627]

OBS-URL: https://build.opensuse.org/request/show/253625
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=409
2014-10-06 12:08:39 +00:00
94c97faa9a - allow only TCP ports in Yast2 firewall files
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=408
2014-09-29 08:30:32 +00:00
163b7694ca Accepting request 252743 from home:lnussel:branches:Apache
- move most ssl options to ssl-global.conf. There is usually no need
  for every vhost to re-define the ciphers for example (bnc#865582).
  Drop some commented entries that only lead to confusion.

OBS-URL: https://build.opensuse.org/request/show/252743
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=407
2014-09-29 08:10:08 +00:00
4b31aea044 Accepting request 252506 from home:pgajdos
- more 2.2 -> 2.4 [bnc#862058]

OBS-URL: https://build.opensuse.org/request/show/252506
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=406
2014-09-26 15:16:44 +00:00
e897f2962b Accepting request 252298 from home:pgajdos
- ServerSignature=Off and ServerTokens=Prod by request from 
  security team [bnc#716495]

- fix documentation links 2.2 -> 2.4 [bnc#888163] (internal)

OBS-URL: https://build.opensuse.org/request/show/252298
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=405
2014-09-25 15:29:49 +00:00
Cristian Rodríguez
b0906927d0 Accepting request 241778 from home:elvigia:branches:Apache
- Update package Summary and Description. 
- version 2.4.10
* SECURITY: CVE-2014-0117 (cve.mitre.org)
* SECURITY: CVE-2014-3523 (cve.mitre.org)
* SECURITY: CVE-2014-0226 (cve.mitre.org)
* SECURITY: CVE-2014-0118 (cve.mitre.org)
* SECURITY: CVE-2014-0231 (cve.mitre.org)
* Multiple bugfixes to mod_ssl, mod_cache, mod_deflate, mod_lua
* mod_proxy_fcgi supports unix sockets.

OBS-URL: https://build.opensuse.org/request/show/241778
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=404
2014-07-23 20:22:18 +00:00