]>
Commit | Line | Data |
---|---|---|
e3590bff JB |
1 | # |
2 | # Conditional build: | |
9f1d2ac7 JB |
3 | %bcond_without x11 # X11-based utilities |
4 | %bcond_without ldap # LDAP plugin | |
d23c9e49 | 5 | %bcond_with openssl # use OpenSSL instead of internal hcrypto |
d9842468 | 6 | %bcond_with expose_internals # install internal KCM headers |
e3590bff | 7 | # |
11e40c5a | 8 | Summary: Heimdal implementation of Kerberos V5 system |
13ef1022 | 9 | Summary(pl.UTF-8): Implementacja Heimdal systemu Kerberos V5 |
11e40c5a | 10 | Name: heimdal |
9f1d2ac7 | 11 | Version: 1.5.3 |
914dd40f | 12 | Release: 4 |
845f767b | 13 | License: Free |
c52bba62 | 14 | Group: Networking |
6dfaff75 | 15 | Source0: http://www.h5l.org/dist/src/%{name}-%{version}.tar.gz |
9f1d2ac7 | 16 | # Source0-md5: 30b379e3de12f332fbd201131f02ffca |
87a2a408 | 17 | Source1: %{name}.init |
0c9d84fa JR |
18 | Source2: %{name}-kpasswdd.init |
19 | Source3: %{name}-ipropd.init | |
20 | Source4: %{name}-kcm.init | |
21 | Source5: %{name}.sysconfig | |
22 | Source6: %{name}-kcm.sysconfig | |
23 | Source7: %{name}-krb5.conf | |
24 | Source8: %{name}-ftpd.inetd | |
25 | Source9: %{name}-rshd.inetd | |
26 | Source10: %{name}-telnetd.inetd | |
27 | Source11: %{name}-kadmind.inetd | |
1a35405d | 28 | Patch0: %{name}-paths.patch |
7d3ffee7 JR |
29 | Patch1: %{name}-am_man_fixes.patch |
30 | Patch2: %{name}-amfix.patch | |
31 | Patch3: %{name}-dbpaths.patch | |
82c12880 JR |
32 | Patch4: %{name}-db4.patch |
33 | Patch5: %{name}-libadd.patch | |
34 | Patch6: %{name}-signal.patch | |
1cc729ed | 35 | Patch7: %{name}-make.patch |
82c12880 | 36 | Patch8: %{name}-info.patch |
bef55632 JR |
37 | Patch9: %{name}-sbindir.patch |
38 | Patch10: %{name}-ntlm-digest.patch | |
39 | Patch11: %{name}-krb5config-nosysdirs.patch | |
1ee1a6a5 | 40 | Patch12: %{name}-tinfo.patch |
914dd40f | 41 | Patch13: %{name}-missing-exports.patch |
34b43d7a | 42 | Patch14: %{name}-texinfo.patch |
6dfaff75 | 43 | URL: http://www.h5l.org/ |
961c8657 | 44 | BuildRequires: autoconf >= 2.62 |
0f372d7a | 45 | BuildRequires: automake >= 1:1.10.3 |
ba5a356d | 46 | BuildRequires: bison |
1ead67f5 | 47 | BuildRequires: db-devel |
568e3a79 | 48 | BuildRequires: flex |
0f372d7a | 49 | BuildRequires: libcap-ng-devel >= 0.4.0 |
adfe6fc1 | 50 | BuildRequires: libcom_err-devel >= 1.41.11 |
445607db | 51 | BuildRequires: libtool >= 2:2.2 |
568e3a79 | 52 | BuildRequires: mawk |
9e40ad90 | 53 | BuildRequires: ncurses-devel >= 5.1 |
eaf2fb51 | 54 | %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} |
d23c9e49 | 55 | %{?with_openssl:BuildRequires: openssl-devel >= 0.9.7d} |
0f372d7a | 56 | BuildRequires: pkgconfig |
f5268247 | 57 | BuildRequires: readline-devel >= 5.0 |
f3e12399 | 58 | BuildRequires: rpmbuild(macros) >= 1.268 |
82c12880 | 59 | BuildRequires: sqlite3-devel |
e2e4c2a7 | 60 | BuildRequires: texinfo |
82c12880 JR |
61 | %{?with_x11:BuildRequires: xorg-lib-libICE-devel} |
62 | %{?with_x11:BuildRequires: xorg-lib-libSM-devel} | |
63 | %{?with_x11:BuildRequires: xorg-lib-libX11-devel} | |
64 | %{?with_x11:BuildRequires: xorg-lib-libXau-devel} | |
e62b205e | 65 | %{?with_x11:BuildRequires: xorg-lib-libXt-devel} |
bf56c6b3 | 66 | Requires: %{name}-libs-common = %{version}-%{release} |
292976c1 JB |
67 | Provides: kerberos5-client |
68 | Obsoletes: kerberos5-client | |
dc28a757 | 69 | Conflicts: krb5-client |
e2e4c2a7 | 70 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
11e40c5a | 71 | |
c7b87187 | 72 | %define _localstatedir /var/lib/%{name} |
5776cc8c JR |
73 | %define schemadir /usr/share/openldap/schema |
74 | ||
11e40c5a AM |
75 | %description |
76 | Heimdal is a free implementation of Kerberos 5. The goals are to: | |
f3e12399 ER |
77 | - have an implementation that can be freely used by anyone |
78 | - be protocol compatible with existing implementations and, if not in | |
79 | conflict, with RFC 1510 (and any future updated RFC) | |
80 | - be reasonably compatible with the M.I.T Kerberos V5 API | |
81 | - have support for Kerberos V5 over GSS-API (RFC1964) | |
82 | - include the most important and useful application programs (rsh, | |
83 | telnet, popper, etc.) | |
84 | - include enough backwards compatibility with Kerberos V4 | |
85 | - IPv6 support | |
11e40c5a | 86 | |
0fbef91b JR |
87 | %description -l pl.UTF-8 |
88 | Heimdal jest darmową implementacją Kerberosa 5. Główne zalety to: | |
89 | - implementacja, która może być używana przez każdego | |
90 | - kompatybilność na poziomie protokołu z istniejącymi implementacjami | |
91 | - racjonalna kompatybilność z M.I.T Kerberos V5 API | |
f3e12399 | 92 | - wsparcie dla Kerberosa 5 poprzez GSS-API (RFC1964) |
0fbef91b | 93 | - zawiera większość istotnych i użytecznych aplikacji (rsh, telnet, |
f3e12399 | 94 | popper, etc.) |
0fbef91b | 95 | - zawiera wystarczającą kompatybilność z Kerberos V4 |
f3e12399 | 96 | - wsparcie dla IPv6 |
11e40c5a | 97 | |
2ae17cec JR |
98 | %package common |
99 | Summary: Heimdal essential config files and documentation | |
0360d4ed | 100 | Summary(pl.UTF-8): Niezbędne pliki konfiguracyjne i dokumentacja dla heimdala |
2ae17cec JR |
101 | Group: Networking |
102 | ||
103 | %description common | |
099ff888 ER |
104 | Package contains essential configs and documentation required by |
105 | heimdal packages. | |
2ae17cec JR |
106 | |
107 | %description common -l pl.UTF-8 | |
099ff888 ER |
108 | Pakiet zawiera niezbędne pliki konfiguracyjne i dokumentację dla |
109 | heimdala. | |
2ae17cec | 110 | |
0484bab0 JB |
111 | %package libs |
112 | Summary: Heimdal shared libraries | |
0360d4ed | 113 | Summary(pl.UTF-8): Biblioteki współdzielone dla heimdala |
0484bab0 | 114 | Group: Libraries |
3c4e3bfd | 115 | Requires: libcom_err >= 1.41.11 |
0484bab0 JB |
116 | |
117 | %description libs | |
0360d4ed JB |
118 | This package contains shared libraries required by several of the |
119 | other heimdal packages. | |
0484bab0 JB |
120 | |
121 | %description libs -l pl.UTF-8 | |
0360d4ed JB |
122 | Ten pakiet zawiera biblioteki współdzielone wymagane przez kilka |
123 | innych pakietów składowych heimdala. | |
0484bab0 | 124 | |
bf56c6b3 JR |
125 | %package libs-common |
126 | Summary: Common libraries used by Heimdal programs | |
0360d4ed | 127 | Summary(pl.UTF-8): Wspólne biblioteki używane przez programy z Heimdala |
d9930f8a | 128 | Group: Libraries |
2ae17cec | 129 | Requires: %{name}-common = %{version}-%{release} |
bf56c6b3 | 130 | Requires: %{name}-libs = %{version}-%{release} |
d9930f8a | 131 | |
bf56c6b3 JR |
132 | %description libs-common |
133 | Common libraries used by Heimdal programs. | |
d9930f8a | 134 | |
0360d4ed JB |
135 | %description libs-common -l pl.UTF-8 |
136 | Wspólne biblioteki używane przez programy z projektu Heimdal. | |
137 | ||
e44f4b1e | 138 | %package libs-server |
bf56c6b3 | 139 | Summary: Libraries used by Heimdal KDC server |
0360d4ed | 140 | Summary(pl.UTF-8): Biblioteki używane przez serwer Heimdal KDC |
d9930f8a | 141 | Group: Libraries |
2ae17cec | 142 | Requires: %{name}-libs-common = %{version}-%{release} |
d9930f8a | 143 | |
e44f4b1e | 144 | %description libs-server |
0360d4ed JB |
145 | This package contains shared libraries required to run Heimdal KDC |
146 | server. | |
147 | ||
148 | %description libs-server -l pl.UTF-8 | |
149 | Ten pakiet zawiera biblioteki współdzielone używane potrzebne dla | |
150 | serwera KDC z projektu Heimdal. | |
d9930f8a | 151 | |
0484bab0 JB |
152 | %package devel |
153 | Summary: Header files for heimdal | |
154 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do bibliotek heimdal | |
155 | Group: Development/Libraries | |
156 | Requires: %{name}-libs = %{version}-%{release} | |
bf56c6b3 JR |
157 | Requires: %{name}-libs-common = %{version}-%{release} |
158 | Requires: %{name}-libs-server = %{version}-%{release} | |
0484bab0 | 159 | Requires: db-devel |
adfe6fc1 | 160 | Requires: libcom_err-devel >= 1.41.11 |
d23c9e49 | 161 | %{?with_openssl:Requires: openssl-devel} |
22f8190e | 162 | Requires: sqlite3-devel |
dc28a757 | 163 | Conflicts: krb5-devel |
758d234c | 164 | Conflicts: libgssglue-devel |
0484bab0 JB |
165 | |
166 | %description devel | |
167 | contains files needed to compile and link software using the kerberos | |
168 | libraries. | |
169 | ||
170 | %description devel -l pl.UTF-8 | |
171 | Pliki nagłówkowe i dokumentacja do bibliotek heimdal. | |
172 | ||
173 | %package static | |
174 | Summary: Static heimdal libraries | |
175 | Summary(pl.UTF-8): Biblioteki statyczne heimdal | |
176 | Group: Development/Libraries | |
177 | Requires: %{name}-devel = %{version}-%{release} | |
178 | ||
179 | %description static | |
180 | Satatic heimdal libraries. | |
181 | ||
182 | %description static -l pl.UTF-8 | |
183 | Biblioteki statyczne heimdal. | |
184 | ||
292976c1 JB |
185 | %package ldap |
186 | Summary: LDAP HDB plugin | |
187 | Summary(pl.UTF-8): Wtyczka HDB LDAP | |
188 | Group: Libraries | |
2ae17cec | 189 | Requires: %{name}-libs-common = %{version}-%{release} |
292976c1 JB |
190 | |
191 | %description ldap | |
192 | LDAP HDB plugin. | |
193 | ||
194 | %description ldap -l pl.UTF-8 | |
195 | Wtyczka HDB LDAP. | |
196 | ||
197 | %package -n openldap-schema-heimdal | |
198 | Summary: Heimdal Kerberos LDAP schema | |
199 | Summary(pl.UTF-8): Schemat LDAP Kerberosa Heimdal | |
200 | Group: Networking/Daemons | |
201 | Requires(post,postun): sed >= 4.0 | |
202 | Requires: openldap-servers | |
099ff888 ER |
203 | %if "%{_rpmversion}" >= "5" |
204 | BuildArch: noarch | |
205 | %endif | |
292976c1 JB |
206 | |
207 | %description -n openldap-schema-heimdal | |
208 | This package contains Heimdal Kerberos LDAP schema for openldap. | |
209 | ||
210 | %description -n openldap-schema-heimdal -l pl.UTF-8 | |
211 | Ten pakiet zawiera schemat LDAP Kerberosa Heimdal dla openldap-a. | |
212 | ||
5459024d | 213 | %package server |
2d0d93d3 | 214 | Summary: Kerberos Server |
13ef1022 | 215 | Summary(pl.UTF-8): Serwer Kerberosa |
5459024d | 216 | Group: Networking |
c7b87187 | 217 | Requires(post,preun): /sbin/chkconfig |
bf56c6b3 | 218 | Requires: %{name}-libs-server = %{version}-%{release} |
a39a46c8 | 219 | Requires: rc-scripts |
292976c1 JB |
220 | Provides: kerberos5-server |
221 | # probably not a good idea | |
222 | #Obsoletes: kerberos5-server | |
dc28a757 | 223 | Conflicts: krb5-server |
5459024d | 224 | |
225 | %description server | |
226 | Master KDC. | |
227 | ||
0fbef91b JR |
228 | %description server -l pl.UTF-8 |
229 | Główne centrum dystrybucji kluczy (KDC). | |
5459024d | 230 | |
0484bab0 JB |
231 | %package kcm |
232 | Summary: KCM - credencial cache daemon for Kerberos tickets | |
233 | Summary(pl.UTF-8): KCM - demon zapamiętujący dane uwierzytelniające dla biletów Kerberosa | |
234 | Group: Daemons | |
2ae17cec | 235 | Requires: %{name}-libs-common = %{version}-%{release} |
5459024d | 236 | |
0484bab0 JB |
237 | %description kcm |
238 | KCM is a credencial cache daemon for Kerberos tickets. | |
5459024d | 239 | |
0484bab0 JB |
240 | %description kcm -l pl.UTF-8 |
241 | KCM to demon zapamiętujący dane uwierzytelniające dla biletów | |
242 | Kerberosa. | |
5459024d | 243 | |
568e3a79 | 244 | %package login |
245 | Summary: login is used when signing onto a system | |
13ef1022 | 246 | Summary(pl.UTF-8): Narzędzie do logowania w systemie |
568e3a79 | 247 | Group: Applications/Networking |
2ae17cec | 248 | Requires: %{name}-libs-common = %{version}-%{release} |
292976c1 JB |
249 | Provides: kerberos5-login |
250 | Obsoletes: kerberos5-login | |
72e056e8 | 251 | Conflicts: shadow < 1:4.0.16 |
568e3a79 | 252 | |
253 | %description login | |
c358392a | 254 | login is used when signing onto a system. It can also be used to |
255 | switch from one user to another at any time (most modern shells have | |
256 | support for this feature built into them, however). This package | |
257 | contain kerberized version login program. | |
568e3a79 | 258 | |
0fbef91b JR |
259 | %description login -l pl.UTF-8 |
260 | login jest używany przy logowaniu do systemu. Może być także użyty do | |
261 | przełączenia z jednego użytkownika na innego w dowolnej chwili | |
262 | (większość współczesnych shelli ma wbudowaną obsługę tego). Ten pakiet | |
263 | zawiera skerberyzowaną wersję programu login. | |
845f767b | 264 | |
5459024d | 265 | %package ftp |
266 | Summary: The standard UNIX FTP (file transfer protocol) client | |
13ef1022 | 267 | Summary(pl.UTF-8): Klient protokołu FTP |
5459024d | 268 | Group: Applications/Networking |
2ae17cec | 269 | Requires: %{name}-libs-common = %{version}-%{release} |
292976c1 | 270 | Provides: kerberos5-ftp |
2fad34ce | 271 | Obsoletes: ftp |
292976c1 | 272 | Obsoletes: kerberos5-ftp |
f3e12399 | 273 | Conflicts: heimdal-clients |
dc28a757 | 274 | Conflicts: krb5-ftp |
5459024d | 275 | |
276 | %description ftp | |
6ce2a862 | 277 | The FTP package provides the standard UNIX command-line FTP client |
c358392a | 278 | with kerberos authentication support. FTP is the file transfer |
279 | protocol, which is a widely used Internet protocol for transferring | |
280 | files and for archiving files. | |
5459024d | 281 | |
0fbef91b JR |
282 | %description ftp -l pl.UTF-8 |
283 | Ten pakiet dostarcza standardowego klienta FTP z wbudowaną obsługą | |
284 | kerberosa. FTP jest protokołem do przesyłania plików szeroko | |
845f767b JB |
285 | rozpowszechnionym w Internecie. |
286 | ||
5459024d | 287 | %package rsh |
568e3a79 | 288 | Summary: Clients for remote access commands (rsh, rlogin, rcp) |
13ef1022 | 289 | Summary(pl.UTF-8): Klient zdalnego dostępu (rsh, rlogin, rcp) |
5459024d | 290 | Group: Applications/Networking |
2ae17cec | 291 | Requires: %{name}-libs-common = %{version}-%{release} |
292976c1 JB |
292 | Provides: kerberos5-rsh |
293 | Obsoletes: kerberos5-rsh | |
5459024d | 294 | Obsoletes: rsh |
c7b87187 | 295 | Conflicts: heimdal-clients |
dc28a757 | 296 | Conflicts: krb5-rsh |
5459024d | 297 | |
87a2a408 | 298 | %description rsh |
299 | The rsh package contains a set of programs which allow users to run | |
845f767b | 300 | commands on remote machines, login to other machines and copy files |
c358392a | 301 | between machines (rsh, rlogin and rcp). All three of these commands |
302 | use rhosts style authentication. This package contains the clients | |
87a2a408 | 303 | needed for all of these services. |
304 | ||
0fbef91b JR |
305 | %description rsh -l pl.UTF-8 |
306 | Ten pakiet zawiera zestaw narzędzi pozwalających na wykonywanie | |
307 | poleceń na zdalnych maszynach, logowanie na inne maszyny oraz | |
308 | kopiowanie plików pomiędzy maszynami (rsh, rlogin, rcp). | |
845f767b | 309 | |
5459024d | 310 | %package telnet |
568e3a79 | 311 | Summary: Client for the telnet remote login |
13ef1022 | 312 | Summary(pl.UTF-8): Klient usługi telnet |
5459024d | 313 | Group: Applications/Networking |
2ae17cec | 314 | Requires: %{name}-libs-common = %{version}-%{release} |
292976c1 JB |
315 | Provides: kerberos5-telnet |
316 | Obsoletes: kerberos5-telnet | |
f3e12399 | 317 | Obsoletes: telnet |
c7b87187 | 318 | Conflicts: heimdal-clients |
dc28a757 | 319 | Conflicts: krb5-telnet |
5459024d | 320 | |
87a2a408 | 321 | %description telnet |
c358392a | 322 | Telnet is a popular protocol for remote logins across the Internet. |
323 | This package provides a command line telnet client. | |
87a2a408 | 324 | |
0fbef91b JR |
325 | %description telnet -l pl.UTF-8 |
326 | Telnet jest popularnym protokołem zdalnego logowania. Ten pakiet | |
327 | zawiera klienta tej usługi. | |
845f767b | 328 | |
5459024d | 329 | %package ftpd |
87a2a408 | 330 | Summary: The standard UNIX FTP (file transfer protocol) server |
13ef1022 | 331 | Summary(pl.UTF-8): Serwer FTP |
5459024d | 332 | Group: Networking/Daemons |
2ae17cec | 333 | Requires: %{name}-libs-common = %{version}-%{release} |
a39a46c8 | 334 | Requires: rc-inetd >= 0.8.1 |
292976c1 | 335 | Provides: kerberos5-ftpd |
5459024d | 336 | Obsoletes: ftpd |
292976c1 | 337 | Obsoletes: kerberos5-ftpd |
dc28a757 | 338 | Conflicts: krb5-ftpd |
5459024d | 339 | |
87a2a408 | 340 | %description ftpd |
c358392a | 341 | FTP is the file transfer protocol, which is a widely used Internet |
87a2a408 | 342 | protocol for transferring files and for archiving files. |
343 | ||
0fbef91b JR |
344 | %description ftpd -l pl.UTF-8 |
345 | FTP jest protokołem transmisji plików szeroko rozpowszechnionym w | |
2f6bc7c9 | 346 | Internecie. |
845f767b | 347 | |
5459024d | 348 | %package rshd |
568e3a79 | 349 | Summary: Server for remote access commands (rsh, rlogin, rcp) |
13ef1022 | 350 | Summary(pl.UTF-8): Serwer zdalnego dostępu (rsh, rlogin, rcp) |
5459024d | 351 | Group: Networking/Daemons |
2ae17cec | 352 | Requires: %{name}-libs-common = %{version}-%{release} |
a39a46c8 | 353 | Requires: rc-inetd >= 0.8.1 |
292976c1 JB |
354 | Provides: kerberos5-rshd |
355 | Obsoletes: kerberos5-rshd | |
5459024d | 356 | Obsoletes: rshd |
dc28a757 | 357 | Conflicts: krb5-rshd |
5459024d | 358 | |
87a2a408 | 359 | %description rshd |
360 | The rsh package contains a set of programs which allow users to run | |
361 | commmands on remote machines, login to other machines and copy files | |
362 | between machines (rsh, rlogin and rcp). All three of these commands | |
c358392a | 363 | use rhosts style authentication. This package contains servers needed |
87a2a408 | 364 | for all of these services. |
365 | ||
0fbef91b JR |
366 | %description rshd -l pl.UTF-8 |
367 | Ten pakiet zawiera zestaw serwerów pozwalających na wykonywanie | |
368 | poleceń na zdalnych maszynach, logowanie na inne maszyny oraz | |
369 | kopiowanie plików pomiędzy maszynami (rsh, rlogin, rcp). | |
845f767b | 370 | |
5459024d | 371 | %package telnetd |
568e3a79 | 372 | Summary: Server for the telnet remote login |
13ef1022 | 373 | Summary(pl.UTF-8): Serwer protokołu telnet |
5459024d | 374 | Group: Networking/Daemons |
2ae17cec | 375 | Requires: %{name}-libs-common = %{version}-%{release} |
a39a46c8 | 376 | Requires: rc-inetd >= 0.8.1 |
292976c1 JB |
377 | Provides: kerberos5-telnetd |
378 | Obsoletes: kerberos5-telnetd | |
5459024d | 379 | Obsoletes: telnetd |
dc28a757 | 380 | Conflicts: krb5-telnetd |
5459024d | 381 | |
87a2a408 | 382 | %description telnetd |
c358392a | 383 | Telnet is a popular protocol for remote logins across the Internet. |
384 | This package provides a telnet daemon which allows remote logins into | |
385 | the machine it is running on. | |
87a2a408 | 386 | |
0fbef91b JR |
387 | %description telnetd -l pl.UTF-8 |
388 | Telnet jest popularnym protokołem zdalnego logowania. Ten pakiet | |
389 | zawiera serwer pozwalający na zdalne logowanie się klientów na maszynę | |
390 | na której działa. | |
845f767b | 391 | |
c52bba62 | 392 | %package daemons |
11e40c5a | 393 | Summary: Kerberos daemons programs for use on servers |
13ef1022 | 394 | Summary(pl.UTF-8): Serwery popularnych usług, autoryzujące przy pomocy kerberosa |
11e40c5a | 395 | Group: Networking |
2ae17cec | 396 | Requires: %{name}-libs-common = %{version}-%{release} |
11e40c5a AM |
397 | |
398 | %description daemons | |
399 | Kerberos Daemons. | |
400 | ||
0fbef91b JR |
401 | %description daemons -l pl.UTF-8 |
402 | Demony korzystające z systemu Kerberos do autoryzacji dostępu. | |
11e40c5a | 403 | |
11e40c5a | 404 | %prep |
0484bab0 | 405 | %setup -q |
11e40c5a | 406 | %patch0 -p1 |
493e3b85 | 407 | %patch1 -p1 |
3674519b | 408 | %patch2 -p1 |
c7b87187 JB |
409 | %patch3 -p1 |
410 | %patch4 -p1 | |
411 | %patch5 -p1 | |
ed59b63e | 412 | %patch6 -p1 |
1cc729ed | 413 | %patch7 -p1 |
55199c96 | 414 | %patch8 -p1 |
bef55632 | 415 | %patch9 -p1 |
56398966 | 416 | %patch10 -p1 |
2342d882 | 417 | %patch11 -p1 |
944b188c | 418 | %patch12 -p1 |
2ed8db32 | 419 | %patch13 -p1 |
34b43d7a | 420 | %patch14 -p1 |
9e485d0a | 421 | |
11e40c5a | 422 | %build |
ce6e3c9b AM |
423 | install -d our-ld |
424 | ln -s %{_bindir}/ld.bfd our-ld/ld | |
425 | export PATH=$(pwd)/our-ld:$PATH | |
426 | ||
944b188c | 427 | %{__rm} acinclude.m4 cf/{libtool,lt*}.m4 |
fcf46cfe | 428 | %{__libtoolize} |
429 | %{__aclocal} -I cf | |
430 | %{__autoconf} | |
431 | %{__automake} | |
1ee1a6a5 JR |
432 | cd lib/libedit |
433 | %{__aclocal} | |
434 | %{__autoconf} | |
435 | %{__automake} | |
436 | cd ../.. | |
5459024d | 437 | %configure \ |
eaf2fb51 | 438 | %if %{with ldap} |
6dfaff75 | 439 | --enable-hdb-openldap-module \ |
eaf2fb51 AM |
440 | --with-openldap=/usr \ |
441 | %endif | |
d23c9e49 | 442 | --with%{!?with_openssl:out}-openssl \ |
6dfaff75 JB |
443 | --enable-kcm \ |
444 | --enable-pthread-support \ | |
11e40c5a AM |
445 | --enable-shared \ |
446 | --enable-static \ | |
6dfaff75 JB |
447 | --with-hdbdir=%{_localstatedir} \ |
448 | --with-ipv6 \ | |
4469f316 | 449 | --with-readline=/usr \ |
82c12880 | 450 | --with-sqlite3=/usr \ |
d2e047af | 451 | --without-hesiod \ |
6dfaff75 | 452 | --with%{!?with_x11:out}-x |
11e40c5a | 453 | |
7209233a | 454 | %{__make} -j1 |
11e40c5a AM |
455 | |
456 | %install | |
457 | rm -rf $RPM_BUILD_ROOT | |
80f50a05 | 458 | install -d $RPM_BUILD_ROOT{%{_localstatedir},%{_sysconfdir},%{schemadir},/sbin,/%{_lib}} \ |
0c9d84fa | 459 | $RPM_BUILD_ROOT/etc/{sysconfig/rc-inetd,rc.d/init.d} |
11e40c5a | 460 | |
a297a2ea JB |
461 | %{__make} install \ |
462 | DESTDIR=$RPM_BUILD_ROOT | |
5459024d | 463 | |
5776cc8c JR |
464 | install lib/hdb/hdb.schema $RPM_BUILD_ROOT%{schemadir} |
465 | ||
a2604258 JR |
466 | mv $RPM_BUILD_ROOT%{_sbindir}/kcm $RPM_BUILD_ROOT/sbin/kcm |
467 | ||
7d3ffee7 | 468 | mv $RPM_BUILD_ROOT%{_bindir}/su $RPM_BUILD_ROOT%{_bindir}/ksu |
2272733f | 469 | mv $RPM_BUILD_ROOT%{_mandir}/man1/su.1 $RPM_BUILD_ROOT%{_mandir}/man1/ksu.1 |
9987dc73 | 470 | |
568e3a79 | 471 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} |
0c9d84fa JR |
472 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/kpasswdd |
473 | install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/ipropd | |
474 | install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/kcm | |
475 | install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/%{name} | |
476 | install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/kcm | |
477 | ||
478 | install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/krb5.conf | |
11e40c5a | 479 | |
0c9d84fa JR |
480 | install %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/ftpd |
481 | install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/rshd | |
482 | install %{SOURCE10} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/telnetd | |
483 | install %{SOURCE11} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/kadmind | |
11e40c5a | 484 | |
a414f4e5 | 485 | for l in $RPM_BUILD_ROOT%{_libdir}/lib{asn1,gssapi,heimbase,heimntlm,hx509,kafs,krb5,roken,wind}.so %{!?with_openssl:libhcrypto.so} ; do |
80f50a05 JR |
486 | lib=`basename $l` |
487 | mv -f $RPM_BUILD_ROOT%{_libdir}/$lib.* $RPM_BUILD_ROOT/%{_lib} | |
488 | ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/$lib.*.*) $RPM_BUILD_ROOT%{_libdir}/$lib | |
489 | done | |
36488e42 | 490 | |
d9842468 | 491 | %if %{with expose_internals} |
529403f3 JR |
492 | # install definitions of KCM internal data structures to get KCM support in nfs-utils |
493 | install -d $RPM_BUILD_ROOT%{_includedir}/kcm | |
494 | _mutexdef=$(cat << EOF | %{__cc} -E -I./include - | sed 's/_HEIMDAL_MUTEX \(.*\)/\1/p; d' | |
495 | #include "config.h" | |
496 | #include "heim_threads.h" | |
497 | _HEIMDAL_MUTEX HEIMDAL_MUTEX | |
498 | EOF) | |
499 | %{__sed} -e '/#include <kcm-protos.h>/d' \ | |
500 | -e '/#include "headers.h"/d' \ | |
501 | -e '/kcm_service/N; /kcm_service/d;' \ | |
502 | -e 's/<kcm\.h>/<kcm\/kcm.h>/' \ | |
503 | -e "s/HEIMDAL_MUTEX/$_mutexdef/g" kcm/kcm_locl.h >$RPM_BUILD_ROOT%{_includedir}/kcm/kcm_locl.h | |
504 | install -p lib/krb5/kcm.h $RPM_BUILD_ROOT%{_includedir}/kcm | |
d9842468 | 505 | %endif |
529403f3 | 506 | |
0484bab0 | 507 | # just a test plugin |
e6e72da0 | 508 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/windc.* |
1c4afd36 | 509 | %if %{with ldap} |
0484bab0 | 510 | # not needed for plugin |
e6e72da0 | 511 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/hdb_ldap.{la,a} |
1c4afd36 | 512 | %endif |
0f06dc21 | 513 | # resolve heimdal-libs/krb5-libs conflict |
e6e72da0 | 514 | %{__mv} $RPM_BUILD_ROOT%{_mandir}/man5/{krb5.conf.5,krb5.conf.5h} |
87a2a408 | 515 | |
516 | touch $RPM_BUILD_ROOT{%{_sysconfdir}/krb5.keytab,%{_localstatedir}/kadmind.acl} | |
11e40c5a | 517 | |
845f767b JB |
518 | %clean |
519 | rm -rf $RPM_BUILD_ROOT | |
520 | ||
87a2a408 | 521 | %post server |
71148af2 | 522 | /sbin/chkconfig --add heimdal |
8e4fc37f | 523 | %service heimdal restart "heimdal KDC daemon" |
36488e42 | 524 | /sbin/chkconfig --add kpasswdd |
f3e12399 | 525 | %service kpasswdd restart "heimdal password changing daemon" |
8e4fc37f JR |
526 | /sbin/chkconfig --add ipropd |
527 | %service ipropd restart "heimdal propagation daemons" | |
f3e12399 | 528 | %service -q rc-inetd reload |
87a2a408 | 529 | |
87a2a408 | 530 | %preun server |
71148af2 | 531 | if [ "$1" = "0" ]; then |
8e4fc37f JR |
532 | %service ipropd stop |
533 | /sbin/chkconfig --del ipropd | |
534 | %service kpasswdd stop | |
535 | /sbin/chkconfig --del kpasswdd | |
f3e12399 | 536 | %service heimdal stop |
71148af2 | 537 | /sbin/chkconfig --del heimdal |
8e4fc37f JR |
538 | %service -q rc-inetd reload |
539 | fi | |
71148af2 | 540 | |
8e4fc37f JR |
541 | %post kcm |
542 | /sbin/chkconfig --add kcm | |
543 | if [ -f /var/lock/subsys/kcm ]; then | |
544 | echo "Run \"/sbin/service kcm restart\" to restart kcm." >&2 | |
545 | echo "WARNING: it will clear all credentials and tickets kept in kcm!" >&2 | |
546 | else | |
547 | echo "Run \"/sbin/service kcm start\" to start kcm." >&2 | |
548 | fi | |
36488e42 | 549 | |
8e4fc37f JR |
550 | %preun kcm |
551 | if [ "$1" = "0" ]; then | |
552 | %service kcm stop | |
553 | /sbin/chkconfig --del kcm | |
71148af2 | 554 | fi |
2d0d93d3 | 555 | |
5459024d | 556 | %post ftpd |
f3e12399 | 557 | %service -q rc-inetd reload |
11e40c5a | 558 | |
5459024d | 559 | %postun ftpd |
f3e12399 ER |
560 | if [ "$1" = "0" ]; then |
561 | %service -q rc-inetd reload | |
71148af2 | 562 | fi |
5459024d | 563 | |
564 | %post rshd | |
f3e12399 | 565 | %service -q rc-inetd reload |
11e40c5a | 566 | |
5459024d | 567 | %postun rshd |
f3e12399 ER |
568 | if [ "$1" = "0" ]; then |
569 | %service -q rc-inetd reload | |
71148af2 | 570 | fi |
56afe882 | 571 | |
5459024d | 572 | %post telnetd |
f3e12399 | 573 | %service -q rc-inetd reload |
11e40c5a | 574 | |
5459024d | 575 | %postun telnetd |
f3e12399 ER |
576 | if [ "$1" = "0" ]; then |
577 | %service -q rc-inetd reload | |
71148af2 | 578 | fi |
11e40c5a | 579 | |
2ae17cec | 580 | %post common |
71148af2 | 581 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
87a2a408 | 582 | |
2ae17cec | 583 | %postun common |
71148af2 | 584 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
87a2a408 | 585 | |
2ae17cec JR |
586 | %post libs -p /sbin/ldconfig |
587 | %postun libs -p /sbin/ldconfig | |
bf56c6b3 JR |
588 | %post libs-common -p /sbin/ldconfig |
589 | %postun libs-common -p /sbin/ldconfig | |
d9930f8a TP |
590 | %post libs-server -p /sbin/ldconfig |
591 | %postun libs-server -p /sbin/ldconfig | |
2272733f | 592 | |
eaf2fb51 | 593 | %if %{with ldap} |
5776cc8c JR |
594 | %post -n openldap-schema-heimdal |
595 | %openldap_schema_register %{schemadir}/hdb.schema | |
596 | %service -q ldap restart | |
597 | ||
598 | %postun -n openldap-schema-heimdal | |
599 | if [ "$1" = "0" ]; then | |
600 | %openldap_schema_unregister %{schemadir}/hdb.schema | |
601 | %service -q ldap restart | |
602 | fi | |
eaf2fb51 | 603 | %endif |
5776cc8c | 604 | |
da732ece JR |
605 | %triggerpostun libs -- heimdal-libs < 1.2.1-6 |
606 | if [ -f /etc/heimdal/krb5.conf.rpmsave ]; then | |
607 | mv /etc/krb5.conf{,.rpmnew} | |
608 | mv -f /etc/heimdal/krb5.conf.rpmsave /etc/krb5.conf | |
609 | fi | |
610 | if [ -f /etc/heimdal/krb5.keytab.rpmsave ]; then | |
611 | mv /etc/krb5.keytab{,.rpmnew} | |
612 | mv -f /etc/heimdal/krb5.keytab.rpmsave /etc/krb5.keytab | |
613 | fi | |
614 | ||
c7b87187 JB |
615 | %files |
616 | %defattr(644,root,root,755) | |
0484bab0 | 617 | %doc ChangeLog NEWS README TODO |
c7b87187 | 618 | %attr(755,root,root) %{_bindir}/afslog |
ae8b3b4d | 619 | %attr(755,root,root) %{_bindir}/gsstool |
7d3ffee7 | 620 | %attr(755,root,root) %{_bindir}/hxtool |
2402950c | 621 | %attr(755,root,root) %{_bindir}/idn-lookup |
ae8b3b4d | 622 | %attr(755,root,root) %{_bindir}/kcc |
c7b87187 JB |
623 | %attr(755,root,root) %{_bindir}/kdestroy |
624 | %attr(755,root,root) %{_bindir}/kf | |
625 | %attr(755,root,root) %{_bindir}/kgetcred | |
626 | %attr(755,root,root) %{_bindir}/kinit | |
627 | %attr(755,root,root) %{_bindir}/klist | |
628 | %attr(755,root,root) %{_bindir}/kpasswd | |
6230cc94 | 629 | %attr(755,root,root) %{_bindir}/kswitch |
e5f030f3 | 630 | %attr(755,root,root) %{_bindir}/otpprint |
c7b87187 JB |
631 | %attr(755,root,root) %{_bindir}/pagsh |
632 | %attr(755,root,root) %{_bindir}/pfrom | |
c7b87187 | 633 | %attr(755,root,root) %{_bindir}/string2key |
c7b87187 | 634 | %attr(755,root,root) %{_bindir}/verify_krb5_conf |
eb49dc88 | 635 | %attr(755,root,root) %{_sbindir}/kadmin |
0484bab0 | 636 | %attr(755,root,root) %{_sbindir}/kdigest |
7d3ffee7 | 637 | %attr(755,root,root) %{_sbindir}/kimpersonate |
64e90bd4 | 638 | %attr(755,root,root) %{_sbindir}/ktutil |
eb49dc88 | 639 | %attr(755,root,root) %{_sbindir}/push |
665da1cc AM |
640 | %if %{with x11} |
641 | %attr(755,root,root) %{_bindir}/kx | |
665da1cc AM |
642 | %attr(755,root,root) %{_bindir}/rxtelnet |
643 | %attr(755,root,root) %{_bindir}/rxterm | |
e5f030f3 JR |
644 | %attr(755,root,root) %{_bindir}/tenletxr |
645 | %attr(755,root,root) %{_bindir}/xnlock | |
665da1cc | 646 | %endif |
c7b87187 | 647 | %attr(4755,root,root) %{_bindir}/otp |
c7b87187 | 648 | %attr(4755,root,root) %{_bindir}/ksu |
c7b87187 | 649 | %{_mandir}/man1/afslog.1* |
c7b87187 JB |
650 | %{_mandir}/man1/kdestroy.1* |
651 | %{_mandir}/man1/kf.1* | |
652 | %{_mandir}/man1/kgetcred.1* | |
653 | %{_mandir}/man1/kinit.1* | |
654 | %{_mandir}/man1/klist.1* | |
655 | %{_mandir}/man1/kpasswd.1* | |
9987dc73 | 656 | %{_mandir}/man1/ksu.1* |
82c12880 | 657 | %{_mandir}/man1/kswitch.1* |
c7b87187 JB |
658 | %{_mandir}/man1/otp.1* |
659 | %{_mandir}/man1/otpprint.1* | |
9987dc73 | 660 | %{_mandir}/man1/pagsh.1* |
c7b87187 | 661 | %{_mandir}/man1/pfrom.1* |
e5f030f3 JR |
662 | %if %{with x11} |
663 | %{_mandir}/man1/kx.1* | |
664 | %{_mandir}/man1/rxtelnet.1* | |
665 | %{_mandir}/man1/rxterm.1* | |
666 | %{_mandir}/man1/tenletxr.1* | |
667 | %{_mandir}/man1/xnlock.1* | |
668 | %endif | |
eb49dc88 | 669 | %{_mandir}/man8/kadmin.8* |
82c12880 JR |
670 | %{_mandir}/man8/kdigest.8* |
671 | %{_mandir}/man8/kimpersonate.8* | |
64e90bd4 | 672 | %{_mandir}/man8/ktutil.8* |
eb49dc88 | 673 | %{_mandir}/man8/push.8* |
c7b87187 JB |
674 | %{_mandir}/man8/string2key.8* |
675 | %{_mandir}/man8/verify_krb5_conf.8* | |
665da1cc | 676 | |
2ae17cec | 677 | %files common |
11e40c5a | 678 | %defattr(644,root,root,755) |
0484bab0 JB |
679 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/krb5.conf |
680 | %attr(400,root,root) %ghost %{_sysconfdir}/krb5.keytab | |
d9930f8a TP |
681 | %{_infodir}/heimdal.info* |
682 | %{_infodir}/hx509.info* | |
683 | %{_mandir}/man5/krb5.conf.5* | |
684 | %{_mandir}/man5/mech.5* | |
685 | %{_mandir}/man8/kerberos.8* | |
2ae17cec JR |
686 | |
687 | %files libs | |
688 | %defattr(644,root,root,755) | |
80f50a05 JR |
689 | %attr(755,root,root) /%{_lib}/libasn1.so.*.*.* |
690 | %attr(755,root,root) %ghost /%{_lib}/libasn1.so.8 | |
691 | %attr(755,root,root) /%{_lib}/libgssapi.so.*.*.* | |
1ee1a6a5 | 692 | %attr(755,root,root) %ghost /%{_lib}/libgssapi.so.3 |
ae8b3b4d | 693 | %attr(755,root,root) /%{_lib}/libheimbase.so.*.*.* |
a414f4e5 | 694 | %if %{without openssl} |
6f6884c0 JR |
695 | %attr(755,root,root) /%{_lib}/libhcrypto.so.*.*.* |
696 | %attr(755,root,root) %ghost /%{_lib}/libhcrypto.so.4 | |
697 | %endif | |
ae8b3b4d | 698 | %attr(755,root,root) %ghost /%{_lib}/libheimbase.so.1 |
bf56c6b3 JR |
699 | %attr(755,root,root) /%{_lib}/libheimntlm.so.*.*.* |
700 | %attr(755,root,root) %ghost /%{_lib}/libheimntlm.so.0 | |
80f50a05 | 701 | %attr(755,root,root) /%{_lib}/libhx509.so.*.*.* |
82c12880 | 702 | %attr(755,root,root) %ghost /%{_lib}/libhx509.so.5 |
bf56c6b3 JR |
703 | %attr(755,root,root) /%{_lib}/libkafs.so.*.*.* |
704 | %attr(755,root,root) %ghost /%{_lib}/libkafs.so.0 | |
705 | %attr(755,root,root) /%{_lib}/libkrb5.so.*.*.* | |
706 | %attr(755,root,root) %ghost /%{_lib}/libkrb5.so.26 | |
d9930f8a TP |
707 | %attr(755,root,root) /%{_lib}/libroken.so.*.*.* |
708 | %attr(755,root,root) %ghost /%{_lib}/libroken.so.18 | |
bf56c6b3 JR |
709 | %attr(755,root,root) /%{_lib}/libwind.so.*.*.* |
710 | %attr(755,root,root) %ghost /%{_lib}/libwind.so.0 | |
11e40c5a | 711 | |
bf56c6b3 | 712 | %files libs-common |
2ae17cec | 713 | %defattr(644,root,root,755) |
2272733f TP |
714 | %attr(755,root,root) %{_libdir}/libhdb.so.*.*.* |
715 | %attr(755,root,root) %ghost %{_libdir}/libhdb.so.9 | |
716 | %attr(755,root,root) %{_libdir}/libkadm5clnt.so.*.*.* | |
717 | %attr(755,root,root) %ghost %{_libdir}/libkadm5clnt.so.7 | |
718 | %attr(755,root,root) %{_libdir}/libkadm5srv.so.*.*.* | |
719 | %attr(755,root,root) %ghost %{_libdir}/libkadm5srv.so.8 | |
d9930f8a TP |
720 | %attr(755,root,root) %{_libdir}/libotp.so.*.*.* |
721 | %attr(755,root,root) %ghost %{_libdir}/libotp.so.0 | |
722 | %attr(755,root,root) %{_libdir}/libsl.so.*.*.* | |
723 | %attr(755,root,root) %ghost %{_libdir}/libsl.so.0 | |
0360d4ed JB |
724 | %dir %{_libdir}/%{name} |
725 | %attr(755,root,root) %{_libdir}/%{name}/asn1_compile | |
726 | %attr(755,root,root) %{_libdir}/%{name}/asn1_print | |
727 | %attr(755,root,root) %{_libdir}/%{name}/slc | |
d9930f8a | 728 | |
bf56c6b3 | 729 | %files libs-server |
2ae17cec | 730 | %defattr(644,root,root,755) |
bf56c6b3 JR |
731 | %attr(755,root,root) %{_libdir}/libkdc.so.*.*.* |
732 | %attr(755,root,root) %ghost %{_libdir}/libkdc.so.2 | |
e44f4b1e | 733 | |
0484bab0 JB |
734 | %files devel |
735 | %defattr(644,root,root,755) | |
736 | %attr(755,root,root) %{_bindir}/krb5-config | |
737 | %attr(755,root,root) %{_libdir}/libasn1.so | |
738 | %attr(755,root,root) %{_libdir}/libgssapi.so | |
d23c9e49 | 739 | %{!?with_openssl:%{_libdir}/libhcrypto.so} |
0484bab0 | 740 | %attr(755,root,root) %{_libdir}/libhdb.so |
ae8b3b4d | 741 | %attr(755,root,root) %{_libdir}/libheimbase.so |
0484bab0 JB |
742 | %attr(755,root,root) %{_libdir}/libheimntlm.so |
743 | %attr(755,root,root) %{_libdir}/libhx509.so | |
744 | %attr(755,root,root) %{_libdir}/libkadm5clnt.so | |
745 | %attr(755,root,root) %{_libdir}/libkadm5srv.so | |
746 | %attr(755,root,root) %{_libdir}/libkafs.so | |
747 | %attr(755,root,root) %{_libdir}/libkdc.so | |
748 | %attr(755,root,root) %{_libdir}/libkrb5.so | |
749 | %attr(755,root,root) %{_libdir}/libotp.so | |
750 | %attr(755,root,root) %{_libdir}/libroken.so | |
751 | %attr(755,root,root) %{_libdir}/libsl.so | |
6230cc94 | 752 | %attr(755,root,root) %{_libdir}/libwind.so |
0484bab0 JB |
753 | %{_libdir}/libasn1.la |
754 | %{_libdir}/libgssapi.la | |
d23c9e49 | 755 | %{!?with_openssl:%{_libdir}/libhcrypto.la} |
0484bab0 | 756 | %{_libdir}/libhdb.la |
ae8b3b4d | 757 | %{_libdir}/libheimbase.la |
0484bab0 JB |
758 | %{_libdir}/libheimntlm.la |
759 | %{_libdir}/libhx509.la | |
760 | %{_libdir}/libkadm5clnt.la | |
761 | %{_libdir}/libkadm5srv.la | |
762 | %{_libdir}/libkafs.la | |
763 | %{_libdir}/libkdc.la | |
764 | %{_libdir}/libkrb5.la | |
765 | %{_libdir}/libotp.la | |
766 | %{_libdir}/libroken.la | |
767 | %{_libdir}/libsl.la | |
6230cc94 | 768 | %{_libdir}/libwind.la |
0484bab0 JB |
769 | %{_includedir}/*.h |
770 | %{_includedir}/gssapi | |
d23c9e49 | 771 | %{!?with_openssl:%{_includedir}/hcrypto} |
0484bab0 | 772 | %{_includedir}/kadm5 |
d9842468 | 773 | %{?with_expose_internals:%{_includedir}/kcm} |
0484bab0 JB |
774 | %{_includedir}/krb5 |
775 | %{_includedir}/roken | |
6dfaff75 | 776 | %{_pkgconfigdir}/heimdal-gssapi.pc |
0484bab0 | 777 | %{_mandir}/man1/krb5-config.1* |
0360d4ed JB |
778 | %{_mandir}/man3/DES_*.3* |
779 | %{_mandir}/man3/DH_*.3* | |
780 | %{_mandir}/man3/EVP_*.3* | |
781 | %{_mandir}/man3/HDB.3* | |
782 | %{_mandir}/man3/OpenSSL_add_all_algorithms*.3* | |
783 | %{_mandir}/man3/PKCS5_PBKDF2_HMAC_SHA1.3* | |
784 | %{_mandir}/man3/RAND_*.3* | |
785 | %{_mandir}/man3/RSA_*.3* | |
786 | %{_mandir}/man3/__gss_c_attr_stream_sizes_oid_desc.3* | |
787 | %{_mandir}/man3/challenge.3* | |
788 | %{_mandir}/man3/context.3* | |
789 | %{_mandir}/man3/data.3* | |
790 | %{_mandir}/man3/domain.3* | |
791 | %{_mandir}/man3/ecalloc.3* | |
792 | %{_mandir}/man3/flags.3* | |
793 | %{_mandir}/man3/getarg.3* | |
794 | %{_mandir}/man3/gss_*.3* | |
795 | %{_mandir}/man3/gssapi*.3* | |
796 | %{_mandir}/man3/hcrypto_*.3* | |
797 | %{_mandir}/man3/hdb_*.3* | |
798 | %{_mandir}/man3/heim_ntlm_*.3* | |
799 | %{_mandir}/man3/hostname.3* | |
800 | %{_mandir}/man3/hx509*.3* | |
801 | %{_mandir}/man3/internalvsmechname.3* | |
802 | %{_mandir}/man3/kadm5_pwcheck.3* | |
803 | %{_mandir}/man3/kafs.3* | |
804 | %{_mandir}/man3/krb5*.3* | |
805 | %{_mandir}/man3/length.3* | |
806 | %{_mandir}/man3/lm.3* | |
807 | %{_mandir}/man3/ntlm*.3* | |
808 | %{_mandir}/man3/os.3* | |
809 | %{_mandir}/man3/page_*.3* | |
810 | %{_mandir}/man3/parse_time.3* | |
811 | %{_mandir}/man3/rtbl.3* | |
812 | %{_mandir}/man3/sessionkey.3* | |
813 | %{_mandir}/man3/targetinfo.3* | |
814 | %{_mandir}/man3/targetname.3* | |
815 | %{_mandir}/man3/username.3* | |
816 | %{_mandir}/man3/wind*.3* | |
817 | %{_mandir}/man3/ws.3* | |
11e40c5a | 818 | |
0484bab0 JB |
819 | %files static |
820 | %defattr(644,root,root,755) | |
821 | %{_libdir}/libasn1.a | |
822 | %{_libdir}/libgssapi.a | |
d23c9e49 | 823 | %{!?with_openssl:%{_libdir}/libhcrypto.a} |
0484bab0 | 824 | %{_libdir}/libhdb.a |
ae8b3b4d | 825 | %{_libdir}/libheimbase.a |
0484bab0 JB |
826 | %{_libdir}/libheimntlm.a |
827 | %{_libdir}/libhx509.a | |
828 | %{_libdir}/libkadm5clnt.a | |
829 | %{_libdir}/libkadm5srv.a | |
830 | %{_libdir}/libkafs.a | |
831 | %{_libdir}/libkdc.a | |
832 | %{_libdir}/libkrb5.a | |
833 | %{_libdir}/libotp.a | |
834 | %{_libdir}/libroken.a | |
835 | %{_libdir}/libsl.a | |
6230cc94 | 836 | %{_libdir}/libwind.a |
0484bab0 | 837 | |
292976c1 JB |
838 | %if %{with ldap} |
839 | %files ldap | |
840 | %defattr(644,root,root,755) | |
841 | %attr(755,root,root) %{_libdir}/hdb_ldap.so | |
842 | ||
843 | %files -n openldap-schema-heimdal | |
844 | %defattr(644,root,root,755) | |
845 | %{schemadir}/hdb.schema | |
846 | %endif | |
847 | ||
0484bab0 JB |
848 | %files kcm |
849 | %defattr(644,root,root,755) | |
0c9d84fa JR |
850 | %attr(754,root,root) /etc/rc.d/init.d/kcm |
851 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/kcm | |
a2604258 | 852 | %attr(755,root,root) /sbin/kcm |
0484bab0 JB |
853 | %{_mandir}/man8/kcm.8* |
854 | ||
855 | %files server | |
856 | %defattr(644,root,root,755) | |
e5f030f3 | 857 | %attr(755,root,root) %{_sbindir}/digest-service |
11e40c5a AM |
858 | %attr(755,root,root) %{_sbindir}/hprop |
859 | %attr(755,root,root) %{_sbindir}/hpropd | |
860 | %attr(755,root,root) %{_sbindir}/ipropd-master | |
861 | %attr(755,root,root) %{_sbindir}/ipropd-slave | |
e5f030f3 | 862 | %attr(755,root,root) %{_sbindir}/iprop-log |
11e40c5a AM |
863 | %attr(755,root,root) %{_sbindir}/kadmind |
864 | %attr(755,root,root) %{_sbindir}/kdc | |
e5f030f3 | 865 | %attr(755,root,root) %{_sbindir}/kfd |
11e40c5a | 866 | %attr(755,root,root) %{_sbindir}/kpasswdd |
e5f030f3 | 867 | %attr(755,root,root) %{_sbindir}/kstash |
665da1cc | 868 | %{?with_x11:%attr(755,root,root) %{_sbindir}/kxd} |
0484bab0 JB |
869 | %attr(754,root,root) /etc/rc.d/init.d/%{name} |
870 | %attr(754,root,root) /etc/rc.d/init.d/kpasswdd | |
0c9d84fa | 871 | %attr(754,root,root) /etc/rc.d/init.d/ipropd |
0484bab0 | 872 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/heimdal |
0484bab0 JB |
873 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/kadmind |
874 | %attr(700,root,root) %dir %{_localstatedir} | |
875 | %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_localstatedir}/* | |
5459024d | 876 | %{_mandir}/man8/hprop.8* |
877 | %{_mandir}/man8/hpropd.8* | |
e5f030f3 JR |
878 | %{_mandir}/man8/iprop.8* |
879 | %{_mandir}/man8/iprop-log.8* | |
fcf46cfe | 880 | %{_mandir}/man8/kadmind.8* |
5459024d | 881 | %{_mandir}/man8/kdc.8* |
c7b87187 | 882 | %{_mandir}/man8/kfd.8* |
5459024d | 883 | %{_mandir}/man8/kpasswdd.8* |
fcf46cfe | 884 | %{_mandir}/man8/kstash.8* |
0484bab0 | 885 | %{?with_x11:%{_mandir}/man8/kxd.8*} |
5459024d | 886 | |
568e3a79 | 887 | %files login |
c358392a | 888 | %defattr(644,root,root,755) |
568e3a79 | 889 | %attr(755,root,root) %{_bindir}/login |
c7b87187 | 890 | %{_mandir}/man1/login.1* |
72e056e8 | 891 | %{_mandir}/man5/login.access.5* |
568e3a79 | 892 | |
5459024d | 893 | %files ftp |
c358392a | 894 | %defattr(644,root,root,755) |
5459024d | 895 | %attr(755,root,root) %{_bindir}/ftp |
c358392a | 896 | %{_mandir}/man1/ftp.1* |
5459024d | 897 | |
898 | %files rsh | |
c358392a | 899 | %defattr(644,root,root,755) |
fcf46cfe | 900 | %attr(755,root,root) %{_bindir}/rcp |
6dfaff75 JB |
901 | %attr(755,root,root) %{_bindir}/rsh |
902 | %{_mandir}/man1/rcp.1* | |
fcf46cfe | 903 | %{_mandir}/man1/rsh.1* |
5459024d | 904 | |
905 | %files telnet | |
c358392a | 906 | %defattr(644,root,root,755) |
5459024d | 907 | %attr(755,root,root) %{_bindir}/telnet |
c358392a | 908 | %{_mandir}/man1/telnet.1* |
5459024d | 909 | |
910 | %files ftpd | |
c358392a | 911 | %defattr(644,root,root,755) |
a39a46c8 | 912 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/ftpd |
5459024d | 913 | %attr(755,root,root) %{_sbindir}/ftpd |
c358392a | 914 | %{_mandir}/man5/ftpusers.5* |
915 | %{_mandir}/man8/ftpd.8* | |
5459024d | 916 | |
917 | %files rshd | |
c358392a | 918 | %defattr(644,root,root,755) |
a39a46c8 | 919 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/rshd |
5459024d | 920 | %attr(755,root,root) %{_sbindir}/rshd |
fcf46cfe | 921 | %{_mandir}/man8/rshd.8* |
5459024d | 922 | |
923 | %files telnetd | |
c358392a | 924 | %defattr(644,root,root,755) |
a39a46c8 | 925 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/telnetd |
5459024d | 926 | %attr(755,root,root) %{_sbindir}/telnetd |
c358392a | 927 | %{_mandir}/man8/telnetd.8* |
5459024d | 928 | |
11e40c5a AM |
929 | %files daemons |
930 | %defattr(644,root,root,755) | |
9e485d0a | 931 | %attr(755,root,root) %{_sbindir}/popper |
c7b87187 | 932 | %{_mandir}/man8/popper.8* |