]>
Commit | Line | Data |
---|---|---|
e3590bff | 1 | # |
7d3ffee7 | 2 | # TODO: |
0484bab0 | 3 | # - create init script for kcm |
7d3ffee7 | 4 | # |
e3590bff JB |
5 | # Conditional build: |
6 | %bcond_without x11 # without X11-based utilities | |
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 |
f5ad6660 | 11 | Version: 1.0.2 |
12 | Release: 1 | |
845f767b | 13 | License: Free |
c52bba62 | 14 | Group: Networking |
0484bab0 | 15 | Source0: ftp://ftp.pdc.kth.se/pub/heimdal/src/%{name}-%{version}.tar.gz |
f5ad6660 | 16 | # Source0-md5: 592d722ec3ad6ed05051c3a05e645e83 |
87a2a408 | 17 | Source1: %{name}.init |
18 | Source2: %{name}.logrotate | |
19 | Source3: %{name}.sysconfig | |
20 | Source4: %{name}-krb5.conf | |
21 | Source5: %{name}-ftpd.inetd | |
22 | Source6: %{name}-rshd.inetd | |
23 | Source7: %{name}-telnetd.inetd | |
24 | Source8: %{name}-kadmind.inetd | |
36488e42 | 25 | Source9: %{name}-kpasswdd.init |
26 | Source10: %{name}-kpasswdd.sysconfig | |
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 | |
31 | Patch4: %{name}-no-editline.patch | |
efe41ff4 JB |
32 | Patch5: %{name}-db4.patch |
33 | Patch6: %{name}-libadd.patch | |
34 | Patch7: %{name}-signal.patch | |
35 | Patch8: %{name}-ldap.patch | |
36 | Patch9: %{name}-info.patch | |
c52bba62 | 37 | URL: http://www.pdc.kth.se/heimdal/ |
fcf46cfe | 38 | BuildRequires: autoconf |
39 | BuildRequires: automake | |
ba5a356d | 40 | BuildRequires: bison |
1ead67f5 | 41 | BuildRequires: db-devel |
568e3a79 | 42 | BuildRequires: flex |
e17a9266 | 43 | BuildRequires: libcom_err-devel >= 1.34-5 |
fcf46cfe | 44 | BuildRequires: libtool |
568e3a79 | 45 | BuildRequires: mawk |
9e40ad90 | 46 | BuildRequires: ncurses-devel >= 5.1 |
cfba6343 | 47 | BuildRequires: openldap-devel >= 2.4.6 |
814af20d | 48 | BuildRequires: openssl-devel >= 0.9.8b |
f5268247 | 49 | BuildRequires: readline-devel >= 5.0 |
f3e12399 | 50 | BuildRequires: rpmbuild(macros) >= 1.268 |
e2e4c2a7 | 51 | BuildRequires: texinfo |
e62b205e | 52 | %{?with_x11:BuildRequires: xorg-lib-libXt-devel} |
7c2ce0a1 | 53 | Requires: %{name}-libs = %{version}-%{release} |
11e40c5a | 54 | Conflicts: krb5-lib |
e2e4c2a7 | 55 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
11e40c5a | 56 | |
5459024d | 57 | %define _libexecdir %{_sbindir} |
c7b87187 | 58 | %define _localstatedir /var/lib/%{name} |
87a2a408 | 59 | %define _sysconfdir /etc/%{name} |
5459024d | 60 | |
11e40c5a AM |
61 | %description |
62 | Heimdal is a free implementation of Kerberos 5. The goals are to: | |
f3e12399 ER |
63 | - have an implementation that can be freely used by anyone |
64 | - be protocol compatible with existing implementations and, if not in | |
65 | conflict, with RFC 1510 (and any future updated RFC) | |
66 | - be reasonably compatible with the M.I.T Kerberos V5 API | |
67 | - have support for Kerberos V5 over GSS-API (RFC1964) | |
68 | - include the most important and useful application programs (rsh, | |
69 | telnet, popper, etc.) | |
70 | - include enough backwards compatibility with Kerberos V4 | |
71 | - IPv6 support | |
11e40c5a | 72 | |
0fbef91b JR |
73 | %description -l pl.UTF-8 |
74 | Heimdal jest darmową implementacją Kerberosa 5. Główne zalety to: | |
75 | - implementacja, która może być używana przez każdego | |
76 | - kompatybilność na poziomie protokołu z istniejącymi implementacjami | |
77 | - racjonalna kompatybilność z M.I.T Kerberos V5 API | |
f3e12399 | 78 | - wsparcie dla Kerberosa 5 poprzez GSS-API (RFC1964) |
0fbef91b | 79 | - zawiera większość istotnych i użytecznych aplikacji (rsh, telnet, |
f3e12399 | 80 | popper, etc.) |
0fbef91b | 81 | - zawiera wystarczającą kompatybilność z Kerberos V4 |
f3e12399 | 82 | - wsparcie dla IPv6 |
11e40c5a | 83 | |
0484bab0 JB |
84 | %package libs |
85 | Summary: Heimdal shared libraries | |
86 | Summary(pl.UTF-8): Biblioteki współdzielone dla heimdal | |
87 | Group: Libraries | |
88 | Requires(post,postun): /sbin/ldconfig | |
89 | ||
90 | %description libs | |
91 | Package contains shared libraries required by several of the other | |
92 | heimdal packages. | |
93 | ||
94 | %description libs -l pl.UTF-8 | |
95 | Pakiet zawiera biblioteki współdzielone dla heimdal. | |
96 | ||
97 | %package ldap | |
98 | Summary: LDAP HDB plugin | |
99 | Summary(pl.UTF-8): Wtyczka HDB LDAP | |
100 | Group: Libraries | |
101 | Requires: %{name}-libs = %{version}-%{release} | |
102 | ||
103 | %description ldap | |
104 | LDAP HDB plugin. | |
105 | ||
106 | %description ldap -l pl.UTF-8 | |
107 | Wtyczka HDB LDAP. | |
108 | ||
109 | %package devel | |
110 | Summary: Header files for heimdal | |
111 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do bibliotek heimdal | |
112 | Group: Development/Libraries | |
113 | Requires: %{name}-libs = %{version}-%{release} | |
114 | Requires: db-devel | |
115 | Requires: libcom_err-devel >= 1.34-5 | |
116 | Requires: openssl-devel | |
117 | ||
118 | %description devel | |
119 | contains files needed to compile and link software using the kerberos | |
120 | libraries. | |
121 | ||
122 | %description devel -l pl.UTF-8 | |
123 | Pliki nagłówkowe i dokumentacja do bibliotek heimdal. | |
124 | ||
125 | %package static | |
126 | Summary: Static heimdal libraries | |
127 | Summary(pl.UTF-8): Biblioteki statyczne heimdal | |
128 | Group: Development/Libraries | |
129 | Requires: %{name}-devel = %{version}-%{release} | |
130 | ||
131 | %description static | |
132 | Satatic heimdal libraries. | |
133 | ||
134 | %description static -l pl.UTF-8 | |
135 | Biblioteki statyczne heimdal. | |
136 | ||
5459024d | 137 | %package server |
2d0d93d3 | 138 | Summary: Kerberos Server |
13ef1022 | 139 | Summary(pl.UTF-8): Serwer Kerberosa |
5459024d | 140 | Group: Networking |
c7b87187 | 141 | Requires(post,preun): /sbin/chkconfig |
7c2ce0a1 | 142 | Requires: %{name}-libs = %{version}-%{release} |
a39a46c8 | 143 | Requires: rc-scripts |
5459024d | 144 | |
145 | %description server | |
146 | Master KDC. | |
147 | ||
0fbef91b JR |
148 | %description server -l pl.UTF-8 |
149 | Główne centrum dystrybucji kluczy (KDC). | |
5459024d | 150 | |
0484bab0 JB |
151 | %package kcm |
152 | Summary: KCM - credencial cache daemon for Kerberos tickets | |
153 | Summary(pl.UTF-8): KCM - demon zapamiętujący dane uwierzytelniające dla biletów Kerberosa | |
154 | Group: Daemons | |
155 | Requires: %{name}-libs = %{version}-%{release} | |
5459024d | 156 | |
0484bab0 JB |
157 | %description kcm |
158 | KCM is a credencial cache daemon for Kerberos tickets. | |
5459024d | 159 | |
0484bab0 JB |
160 | %description kcm -l pl.UTF-8 |
161 | KCM to demon zapamiętujący dane uwierzytelniające dla biletów | |
162 | Kerberosa. | |
5459024d | 163 | |
568e3a79 | 164 | %package login |
165 | Summary: login is used when signing onto a system | |
13ef1022 | 166 | Summary(pl.UTF-8): Narzędzie do logowania w systemie |
568e3a79 | 167 | Group: Applications/Networking |
7c2ce0a1 | 168 | Requires: %{name}-libs = %{version}-%{release} |
05bbea69 | 169 | #Provides: login |
170 | #Obsoletes: login | |
72e056e8 | 171 | Conflicts: shadow < 1:4.0.16 |
568e3a79 | 172 | |
173 | %description login | |
c358392a | 174 | login is used when signing onto a system. It can also be used to |
175 | switch from one user to another at any time (most modern shells have | |
176 | support for this feature built into them, however). This package | |
177 | contain kerberized version login program. | |
568e3a79 | 178 | |
0fbef91b JR |
179 | %description login -l pl.UTF-8 |
180 | login jest używany przy logowaniu do systemu. Może być także użyty do | |
181 | przełączenia z jednego użytkownika na innego w dowolnej chwili | |
182 | (większość współczesnych shelli ma wbudowaną obsługę tego). Ten pakiet | |
183 | zawiera skerberyzowaną wersję programu login. | |
845f767b | 184 | |
5459024d | 185 | %package ftp |
186 | Summary: The standard UNIX FTP (file transfer protocol) client | |
13ef1022 | 187 | Summary(pl.UTF-8): Klient protokołu FTP |
5459024d | 188 | Group: Applications/Networking |
7c2ce0a1 | 189 | Requires: %{name}-libs = %{version}-%{release} |
2fad34ce | 190 | Obsoletes: ftp |
f3e12399 | 191 | Conflicts: heimdal-clients |
5459024d | 192 | |
193 | %description ftp | |
6ce2a862 | 194 | The FTP package provides the standard UNIX command-line FTP client |
c358392a | 195 | with kerberos authentication support. FTP is the file transfer |
196 | protocol, which is a widely used Internet protocol for transferring | |
197 | files and for archiving files. | |
5459024d | 198 | |
0fbef91b JR |
199 | %description ftp -l pl.UTF-8 |
200 | Ten pakiet dostarcza standardowego klienta FTP z wbudowaną obsługą | |
201 | kerberosa. FTP jest protokołem do przesyłania plików szeroko | |
845f767b JB |
202 | rozpowszechnionym w Internecie. |
203 | ||
5459024d | 204 | %package rsh |
568e3a79 | 205 | Summary: Clients for remote access commands (rsh, rlogin, rcp) |
13ef1022 | 206 | Summary(pl.UTF-8): Klient zdalnego dostępu (rsh, rlogin, rcp) |
5459024d | 207 | Group: Applications/Networking |
7c2ce0a1 | 208 | Requires: %{name}-libs = %{version}-%{release} |
5459024d | 209 | Obsoletes: rsh |
c7b87187 | 210 | Conflicts: heimdal-clients |
5459024d | 211 | |
87a2a408 | 212 | %description rsh |
213 | The rsh package contains a set of programs which allow users to run | |
845f767b | 214 | commands on remote machines, login to other machines and copy files |
c358392a | 215 | between machines (rsh, rlogin and rcp). All three of these commands |
216 | use rhosts style authentication. This package contains the clients | |
87a2a408 | 217 | needed for all of these services. |
218 | ||
0fbef91b JR |
219 | %description rsh -l pl.UTF-8 |
220 | Ten pakiet zawiera zestaw narzędzi pozwalających na wykonywanie | |
221 | poleceń na zdalnych maszynach, logowanie na inne maszyny oraz | |
222 | kopiowanie plików pomiędzy maszynami (rsh, rlogin, rcp). | |
845f767b | 223 | |
5459024d | 224 | %package telnet |
568e3a79 | 225 | Summary: Client for the telnet remote login |
13ef1022 | 226 | Summary(pl.UTF-8): Klient usługi telnet |
5459024d | 227 | Group: Applications/Networking |
7c2ce0a1 | 228 | Requires: %{name}-libs = %{version}-%{release} |
047e3d79 | 229 | Provides: telnet |
f3e12399 | 230 | Obsoletes: telnet |
c7b87187 | 231 | Conflicts: heimdal-clients |
5459024d | 232 | |
87a2a408 | 233 | %description telnet |
c358392a | 234 | Telnet is a popular protocol for remote logins across the Internet. |
235 | This package provides a command line telnet client. | |
87a2a408 | 236 | |
0fbef91b JR |
237 | %description telnet -l pl.UTF-8 |
238 | Telnet jest popularnym protokołem zdalnego logowania. Ten pakiet | |
239 | zawiera klienta tej usługi. | |
845f767b | 240 | |
5459024d | 241 | %package ftpd |
87a2a408 | 242 | Summary: The standard UNIX FTP (file transfer protocol) server |
13ef1022 | 243 | Summary(pl.UTF-8): Serwer FTP |
5459024d | 244 | Group: Networking/Daemons |
7c2ce0a1 | 245 | Requires: %{name}-libs = %{version}-%{release} |
a39a46c8 | 246 | Requires: rc-inetd >= 0.8.1 |
5459024d | 247 | Obsoletes: ftpd |
248 | ||
87a2a408 | 249 | %description ftpd |
c358392a | 250 | FTP is the file transfer protocol, which is a widely used Internet |
87a2a408 | 251 | protocol for transferring files and for archiving files. |
252 | ||
0fbef91b JR |
253 | %description ftpd -l pl.UTF-8 |
254 | FTP jest protokołem transmisji plików szeroko rozpowszechnionym w | |
2f6bc7c9 | 255 | Internecie. |
845f767b | 256 | |
5459024d | 257 | %package rshd |
568e3a79 | 258 | Summary: Server for remote access commands (rsh, rlogin, rcp) |
13ef1022 | 259 | Summary(pl.UTF-8): Serwer zdalnego dostępu (rsh, rlogin, rcp) |
5459024d | 260 | Group: Networking/Daemons |
7c2ce0a1 | 261 | Requires: %{name}-libs = %{version}-%{release} |
a39a46c8 | 262 | Requires: rc-inetd >= 0.8.1 |
5459024d | 263 | Obsoletes: rshd |
264 | ||
87a2a408 | 265 | %description rshd |
266 | The rsh package contains a set of programs which allow users to run | |
267 | commmands on remote machines, login to other machines and copy files | |
268 | between machines (rsh, rlogin and rcp). All three of these commands | |
c358392a | 269 | use rhosts style authentication. This package contains servers needed |
87a2a408 | 270 | for all of these services. |
271 | ||
0fbef91b JR |
272 | %description rshd -l pl.UTF-8 |
273 | Ten pakiet zawiera zestaw serwerów pozwalających na wykonywanie | |
274 | poleceń na zdalnych maszynach, logowanie na inne maszyny oraz | |
275 | kopiowanie plików pomiędzy maszynami (rsh, rlogin, rcp). | |
845f767b | 276 | |
5459024d | 277 | %package telnetd |
568e3a79 | 278 | Summary: Server for the telnet remote login |
13ef1022 | 279 | Summary(pl.UTF-8): Serwer protokołu telnet |
5459024d | 280 | Group: Networking/Daemons |
7c2ce0a1 | 281 | Requires: %{name}-libs = %{version}-%{release} |
a39a46c8 | 282 | Requires: rc-inetd >= 0.8.1 |
5459024d | 283 | Obsoletes: telnetd |
284 | ||
87a2a408 | 285 | %description telnetd |
c358392a | 286 | Telnet is a popular protocol for remote logins across the Internet. |
287 | This package provides a telnet daemon which allows remote logins into | |
288 | the machine it is running on. | |
87a2a408 | 289 | |
0fbef91b JR |
290 | %description telnetd -l pl.UTF-8 |
291 | Telnet jest popularnym protokołem zdalnego logowania. Ten pakiet | |
292 | zawiera serwer pozwalający na zdalne logowanie się klientów na maszynę | |
293 | na której działa. | |
845f767b | 294 | |
c52bba62 | 295 | %package daemons |
11e40c5a | 296 | Summary: Kerberos daemons programs for use on servers |
13ef1022 | 297 | Summary(pl.UTF-8): Serwery popularnych usług, autoryzujące przy pomocy kerberosa |
11e40c5a | 298 | Group: Networking |
7c2ce0a1 | 299 | Requires: %{name}-libs = %{version}-%{release} |
11e40c5a AM |
300 | |
301 | %description daemons | |
302 | Kerberos Daemons. | |
303 | ||
0fbef91b JR |
304 | %description daemons -l pl.UTF-8 |
305 | Demony korzystające z systemu Kerberos do autoryzacji dostępu. | |
11e40c5a | 306 | |
11e40c5a | 307 | %prep |
0484bab0 | 308 | %setup -q |
11e40c5a | 309 | %patch0 -p1 |
493e3b85 | 310 | %patch1 -p1 |
3674519b | 311 | %patch2 -p1 |
c7b87187 JB |
312 | %patch3 -p1 |
313 | %patch4 -p1 | |
314 | %patch5 -p1 | |
ed59b63e | 315 | %patch6 -p1 |
38d4a713 | 316 | %patch7 -p1 |
55199c96 | 317 | %patch8 -p1 |
0484bab0 | 318 | %patch9 -p1 |
9e485d0a | 319 | |
11e40c5a | 320 | %build |
3f986b36 | 321 | rm -f acinclude.m4 |
fcf46cfe | 322 | %{__libtoolize} |
323 | %{__aclocal} -I cf | |
324 | %{__autoconf} | |
325 | %{__automake} | |
5459024d | 326 | %configure \ |
11e40c5a AM |
327 | --enable-shared \ |
328 | --enable-static \ | |
329 | --enable-new-des3-code \ | |
6c033d21 | 330 | --with-openldap=/usr \ |
4469f316 | 331 | --with-readline=/usr \ |
b959e4ca | 332 | --with%{!?with_x11:out}-x \ |
7d3ffee7 JR |
333 | --enable-hdb-openldap-module \ |
334 | --enable-pthread-support \ | |
335 | --enable-kcm \ | |
5459024d | 336 | --with-ipv6 |
11e40c5a | 337 | |
14a9b13c | 338 | %{__make} |
11e40c5a AM |
339 | |
340 | %install | |
341 | rm -rf $RPM_BUILD_ROOT | |
87a2a408 | 342 | install -d $RPM_BUILD_ROOT{%{_localstatedir},%{_sysconfdir}} \ |
343 | $RPM_BUILD_ROOT/etc/{sysconfig/rc-inetd,logrotate.d,rc.d/init.d} | |
11e40c5a | 344 | |
a297a2ea JB |
345 | %{__make} install \ |
346 | DESTDIR=$RPM_BUILD_ROOT | |
5459024d | 347 | |
7d3ffee7 JR |
348 | mv $RPM_BUILD_ROOT%{_bindir}/su $RPM_BUILD_ROOT%{_bindir}/ksu |
349 | mv $RPM_BUILD_ROOT%{_mandir}/man1/su.1 $RPM_BUILD_ROOT%{_mandir}/man1/ksu.1 | |
9987dc73 | 350 | |
568e3a79 | 351 | install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/krb5.conf |
87a2a408 | 352 | |
568e3a79 | 353 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} |
354 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/logrotate.d/%{name} | |
355 | install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/%{name} | |
11e40c5a | 356 | |
568e3a79 | 357 | install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/ftpd |
358 | install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/rshd | |
359 | install %{SOURCE7} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/telnetd | |
360 | install %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/kadmind | |
11e40c5a | 361 | |
36488e42 | 362 | install %{SOURCE9} $RPM_BUILD_ROOT/etc/rc.d/init.d/kpasswdd |
363 | install %{SOURCE10} $RPM_BUILD_ROOT/etc/sysconfig/kpasswdd | |
364 | ||
0484bab0 JB |
365 | # just a test plugin |
366 | rm -f $RPM_BUILD_ROOT%{_libdir}/windc.* | |
367 | # not needed for plugin | |
368 | rm -f $RPM_BUILD_ROOT%{_libdir}/hdb_ldap.{la,a} | |
4469f316 | 369 | # other implementation exists in e2fsprogs (conflict with e2fsprogs-devel) |
0484bab0 | 370 | rm -rf $RPM_BUILD_ROOT{%{_libdir}/libss.{so,la,a},%{_includedir}/ss,%{_bindir}/mk_cmds} |
4469f316 JB |
371 | # this is created because glibc's <glob.h> has no GLOB_LIMIT and GLOB_QUOTE |
372 | rm -f $RPM_BUILD_ROOT%{_includedir}/glob.h | |
0f06dc21 JB |
373 | # resolve heimdal-libs/krb5-libs conflict |
374 | mv -f $RPM_BUILD_ROOT%{_mandir}/man5/{krb5.conf.5,krb5.conf.5h} | |
0484bab0 JB |
375 | # resolve conflict with gss |
376 | mv -f $RPM_BUILD_ROOT%{_bindir}/{gss,gsscmd} | |
87a2a408 | 377 | |
378 | touch $RPM_BUILD_ROOT{%{_sysconfdir}/krb5.keytab,%{_localstatedir}/kadmind.acl} | |
11e40c5a | 379 | |
845f767b JB |
380 | %clean |
381 | rm -rf $RPM_BUILD_ROOT | |
382 | ||
87a2a408 | 383 | %post server |
71148af2 | 384 | /sbin/chkconfig --add heimdal |
f3e12399 | 385 | %service heimdal restart "heimdal daemon" |
71148af2 | 386 | |
36488e42 | 387 | /sbin/chkconfig --add kpasswdd |
f3e12399 | 388 | %service kpasswdd restart "heimdal password changing daemon" |
36488e42 | 389 | |
f3e12399 | 390 | %service -q rc-inetd reload |
87a2a408 | 391 | |
87a2a408 | 392 | %preun server |
71148af2 | 393 | if [ "$1" = "0" ]; then |
f3e12399 | 394 | %service heimdal stop |
71148af2 | 395 | /sbin/chkconfig --del heimdal |
71148af2 | 396 | |
f3e12399 | 397 | %service kpasswdd stop |
36488e42 | 398 | /sbin/chkconfig --del kpasswdd |
36488e42 | 399 | |
f3e12399 | 400 | %service -q rc-inetd reload |
71148af2 | 401 | fi |
2d0d93d3 | 402 | |
5459024d | 403 | %post ftpd |
f3e12399 | 404 | %service -q rc-inetd reload |
11e40c5a | 405 | |
5459024d | 406 | %postun ftpd |
f3e12399 ER |
407 | if [ "$1" = "0" ]; then |
408 | %service -q rc-inetd reload | |
71148af2 | 409 | fi |
5459024d | 410 | |
411 | %post rshd | |
f3e12399 | 412 | %service -q rc-inetd reload |
11e40c5a | 413 | |
5459024d | 414 | %postun rshd |
f3e12399 ER |
415 | if [ "$1" = "0" ]; then |
416 | %service -q rc-inetd reload | |
71148af2 | 417 | fi |
56afe882 | 418 | |
5459024d | 419 | %post telnetd |
f3e12399 | 420 | %service -q rc-inetd reload |
11e40c5a | 421 | |
5459024d | 422 | %postun telnetd |
f3e12399 ER |
423 | if [ "$1" = "0" ]; then |
424 | %service -q rc-inetd reload | |
71148af2 | 425 | fi |
11e40c5a | 426 | |
87a2a408 | 427 | %post libs |
428 | /sbin/ldconfig | |
71148af2 | 429 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
87a2a408 | 430 | |
2d0d93d3 | 431 | %postun libs |
87a2a408 | 432 | /sbin/ldconfig |
71148af2 | 433 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
87a2a408 | 434 | |
c7b87187 JB |
435 | %files |
436 | %defattr(644,root,root,755) | |
0484bab0 | 437 | %doc ChangeLog NEWS README TODO |
c7b87187 | 438 | %attr(755,root,root) %{_bindir}/afslog |
0484bab0 | 439 | %attr(755,root,root) %{_bindir}/gsscmd |
7d3ffee7 | 440 | %attr(755,root,root) %{_bindir}/hxtool |
c7b87187 JB |
441 | %attr(755,root,root) %{_bindir}/kauth |
442 | %attr(755,root,root) %{_bindir}/kdestroy | |
443 | %attr(755,root,root) %{_bindir}/kf | |
444 | %attr(755,root,root) %{_bindir}/kgetcred | |
445 | %attr(755,root,root) %{_bindir}/kinit | |
446 | %attr(755,root,root) %{_bindir}/klist | |
447 | %attr(755,root,root) %{_bindir}/kpasswd | |
c7b87187 JB |
448 | %attr(755,root,root) %{_bindir}/pagsh |
449 | %attr(755,root,root) %{_bindir}/pfrom | |
c7b87187 | 450 | %attr(755,root,root) %{_bindir}/string2key |
c7b87187 JB |
451 | %attr(755,root,root) %{_bindir}/otpprint |
452 | %attr(755,root,root) %{_bindir}/verify_krb5_conf | |
0484bab0 | 453 | %attr(755,root,root) %{_sbindir}/kdigest |
7d3ffee7 | 454 | %attr(755,root,root) %{_sbindir}/kimpersonate |
64e90bd4 | 455 | %attr(755,root,root) %{_sbindir}/ktutil |
665da1cc AM |
456 | %if %{with x11} |
457 | %attr(755,root,root) %{_bindir}/kx | |
458 | %attr(755,root,root) %{_bindir}/tenletxr | |
c7b87187 | 459 | %attr(755,root,root) %{_bindir}/xnlock |
665da1cc AM |
460 | %attr(755,root,root) %{_bindir}/rxtelnet |
461 | %attr(755,root,root) %{_bindir}/rxterm | |
462 | %endif | |
c7b87187 | 463 | %attr(4755,root,root) %{_bindir}/otp |
c7b87187 | 464 | %attr(4755,root,root) %{_bindir}/ksu |
c7b87187 | 465 | %{_mandir}/man1/afslog.1* |
c7b87187 JB |
466 | %{_mandir}/man1/kdestroy.1* |
467 | %{_mandir}/man1/kf.1* | |
468 | %{_mandir}/man1/kgetcred.1* | |
7d3ffee7 | 469 | %{_mandir}/man1/kimpersonate.1* |
c7b87187 JB |
470 | %{_mandir}/man1/kinit.1* |
471 | %{_mandir}/man1/klist.1* | |
472 | %{_mandir}/man1/kpasswd.1* | |
9987dc73 | 473 | %{_mandir}/man1/ksu.1* |
c7b87187 JB |
474 | %{_mandir}/man1/otp.1* |
475 | %{_mandir}/man1/otpprint.1* | |
9987dc73 | 476 | %{_mandir}/man1/pagsh.1* |
c7b87187 | 477 | %{_mandir}/man1/pfrom.1* |
64e90bd4 | 478 | %{_mandir}/man8/ktutil.8* |
c7b87187 JB |
479 | %{_mandir}/man8/string2key.8* |
480 | %{_mandir}/man8/verify_krb5_conf.8* | |
665da1cc AM |
481 | %if %{with x11} |
482 | %{_mandir}/man1/kx.1* | |
483 | %{_mandir}/man1/tenletxr.1* | |
484 | %{_mandir}/man1/xnlock.1* | |
485 | %{_mandir}/man1/rxtelnet.1* | |
486 | %{_mandir}/man1/rxterm.1* | |
487 | %endif | |
488 | ||
0484bab0 | 489 | %files libs |
11e40c5a | 490 | %defattr(644,root,root,755) |
0484bab0 JB |
491 | %dir %{_sysconfdir} |
492 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/krb5.conf | |
493 | %attr(400,root,root) %ghost %{_sysconfdir}/krb5.keytab | |
494 | %attr(755,root,root) %{_libdir}/libasn1.so.*.*.* | |
72e056e8 | 495 | %attr(755,root,root) %ghost %{_libdir}/libasn1.so.8 |
0484bab0 | 496 | %attr(755,root,root) %{_libdir}/libgssapi.so.*.*.* |
72e056e8 | 497 | %attr(755,root,root) %ghost %{_libdir}/libgssapi.so.2 |
0484bab0 | 498 | %attr(755,root,root) %{_libdir}/libhdb.so.*.*.* |
72e056e8 | 499 | %attr(755,root,root) %ghost %{_libdir}/libhdb.so.9 |
0484bab0 | 500 | %attr(755,root,root) %{_libdir}/libheimntlm.so.*.*.* |
72e056e8 | 501 | %attr(755,root,root) %ghost %{_libdir}/libheimntlm.so.0 |
0484bab0 | 502 | %attr(755,root,root) %{_libdir}/libhx509.so.*.*.* |
72e056e8 | 503 | %attr(755,root,root) %ghost %{_libdir}/libhx509.so.1 |
0484bab0 | 504 | %attr(755,root,root) %{_libdir}/libkadm5clnt.so.*.*.* |
72e056e8 | 505 | %attr(755,root,root) %ghost %{_libdir}/libkadm5clnt.so.7 |
0484bab0 | 506 | %attr(755,root,root) %{_libdir}/libkadm5srv.so.*.*.* |
72e056e8 | 507 | %attr(755,root,root) %ghost %{_libdir}/libkadm5srv.so.8 |
0484bab0 | 508 | %attr(755,root,root) %{_libdir}/libkafs.so.*.*.* |
72e056e8 | 509 | %attr(755,root,root) %ghost %{_libdir}/libkafs.so.0 |
0484bab0 | 510 | %attr(755,root,root) %{_libdir}/libkdc.so.*.*.* |
72e056e8 | 511 | %attr(755,root,root) %ghost %{_libdir}/libkdc.so.2 |
0484bab0 | 512 | %attr(755,root,root) %{_libdir}/libkrb5.so.*.*.* |
72e056e8 | 513 | %attr(755,root,root) %ghost %{_libdir}/libkrb5.so.22 |
0484bab0 | 514 | %attr(755,root,root) %{_libdir}/libotp.so.*.*.* |
72e056e8 | 515 | %attr(755,root,root) %ghost %{_libdir}/libotp.so.0 |
0484bab0 | 516 | %attr(755,root,root) %{_libdir}/libroken.so.*.*.* |
72e056e8 | 517 | %attr(755,root,root) %ghost %{_libdir}/libroken.so.18 |
0484bab0 | 518 | %attr(755,root,root) %{_libdir}/libsl.so.*.*.* |
72e056e8 | 519 | %attr(755,root,root) %ghost %{_libdir}/libsl.so.0 |
0484bab0 | 520 | %attr(755,root,root) %{_libdir}/libss.so.*.*.* |
72e056e8 | 521 | %attr(755,root,root) %ghost %{_libdir}/libss.so.0 |
0484bab0 JB |
522 | %{_infodir}/heimdal.info* |
523 | %{_infodir}/hx509.info* | |
524 | %{_mandir}/man5/krb5.conf.5* | |
525 | %{_mandir}/man8/kerberos.8* | |
11e40c5a | 526 | |
0484bab0 JB |
527 | %files ldap |
528 | %defattr(644,root,root,755) | |
529 | %attr(755,root,root) %{_libdir}/hdb_ldap.so | |
11e40c5a | 530 | |
0484bab0 JB |
531 | %files devel |
532 | %defattr(644,root,root,755) | |
533 | %attr(755,root,root) %{_bindir}/krb5-config | |
534 | %attr(755,root,root) %{_libdir}/libasn1.so | |
535 | %attr(755,root,root) %{_libdir}/libgssapi.so | |
536 | %attr(755,root,root) %{_libdir}/libhdb.so | |
537 | %attr(755,root,root) %{_libdir}/libheimntlm.so | |
538 | %attr(755,root,root) %{_libdir}/libhx509.so | |
539 | %attr(755,root,root) %{_libdir}/libkadm5clnt.so | |
540 | %attr(755,root,root) %{_libdir}/libkadm5srv.so | |
541 | %attr(755,root,root) %{_libdir}/libkafs.so | |
542 | %attr(755,root,root) %{_libdir}/libkdc.so | |
543 | %attr(755,root,root) %{_libdir}/libkrb5.so | |
544 | %attr(755,root,root) %{_libdir}/libotp.so | |
545 | %attr(755,root,root) %{_libdir}/libroken.so | |
546 | %attr(755,root,root) %{_libdir}/libsl.so | |
547 | %{_libdir}/libasn1.la | |
548 | %{_libdir}/libgssapi.la | |
549 | %{_libdir}/libhdb.la | |
550 | %{_libdir}/libheimntlm.la | |
551 | %{_libdir}/libhx509.la | |
552 | %{_libdir}/libkadm5clnt.la | |
553 | %{_libdir}/libkadm5srv.la | |
554 | %{_libdir}/libkafs.la | |
555 | %{_libdir}/libkdc.la | |
556 | %{_libdir}/libkrb5.la | |
557 | %{_libdir}/libotp.la | |
558 | %{_libdir}/libroken.la | |
559 | %{_libdir}/libsl.la | |
560 | %{_includedir}/*.h | |
561 | %{_includedir}/gssapi | |
562 | %{_includedir}/kadm5 | |
563 | %{_includedir}/krb5 | |
564 | %{_includedir}/roken | |
565 | %{_mandir}/man1/krb5-config.1* | |
566 | %{_mandir}/man3/* | |
11e40c5a | 567 | |
0484bab0 JB |
568 | %files static |
569 | %defattr(644,root,root,755) | |
570 | %{_libdir}/libasn1.a | |
571 | %{_libdir}/libgssapi.a | |
572 | %{_libdir}/libhdb.a | |
573 | %{_libdir}/libheimntlm.a | |
574 | %{_libdir}/libhx509.a | |
575 | %{_libdir}/libkadm5clnt.a | |
576 | %{_libdir}/libkadm5srv.a | |
577 | %{_libdir}/libkafs.a | |
578 | %{_libdir}/libkdc.a | |
579 | %{_libdir}/libkrb5.a | |
580 | %{_libdir}/libotp.a | |
581 | %{_libdir}/libroken.a | |
582 | %{_libdir}/libsl.a | |
583 | ||
584 | %files kcm | |
585 | %defattr(644,root,root,755) | |
586 | %attr(755,root,root) %{_sbindir}/kcm | |
587 | %{_mandir}/man8/kcm.8* | |
588 | ||
589 | %files server | |
590 | %defattr(644,root,root,755) | |
11e40c5a | 591 | %attr(755,root,root) %{_sbindir}/kadmin |
c7b87187 | 592 | %attr(755,root,root) %{_sbindir}/kfd |
11e40c5a | 593 | %attr(755,root,root) %{_sbindir}/kstash |
11e40c5a AM |
594 | %attr(755,root,root) %{_sbindir}/hprop |
595 | %attr(755,root,root) %{_sbindir}/hpropd | |
7d3ffee7 | 596 | %attr(755,root,root) %{_sbindir}/iprop-log |
11e40c5a AM |
597 | %attr(755,root,root) %{_sbindir}/ipropd-master |
598 | %attr(755,root,root) %{_sbindir}/ipropd-slave | |
599 | %attr(755,root,root) %{_sbindir}/kadmind | |
600 | %attr(755,root,root) %{_sbindir}/kdc | |
11e40c5a | 601 | %attr(755,root,root) %{_sbindir}/kpasswdd |
c7b87187 | 602 | %attr(755,root,root) %{_sbindir}/push |
665da1cc | 603 | %{?with_x11:%attr(755,root,root) %{_sbindir}/kxd} |
0484bab0 JB |
604 | %attr(754,root,root) /etc/rc.d/init.d/%{name} |
605 | %attr(754,root,root) /etc/rc.d/init.d/kpasswdd | |
606 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/* | |
607 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/heimdal | |
608 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/kpasswdd | |
609 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/kadmind | |
610 | %attr(700,root,root) %dir %{_localstatedir} | |
611 | %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_localstatedir}/* | |
9987dc73 | 612 | %{_mandir}/man8/iprop.8* |
7d3ffee7 | 613 | %{_mandir}/man8/iprop-log.8* |
5459024d | 614 | %{_mandir}/man8/hprop.8* |
615 | %{_mandir}/man8/hpropd.8* | |
fcf46cfe | 616 | %{_mandir}/man8/kadmin.8* |
617 | %{_mandir}/man8/kadmind.8* | |
5459024d | 618 | %{_mandir}/man8/kdc.8* |
c7b87187 | 619 | %{_mandir}/man8/kfd.8* |
5459024d | 620 | %{_mandir}/man8/kpasswdd.8* |
fcf46cfe | 621 | %{_mandir}/man8/kstash.8* |
c7b87187 | 622 | %{_mandir}/man8/push.8* |
0484bab0 | 623 | %{?with_x11:%{_mandir}/man8/kxd.8*} |
5459024d | 624 | |
568e3a79 | 625 | %files login |
c358392a | 626 | %defattr(644,root,root,755) |
568e3a79 | 627 | %attr(755,root,root) %{_bindir}/login |
c7b87187 | 628 | %{_mandir}/man1/login.1* |
72e056e8 | 629 | %{_mandir}/man5/login.access.5* |
568e3a79 | 630 | |
5459024d | 631 | %files ftp |
c358392a | 632 | %defattr(644,root,root,755) |
5459024d | 633 | %attr(755,root,root) %{_bindir}/ftp |
c358392a | 634 | %{_mandir}/man1/ftp.1* |
5459024d | 635 | |
636 | %files rsh | |
c358392a | 637 | %defattr(644,root,root,755) |
5459024d | 638 | %attr(755,root,root) %{_bindir}/rsh |
fcf46cfe | 639 | %attr(755,root,root) %{_bindir}/rcp |
640 | %{_mandir}/man1/rsh.1* | |
5459024d | 641 | |
642 | %files telnet | |
c358392a | 643 | %defattr(644,root,root,755) |
5459024d | 644 | %attr(755,root,root) %{_bindir}/telnet |
c358392a | 645 | %{_mandir}/man1/telnet.1* |
5459024d | 646 | |
647 | %files ftpd | |
c358392a | 648 | %defattr(644,root,root,755) |
a39a46c8 | 649 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/ftpd |
5459024d | 650 | %attr(755,root,root) %{_sbindir}/ftpd |
c358392a | 651 | %{_mandir}/man5/ftpusers.5* |
652 | %{_mandir}/man8/ftpd.8* | |
5459024d | 653 | |
654 | %files rshd | |
c358392a | 655 | %defattr(644,root,root,755) |
a39a46c8 | 656 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/rshd |
5459024d | 657 | %attr(755,root,root) %{_sbindir}/rshd |
fcf46cfe | 658 | %{_mandir}/man8/rshd.8* |
5459024d | 659 | |
660 | %files telnetd | |
c358392a | 661 | %defattr(644,root,root,755) |
a39a46c8 | 662 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/telnetd |
5459024d | 663 | %attr(755,root,root) %{_sbindir}/telnetd |
c358392a | 664 | %{_mandir}/man8/telnetd.8* |
5459024d | 665 | |
11e40c5a AM |
666 | %files daemons |
667 | %defattr(644,root,root,755) | |
9e485d0a | 668 | %attr(755,root,root) %{_sbindir}/popper |
c7b87187 | 669 | %{_mandir}/man8/popper.8* |