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: e46273fa793873aa6509eab7a736825b
11 Source1: %{name}-shishid.init
12 Source2: %{name}-shishid.sysconfig
13 Patch0: %{name}-info.patch
14 Patch1: %{name}-pl.po-update.patch
15 URL: http://josefsson.org/shishi/
16 BuildRequires: autoconf >= 2.59
17 BuildRequires: automake >= 1:1.9
18 BuildRequires: gettext-devel >= 0.14.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.3.1
24 BuildRequires: libtool >= 2:1.5
25 BuildRequires: pam-devel
26 BuildRequires: rpmbuild(macros) >= 1.268
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 a
48 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 >= 1.2.5
72 Requires: gtk-doc-common
73 Requires: libgcrypt-devel >= 1.1.43
74 Requires: libidn-devel >= 0.1.0
75 Requires: libtasn1-devel >= 0.3.1
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(post,postun): /sbin/chkconfig
100 Requires(post,preun): rc-scripts
101 Requires(postun): /usr/sbin/groupdel
102 Requires(postun): /usr/sbin/userdel
103 Requires(pre): /bin/id
104 Requires(pre): /usr/bin/getgid
105 Requires(pre): /usr/sbin/groupadd
106 Requires(pre): /usr/sbin/useradd
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).
135 # doesn't build on sparc (too few B* constants) and wasn't packaged anyway
136 %{__perl} -pi -e 's/^(SUBDIRS.*) rsh-redone/$1/' extra/Makefile.am
140 %{__aclocal} -I gl/m4 -I m4
145 --with-pam-dir=/%{_lib}/security
146 # doesn't build with gnulib based on libgcrypt (relies on gnulib arcfour code)
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 rm -f $RPM_BUILD_ROOT/%{_lib}/security/pam_shishi.{la,a}
164 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/shishid
165 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/shishid
166 rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
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 %service shishid restart "shishid daemon"
190 if [ "$1" = "0" ]; then
191 %service shishid stop
192 /sbin/chkconfig --del shishid
196 if [ "$1" = "0" ]; then
201 %files -f %{name}.lang
202 %defattr(644,root,root,755)
203 %doc AUTHORS ChangeLog NEWS README* THANKS
204 %attr(755,root,root) %{_bindir}/shisa
205 %attr(755,root,root) %{_bindir}/shishi
206 %attr(755,root,root) %{_libdir}/libshis*.so.*.*.*
207 %dir %{_sysconfdir}/shishi
208 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/shishi/shisa.conf
209 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/shishi/shishi.conf
210 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/shishi/shishi.keys
211 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/shishi/shishi.skel
212 %attr(700,root,root) %dir %{_localstatedir}/%{name}
213 %{_mandir}/man1/shisa.1*
214 %{_mandir}/man1/shishi.1*
215 %{_infodir}/shishi.info*
218 %defattr(644,root,root,755)
219 %attr(755,root,root) %{_libdir}/libshis*.so
220 %{_libdir}/libshis*.la
221 %{_includedir}/shis*.h
222 %{_pkgconfigdir}/shishi.pc
226 %defattr(644,root,root,755)
227 %{_libdir}/libshis*.a
230 %defattr(644,root,root,755)
231 %attr(755,root,root) %{_sbindir}/shishid
232 %attr(754,root,root) /etc/rc.d/init.d/shishid
233 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/shishid
234 %{_mandir}/man1/shishid.1*
236 %files -n pam-pam_shishi
237 %defattr(644,root,root,755)
238 %attr(755,root,root) /%{_lib}/security/pam_shishi.so*