]>
Commit | Line | Data |
---|---|---|
a62be9f3 ER |
1 | # TODO |
2 | # - mod_caps uses uname -r for detection | |
ee1ec582 | 3 | # - don't use internal libltdl |
b4653673 | 4 | # - package contrib/ftp* perl scripts. |
a3cd1656 | 5 | # |
16865efe | 6 | # Conditional build: |
2e58659a | 7 | %bcond_without pam # disable PAM support |
8 | %bcond_without ipv6 # disable IPv6 and TCPD support | |
9 | %bcond_without ssl # disbale TLS/SSL support | |
722bdd1f | 10 | %bcond_without ldap # disable LDAP support |
11 | %bcond_without mysql # disable MySQL support | |
12 | %bcond_without pgsql # disable PostgreSQL support | |
13 | %bcond_without quotafile # disable quota file support | |
14 | %bcond_without quotaldap # disable quota ldap support | |
15 | %bcond_without quotamysql # disable quota mysql support | |
16 | %bcond_without quotapgsql # disable quota pgsql support | |
16865efe | 17 | # |
3fd10053 JR |
18 | %define mod_clamav_version 0.11rc |
19 | ||
060127a7 | 20 | Summary: PROfessional FTP Daemon with apache-like configuration syntax |
8529003f ER |
21 | Summary(es.UTF-8): Servidor FTP profesional, con sintaxis de configuración semejante a la del apache |
22 | Summary(pl.UTF-8): PROfesionalny serwer FTP | |
23 | Summary(pt_BR.UTF-8): Servidor FTP profissional, com sintaxe de configuração semelhante à do apache | |
24 | Summary(zh_CN.UTF-8): 易于管理的,安全的 FTP 服务器 | |
060127a7 | 25 | Name: proftpd |
c6226f44 | 26 | Version: 1.3.5 |
c4bfeba3 | 27 | Release: 1 |
e4b41e2a | 28 | Epoch: 2 |
372155e4 | 29 | License: GPL v2+ |
89efc142 | 30 | Group: Networking/Daemons |
c4bfeba3 | 31 | Source0: ftp://ftp.proftpd.org/distrib/source/%{name}-%{version}.tar.gz |
c6226f44 | 32 | # Source0-md5: aff1bff40e675244d72c4667f203e5bb |
3fd10053 JR |
33 | Source1: https://secure.thrallingpenguin.com/redmine/attachments/download/1/mod_clamav-%{mod_clamav_version}.tar.gz |
34 | # Source1-md5: 42e560ec0bd5964e13fad1b2bb7afe21 | |
35 | Source2: %{name}.conf | |
f2119458 | 36 | Source3: ftp.pamd |
9a9f906b | 37 | Source4: %{name}.inetd |
15a3b9cf JR |
38 | Source5: %{name}.sysconfig |
39 | Source6: %{name}.init | |
372155e4 | 40 | Source7: ftpusers.tar.bz2 |
87645069 | 41 | # Source7-md5: 76c80b6ec9f4d079a1e27316edddbe16 |
a62be9f3 | 42 | Source9: %{name}-mod_pam.conf |
1af975e5 | 43 | Source10: %{name}-mod_tls.conf |
813c3994 | 44 | Source11: %{name}-anonftp.conf |
86dc1cff | 45 | Source12: %{name}-mod_clamav.conf |
48217a3f | 46 | Source13: %{name}.tmpfiles |
32ba901e | 47 | Patch0: %{name}-paths.patch |
48 | Patch1: %{name}-noautopriv.patch | |
49 | Patch2: %{name}-wtmp.patch | |
50 | Patch3: %{name}-pool.patch | |
dfe8b502 | 51 | URL: http://www.proftpd.org/ |
d13a2fd3 | 52 | BuildRequires: acl-devel |
16865efe | 53 | BuildRequires: autoconf |
69a15f0d | 54 | BuildRequires: automake |
d13a2fd3 | 55 | BuildRequires: libcap-devel |
3a404937 | 56 | BuildRequires: libstdc++-devel |
16865efe | 57 | BuildRequires: libwrap-devel |
1dba37cb | 58 | %if %{with mysql} || %{with quotamysql} |
59 | BuildRequires: mysql-devel | |
60 | %endif | |
cb7b7049 | 61 | BuildRequires: ncurses-devel |
1dba37cb | 62 | %if %{with ldap} || %{with quotaldap} |
ee1ec582 | 63 | BuildRequires: openldap-devel |
1dba37cb | 64 | %endif |
af998dea | 65 | %{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d} |
eb09e120 | 66 | %{?with_pam:BuildRequires: pam-devel} |
1dba37cb | 67 | %if %{with pgsql} || %{with quotapgsql} |
68 | BuildRequires: postgresql-devel | |
69 | %endif | |
af998dea | 70 | BuildRequires: rpmbuild(macros) >= 1.268 |
d5382fca | 71 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
12250d98 | 72 | |
acb6a758 | 73 | %define _sysconfdir /etc/ftpd |
86e5ce30 | 74 | %define _localstatedir /var/run |
a62be9f3 | 75 | %define _libexecdir %{_prefix}/%{_lib}/%{name} |
3531a682 | 76 | |
12250d98 | 77 | %description |
a7f94b1a | 78 | ProFTPD is a highly configurable FTP daemon for Unix and Unix-like |
3a652411 ER |
79 | operating systems. ProFTPD is designed to be somewhat of a "drop-in" |
80 | replacement for wu-ftpd. Full online documentation is available at | |
81 | <http://www.proftpd.org/>, including a server configuration directive | |
82 | reference manual. | |
83 | ||
840f54f1 | 84 | %description -l es.UTF-8 |
3a652411 | 85 | ProFTPD es un servidor FTP altamente configurable para sistemas |
a7f94b1a | 86 | operativos Unix. Está proyectado para ser un substituto directo al |
840f54f1 | 87 | wu-ftpd. La documentación completa está disponible en |
3a652411 | 88 | <http://www.proftpd.org/>, incluido el manual de referencia para las |
840f54f1 | 89 | directivas de configuración del servidor. |
3a652411 | 90 | |
840f54f1 JR |
91 | %description -l pl.UTF-8 |
92 | ProFTPD jest wysoce konfigurowalnym serwerem FTP dla systemów Unix. | |
93 | ProFTPD jest robiony jako bezpośredni zamiennik wu-ftpd. Pełna | |
94 | dokumentacja jest dostępna on-line pod <http://www.proftpd.org/> | |
95 | włącznie z dokumentacją dotyczącą konfigurowania. | |
3a652411 | 96 | |
840f54f1 JR |
97 | %description -l pt_BR.UTF-8 |
98 | O ProFTPD é um servidor FTP altamente configurável para sistemas | |
a7f94b1a | 99 | operacionais Unix. |
3a652411 | 100 | |
840f54f1 JR |
101 | É projetado para ser um substituto direto para o wu-ftpd. A |
102 | documentação completa está disponível em <http://www.proftpd.org/>, | |
103 | incluindo o manual de referência para as diretivas de configuração do | |
3a652411 | 104 | servidor. |
0e899110 ER |
105 | |
106 | %package common | |
107 | Summary: PROfessional FTP Daemon with apache-like configuration syntax - common files | |
89efc142 TP |
108 | Summary(pl.UTF-8): PROfesionalny serwer FTP - wspólne pliki |
109 | Group: Networking/Daemons | |
0e899110 ER |
110 | Requires(post): awk |
111 | Requires(post): fileutils | |
0e899110 ER |
112 | Obsoletes: proftpd < 0:1.2.2rc1-3 |
113 | ||
114 | %description common | |
a7f94b1a | 115 | ProFTPD is a highly configurable FTP daemon for Unix and Unix-like |
64843696 | 116 | operating systems. ProFTPD is designed to be somewhat of a "drop-in" |
3915e5da | 117 | replacement for wu-ftpd. Full online documentation is available at |
c4b4ddf1 | 118 | <http://www.proftpd.org/>, including a server configuration directive |
3915e5da | 119 | reference manual. |
12250d98 | 120 | |
840f54f1 | 121 | %description common -l es.UTF-8 |
a62be9f3 | 122 | ProFTPD es un servidor FTP altamente configurable para sistemas |
a7f94b1a | 123 | operativos Unix. Está proyectado para ser un substituto directo al |
840f54f1 | 124 | wu-ftpd. La documentación completa está disponible en |
a62be9f3 | 125 | <http://www.proftpd.org/>, incluido el manual de referencia para las |
840f54f1 | 126 | directivas de configuración del servidor. |
c4b4ddf1 | 127 | |
840f54f1 JR |
128 | %description common -l pl.UTF-8 |
129 | ProFTPD jest wysoce konfigurowalnym serwerem FTP dla systemów Unix. | |
130 | ProFTPD jest robiony jako bezpośredni zamiennik wu-ftpd. Pełna | |
131 | dokumentacja jest dostępna on-line pod <http://www.proftpd.org/> | |
132 | włącznie z dokumentacją dotyczącą konfigurowania. | |
0e899110 | 133 | |
840f54f1 JR |
134 | %description common -l pt_BR.UTF-8 |
135 | O ProFTPD é um servidor FTP altamente configurável para sistemas | |
a7f94b1a | 136 | operacionais Unix. |
a62be9f3 | 137 | |
840f54f1 JR |
138 | É projetado para ser um substituto direto para o wu-ftpd. A |
139 | documentação completa está disponível em <http://www.proftpd.org/>, | |
140 | incluindo o manual de referência para as diretivas de configuração do | |
a62be9f3 | 141 | servidor. |
d815f4e3 | 142 | |
15a3b9cf JR |
143 | %package inetd |
144 | Summary: inetd configs for proftpd | |
8529003f | 145 | Summary(pl.UTF-8): Pliki konfiguracyjne do użycia proftpd poprzez inetd |
89efc142 | 146 | Group: Networking/Daemons |
16865efe JB |
147 | Requires(post): fileutils |
148 | Requires(post): grep | |
8eb57af0 ER |
149 | Requires(post): sed >= 4.0 |
150 | Requires(triggerpostun): sed >= 4.0 | |
e6b0aff7 ER |
151 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
152 | Requires: rc-inetd | |
d8cfd64c | 153 | Provides: ftpserver |
af998dea | 154 | Provides: proftpd = %{epoch}:%{version}-%{release} |
d8cfd64c AF |
155 | Obsoletes: anonftp |
156 | Obsoletes: bftpd | |
157 | Obsoletes: ftpd-BSD | |
af998dea | 158 | Obsoletes: ftpserver |
79b434cd | 159 | Obsoletes: glftpd |
d8cfd64c | 160 | Obsoletes: heimdal-ftpd |
077db6cc | 161 | Obsoletes: krb5-ftpd |
d8cfd64c | 162 | Obsoletes: linux-ftpd |
c9f4d6dc | 163 | Obsoletes: muddleftpd |
af998dea | 164 | Obsoletes: proftpd-standalone |
d8cfd64c | 165 | Obsoletes: pure-ftpd |
c9f4d6dc | 166 | Obsoletes: troll-ftpd |
43f51e83 | 167 | Obsoletes: vsftpd |
d8cfd64c | 168 | Obsoletes: wu-ftpd |
0fba9130 | 169 | Conflicts: man-pages < 1.51 |
a62be9f3 | 170 | Conflicts: rpm < 4.4.2-0.2 |
15a3b9cf JR |
171 | |
172 | %description inetd | |
173 | ProFTPD configs for running from inetd. | |
174 | ||
840f54f1 | 175 | %description inetd -l pl.UTF-8 |
752e9a49 PG |
176 | Pliki konfiguracyjna ProFTPD do startowania demona poprzez inetd. |
177 | ||
15a3b9cf | 178 | %package standalone |
c65518c5 | 179 | Summary: Standalone daemon configs for proftpd |
8529003f | 180 | Summary(pl.UTF-8): Pliki konfiguracyjne do startowania proftpd w trybie standalone |
89efc142 | 181 | Group: Networking/Daemons |
16865efe JB |
182 | Requires(post): fileutils |
183 | Requires(post): grep | |
8eb57af0 | 184 | Requires(post): sed >= 4.0 |
e6b0aff7 | 185 | Requires(post,preun): /sbin/chkconfig |
8eb57af0 | 186 | Requires(triggerpostun): sed >= 4.0 |
e6b0aff7 ER |
187 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
188 | Requires: rc-scripts | |
d8cfd64c | 189 | Provides: ftpserver |
af998dea | 190 | Provides: proftpd = %{epoch}:%{version}-%{release} |
d8cfd64c AF |
191 | Obsoletes: anonftp |
192 | Obsoletes: bftpd | |
193 | Obsoletes: ftpd-BSD | |
af998dea | 194 | Obsoletes: ftpserver |
79b434cd | 195 | Obsoletes: glftpd |
d8cfd64c | 196 | Obsoletes: heimdal-ftpd |
077db6cc | 197 | Obsoletes: krb5-ftpd |
d8cfd64c | 198 | Obsoletes: linux-ftpd |
c9f4d6dc | 199 | Obsoletes: muddleftpd |
af998dea | 200 | Obsoletes: proftpd-inetd |
d8cfd64c | 201 | Obsoletes: pure-ftpd |
c9f4d6dc | 202 | Obsoletes: troll-ftpd |
43f51e83 | 203 | Obsoletes: vsftpd |
d8cfd64c | 204 | Obsoletes: wu-ftpd |
0fba9130 | 205 | Conflicts: man-pages < 1.51 |
a62be9f3 | 206 | Conflicts: rpm < 4.4.2-0.2 |
15a3b9cf JR |
207 | |
208 | %description standalone | |
209 | ProFTPD configs for running as a standalone daemon. | |
210 | ||
840f54f1 | 211 | %description standalone -l pl.UTF-8 |
d815f4e3 | 212 | Pliki konfiguracyjne ProFTPD do startowania demona w trybie |
213 | standalone. | |
752e9a49 | 214 | |
a62be9f3 ER |
215 | %package devel |
216 | Summary: Header files ProFTPD | |
8529003f | 217 | Summary(pl.UTF-8): Pliki nagłówkowe ProFTPD |
a62be9f3 | 218 | Group: Development/Libraries |
6f8e0c48 | 219 | Requires: acl-devel |
a62be9f3 ER |
220 | |
221 | %description devel | |
222 | This is the package containing the header files for ProFTPD. | |
223 | ||
840f54f1 JR |
224 | %description devel -l pl.UTF-8 |
225 | Ten pakiet zawiera pliki nagłówkowe ProFTPD | |
018e0f25 | 226 | |
e37dae10 ER |
227 | %package anonftp |
228 | Summary: Anonymous FTP config for ProFTPD | |
8529003f | 229 | Summary(pl.UTF-8): Konfiguracja anonimowego FTP dla ProFTPD |
89efc142 | 230 | Group: Networking/Daemons |
e37dae10 ER |
231 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
232 | ||
233 | %description anonftp | |
e3db86e8 JB |
234 | Anonymous FTP config for ProFTPD. |
235 | ||
840f54f1 | 236 | %description anonftp -l pl.UTF-8 |
e3db86e8 | 237 | Konfiguracja anonimowego FTP dla ProFTPD. |
e37dae10 | 238 | |
a62be9f3 ER |
239 | %package mod_auth_pam |
240 | Summary: ProFTPD PAM auth module | |
8529003f | 241 | Summary(pl.UTF-8): Moduł uwierzytelnienia PAM dla ProFTPD |
89efc142 | 242 | Group: Networking/Daemons |
a62be9f3 ER |
243 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
244 | Requires: pam >= 0.79.0 | |
245 | ||
246 | %description mod_auth_pam | |
247 | PAM authentication method for ProFTPD. | |
248 | ||
840f54f1 | 249 | %description mod_auth_pam -l pl.UTF-8 |
018e0f25 JB |
250 | Metoda uwierzytelnienia PAM dla ProFTPD. |
251 | ||
a62be9f3 ER |
252 | %package mod_ldap |
253 | Summary: ProFTPD OpenLDAP module | |
8529003f | 254 | Summary(pl.UTF-8): Moduł OpenLDAP dla ProFTPD |
89efc142 | 255 | Group: Networking/Daemons |
a62be9f3 ER |
256 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
257 | ||
258 | %description mod_ldap | |
a62be9f3 ER |
259 | mod_ldap provides LDAP authentication support for ProFTPD. It supports |
260 | many features useful in "toaster" environments such as default UID/GID | |
261 | and autocreation/autogeneration of home directories. | |
262 | ||
840f54f1 JR |
263 | %description mod_ldap -l pl.UTF-8 |
264 | mod_ldap dodaje obsługę uwierzytelnienia LDAP do ProFTPD. Obsługuje | |
265 | wiele cech przydatnych w środowiskach "tosterowych", takich jak | |
266 | domyślny UID/GID i automatyczne tworzenie/generowanie katalogów | |
018e0f25 JB |
267 | domowych. |
268 | ||
a62be9f3 ER |
269 | %package mod_quotatab |
270 | Summary: ProFTPD quotatab module | |
8529003f | 271 | Summary(pl.UTF-8): Moduł quotatab dla ProFTPD |
89efc142 | 272 | Group: Networking/Daemons |
a62be9f3 ER |
273 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
274 | ||
275 | %description mod_quotatab | |
276 | A module for managing FTP byte/file quotas via centralized tables. | |
277 | ||
840f54f1 JR |
278 | %description mod_quotatab -l pl.UTF-8 |
279 | Moduł do zarządzania ograniczeniami bajtów/plików FTP poprzez | |
018e0f25 JB |
280 | scentralizowane tabele. |
281 | ||
a62be9f3 ER |
282 | %package mod_quotatab_file |
283 | Summary: ProFTPD quotatab file module | |
8529003f | 284 | Summary(pl.UTF-8): Moduł quotatab_file dla ProFTPD |
89efc142 | 285 | Group: Networking/Daemons |
a62be9f3 ER |
286 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
287 | Requires: %{name}-mod_quotatab = %{epoch}:%{version}-%{release} | |
288 | ||
289 | %description mod_quotatab_file | |
290 | A mod_quotatab sub-module for managing quota data via file-based | |
291 | tables. | |
292 | ||
840f54f1 JR |
293 | %description mod_quotatab_file -l pl.UTF-8 |
294 | Podmoduł mod_quotatab do zarządzania danymi o ograniczeniach poprzez | |
018e0f25 JB |
295 | tabele zapisane w pliku. |
296 | ||
a62be9f3 ER |
297 | %package mod_quotatab_ldap |
298 | Summary: ProFTPD quotatab ldap module | |
8529003f | 299 | Summary(pl.UTF-8): Moduł quotatab_ldap dla ProFTPD |
89efc142 | 300 | Group: Networking/Daemons |
a62be9f3 ER |
301 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
302 | Requires: %{name}-mod_ldap = %{epoch}:%{version}-%{release} | |
303 | Requires: %{name}-mod_quotatab = %{epoch}:%{version}-%{release} | |
304 | ||
305 | %description mod_quotatab_ldap | |
306 | A mod_quotatab sub-module for obtaining quota information from an LDAP | |
307 | directory. | |
308 | ||
840f54f1 JR |
309 | %description mod_quotatab_ldap -l pl.UTF-8 |
310 | Podmoduł mod_quotatab do pobierania informacji o ograniczeniach z | |
018e0f25 JB |
311 | katalogu LDAP. |
312 | ||
a62be9f3 ER |
313 | %package mod_quotatab_sql |
314 | Summary: ProFTPD quotatab sql module | |
8529003f | 315 | Summary(pl.UTF-8): Moduł quotatab_sql dla ProFTPD |
89efc142 | 316 | Group: Networking/Daemons |
a62be9f3 ER |
317 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
318 | Requires: %{name}-mod_quotatab = %{epoch}:%{version}-%{release} | |
319 | Requires: %{name}-mod_sql = %{epoch}:%{version}-%{release} | |
320 | ||
321 | %description mod_quotatab_sql | |
322 | A mod_quotatab sub-module for managing quota data via SQL-based | |
323 | tables. | |
324 | ||
840f54f1 JR |
325 | %description mod_quotatab_sql -l pl.UTF-8 |
326 | Podmoduł mod_quotatab do zarządzania danymi o ograniczeniach poprzez | |
018e0f25 JB |
327 | tabele SQL. |
328 | ||
a62be9f3 | 329 | %package mod_ratio |
018e0f25 | 330 | Summary: ProFTPD ratio module |
8529003f | 331 | Summary(pl.UTF-8): Moduł ratio dla ProFTPD |
89efc142 | 332 | Group: Networking/Daemons |
a62be9f3 ER |
333 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
334 | ||
335 | %description mod_ratio | |
336 | Support upload/download ratios. | |
337 | ||
840f54f1 JR |
338 | %description mod_ratio -l pl.UTF-8 |
339 | Obsługa współczynników upload/download. | |
018e0f25 | 340 | |
a62be9f3 ER |
341 | %package mod_readme |
342 | Summary: ProFTPD readme module | |
8529003f | 343 | Summary(pl.UTF-8): Moduł readme dla ProFTPD |
89efc142 | 344 | Group: Networking/Daemons |
a62be9f3 ER |
345 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
346 | ||
347 | %description mod_readme | |
348 | "README" file support. | |
349 | ||
840f54f1 JR |
350 | %description mod_readme -l pl.UTF-8 |
351 | Obsługa pliku "README". | |
018e0f25 | 352 | |
6cf064e5 | 353 | %package mod_rewrite |
354 | Summary: ProFTPD rewrite module | |
355 | Summary(pl.UTF-8): Moduł rewrite dla ProFTPD | |
89efc142 | 356 | Group: Networking/Daemons |
6cf064e5 | 357 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
358 | ||
359 | %description mod_rewrite | |
360 | Runtime rewrite engine. | |
361 | ||
debd9bf3 JB |
362 | %description mod_rewrite -l pl.UTF-8 |
363 | Silnik przepisujący adresy w locie. | |
364 | ||
a62be9f3 ER |
365 | %package mod_sql |
366 | Summary: ProFTPD SQL support module | |
8529003f | 367 | Summary(pl.UTF-8): Moduł obsługi SQL dla ProFTPD |
89efc142 | 368 | Group: Networking/Daemons |
a62be9f3 ER |
369 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
370 | ||
371 | %description mod_sql | |
372 | This module provides the necessary support for SQL based | |
373 | authentication, logging and other features as required. | |
374 | ||
840f54f1 JR |
375 | %description mod_sql -l pl.UTF-8 |
376 | Ten moduł dodaje obsługę SQL potrzebną do uwierzytelniania, logowania | |
377 | i innych możliwości opartych o SQL. | |
018e0f25 | 378 | |
a62be9f3 ER |
379 | %package mod_sql_mysql |
380 | Summary: ProFTPD sql mysql module | |
8529003f | 381 | Summary(pl.UTF-8): Moduł sql_mysql dla ProFTPD |
89efc142 | 382 | Group: Networking/Daemons |
a62be9f3 ER |
383 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
384 | Requires: %{name}-mod_sql = %{epoch}:%{version}-%{release} | |
82547e9c | 385 | |
a62be9f3 ER |
386 | %description mod_sql_mysql |
387 | Support for connecting to MySQL databases. | |
388 | ||
840f54f1 JR |
389 | %description mod_sql_mysql -l pl.UTF-8 |
390 | Obsługa łączenia się z bazami danych MySQL. | |
018e0f25 | 391 | |
a62be9f3 ER |
392 | %package mod_sql_postgres |
393 | Summary: ProFTPD sql postgres module | |
8529003f | 394 | Summary(pl.UTF-8): Moduł sql_postgres dla ProFTPD |
89efc142 | 395 | Group: Networking/Daemons |
a62be9f3 ER |
396 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
397 | Requires: %{name}-mod_sql = %{epoch}:%{version}-%{release} | |
398 | ||
399 | %description mod_sql_postgres | |
018e0f25 JB |
400 | Support for connecting to PostgreSQL databases. |
401 | ||
840f54f1 JR |
402 | %description mod_sql_postgres -l pl.UTF-8 |
403 | Obsługa łączenia się z bazami danych PostgreSQL. | |
a62be9f3 ER |
404 | |
405 | %package mod_tls | |
406 | Summary: ProFTPD TLS support | |
8529003f | 407 | Summary(pl.UTF-8): Obsługa TLS dla ProFTPD |
89efc142 | 408 | Group: Networking/Daemons |
a62be9f3 ER |
409 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
410 | ||
411 | %description mod_tls | |
412 | An RFC2228 SSL/TLS module for ProFTPD. | |
413 | ||
840f54f1 JR |
414 | %description mod_tls -l pl.UTF-8 |
415 | Moduł SSL/TLS zgodny z RFC2228 dla ProFTPD. | |
018e0f25 | 416 | |
a62be9f3 | 417 | %package mod_wrap |
018e0f25 | 418 | Summary: ProFTPD interface to libwrap |
8529003f | 419 | Summary(pl.UTF-8): Interfejs ProFTPD do libwrap |
89efc142 | 420 | Group: Networking/Daemons |
a62be9f3 ER |
421 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
422 | Requires: libwrap | |
423 | ||
424 | %description mod_wrap | |
425 | It enables the daemon to use the common tcpwrappers access control | |
426 | library while in standalone mode, and in a very configurable manner. | |
427 | ||
428 | Many programs will automatically add entries in the common allow/deny | |
429 | files, and use of this module will allow a ProFTPD daemon running in | |
430 | standalone mode to adapt as these entries are added. The portsentry | |
431 | program does this, for example: when illegal access is attempted, it | |
432 | will add hosts to the /etc/hosts.deny file. | |
433 | ||
840f54f1 JR |
434 | %description mod_wrap -l pl.UTF-8 |
435 | Ten pakiet pozwala demonowi używać wspólnej biblioteki kontroli | |
436 | dostępu tcpwrappers w trybie samodzielnym w bardzo wygodny sposób. | |
018e0f25 | 437 | |
840f54f1 JR |
438 | Wiele programów automatycznie dodaje wpisy we wspólnych plikach |
439 | allow/deny, a użycie tego modułu pozwala demonowi ProFTPD działającemu | |
440 | w trybie samodzielnym adaptować te wpisy w miarę dodawania. Robi tak | |
441 | na przykład program portsentry: przy próbie niedozwolonego dostępu | |
018e0f25 JB |
442 | dodaje hosty do pliku /etc/hosts.deny. |
443 | ||
a62be9f3 | 444 | %prep |
3fd10053 | 445 | %setup -q -n %{name}-%{version}%{?_rc} -a1 |
b87d6462 | 446 | %patch0 -p1 |
5cb6df78 | 447 | %patch1 -p1 |
b87d6462 MW |
448 | %patch2 -p1 |
449 | %patch3 -p1 | |
f8c6b2a1 | 450 | |
3fd10053 JR |
451 | # mod_clamav |
452 | patch -p0 < mod_clamav-%{mod_clamav_version}/proftpd.patch | |
453 | cp -a mod_clamav-%{mod_clamav_version}/*.{c,h} contrib/ | |
454 | ||
69a15f0d | 455 | cp -f /usr/share/automake/config.sub . |
9c6ec5e2 ER |
456 | |
457 | # cleanup backups after patching | |
458 | find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f | |
459 | ||
460 | %build | |
41af587d | 461 | %{__autoconf} |
0ef9be5d ER |
462 | |
463 | MODULES=" | |
d13a2fd3 TP |
464 | mod_auth_file |
465 | mod_ident | |
0ef9be5d ER |
466 | mod_ratio |
467 | mod_readme | |
6cf064e5 | 468 | mod_rewrite |
a62be9f3 | 469 | mod_wrap |
d13a2fd3 TP |
470 | mod_facl |
471 | mod_ifsession | |
472 | mod_lang | |
0ef9be5d | 473 | %{?with_ssl:mod_tls} |
0ef9be5d ER |
474 | %{?with_pam:mod_auth_pam} |
475 | %{?with_ldap:mod_ldap} | |
476 | %{?with_quotafile:mod_quotatab mod_quotatab_file} | |
477 | %{?with_quotaldap:mod_quotatab mod_quotatab_ldap} | |
478 | %{?with_quotamysql:mod_quotatab mod_quotatab_sql} | |
479 | %{?with_quotapgsql:mod_quotatab mod_quotatab_sql} | |
0ef9be5d ER |
480 | %{?with_mysql:mod_sql mod_sql_mysql} |
481 | %{?with_pgsql:mod_sql mod_sql_postgres} | |
482 | " | |
483 | ||
a62be9f3 | 484 | MODARG=$(echo $MODULES | tr ' ' '\n' | sort -u | xargs | tr ' ' ':') |
3531a682 | 485 | %configure \ |
367a54d9 | 486 | --with-includes=/usr/include/ncurses%{?with_mysql::%{_includedir}/mysql} \ |
3fb73282 | 487 | --disable-strip \ |
2c1da1ca | 488 | --enable-buffer-size=4096 \ |
d13a2fd3 | 489 | --disable-auth-file \ |
e95a6f1e | 490 | --enable-autoshadow \ |
a62be9f3 ER |
491 | --enable-ctrls \ |
492 | --enable-dso \ | |
2e58659a | 493 | %{?with_ipv6:--enable-ipv6} \ |
a62be9f3 | 494 | --enable-sendfile \ |
2e58659a | 495 | %{!?with_ssl:--disable-tls} \ |
a62be9f3 | 496 | --with-shared=$MODARG \ |
3fd10053 | 497 | --with-modules=mod_clamav |
060127a7 | 498 | |
cf9db571 | 499 | %{__make} -j1 |
12250d98 | 500 | |
501 | %install | |
502 | rm -rf $RPM_BUILD_ROOT | |
b1cddbe1 | 503 | install -d $RPM_BUILD_ROOT/etc/{pam.d,security,sysconfig/rc-inetd,rc.d/init.d} \ |
3fd10053 | 504 | $RPM_BUILD_ROOT/var/{lib/ftp/pub/Incoming,log,run/proftpd} \ |
a62be9f3 | 505 | $RPM_BUILD_ROOT%{_sysconfdir}/conf.d \ |
48217a3f JR |
506 | $RPM_BUILD_ROOT%{_includedir}/%{name} \ |
507 | $RPM_BUILD_ROOT/usr/lib/tmpfiles.d | |
42d1ba60 | 508 | |
a294d837 PG |
509 | %{__make} install \ |
510 | DESTDIR=$RPM_BUILD_ROOT \ | |
c4b4ddf1 ER |
511 | INSTALL_USER=%(id -u) \ |
512 | INSTALL_GROUP=%(id -g) | |
f8c6b2a1 | 513 | |
a62be9f3 | 514 | rm $RPM_BUILD_ROOT%{_sbindir}/in.proftpd |
efae4c7e | 515 | |
3fd10053 | 516 | install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir} |
a62be9f3 | 517 | install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/mod_auth_pam.conf |
d13a2fd3 TP |
518 | MODULES=" |
519 | mod_auth_file | |
520 | mod_ident | |
521 | mod_ratio | |
522 | mod_readme | |
523 | mod_rewrite | |
524 | mod_wrap | |
525 | %{?with_ldap:mod_ldap} | |
526 | %{?with_quotafile:mod_quotatab mod_quotatab_file} | |
527 | %{?with_quotaldap:mod_quotatab mod_quotatab_ldap} | |
528 | %{?with_quotamysql:mod_quotatab mod_quotatab_sql} | |
529 | %{?with_quotapgsql:mod_quotatab mod_quotatab_sql} | |
530 | %{?with_mysql:mod_sql mod_sql_mysql} | |
531 | %{?with_pgsql:mod_sql mod_sql_postgres} | |
532 | " | |
533 | for module in $MODULES; do | |
534 | echo "LoadModule $module.c" > $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/$module.conf | |
535 | done | |
1af975e5 | 536 | install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/mod_tls.conf |
367a54d9 | 537 | install %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/anonftp.conf |
86dc1cff | 538 | install %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/mod_clamav.conf |
a62be9f3 | 539 | |
2e58659a | 540 | %{?with_pam:install %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/ftp} |
3915e5da | 541 | install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/ftpd |
15a3b9cf JR |
542 | install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/proftpd |
543 | install %{SOURCE6} $RPM_BUILD_ROOT/etc/rc.d/init.d/proftpd | |
66721136 | 544 | install contrib/xferstats.holger-preiss $RPM_BUILD_ROOT%{_bindir}/xferstat |
e95a6f1e | 545 | |
372155e4 | 546 | bzip2 -dc %{SOURCE7} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} |
0fba9130 | 547 | |
3915e5da | 548 | :> $RPM_BUILD_ROOT%{_sysconfdir}/ftpusers.default |
549 | :> $RPM_BUILD_ROOT%{_sysconfdir}/ftpusers | |
e95a6f1e | 550 | |
48217a3f JR |
551 | install %{SOURCE13} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf |
552 | ||
a62be9f3 | 553 | # only for -inetd package? |
c9f4d6dc | 554 | ln -sf proftpd $RPM_BUILD_ROOT%{_sbindir}/ftpd |
efae4c7e | 555 | |
91058308 | 556 | :> $RPM_BUILD_ROOT/etc/security/blacklist.ftp |
557 | ||
d13a2fd3 TP |
558 | rm $RPM_BUILD_ROOT%{_libexecdir}/*.a |
559 | rm $RPM_BUILD_ROOT%{_libexecdir}/*.la | |
a62be9f3 | 560 | |
b1cddbe1 | 561 | rm -f $RPM_BUILD_ROOT%{_mandir}/ftpusers-path.diff* |
9c6ec5e2 | 562 | cp -aL include/* config.h $RPM_BUILD_ROOT%{_includedir}/%{name} |
acb6a758 | 563 | |
a6fa6631 JB |
564 | %clean |
565 | rm -rf $RPM_BUILD_ROOT | |
e95a6f1e | 566 | |
4498344e | 567 | %post common |
16865efe | 568 | umask 027 |
8eb57af0 | 569 | awk -F: '{ if (($3 < 500) && ($1 != "ftp")) print $1; }' < /etc/passwd >> %{_sysconfdir}/ftpusers.default |
3915e5da | 570 | if [ ! -f %{_sysconfdir}/ftpusers ]; then |
16865efe | 571 | cp -f %{_sysconfdir}/ftpusers.default %{_sysconfdir}/ftpusers |
f2119458 | 572 | fi |
4d723dc9 | 573 | |
a62be9f3 | 574 | %posttrans inetd |
15a3b9cf | 575 | if grep -iEqs "^ServerType[[:space:]]+standalone" %{_sysconfdir}/proftpd.conf ; then |
8eb57af0 ER |
576 | cp -f %{_sysconfdir}/proftpd.conf{,.rpmorig} |
577 | sed -i -e 's/^ServerType[[:space:]]\+standalone/ServerType inetd/g' %{_sysconfdir}/proftpd.conf | |
15a3b9cf | 578 | fi |
af998dea | 579 | %service -q rc-inetd reload |
5178b82d | 580 | |
15a3b9cf | 581 | %postun inetd |
af998dea ER |
582 | if [ "$1" = "0" ]; then |
583 | %service -q rc-inetd reload | |
29aece6c | 584 | fi |
12250d98 | 585 | |
a62be9f3 | 586 | %posttrans standalone |
15a3b9cf | 587 | if grep -iEqs "^ServerType[[:space:]]+inetd" %{_sysconfdir}/proftpd.conf ; then |
8eb57af0 ER |
588 | cp -f %{_sysconfdir}/proftpd.conf{,.rpmorig} |
589 | sed -i -e 's/^ServerType[[:space:]]\+inetd/ServerType standalone/g' %{_sysconfdir}/proftpd.conf | |
15a3b9cf | 590 | fi |
af998dea ER |
591 | /sbin/chkconfig --add proftpd |
592 | %service proftpd restart "ProFTPD daemon" | |
15a3b9cf JR |
593 | |
594 | %preun standalone | |
f7d997ba | 595 | if [ "$1" = "0" ]; then |
af998dea | 596 | %service proftpd stop |
f7d997ba | 597 | /sbin/chkconfig --del proftpd |
29aece6c | 598 | fi |
15a3b9cf | 599 | |
a60cdb30 JR |
600 | %triggerin standalone -- pam |
601 | # restart proftpd if pam is upgraded | |
602 | # (proftpd is linked with old libpam but tries to open modules linked with new libpam) | |
603 | if [ "$2" != 1 ]; then | |
604 | %service -q proftpd restart | |
605 | fi | |
606 | ||
a62be9f3 ER |
607 | # macro called at module post scriptlet |
608 | %define module_post \ | |
609 | if [ "$1" = "1" ]; then \ | |
610 | if grep -iEqs "^ServerType[[:space:]]+inetd" %{_sysconfdir}/proftpd.conf; then \ | |
611 | %service -q rc-inetd reload \ | |
612 | elif grep -iEqs "^ServerType[[:space:]]+standalone" %{_sysconfdir}/proftpd.conf; then \ | |
613 | %service -q proftpd restart \ | |
614 | fi \ | |
615 | fi | |
616 | ||
617 | # macro called at module postun scriptlet | |
618 | %define module_postun \ | |
619 | if [ "$1" = "0" ]; then \ | |
620 | if grep -iEqs "^ServerType[[:space:]]+inetd" %{_sysconfdir}/proftpd.conf; then \ | |
621 | %service -q rc-inetd reload \ | |
622 | elif grep -iEqs "^ServerType[[:space:]]+standalone" %{_sysconfdir}/proftpd.conf; then \ | |
623 | %service -q proftpd restart \ | |
624 | fi \ | |
625 | fi | |
626 | ||
627 | # it's sooo annoying to write them | |
628 | %define module_scripts() \ | |
629 | %post %1 \ | |
630 | %module_post \ | |
631 | \ | |
632 | %postun %1 \ | |
633 | %module_postun | |
634 | ||
635 | %module_scripts mod_auth_pam | |
636 | %module_scripts mod_ldap | |
637 | %module_scripts mod_quotatab | |
638 | %module_scripts mod_quotatab_file | |
639 | %module_scripts mod_quotatab_ldap | |
640 | %module_scripts mod_quotatab_sql | |
641 | %module_scripts mod_ratio | |
642 | %module_scripts mod_readme | |
6cf064e5 | 643 | %module_scripts mod_rewrite |
a62be9f3 ER |
644 | %module_scripts mod_sql |
645 | %module_scripts mod_sql_mysql | |
646 | %module_scripts mod_sql_postgres | |
647 | %module_scripts mod_tls | |
648 | %module_scripts mod_wrap | |
649 | ||
695a30e2 | 650 | %files common |
060127a7 | 651 | %defattr(644,root,root,755) |
1ea19330 | 652 | %doc sample-configurations/*.conf CREDITS ChangeLog NEWS RELEASE_NOTES |
a62be9f3 | 653 | %doc README README.capabilities README.classes README.controls README.IPv6 |
d03b6eea | 654 | %doc README.modules |
2a67e8f1 | 655 | %doc doc/*.html doc/contrib doc/howto doc/modules |
a62be9f3 | 656 | %dir %attr(750,root,ftp) %dir %{_sysconfdir} |
d8cfd64c | 657 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.conf |
ebc84569 PG |
658 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %ghost %{_sysconfdir}/ftpusers |
659 | %attr(640,root,root) %{_sysconfdir}/ftpusers.default | |
a62be9f3 | 660 | %dir %attr(750,root,root) %{_sysconfdir}/conf.d |
d13a2fd3 TP |
661 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mod_auth_file.conf |
662 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mod_ident.conf | |
86dc1cff | 663 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mod_clamav.conf |
90d88248 | 664 | #%attr(640,root,root) %ghost /var/log/* |
7118a494 | 665 | %attr(755,root,root) %{_bindir}/* |
6c45e3b3 | 666 | %attr(755,root,root) %{_sbindir}/* |
d13a2fd3 TP |
667 | %dir %{_libexecdir} |
668 | %attr(755,root,root) %{_libexecdir}/mod_auth_file.so | |
669 | %attr(755,root,root) %{_libexecdir}/mod_facl.so | |
670 | %attr(755,root,root) %{_libexecdir}/mod_ident.so | |
671 | %attr(755,root,root) %{_libexecdir}/mod_ifsession.so | |
672 | %attr(755,root,root) %{_libexecdir}/mod_lang.so | |
86e5ce30 | 673 | %dir %{_localstatedir}/proftpd |
48217a3f | 674 | /usr/lib/tmpfiles.d/%{name}.conf |
65e2b723 JR |
675 | %{_mandir}/man5/* |
676 | %lang(ja) %{_mandir}/ja/man5/ftpusers* | |
677 | %lang(pl) %{_mandir}/pl/man5/ftpusers* | |
678 | %lang(pt_BR) %{_mandir}/pt_BR/man5/ftpusers* | |
679 | %lang(ru) %{_mandir}/ru/man5/ftpusers* | |
0fba9130 | 680 | %{_mandir}/man[18]/* |
372155e4 TO |
681 | %dir /var/lib/ftp |
682 | %dir /var/lib/ftp/pub | |
5b54e24d | 683 | %attr(711,ftp,ftp) %dir /var/lib/ftp/pub/Incoming |
15a3b9cf JR |
684 | |
685 | %files inetd | |
686 | %defattr(644,root,root,755) | |
15a3b9cf JR |
687 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/ftpd |
688 | ||
689 | %files standalone | |
690 | %defattr(644,root,root,755) | |
acb6a758 | 691 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/proftpd |
15a3b9cf | 692 | %attr(754,root,root) /etc/rc.d/init.d/proftpd |
a62be9f3 ER |
693 | |
694 | %files devel | |
695 | %defattr(644,root,root,755) | |
696 | %{_includedir}/%{name} | |
32ba901e | 697 | %{_pkgconfigdir}/%{name}.pc |
a62be9f3 | 698 | |
e37dae10 ER |
699 | %files anonftp |
700 | %defattr(644,root,root,755) | |
701 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/anonftp.conf | |
702 | ||
1dba37cb | 703 | %if %{with pam} |
a62be9f3 ER |
704 | %files mod_auth_pam |
705 | %defattr(644,root,root,755) | |
706 | %doc README.PAM | |
707 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/* | |
02a964e1 | 708 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.ftp |
a62be9f3 ER |
709 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mod_auth_pam.conf |
710 | %attr(755,root,root) %{_libexecdir}/mod_auth_pam.so | |
1dba37cb | 711 | %endif |
a62be9f3 | 712 | |
1dba37cb | 713 | %if %{with ldap} |
a62be9f3 ER |
714 | %files mod_ldap |
715 | %defattr(644,root,root,755) | |
716 | %doc README.LDAP | |
717 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mod_ldap.conf | |
718 | %attr(755,root,root) %{_libexecdir}/mod_ldap.so | |
1dba37cb | 719 | %endif |
a62be9f3 ER |
720 | |
721 | %files mod_quotatab | |
722 | %defattr(644,root,root,755) | |
723 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mod_quotatab.conf | |
724 | %attr(755,root,root) %{_libexecdir}/mod_quotatab.so | |
725 | ||
1dba37cb | 726 | %if %{with quotafile} |
a62be9f3 ER |
727 | %files mod_quotatab_file |
728 | %defattr(644,root,root,755) | |
729 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mod_quotatab_file.conf | |
730 | %attr(755,root,root) %{_libexecdir}/mod_quotatab_file.so | |
1dba37cb | 731 | %endif |
a62be9f3 | 732 | |
1dba37cb | 733 | %if %{with quotaldap} |
a62be9f3 ER |
734 | %files mod_quotatab_ldap |
735 | %defattr(644,root,root,755) | |
736 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mod_quotatab_ldap.conf | |
737 | %attr(755,root,root) %{_libexecdir}/mod_quotatab_ldap.so | |
1dba37cb | 738 | %endif |
a62be9f3 | 739 | |
1dba37cb | 740 | %if %{with quotamysql} || %{with quotapgsql} |
a62be9f3 ER |
741 | %files mod_quotatab_sql |
742 | %defattr(644,root,root,755) | |
743 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mod_quotatab_sql.conf | |
744 | %attr(755,root,root) %{_libexecdir}/mod_quotatab_sql.so | |
1dba37cb | 745 | %endif |
a62be9f3 ER |
746 | |
747 | %files mod_ratio | |
748 | %defattr(644,root,root,755) | |
2a67e8f1 | 749 | %doc contrib/README.ratio |
a62be9f3 ER |
750 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mod_ratio.conf |
751 | %attr(755,root,root) %{_libexecdir}/mod_ratio.so | |
752 | ||
753 | %files mod_readme | |
754 | %defattr(644,root,root,755) | |
755 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mod_readme.conf | |
756 | %attr(755,root,root) %{_libexecdir}/mod_readme.so | |
757 | ||
6cf064e5 | 758 | %files mod_rewrite |
759 | %defattr(644,root,root,755) | |
760 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mod_rewrite.conf | |
761 | %attr(755,root,root) %{_libexecdir}/mod_rewrite.so | |
762 | ||
1dba37cb | 763 | %if %{with mysql} || %{with pgsql} |
a62be9f3 ER |
764 | %files mod_sql |
765 | %defattr(644,root,root,755) | |
766 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mod_sql.conf | |
767 | %attr(755,root,root) %{_libexecdir}/mod_sql.so | |
1dba37cb | 768 | %endif |
a62be9f3 | 769 | |
1dba37cb | 770 | %if %{with mysql} |
a62be9f3 ER |
771 | %files mod_sql_mysql |
772 | %defattr(644,root,root,755) | |
773 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mod_sql_mysql.conf | |
774 | %attr(755,root,root) %{_libexecdir}/mod_sql_mysql.so | |
1dba37cb | 775 | %endif |
a62be9f3 | 776 | |
1dba37cb | 777 | %if %{with pgsql} |
a62be9f3 ER |
778 | %files mod_sql_postgres |
779 | %defattr(644,root,root,755) | |
780 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mod_sql_postgres.conf | |
781 | %attr(755,root,root) %{_libexecdir}/mod_sql_postgres.so | |
1dba37cb | 782 | %endif |
a62be9f3 ER |
783 | |
784 | %files mod_tls | |
785 | %defattr(644,root,root,755) | |
786 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mod_tls.conf | |
787 | %attr(755,root,root) %{_libexecdir}/mod_tls.so | |
788 | ||
789 | %files mod_wrap | |
790 | %defattr(644,root,root,755) | |
791 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mod_wrap.conf | |
792 | %attr(755,root,root) %{_libexecdir}/mod_wrap.so |