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: 3801d2e8ca23b3ee8d72903e0be22a2f
11 Source1: %{name}-shishid.init
12 Source2: %{name}-shishid.sysconfig
13 Source3: %{name}-pl.po
14 Patch0: %{name}-info.patch
15 URL: http://josefsson.org/shishi/
16 BuildRequires: autoconf >= 2.57
17 BuildRequires: automake >= 1.7
18 BuildRequires: gettext-devel >= 0.12.1
19 BuildRequires: gnutls-devel >= 1.0.0
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: texinfo
27 Requires(post,postun): /sbin/ldconfig
28 # should be moved to shishi-enabled inetutils-* if such packages would exist
29 Obsoletes: shishi-telnet
30 Obsoletes: shishi-telnetd
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 %define _libexecdir %{_sbindir}
34 %define _localstatedir %{_var}/lib
37 Shishi is a (still incomplete) implementation of the RFC 1510(bis)
38 network authentication system (known as Kerberos V5). Shishi can be
39 used to authenticate users in distributed systems.
41 Shishi contains a library ('libshishi') that can be used by
42 application developers to add support for RFC 1510 and a command line
43 utility ('shishi') that is used by users to interface with the
44 library, to acquire and manage tickets (and more). Included are also
45 a TELNET client and server (based on GNU InetUtils) for remote network
46 login, and a PAM module for host security. A rudimentary key
47 distribution center (KDC) daemon is included.
50 Shishi to (nadal niekompletna) implementacja sieciowego systemu
51 uwierzytelniania RFC 1510(bis) (znanego jako Kerberos V5). Shishi mo¿e
52 byæ u¿ywane do uwierzytelniania u¿ytkowników w systemach
55 Shishi zawiera bibliotekê (libshishi), któr± programi¶ci mog±
56 wykorzystywaæ do dodawania obs³ugi RFC 1510 oraz narzêdzie dzia³aj±ce
57 z linii poleceñ (shishi), którym u¿ytkownicy mog± komunikowaæ siê z
58 bibliotek±, uzyskiwaæ i zarz±dzaæ biletami itp. Do³±czone s± tak¿e
59 klient i serwer TELNET (oparte na GNU InetUtils) do zdalnego logowania
60 oraz modu³ PAM do lokalnego modelu bezpieczeñstwa. Demon podstawowego
61 centrum dystrybucji kluczy (KDC) tak¿e jest za³±czony.
64 Summary: Header files for Shishi library
65 Summary(pl): Pliki nag³ówkowe biblioteki Shishi
66 Group: Development/Libraries
67 Requires: %{name} = %{epoch}:%{version}-%{release}
68 Requires: gnutls-devel >= 0.8.8
69 Requires: gtk-doc-common
70 Requires: libgcrypt-devel >= 1.1.43
71 Requires: libidn-devel >= 0.1.0
72 Requires: libtasn1-devel >= 0.2.5
75 Header files for Shishi library.
77 %description devel -l pl
78 Pliki nag³ówkowe biblioteki Shishi.
81 Summary: Static Shishi library
82 Summary(pl): Statyczna biblioteka Shishi
83 Group: Development/Libraries
84 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
87 Static Shishi library.
89 %description static -l pl
90 Statyczna biblioteka Shishi.
93 Summary: shishid - Kerberos 5 server
94 Summary(pl): shishid - serwer Kerberosa 5
95 Group: Networking/Daemons
96 Requires(pre): /usr/sbin/useradd
97 Requires(pre): /usr/sbin/groupadd
98 Requires(pre): /usr/bin/getgid
99 Requires(pre): /bin/id
100 Requires(pre): /usr/bin/setsid
101 Requires(post,postun): /sbin/chkconfig
102 Requires(postun): /usr/sbin/userdel
103 Requires(postun): /usr/sbin/groupdel
104 Requires: %{name} = %{epoch}:%{version}-%{release}
107 shishid is a network daemon for issuing Kerberos 5 tickets.
109 %description shishid -l pl
110 shishid to sieciowy demon s³u¿±cy do wydawania biletów Kerberosa 5.
112 %package -n pam-pam_shishi
113 Summary: PAM module for RFC 1510 (Kerberos V5) authentication
114 Summary(pl): Modu³ PAM do uwierzytelniania RFC 1510 (Kerberos V5)
116 Requires: %{name} = %{epoch}:%{version}-%{release}
117 Obsoletes: pam_shishi
119 %description -n pam-pam_shishi
120 PAM module for RFC 1510 (Kerberos V5) authentication.
122 %description -n pam-pam_shishi -l pl
123 Modu³ PAM do uwierzytelniania RFC 1510 (Kerberos V5).
129 cp -f %{SOURCE3} po/pl.po
130 echo 'pl' >> po/LINGUAS
133 # we don't have libtool 1.5a
134 %{__perl} -pi -e 's/AC_LIBTOOL_TAGS//' configure.ac
135 # incompatible with ksh
138 # doesn't build on sparc (too few B* constants) and wasn't packaged anyway
139 %{__perl} -pi -e 's/^(SUBDIRS.*) rsh-redone/$1/' extra/Makefile.am
142 # blegh, lt incompatible with ksh - must rebuild
144 %{__aclocal} -I gl/m4 -I m4
154 rm -rf $RPM_BUILD_ROOT
155 install -d $RPM_BUILD_ROOT{/%{_lib}/security,/etc/{sysconfig,rc.d/init.d}}
158 DESTDIR=$RPM_BUILD_ROOT
160 %{__make} -C extra install \
161 DESTDIR=$RPM_BUILD_ROOT
163 mv -f $RPM_BUILD_ROOT%{_libdir}/pam_shishi.so* $RPM_BUILD_ROOT/%{_lib}/security
164 rm -f $RPM_BUILD_ROOT%{_libdir}/pam_shishi.{la,a}
166 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/shishid
167 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/shishid
172 rm -rf $RPM_BUILD_ROOT
176 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
180 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
183 if [ -n "`/usr/bin/getgid shishi`" ]; then
184 if [ "`getgid shishi`" != "125" ]; then
185 echo "Error: group shishi doesn't have gid=125. Correct this before installing shishid." 1>&2
189 /usr/sbin/groupadd -g 125 -r -f shishi
191 if [ -n "`/bin/id -u shishi 2>/dev/null`" ]; then
192 if [ "`/bin/id -u shishi`" != "125" ]; then
193 echo "Error: user shishi doesn't have uid=125. Correct this before installing shishid." 1>&2
197 /usr/sbin/useradd -u 125 -r -d /usr/share/empty -s /bin/false -c "shishi user" -g shishi shishi 1>&2
201 /sbin/chkconfig --add shishid
202 if [ -f /var/lock/subsys/shishid ]; then
203 /etc/rc.d/init.d/shishid restart >&2
205 echo "Run \"/etc/rc.d/init.d/shishid start\" to start shishid daemon." >&2
209 if [ "$1" = "0" ]; then
210 if [ -f /var/lock/subsys/shishid ]; then
211 /etc/rc.d/init.d/shishid stop >&2
213 /sbin/chkconfig --del shishid
217 if [ "$1" = "0" ]; then
218 /usr/sbin/userdel shishi
219 /usr/sbin/groupdel shishi
222 %files -f %{name}.lang
223 %defattr(644,root,root,755)
224 %doc AUTHORS ChangeLog NEWS README* THANKS
225 %attr(755,root,root) %{_bindir}/shisa
226 %attr(755,root,root) %{_bindir}/shishi
227 %attr(755,root,root) %{_libdir}/libshis*.so.*.*.*
228 %dir %{_sysconfdir}/shishi
229 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/shishi/shisa.conf
230 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/shishi/shishi.keys
231 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/shishi/shishi.skel
232 %attr(700,root,root) %dir %{_localstatedir}/%{name}
233 %{_mandir}/man1/shisa.1*
234 %{_mandir}/man1/shishi.1*
235 %{_infodir}/shishi.info*
238 %defattr(644,root,root,755)
239 %attr(755,root,root) %{_libdir}/libshis*.so
240 %{_libdir}/libshis*.la
241 %{_includedir}/shis*.h
242 %{_pkgconfigdir}/shishi.pc
246 %defattr(644,root,root,755)
247 %{_libdir}/libshis*.a
250 %defattr(644,root,root,755)
251 %attr(755,root,root) %{_sbindir}/shishid
252 %attr(640,root,shishi) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/shishi/shishi.conf
253 %attr(754,root,root) /etc/rc.d/init.d/shishid
254 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/shishid
255 %{_mandir}/man1/shishid.1*
257 %files -n pam-pam_shishi
258 %defattr(644,root,root,755)
259 %attr(755,root,root) /%{_lib}/security/pam_shishi.so*