]> git.pld-linux.org Git - packages/apache1.git/blobdiff - apache1.spec
use archive source url
[packages/apache1.git] / apache1.spec
index a493b47aae0bbdf0037b54682e2bb60cafa8a3d7..e2500e179b089396be95abb9d8561909b3c578ca 100644 (file)
@@ -1,13 +1,13 @@
-# TODO:
-# - update errordocs to use MultiViews (like Apache 2) instead of dual language pages
-# - replace linux_pwd.gif by e.g. http://pl.docs.pld-linux.org/zrzuty_ekr/logo_04.png
-# - then drop Source3
+# TODO
+# - add -D_FILE_OFFSET_BITS=64 somewhere to get >2GB logfiles support
+# - 1.3.42 is last formal release, patches _may_ be available in the fugture in
+#   http://www.apache.org/dist/httpd/patches/
 #
 # Conditional build:
 %bcond_with    rewrite_ldap    # enable ldap map support for mod_rewrite (alpha)
 %bcond_without ipv6            # disable IPv6 support
 %bcond_without lingerd         # don't build lingerd support
-#
+
 %include       /usr/lib/rpm/macros.perl
 Summary:       The most widely used Web server on the Internet
 Summary(cs.UTF-8):     Nejrozšířenější WWW server v Internetu
@@ -31,17 +31,18 @@ Summary(tr.UTF-8):  Lider WWW tarayıcı
 Summary(uk.UTF-8):     Найпопулярніший Web-Server
 Summary(zh_CN.UTF-8):  Internet 上应用最广泛的 Web 服务程序。
 Name:          apache1
-Version:       1.3.41
-Release:       2
-License:       Apache Group
-Group:         Networking/Daemons
-Source0:       http://www.apache.org/dist/httpd/apache_%{version}.tar.gz
-# Source0-md5: f7f00b635243f03a787ca9f4d4c85651
+Version:       1.3.42
+Release:       10
+License:       Apache v2.0
+Group:         Networking/Daemons/HTTP
+Source0:       http://archive.apache.org/dist/httpd/apache_%{version}.tar.gz
+# Source0-md5: b76695ec68f9f8b512c9415fc69c1019
 Source1:       %{name}.init
 Source2:       %{name}.logrotate
-Source3:       apache-icons.tar.gz
-# Source3-md5: 2b085cbc19fd28536dc883f0b864cd83
-Source4:       %{name}.sysconfig
+Source3:       %{name}.sysconfig
+# http://www.iagora.com/about/software/lingerd/
+Source4:       http://images.iagora.com/media/software/lingerd/lingerd-0.94.tar.gz
+# Source4-md5: 6401015bafad4f44fdf8a9a1795d9258
 Source5:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/apache-non-english-man-pages.tar.bz2
 # Source5-md5: 74ff6e8d8a7b365b48ed10a52fbeb84e
 Source6:       %{name}-defaultindex.conf
@@ -63,10 +64,8 @@ Source21:    %{name}-mod_cern_meta.conf
 Source22:      %{name}-mod_setenvif.conf
 Source23:      %{name}-mod_vhost_alias.conf
 Source24:      %{name}-errordocs.conf
-# http://www.iagora.com/about/software/lingerd/
-Source25:      http://images.iagora.com/media/software/lingerd/lingerd-0.94.tar.gz
-# Source25-md5:        6401015bafad4f44fdf8a9a1795d9258
-Source26:      %{name}-manual.conf
+Source25:      %{name}-manual.conf
+Source26:      %{name}.tmpfiles
 Patch0:                %{name}-PLD.patch
 Patch1:                %{name}-suexec.patch
 Patch2:                %{name}-errordocs.patch
@@ -112,6 +111,8 @@ Patch39:    %{name}-security_htdigest_local_buffer_overflow.patch
 Patch40:       %{name}-security_htpasswd_user_buffer_overflow.patch
 Patch41:       %{name}-security_check_forensic_tempfiles.patch
 Patch42:       %{name}-lingerd.patch
+Patch43:       %{name}-getline.patch
+Patch44:       %{name}-format-security.patch
 URL:           http://httpd.apache.org/
 BuildRequires: bash
 BuildRequires: db-devel >= 4.1
@@ -120,7 +121,7 @@ BuildRequires:      mm-devel >= 1.3.0
 BuildRequires: perl-base
 BuildRequires: rpm-build >= 4.4.0
 BuildRequires: rpm-perlprov
-BuildRequires: rpmbuild(macros) >= 1.268
+BuildRequires: rpmbuild(macros) >= 1.647
 Requires:      %{name}-mod_access = %{version}-%{release}
 Requires:      %{name}-mod_alias = %{version}-%{release}
 Requires:      %{name}-mod_dir = %{version}-%{release}
@@ -134,6 +135,7 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                apxs            /usr/sbin/apxs1
 %define                httpdir         /home/services/apache
 %define                docroot         %{_datadir}/%{name}/html
+%define                errordir        %{_datadir}/%{name}/error
 %define                manualdir       %{_datadir}/%{name}/manual
 %define                cgibindir       %{_prefix}/lib/cgi-bin/%{name}
 
@@ -235,7 +237,7 @@ Internet 上最流行的 Web 服务程序。
 %package base
 Summary:       The most widely used Web server on the Internet
 Summary(pl.UTF-8):     Serwer WWW (World Wide Web)
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires(post,preun):  /sbin/chkconfig
 Requires(postun):      /usr/sbin/groupdel
 Requires(postun):      /usr/sbin/userdel
@@ -251,7 +253,6 @@ Requires:   /etc/mime.types
 Requires:      mailcap
 Requires:      psmisc >= 20.1
 Requires:      rc-scripts
-Requires:      webapps
 Provides:      %{name}(EAPI) = %{version}-%{release}
 %{?with_ipv6:Provides: apache1(ipv6)}
 %{?with_lingerd:Provides:      apache1(lingerd)}
@@ -282,7 +283,7 @@ Summary:    Apache suexec wrapper
 Summary(pl.UTF-8):     Suexec wrapper do serwera WWW Apache
 Summary(ru.UTF-8):     Apache suEXEC CGI wrapper
 Summary(uk.UTF-8):     Apache suEXEC CGI wrapper
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Obsoletes:     apache-suexec < 2.0.0
 
@@ -368,7 +369,9 @@ Podręcznik do Apache'a 1.3.x.
 Summary:       Apache 1.3.x HTTP error documents
 Summary(pl.UTF-8):     Dokumenty opisujące błędy HTTP dla Apache'a 1.3.x
 Group:         Applications/WWW
+Requires:      %{name}-mod_alias = %{version}-%{release}
 Requires:      %{name}-mod_include = %{version}-%{release}
+Requires:      %{name}-mod_negotiation = %{version}-%{release}
 
 %description errordocs
 Apache 1.3.x HTTP error documents. Currently in English and Polish
@@ -461,7 +464,7 @@ Paketet apache-devel innehåller huvudfilerna för Apache.
 %package mod_access
 Summary:       Access control based on client hostname or IP address
 Summary(pl.UTF-8):     Kontrola dostępu w oparciu o nazwę hosta lub adres IP klienta
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_access) = %{version}-%{release}
 Provides:      webserver(access)
@@ -491,7 +494,7 @@ dyrektywy Allow i Deny wpływają na siebie nawzajem.
 %package mod_actions
 Summary:       Apache module for run CGI whenever a file of a certain type is requested
 Summary(pl.UTF-8):     Moduł dla Apache'a do uruchamiania skryptów cgi
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_actions) = %{version}-%{release}
 Obsoletes:     apache-mod_actions < 2.0.0
@@ -509,7 +512,7 @@ wykonywanie skryptów przetwarzających pliki.
 %package mod_alias
 Summary:       Mapping different parts of the host filesystem in the document tree, and URL redirection
 Summary(pl.UTF-8):     Odwzorowywanie części systemu plików w drzewie dokumentów oraz przekierowywanie URL-i
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_alias) = %{version}-%{release}
 Provides:      webserver(alias)
@@ -553,7 +556,7 @@ URL-ami znajduje się w module mod_rewrite.
 %package mod_asis
 Summary:       Sending files which contain their own HTTP headers
 Summary(pl.UTF-8):     Wysyłanie plików zawierających własne nagłówki HTTP
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_asis) = %{version}-%{release}
 
@@ -583,7 +586,7 @@ typie MIME httpd/send-as-is.
 %package mod_auth
 Summary:       Apache module with user authentication using textual files
 Summary(pl.UTF-8):     Moduł uwierzytelniania użytkownika przy użyciu plików tekstowych dla Apache
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_auth) = %{version}-%{release}
 Provides:      webserver(auth)
@@ -600,7 +603,7 @@ użyciu plików tekstowych.
 %package mod_auth_anon
 Summary:       Apache module with "anonymous" user access authentication
 Summary(pl.UTF-8):     Moduł apache oferujący anonimową autoryzację użytkownia
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_auth_anon) = %{version}-%{release}
 Obsoletes:     apache-mod_auth_anon < 2.0.0
@@ -632,7 +635,7 @@ przeglądarki i umożliwienie użytkownikom współdzielenia URL-i.
 %package mod_auth_db
 Summary:       Apache module with user authentication which uses Berkeley DB files
 Summary(pl.UTF-8):     Moduł Apache'a z mechanizmem uwierzytelniania używającym plików Berkeley DB
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires(triggerpostun):       sed >= 4.0
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_auth_db) = %{version}-%{release}
@@ -649,7 +652,7 @@ uwierzytelniania, ale jako plików danych używa Berkeley DB.
 %package mod_auth_digest
 Summary:       Apache user authentication module using MD5 Digest Authentication
 Summary(pl.UTF-8):     Moduł Apache'a do uwierzytelniania metodą MD5 Digest Authentication
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_auth_digest) = %{version}-%{release}
 Obsoletes:     apache-mod_auth_digest < 2.0.0
@@ -666,7 +669,7 @@ Authentication.
 %package mod_autoindex
 Summary:       Apache module - display index of files
 Summary(pl.UTF-8):     Moduł apache do wyświetlania indeksu plików
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires(triggerpostun):       sed >= 4.0
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Requires:      %{name}-mod_alias = %{version}-%{release}
@@ -683,7 +686,7 @@ Ten pakiet dostarcza moduł autoindex, który generuje indeks plików.
 %package mod_cern_meta
 Summary:       Support for HTTP header metafiles
 Summary(pl.UTF-8):     Obsługa metaplików nagłówków HTTP
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_cern_meta) = %{version}-%{release}
 
@@ -708,7 +711,7 @@ użytkowników CERN wykorzystujących ten moduł.
 %package mod_cgi
 Summary:       Invoking CGI scripts
 Summary(pl.UTF-8):     Wywoływanie skryptów CGI
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_cgi) = %{version}-%{release}
 Provides:      webserver(cgi)
@@ -738,7 +741,7 @@ zostanie opcja ExecCGI - więcej szczegółów w dyrektywie Options.
 %package mod_define
 Summary:       Apache module - definition variables for arbitrary directives
 Summary(pl.UTF-8):     Moduł Apache'a do definiowania zmiennych
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_define) = %{version}-%{release}
 Obsoletes:     apache-mod_define < 2.0.0
@@ -754,7 +757,7 @@ zmiennych, które mogą być rozwijane w dowolnej linii dyrektywy.
 %package mod_digest
 Summary:       Older version of apache user authentication module using MD5 Digest Authentication
 Summary(pl.UTF-8):     Starsza wersja modułu apache do autoryzacji MD5
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_digest) = %{version}-%{release}
 Obsoletes:     apache-mod_digest < 2.0.0
@@ -777,7 +780,7 @@ najnowszą wersję standardu.
 %package mod_dir
 Summary:       Apache module for "trailing slash" redirects and serving directory index files
 Summary(pl.UTF-8):     Moduł oferujący przekierowania i serwowanie indeksu katalogu
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_dir) = %{version}-%{release}
 Provides:      webserver(indexfile)
@@ -794,9 +797,10 @@ udostępnianie indeksu katalogu.
 %package mod_env
 Summary:       Passing of environments to CGI scripts
 Summary(pl.UTF-8):     Przekazywanie środowiska do skryptów CGI
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_env) = %{version}-%{release}
+Provides:      webserver(setenv)
 
 %description mod_env
 This module allows for control of the environment that will be
@@ -814,9 +818,10 @@ usuwane w procesie konfiguracji.
 %package mod_expires
 Summary:       Apache module which generates Expires HTTP headers
 Summary(pl.UTF-8):     Moduł generujący nagłówki HTTP Expires
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_expires) = %{version}-%{release}
+Provides:      webserver(expires)
 Obsoletes:     apache-mod_expires < 2.0.0
 
 %description mod_expires
@@ -833,7 +838,7 @@ ważności może być ustalana w zależności od czasu modyfikacji plików
 %package mod_headers
 Summary:       Apache module allows for the customization of HTTP response headers
 Summary(pl.UTF-8):     Moduł pozwalający na modyfikację nagłówków HTTP
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_headers) = %{version}-%{release}
 Obsoletes:     apache-mod_headers < 2.0.0
@@ -851,7 +856,7 @@ usuwane.
 %package mod_imap
 Summary:       Apache module with imap-file handler
 Summary(pl.UTF-8):     Moduł Apache'a z obsługą imap-file
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_imap) = %{version}-%{release}
 Obsoletes:     apache-mod_imap < 2.0.0
@@ -868,7 +873,7 @@ programu CGI imagemap.
 %package mod_include
 Summary:       Server-parsed documents
 Summary(pl.UTF-8):     Dokumenty przetwarzane po stronie serwera
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_include) = %{version}-%{release}
 
@@ -889,7 +894,7 @@ a także ustawianie i wypisywanie zmiennych środowiskowych.
 %package mod_info
 Summary:       Apache module with comprehensive overview of the server configuration
 Summary(pl.UTF-8):     Moduł dostarczający informacji na temat serwera
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_info) = %{version}-%{release}
 Obsoletes:     apache-mod_info < 2.0.0
@@ -907,7 +912,7 @@ konfiguracyjnych.
 %package mod_log_agent
 Summary:       Logging of User Agents
 Summary(pl.UTF-8):     Logowanie nazw klientów (User Agent)
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_log_agent) = %{version}-%{release}
 
@@ -922,7 +927,7 @@ i jest niezalecany. Zamiast niego lepiej używać mod_log_config.
 %package mod_log_config
 Summary:       User-configurable logging replacement for mod_log_common
 Summary(pl.UTF-8):     Konfigurowalny logujący zamiennik dla mod_log_common
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_log_config) = %{version}-%{release}
 
@@ -956,7 +961,7 @@ każdego żądania do wielu plików.
 %package mod_log_forensic
 Summary:       Apache module for forensic logging of the requests
 Summary(pl.UTF-8):     Moduł Apache'a do logowania żądań w celu późniejszej analizy
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_log_forensic) = %{version}-%{release}
 Obsoletes:     apache-mod_log_forensic < 2.0.0
@@ -972,7 +977,7 @@ Logowanie jest wykonywane przed i po przetworzeniu żądania.
 %package mod_log_referer
 Summary:       User-configurable logging replacement for mod_log_common
 Summary(pl.UTF-8):     Konfigurowalny logujący zamiennik dla mod_log_common
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_log_referer) = %{version}-%{release}
 
@@ -987,9 +992,10 @@ i jest niezalecany. Zamiast niego lepiej używać mod_log_config.
 %package mod_mime
 Summary:       Determining document types using file extensions
 Summary(pl.UTF-8):     Określanie typów dokumentów przy użyciu rozszerzeń plików
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_mime) = %{version}-%{release}
+Provides:      webserver(mime)
 
 %description mod_mime
 This module is used to determine various bits of "meta information"
@@ -1009,7 +1015,7 @@ wewnątrz serwera.
 %package mod_mime_magic
 Summary:       Determining document types using "magic numbers"
 Summary(pl.UTF-8):     Określanie typów dokumentów przy użyciu "liczb magicznych"
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_mime_magic) = %{version}-%{release}
 
@@ -1042,7 +1048,7 @@ tylko jeśli plik magic został określony dyrektywą MimeMagicFile.
 %package mod_mmap_static
 Summary:       Apache module for mmap()ing statically configured list files
 Summary(pl.UTF-8):     Moduł służący do mmap()owania plików
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_mmap_static) = %{version}-%{release}
 Obsoletes:     apache-mod_mmap_static < 2.0.0
@@ -1059,7 +1065,7 @@ Moduł umożliwia mmap()owanie statycznie skonfigurowanych plików
 %package mod_negotiation
 Summary:       Content negotiation
 Summary(pl.UTF-8):     Negocjacja treści
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_negotiation) = %{version}-%{release}
 
@@ -1086,7 +1092,7 @@ dostępnych dokumentów. Są dwie różne implementacje.
 %package mod_proxy
 Summary:       Apache module with Web proxy
 Summary(pl.UTF-8):     Moduł dodający obsługę serwera proxy
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires(triggerpostun):       sed >= 4.0
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_proxy) = %{version}-%{release}
@@ -1109,9 +1115,10 @@ innymi modułami proxy dla tych i innych protokołów. Zawiera łatę z
 %package mod_rewrite
 Summary:       Apache module with rule-based engine for rewrite requested URLs on the fly
 Summary(pl.UTF-8):     Moduł do ,,przepisywania'' adresów URL w locie
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_rewrite) = %{version}-%{release}
+Provides:      webserver(rewrite)
 Obsoletes:     apache-mod_rewrite < 2.0.0
 
 %description mod_rewrite
@@ -1124,7 +1131,7 @@ Moduł oferujący możliwość ,,przepisywania'' adresów URL w locie.
 %package mod_setenvif
 Summary:       Set environment variables based on client information
 Summary(pl.UTF-8):     Ustawianie zmiennych środowiskowych w oparciu o informacje o kliencie
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_setenvif) = %{version}-%{release}
 
@@ -1143,7 +1150,7 @@ części serwera do podejmowania decyzji o podejmowanych akcjach.
 %package mod_speling
 Summary:       Automatically correct minor typos in URLs
 Summary(pl.UTF-8):     Automatyczne poprawianie pomniejszych literówek w URL-ach
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_speling) = %{version}-%{release}
 
@@ -1172,7 +1179,7 @@ dla tej strategii.
 %package mod_status
 Summary:       Server status report module for apache
 Summary(pl.UTF-8):     Moduł dostarczający informacje statystyczne o serwerze
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires(triggerpostun):       sed >= 4.0
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_status) = %{version}-%{release}
@@ -1194,7 +1201,7 @@ przeglądarkę).
 %package mod_unique_id
 Summary:       Apache module which provides a magic token for each request
 Summary(pl.UTF-8):     Moduł nadający każdemu żądaniu unikalny token
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_unique_id) = %{version}-%{release}
 Obsoletes:     apache-mod_unique_id < 2.0.0
@@ -1217,7 +1224,7 @@ UNIQUE_ID.
 %package mod_userdir
 Summary:       User home directories
 Summary(pl.UTF-8):     Katalogi domowe użytkowników
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_userdir) = %{version}-%{release}
 
@@ -1230,7 +1237,7 @@ Ten moduł dostarcza obsługę katalogów specyficznych dla uzytkownika.
 %package mod_usertrack
 Summary:       Apache module for user tracking using cookies
 Summary(pl.UTF-8):     Moduł służący do śledzenia użytkowników przy użyciu ciasteczek
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_usertrack) = %{version}-%{release}
 Obsoletes:     apache-mod_usertrack < 2.0.0
@@ -1248,7 +1255,7 @@ wiele plików logów.
 %package mod_vhost_alias
 Summary:       Apache module for dynamically configured mass virtual hosting
 Summary(pl.UTF-8):     Moduł dodający obsługę hostów wirtualnych
-Group:         Networking/Daemons
+Group:         Networking/Daemons/HTTP
 Requires(triggerpostun):       sed >= 4.0
 Requires:      %{name}(EAPI) = %{version}-%{release}
 Provides:      apache(mod_vhost_alias) = %{version}-%{release}
@@ -1296,7 +1303,7 @@ Two cgi test/demo programs: test-cgi and print-env.
 Dwa programy testowe/przykładowe cgi: test-cgi and print-env.
 
 %prep
-%setup -q -n apache_%{version} %{?with_lingerd:-a25}
+%setup -q -n apache_%{version} %{?with_lingerd:-a4}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -1340,13 +1347,14 @@ Dwa programy testowe/przykładowe cgi: test-cgi and print-env.
 %patch39 -p2
 %patch40 -p2
 %patch41 -p2
-
 %if %{with lingerd}
 mkdir -p lingerd
 cp -a lingerd-*/{README,TUNING,LICENSE,TODO,ChangeLog} lingerd
 cp -a lingerd-*/{apache-1.3/ap_lingerd.c,li_config.h} src/main
 %patch42 -p1
 %endif
+%patch43 -p1
+%patch44 -p1
 
 # make manual link with full path
 %{__sed} -i -e 's,href="manual/,href="/manual/,i' htdocs/index.html.*
@@ -1397,25 +1405,26 @@ rm -f src/modules/standard/mod_rewrite.so
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,sysconfig} \
-       $RPM_BUILD_ROOT%{_sysconfdir}/{webapps.d,conf.d} \
+       $RPM_BUILD_ROOT%{_sysconfdir}/{webapps.d,conf.d,vhosts.d} \
        $RPM_BUILD_ROOT%{httpdir}/html \
        $RPM_BUILD_ROOT%{_libexecdir} \
-       $RPM_BUILD_ROOT/var/{log/{apache,archive/apache},run/apache}
+       $RPM_BUILD_ROOT/var/{log/{apache,archive/apache},run/apache} \
+       $RPM_BUILD_ROOT%{systemdtmpfilesdir}
 
 %{__make} -j1 install-quiet \
        root=$RPM_BUILD_ROOT
 
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache1
+cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/apache1
 sed -e 's,/usr/lib,%{_libdir},g' %{SOURCE1} > $RPM_BUILD_ROOT/etc/rc.d/init.d/apache
-install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/apache
+cp -p %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/apache
 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 mv $RPM_BUILD_ROOT%{_mandir}/hu/man8/{httpd,apache}.8
 mv $RPM_BUILD_ROOT%{_mandir}/pl/man8/{httpd,apache}.8
 
 touch $RPM_BUILD_ROOT/var/log/apache/{access,error,agent,referer}_log
 
-install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/errordocs
-cp -a errordocs/* $RPM_BUILD_ROOT%{_datadir}/%{name}/errordocs
+install -d $RPM_BUILD_ROOT%{errordir}
+cp -a errordocs/* $RPM_BUILD_ROOT%{errordir}
 
 mv $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf conf/apache.conf.dist
 cp -a %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
@@ -1441,7 +1450,7 @@ cp -a %{SOURCE15} $CFG/16_mod_userdir.conf
 
 cp -a %{SOURCE8}       $CFG/20_common.conf
 cp -a %{SOURCE6}       $CFG/30_defaultindex.conf
-cp -a %{SOURCE26}      $CFG/30_manual.conf
+cp -a %{SOURCE25}      $CFG/30_manual.conf
 
 cp -a %{SOURCE23}      $CFG/20_mod_vhost_alias.conf
 cp -a %{SOURCE9}       $CFG/25_mod_status.conf
@@ -1464,8 +1473,8 @@ echo "LoadModule digest_module    modules/mod_digest.so" > $CFG/74_mod_digest.conf
 echo "LoadModule log_forensic_module   modules/mod_log_forensic.so" > $CFG/75_mod_log_forensic.conf
 echo "LoadModule mmap_static_module    modules/mod_mmap_static.so" > $CFG/76_mod_mmap_static.conf
 cp -a %{SOURCE13} $CFG/77_mod_info.conf
-cp -a %{SOURCE24}      $CFG/80_errordocs.conf
-cp -a %{SOURCE17}      $CFG/80_mod_alias.conf
+cp -a %{SOURCE24} $CFG/80_errordocs.conf
+cp -a %{SOURCE17} $CFG/80_mod_alias.conf
 # cgi_test: create config file with ScriptAlias
 cat << 'EOF' > $CFG/09_cgi_test.conf
 ScriptAlias /cgi-bin/printenv %{cgibindir}/printenv
@@ -1484,6 +1493,8 @@ ln -s ../../var/log/apache $RPM_BUILD_ROOT%{_sysconfdir}/logs
 
 ln -sf %{_bindir}/htpasswd $RPM_BUILD_ROOT%{_sbindir}
 
+cp -p %{SOURCE26} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
+
 # Not packaged.
 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/*.default
 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/{access,srm}.conf
@@ -1493,8 +1504,6 @@ rm -f $RPM_BUILD_ROOT%{_libexecdir}/mod_{auth_dbm,example}.so
 rm -f $RPM_BUILD_ROOT%{_mandir}/README*
 
 rm -rf $RPM_BUILD_ROOT%{_datadir}/apache-icons
-install -d $RPM_BUILD_ROOT%{_datadir}/apache-icons
-%{__tar} -zxf %{SOURCE3} --strip-components=1 -C $RPM_BUILD_ROOT%{_datadir}/apache-icons
 
 # Not for our os or for older apache
 rm $RPM_BUILD_ROOT%{manualdir}/{cygwin,ebcdic,install-{z,}tpf,man-template}.html
@@ -1913,15 +1922,16 @@ fi
 
 %files base
 %defattr(644,root,root,755)
-%doc ABOUT_APACHE src/CHANGES README
+%doc ABOUT_APACHE src/CHANGES README %{?with_ipv6:README.v6}
 %doc conf/mime.types conf/apache.conf.dist
 %{?with_lingerd:%doc lingerd}
 %attr(754,root,root) /etc/rc.d/init.d/apache
-%attr(750,root,root) %dir %{_sysconfdir}
+%attr(751,root,root) %dir %{_sysconfdir}
 %{_sysconfdir}/modules
 %{_sysconfdir}/logs
 %attr(750,root,root) %dir %{_sysconfdir}/conf.d
 %attr(750,root,root) %dir %{_sysconfdir}/webapps.d
+%attr(750,root,root) %dir %{_sysconfdir}/vhosts.d
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_common.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/apache
@@ -1933,6 +1943,7 @@ fi
 %endif
 %attr(755,root,root) %{_bindir}/checkgid
 %attr(755,root,root) %{_sbindir}/apache
+%{systemdtmpfilesdir}/%{name}.conf
 %dir %attr(1773,root,http) /var/run/apache
 %{_mandir}/man8/apache.8*
 %lang(hu) %{_mandir}/hu/man8/apache.8*
@@ -2273,7 +2284,11 @@ fi
 %files errordocs
 %defattr(644,root,root,755)
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_errordocs.conf
-%{_datadir}/%{name}/errordocs
+%dir %{errordir}
+%{errordir}/HEADER.shtml
+%{errordir}/FOOT.shtml
+%{errordir}/*.shtml.en
+%lang(pl) %{errordir}/*.shtml.po
 
 %files suexec
 %defattr(644,root,root,755)
@@ -2338,7 +2353,6 @@ fi
 %defattr(644,root,root,755)
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_autoindex.conf
 %attr(755,root,root) %{_libexecdir}/mod_autoindex.so
-%{_datadir}/apache-icons/*.gif
 
 %files mod_cern_meta
 %defattr(644,root,root,755)
This page took 0.193291 seconds and 4 git commands to generate.