Commit Graph

174 Commits

Author SHA256 Message Date
268b796e9e - removed note about ulimits in sysconfig file [bsc#976711]
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=475
2016-05-05 07:04:28 +00:00
634cc9df6a - do not build mod_http2 for 13.2
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=474
2016-05-02 07:46:54 +00:00
230a8ed7fa Accepting request 387252 from home:elvigia:branches:Apache
- Update to version 2.4.20 (2.4.19 was never released)
* Drop httpd-2.4.18-missing-semicolon.patch now upstream
- Big changelog available, see:
  http://www.apache.org/dist/httpd/CHANGES_2.4.20 for details.

OBS-URL: https://build.opensuse.org/request/show/387252
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=473
2016-04-11 06:22:40 +00:00
583ca3ed67 Accepting request 383961 from home:pgajdos:apache2
- enable authnz_fcgi module

OBS-URL: https://build.opensuse.org/request/show/383961
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=472
2016-04-07 07:41:41 +00:00
f355b09382 - fix build for SLE_11_SP4:
+ httpd-2.4.18-missing-semicolon.patch

OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=471
2015-12-14 16:45:30 +00:00
ab50a09317 - Update to version 2.4.18
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=470
2015-12-14 08:03:32 +00:00
3e530c71a2 Accepting request 348489 from home:elvigia:branches:Apache
- Update to version 2.44.18 
* drop 2.4.17-protocols.patch in upstream.
- Change list too long to mention here see: 
  http://www.apache.org/dist/httpd/CHANGES_2.4.18 for details.

OBS-URL: https://build.opensuse.org/request/show/348489
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=469
2015-12-14 08:02:47 +00:00
d02cd192bf Accepting request 347820 from home:elvigia:branches:Apache
- systemd: Set TasksMax=infinity for current systemd releases.
  The default limit of 512 is too small and prevents the creation of 
  new server processes. Apache has its own runtime/harcoded limits.

OBS-URL: https://build.opensuse.org/request/show/347820
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=468
2015-12-08 12:53:06 +00:00
9e06c6a8de Accepting request 347287 from home:pgajdos
- fix crash when for -X
  + httpd-2.4.17-debug-crash.patch

- add a note: FollowSymLinks or SymLinksIfOwnerMatch is neccessary
  for RewriteRule in given dir [bnc#955701]

OBS-URL: https://build.opensuse.org/request/show/347287
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=467
2015-12-03 10:25:59 +00:00
e7ee2b1556 Accepting request 343856 from home:pgajdos
- restart apache once after the rpm or zypper transaction 
  [bnc#893659]
- drop some old compat code from %post

OBS-URL: https://build.opensuse.org/request/show/343856
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=466
2015-11-11 14:08:56 +00:00
Cristian Rodríguez
a0baaeb8ec Accepting request 342583 from home:elvigia:branches:Apache
- 2.4.17-protocols.patch from upstream http2 module:
* master conn_rec* addition to conn_rec
* improved ALPN and Upgrade handling
* allowing requests for servers whose TLS configuration is compatible
  to the SNI server ones
* disabling TLS renegotiation for slave connections

OBS-URL: https://build.opensuse.org/request/show/342583
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=465
2015-11-06 01:03:35 +00:00
225f5532b5 Accepting request 342350 from home:pgajdos
- LogLevel directive into correct config file, thanks Michael Calmer 
  for the fix [bsc#953329]

OBS-URL: https://build.opensuse.org/request/show/342350
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=464
2015-11-05 08:31:34 +00:00
81e2c05b71 Accepting request 340929 from home:pgajdos
- do not build mod_http2 for older distros than 13.2 for now (nghttp2 
  does not build there)

- Include directives really into /etc/apache2/sysconfig.d/include.conf,
  fix from Erik Wegner [bsc#951901]

OBS-URL: https://build.opensuse.org/request/show/340929
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=463
2015-10-26 09:36:35 +00:00
a804f8f382 Accepting request 340178 from home:pgajdos
- gensslcert: CN now defaults to `hostname -f` [bnc#949766] 
  (internal), fix help [bnc#949771] (internal)

OBS-URL: https://build.opensuse.org/request/show/340178
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=462
2015-10-26 08:39:01 +00:00
5153dfbe10 Accepting request 339571 from home:elvigia:branches:Apache
-  Update to 2.4.17
- Enable mod_http2/ BuildRequire nghttp2
- MPMs: Support SO_REUSEPORT to create multiple duplicated listener
  records for scalability
- mod_ssl: Support compilation against libssl built with OPENSSL_NO_SSL3
- For more changes see: http://www.apache.org/dist/httpd/CHANGES_2.4.17

OBS-URL: https://build.opensuse.org/request/show/339571
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=461
2015-10-19 06:18:33 +00:00
f75ecd3daa Accepting request 338023 from home:pgajdos
- start_apache2: reintroduce sysconfig.d, include it on
  command line (not in httpd.conf) instead of individual directives
  [bnc#949434] (internal), [bnc#941331]

OBS-URL: https://build.opensuse.org/request/show/338023
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=460
2015-10-13 11:37:24 +00:00
03bf97c804 Accepting request 322437 from home:Andreas_Schwab:Factory
- Fixup libdir in installed files

OBS-URL: https://build.opensuse.org/request/show/322437
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=459
2015-08-13 14:24:27 +00:00
f969280a56 Accepting request 321967 from home:kstreitova:branches:Apache
- fix Logjam vulnerability (follows the https://weakdh.org/sysadmin.html guide)
  Change SSLCipherSuite cipherstring to disable export cipher suites
  and deploy Ephemeral Elliptic-Curve Diffie-Hellman (ECDHE) ciphers.
  Adjust 'gensslcert' script to generate a strong and unique Diffie
  Hellman Group and append it to the server certificate file
  [bnc#931723], [CVE-2015-4000]

OBS-URL: https://build.opensuse.org/request/show/321967
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=458
2015-08-12 07:21:37 +00:00
2e2a6b9dc1 Accepting request 319195 from home:pgajdos:apache2
- add reference upstream bug#58188 along httpd-2.4.12-lua-5.2.patch

OBS-URL: https://build.opensuse.org/request/show/319195
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=457
2015-08-03 15:18:57 +00:00
e357708a58 Accepting request 317647 from home:kstreitova:branches:Apache
- update to 2.4.16
  * changes http://www.apache.org/dist/httpd/CHANGES_2.4.16
  * remove the following patches (fixed in 2.4.16)
      * httpd-2.4.x-mod_lua_websocket_DoS.patch
      * httpd-2.4.12-CVE-2015-0253.patch
  * update httpd-2.4.12-lua-5.2.patch

OBS-URL: https://build.opensuse.org/request/show/317647
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=456
2015-07-22 10:42:42 +00:00
a4429e9aee Accepting request 317328 from home:MargueriteSu:branches:multimedia:libs
- add patch: httpd-2.4.12-lua-5.2.patch
  * lua_dump introduced a new strip option in 5.3, set it to 0 
    to get the old behavior
  * luaL_register was deprecated in 5.2, use luaL_setfuncs and
    luaL_newlib instead
  * luaL_optint was deprecated in 5.3, use luaL_optinteger instead
  * lua_strlen and lua_objlen wad deprecated in 5.2, use lua_rawlen
    instead

OBS-URL: https://build.opensuse.org/request/show/317328
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=455
2015-07-19 20:54:23 +00:00
522378d91b Accepting request 317068 from home:pgajdos:apache2
- change Provides: from suse_maintenance_mmn = # to 
  suse_maintenance_mmn_#

- apache2 Suggests:, not Recommends: apache2-prefork; that means
  for example, that `zypper in apache2-worker` will not pull 
  apache2-prefork also
- installing /usr/sbin/httpd link:
  * do not try to install it in '%post <MPM>' when apache2 (which 
    includes /usr/share/apache2/script-helpers) is not installed 
    yet (fixes installation on 11sp3)
  * install it in '%post' if apache2 is installed after 
    apache2-<MPM> to be sure it is there

OBS-URL: https://build.opensuse.org/request/show/317068
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=454
2015-07-16 10:47:20 +00:00
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