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