1 Summary: Shishi - an implementation of RFC 1510(bis) (Kerberos V5 authentication)
2 Summary(pl): Shishi - implementacja RFC 1510(bis) (uwierzytelniania Kerberos V5)
9 Source0: http://josefsson.org/shishi/releases/%{name}-%{version}.tar.gz
10 # Source0-md5: f613e538ed0bb990f3644bbe5f0ab444
11 Source1: %{name}-shishid.init
12 Source2: %{name}-shishid.sysconfig
13 Patch0: %{name}-info.patch
14 Patch1: %{name}-gnutls.patch
15 Patch2: %{name}-fix.patch
16 URL: http://josefsson.org/shishi/
17 BuildRequires: autoconf >= 2.59
18 BuildRequires: automake >= 1:1.9
19 BuildRequires: gettext-devel >= 0.12.1
20 BuildRequires: gnutls-devel >= 1.2.5
21 BuildRequires: gtk-doc >= 1.1
22 BuildRequires: libgcrypt-devel >= 1.1.43
23 BuildRequires: libidn-devel >= 0.1.0
24 BuildRequires: libtasn1-devel >= 0.2.5
25 BuildRequires: libtool >= 2:1.5
26 BuildRequires: pam-devel
27 BuildRequires: rpmbuild(macros) >= 1.159
28 BuildRequires: texinfo
29 Requires(post,postun): /sbin/ldconfig
30 Provides: group(shishi)
31 Provides: user(shishi)
32 # should be moved to shishi-enabled inetutils-* if such packages would exist
33 Obsoletes: shishi-telnet
34 Obsoletes: shishi-telnetd
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 %define _libexecdir %{_sbindir}
38 %define _localstatedir %{_var}/lib
41 Shishi is a (still incomplete) implementation of the RFC 1510(bis)
42 network authentication system (known as Kerberos V5). Shishi can be
43 used to authenticate users in distributed systems.
45 Shishi contains a library ('libshishi') that can be used by
46 application developers to add support for RFC 1510 and a command line
47 utility ('shishi') that is used by users to interface with the
48 library, to acquire and manage tickets (and more). Included are also
49 a TELNET client and server (based on GNU InetUtils) for remote network
50 login, and a PAM module for host security. A rudimentary key
51 distribution center (KDC) daemon is included.
54 Shishi to (nadal niekompletna) implementacja sieciowego systemu
55 uwierzytelniania RFC 1510(bis) (znanego jako Kerberos V5). Shishi mo¿e
56 byæ u¿ywane do uwierzytelniania u¿ytkowników w systemach
59 Shishi zawiera bibliotekê (libshishi), któr± programi¶ci mog±
60 wykorzystywaæ do dodawania obs³ugi RFC 1510 oraz narzêdzie dzia³aj±ce
61 z linii poleceñ (shishi), którym u¿ytkownicy mog± komunikowaæ siê z
62 bibliotek±, uzyskiwaæ i zarz±dzaæ biletami itp. Do³±czone s± tak¿e
63 klient i serwer TELNET (oparte na GNU InetUtils) do zdalnego logowania
64 oraz modu³ PAM do lokalnego modelu bezpieczeñstwa. Demon podstawowego
65 centrum dystrybucji kluczy (KDC) tak¿e jest za³±czony.
68 Summary: Header files for Shishi library
69 Summary(pl): Pliki nag³ówkowe biblioteki Shishi
70 Group: Development/Libraries
71 Requires: %{name} = %{epoch}:%{version}-%{release}
72 Requires: gnutls-devel >= 0.8.8
73 Requires: gtk-doc-common
74 Requires: libgcrypt-devel >= 1.1.43
75 Requires: libidn-devel >= 0.1.0
76 Requires: libtasn1-devel >= 0.2.5
79 Header files for Shishi library.
81 %description devel -l pl
82 Pliki nag³ówkowe biblioteki Shishi.
85 Summary: Static Shishi library
86 Summary(pl): Statyczna biblioteka Shishi
87 Group: Development/Libraries
88 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
91 Static Shishi library.
93 %description static -l pl
94 Statyczna biblioteka Shishi.
97 Summary: shishid - Kerberos 5 server
98 Summary(pl): shishid - serwer Kerberosa 5
99 Group: Networking/Daemons
100 Requires(pre): /bin/id
101 Requires(pre): /usr/bin/getgid
102 Requires(pre): /usr/sbin/useradd
103 Requires(pre): /usr/sbin/groupadd
104 Requires(post,postun): /sbin/chkconfig
105 Requires(postun): /usr/sbin/groupdel
106 Requires(postun): /usr/sbin/userdel
107 Requires: %{name} = %{epoch}:%{version}-%{release}
110 shishid is a network daemon for issuing Kerberos 5 tickets.
112 %description shishid -l pl
113 shishid to sieciowy demon s³u¿±cy do wydawania biletów Kerberosa 5.
115 %package -n pam-pam_shishi
116 Summary: PAM module for RFC 1510 (Kerberos V5) authentication
117 Summary(pl): Modu³ PAM do uwierzytelniania RFC 1510 (Kerberos V5)
119 Requires: %{name} = %{epoch}:%{version}-%{release}
120 Obsoletes: pam_shishi
122 %description -n pam-pam_shishi
123 PAM module for RFC 1510 (Kerberos V5) authentication.
125 %description -n pam-pam_shishi -l pl
126 Modu³ PAM do uwierzytelniania RFC 1510 (Kerberos V5).
136 # doesn't build on sparc (too few B* constants) and wasn't packaged anyway
137 %{__perl} -pi -e 's/^(SUBDIRS.*) rsh-redone/$1/' extra/Makefile.am
140 # blegh, lt incompatible with ksh - must rebuild
142 %{__aclocal} -I gl/m4 -I m4
153 rm -rf $RPM_BUILD_ROOT
154 install -d $RPM_BUILD_ROOT{/%{_lib}/security,/etc/{sysconfig,rc.d/init.d}}
157 DESTDIR=$RPM_BUILD_ROOT
159 %{__make} -C extra install \
160 DESTDIR=$RPM_BUILD_ROOT
162 mv -f $RPM_BUILD_ROOT%{_libdir}/pam_shishi.so* $RPM_BUILD_ROOT/%{_lib}/security
163 rm -f $RPM_BUILD_ROOT%{_libdir}/pam_shishi.{la,a}
165 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/shishid
166 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/shishid
171 rm -rf $RPM_BUILD_ROOT
175 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
179 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
182 %groupadd -P %{name}-shishid -g 125 shishi
183 %useradd -P %{name}-shishid -u 125 -d /usr/share/empty -s /bin/false -c "shishi user" -g shishi shishi
186 /sbin/chkconfig --add shishid
187 if [ -f /var/lock/subsys/shishid ]; then
188 /etc/rc.d/init.d/shishid restart >&2
190 echo "Run \"/etc/rc.d/init.d/shishid start\" to start shishid daemon." >&2
194 if [ "$1" = "0" ]; then
195 if [ -f /var/lock/subsys/shishid ]; then
196 /etc/rc.d/init.d/shishid stop >&2
198 /sbin/chkconfig --del shishid
202 if [ "$1" = "0" ]; then
207 %files -f %{name}.lang
208 %defattr(644,root,root,755)
209 %doc AUTHORS ChangeLog NEWS README* THANKS
210 %attr(755,root,root) %{_bindir}/shisa
211 %attr(755,root,root) %{_bindir}/shishi
212 %attr(755,root,root) %{_libdir}/libshis*.so.*.*.*
213 %dir %{_sysconfdir}/shishi
214 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/shishi/shisa.conf
215 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/shishi/shishi.conf
216 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/shishi/shishi.keys
217 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/shishi/shishi.skel
218 %attr(700,root,root) %dir %{_localstatedir}/%{name}
219 %{_mandir}/man1/shisa.1*
220 %{_mandir}/man1/shishi.1*
221 %{_infodir}/shishi.info*
224 %defattr(644,root,root,755)
225 %attr(755,root,root) %{_libdir}/libshis*.so
226 %{_libdir}/libshis*.la
227 %{_includedir}/shis*.h
228 %{_pkgconfigdir}/shishi.pc
232 %defattr(644,root,root,755)
233 %{_libdir}/libshis*.a
236 %defattr(644,root,root,755)
237 %attr(755,root,root) %{_sbindir}/shishid
238 %attr(754,root,root) /etc/rc.d/init.d/shishid
239 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/shishid
240 %{_mandir}/man1/shishid.1*
242 %files -n pam-pam_shishi
243 %defattr(644,root,root,755)
244 %attr(755,root,root) /%{_lib}/security/pam_shishi.so*