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