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