1 Summary: Shishi - an implementation of RFC 1510(bis) (Kerberos V5 authentication)
2 Summary(pl.UTF-8): Shishi - implementacja RFC 1510(bis) (uwierzytelniania Kerberos V5)
9 Source0: http://ftp.gnu.org/gnu/shishi/%{name}-%{version}.tar.gz
10 # Source0-md5: f5291b727621e46a395797f0a6816c31
11 Source1: %{name}-shishid.init
12 Source2: %{name}-shishid.sysconfig
13 Patch0: %{name}-info.patch
14 URL: http://josefsson.org/shishi/
15 BuildRequires: autoconf >= 2.61
16 BuildRequires: automake >= 1:1.10
17 BuildRequires: gettext-devel >= 0.17
18 BuildRequires: gnutls-devel >= 1.2.5
19 BuildRequires: gtk-doc >= 1.1
20 BuildRequires: libgcrypt-devel >= 1.1.43
21 BuildRequires: libidn-devel >= 0.1.0
22 BuildRequires: libtasn1-devel >= 1.4
23 BuildRequires: libtool >= 2:1.5
24 BuildRequires: pam-devel
25 BuildRequires: rpmbuild(macros) >= 1.268
26 BuildRequires: texinfo
27 Requires(post,postun): /sbin/ldconfig
28 Requires: libtasn1 >= 1.4
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.
52 %description -l pl.UTF-8
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.UTF-8): 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 >= 1.4
78 Header files for Shishi library.
80 %description devel -l pl.UTF-8
81 Pliki nagłówkowe biblioteki Shishi.
84 Summary: Static Shishi library
85 Summary(pl.UTF-8): Statyczna biblioteka Shishi
86 Group: Development/Libraries
87 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
90 Static Shishi library.
92 %description static -l pl.UTF-8
93 Statyczna biblioteka Shishi.
96 Summary: shishid - Kerberos 5 server
97 Summary(pl.UTF-8): 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.UTF-8
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.UTF-8): 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.UTF-8
126 Moduł PAM do uwierzytelniania RFC 1510 (Kerberos V5).
132 # doesn't build on sparc (too few B* constants) and wasn't packaged anyway
133 %{__perl} -pi -e 's/^(SUBDIRS.*) rsh-redone/$1/' extra/Makefile.am
137 %{__aclocal} -I gl/m4 -I m4
143 --with-pam-dir=/%{_lib}/security
149 rm -rf $RPM_BUILD_ROOT
150 install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d}
153 DESTDIR=$RPM_BUILD_ROOT
155 %{__make} -C extra install \
156 DESTDIR=$RPM_BUILD_ROOT
158 rm -f $RPM_BUILD_ROOT/%{_lib}/security/pam_shishi.{la,a}
160 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/shishid
161 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/shishid
162 rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
167 rm -rf $RPM_BUILD_ROOT
171 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
175 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
178 %groupadd -P %{name}-shishid -g 125 shishi
179 %useradd -P %{name}-shishid -u 125 -d /usr/share/empty -s /bin/false -c "shishi user" -g shishi shishi
182 /sbin/chkconfig --add shishid
183 %service shishid restart "shishid daemon"
186 if [ "$1" = "0" ]; then
187 %service shishid stop
188 /sbin/chkconfig --del shishid
192 if [ "$1" = "0" ]; then
197 %files -f %{name}.lang
198 %defattr(644,root,root,755)
199 %doc AUTHORS ChangeLog NEWS README* THANKS
200 %attr(755,root,root) %{_bindir}/ccache2shishi
201 %attr(755,root,root) %{_bindir}/shisa
202 %attr(755,root,root) %{_bindir}/shishi
203 %attr(755,root,root) %{_sbindir}/keytab2shishi
204 %attr(755,root,root) %{_libdir}/libshisa.so.*.*.*
205 %attr(755,root,root) %ghost %{_libdir}/libshisa.so.0
206 %attr(755,root,root) %{_libdir}/libshishi.so.*.*.*
207 %attr(755,root,root) %ghost %{_libdir}/libshishi.so.0
208 %dir %{_sysconfdir}/shishi
209 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/shishi/shisa.conf
210 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/shishi/shishi.conf
211 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/shishi/shishi.keys
212 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/shishi/shishi.skel
213 %attr(700,root,root) %dir %{_localstatedir}/%{name}
214 %{_mandir}/man1/ccache2shishi.1*
215 %{_mandir}/man1/keytab2shishi.1*
216 %{_mandir}/man1/shisa.1*
217 %{_mandir}/man1/shishi.1*
218 %{_infodir}/shishi.info*
221 %defattr(644,root,root,755)
222 %attr(755,root,root) %{_libdir}/libshisa.so
223 %attr(755,root,root) %{_libdir}/libshishi.so
224 %{_libdir}/libshisa.la
225 %{_libdir}/libshishi.la
226 %{_includedir}/shisa.h
227 %{_includedir}/shishi*.h
228 %{_pkgconfigdir}/shishi.pc
229 %{_mandir}/man3/shisa*.3*
230 %{_mandir}/man3/shishi*.3*
233 %defattr(644,root,root,755)
234 %{_libdir}/libshisa.a
235 %{_libdir}/libshishi.a
238 %defattr(644,root,root,755)
239 %attr(755,root,root) %{_sbindir}/shishid
240 %attr(754,root,root) /etc/rc.d/init.d/shishid
241 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/shishid
242 %{_mandir}/man1/shishid.1*
244 %files -n pam-pam_shishi
245 %defattr(644,root,root,755)
246 %attr(755,root,root) /%{_lib}/security/pam_shishi.so