]>
Commit | Line | Data |
---|---|---|
5b9a01dd | 1 | Summary: Shishi - an implementation of RFC 1510(bis) (Kerberos V5 authentication) |
586c4b29 | 2 | Summary(pl.UTF-8): Shishi - implementacja RFC 1510(bis) (uwierzytelniania Kerberos V5) |
5b9a01dd | 3 | Name: shishi |
88e64919 | 4 | Version: 0.0.37 |
9caac392 | 5 | Release: 1 |
5df89bc8 | 6 | Epoch: 0 |
eff50e8d | 7 | License: GPL v3+ |
5b9a01dd | 8 | Group: Libraries |
d8b359ac | 9 | Source0: http://alpha.gnu.org/gnu/shishi/%{name}-%{version}.tar.gz |
88e64919 | 10 | # Source0-md5: f5291b727621e46a395797f0a6816c31 |
50d5a6de JB |
11 | Source1: %{name}-shishid.init |
12 | Source2: %{name}-shishid.sysconfig | |
5b9a01dd | 13 | Patch0: %{name}-info.patch |
dd44a42e | 14 | URL: http://josefsson.org/shishi/ |
fc89b58d JB |
15 | BuildRequires: autoconf >= 2.61 |
16 | BuildRequires: automake >= 1:1.10 | |
88e64919 | 17 | BuildRequires: gettext-devel >= 0.17 |
469de8c7 | 18 | BuildRequires: gnutls-devel >= 1.2.5 |
bd0e3c54 | 19 | BuildRequires: gtk-doc >= 1.1 |
dd44a42e | 20 | BuildRequires: libgcrypt-devel >= 1.1.43 |
5b9a01dd | 21 | BuildRequires: libidn-devel >= 0.1.0 |
88e64919 | 22 | BuildRequires: libtasn1-devel >= 1.4 |
bd0e3c54 | 23 | BuildRequires: libtool >= 2:1.5 |
5b9a01dd | 24 | BuildRequires: pam-devel |
8abf6537 | 25 | BuildRequires: rpmbuild(macros) >= 1.268 |
5b9a01dd | 26 | BuildRequires: texinfo |
5f501fa8 | 27 | Requires(post,postun): /sbin/ldconfig |
88e64919 | 28 | Requires: libtasn1 >= 1.4 |
536139d9 | 29 | Provides: group(shishi) |
30 | Provides: user(shishi) | |
dd44a42e JB |
31 | # should be moved to shishi-enabled inetutils-* if such packages would exist |
32 | Obsoletes: shishi-telnet | |
33 | Obsoletes: shishi-telnetd | |
5b9a01dd JB |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35 | ||
36 | %define _libexecdir %{_sbindir} | |
bd0e3c54 | 37 | %define _localstatedir %{_var}/lib |
5b9a01dd JB |
38 | |
39 | %description | |
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. | |
43 | ||
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 | |
d3aef2d9 ER |
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 | |
5b9a01dd JB |
49 | login, and a PAM module for host security. A rudimentary key |
50 | distribution center (KDC) daemon is included. | |
51 | ||
8bf5f35a | 52 | %description -l pl.UTF-8 |
5b9a01dd | 53 | Shishi to (nadal niekompletna) implementacja sieciowego systemu |
8bf5f35a JR |
54 | uwierzytelniania RFC 1510(bis) (znanego jako Kerberos V5). Shishi może |
55 | być używane do uwierzytelniania użytkowników w systemach | |
5b9a01dd JB |
56 | rozproszonych. |
57 | ||
8bf5f35a JR |
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 | |
5b9a01dd | 62 | klient i serwer TELNET (oparte na GNU InetUtils) do zdalnego logowania |
8bf5f35a JR |
63 | oraz moduł PAM do lokalnego modelu bezpieczeństwa. Demon podstawowego |
64 | centrum dystrybucji kluczy (KDC) także jest załączony. | |
5b9a01dd JB |
65 | |
66 | %package devel | |
67 | Summary: Header files for Shishi library | |
586c4b29 | 68 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Shishi |
5b9a01dd | 69 | Group: Development/Libraries |
9ea79903 | 70 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d8ae3593 | 71 | Requires: gnutls-devel >= 1.2.5 |
5f501fa8 | 72 | Requires: gtk-doc-common |
dd44a42e | 73 | Requires: libgcrypt-devel >= 1.1.43 |
5f501fa8 | 74 | Requires: libidn-devel >= 0.1.0 |
88e64919 | 75 | Requires: libtasn1-devel >= 1.4 |
5b9a01dd JB |
76 | |
77 | %description devel | |
78 | Header files for Shishi library. | |
79 | ||
8bf5f35a JR |
80 | %description devel -l pl.UTF-8 |
81 | Pliki nagłówkowe biblioteki Shishi. | |
5b9a01dd JB |
82 | |
83 | %package static | |
84 | Summary: Static Shishi library | |
586c4b29 | 85 | Summary(pl.UTF-8): Statyczna biblioteka Shishi |
5b9a01dd | 86 | Group: Development/Libraries |
9ea79903 | 87 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
5b9a01dd JB |
88 | |
89 | %description static | |
90 | Static Shishi library. | |
91 | ||
8bf5f35a | 92 | %description static -l pl.UTF-8 |
5b9a01dd JB |
93 | Statyczna biblioteka Shishi. |
94 | ||
50d5a6de JB |
95 | %package shishid |
96 | Summary: shishid - Kerberos 5 server | |
586c4b29 | 97 | Summary(pl.UTF-8): shishid - serwer Kerberosa 5 |
50d5a6de | 98 | Group: Networking/Daemons |
50d5a6de | 99 | Requires(post,postun): /sbin/chkconfig |
8abf6537 | 100 | Requires(post,preun): rc-scripts |
50d5a6de | 101 | Requires(postun): /usr/sbin/groupdel |
536139d9 | 102 | Requires(postun): /usr/sbin/userdel |
d3aef2d9 ER |
103 | Requires(pre): /bin/id |
104 | Requires(pre): /usr/bin/getgid | |
105 | Requires(pre): /usr/sbin/groupadd | |
106 | Requires(pre): /usr/sbin/useradd | |
50d5a6de JB |
107 | Requires: %{name} = %{epoch}:%{version}-%{release} |
108 | ||
109 | %description shishid | |
110 | shishid is a network daemon for issuing Kerberos 5 tickets. | |
111 | ||
8bf5f35a JR |
112 | %description shishid -l pl.UTF-8 |
113 | shishid to sieciowy demon służący do wydawania biletów Kerberosa 5. | |
50d5a6de | 114 | |
5df89bc8 | 115 | %package -n pam-pam_shishi |
5b9a01dd | 116 | Summary: PAM module for RFC 1510 (Kerberos V5) authentication |
586c4b29 | 117 | Summary(pl.UTF-8): Moduł PAM do uwierzytelniania RFC 1510 (Kerberos V5) |
5b9a01dd | 118 | Group: Libraries |
9ea79903 | 119 | Requires: %{name} = %{epoch}:%{version}-%{release} |
dd44a42e | 120 | Obsoletes: pam_shishi |
5b9a01dd | 121 | |
5df89bc8 | 122 | %description -n pam-pam_shishi |
5b9a01dd JB |
123 | PAM module for RFC 1510 (Kerberos V5) authentication. |
124 | ||
8bf5f35a JR |
125 | %description -n pam-pam_shishi -l pl.UTF-8 |
126 | Moduł PAM do uwierzytelniania RFC 1510 (Kerberos V5). | |
5b9a01dd JB |
127 | |
128 | %prep | |
129 | %setup -q | |
5f501fa8 | 130 | %patch0 -p1 |
5b9a01dd | 131 | |
42ae22ce JB |
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 | |
134 | ||
5b9a01dd | 135 | %build |
bd0e3c54 JB |
136 | %{__libtoolize} |
137 | %{__aclocal} -I gl/m4 -I m4 | |
138 | %{__autoconf} | |
139 | %{__autoheader} | |
140 | %{__automake} | |
02ebd3da | 141 | %configure \ |
fef3b67f | 142 | --with-libgcrypt \ |
d8ae3593 | 143 | --with-pam-dir=/%{_lib}/security |
5b9a01dd JB |
144 | |
145 | %{__make} | |
dd44a42e | 146 | %{__make} extra |
5b9a01dd JB |
147 | |
148 | %install | |
149 | rm -rf $RPM_BUILD_ROOT | |
702a6e67 | 150 | install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d} |
5b9a01dd JB |
151 | |
152 | %{__make} install \ | |
153 | DESTDIR=$RPM_BUILD_ROOT | |
154 | ||
dd44a42e JB |
155 | %{__make} -C extra install \ |
156 | DESTDIR=$RPM_BUILD_ROOT | |
157 | ||
d8ae3593 | 158 | rm -f $RPM_BUILD_ROOT/%{_lib}/security/pam_shishi.{la,a} |
5b9a01dd | 159 | |
50d5a6de JB |
160 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/shishid |
161 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/shishid | |
8abf6537 | 162 | rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir |
50d5a6de | 163 | |
5b9a01dd JB |
164 | %find_lang %{name} |
165 | ||
166 | %clean | |
167 | rm -rf $RPM_BUILD_ROOT | |
168 | ||
5f501fa8 JB |
169 | %post |
170 | /sbin/ldconfig | |
171 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
172 | ||
173 | %postun | |
174 | /sbin/ldconfig | |
175 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
5b9a01dd | 176 | |
50d5a6de | 177 | %pre shishid |
6cabc2a2 ER |
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 | |
50d5a6de JB |
180 | |
181 | %post shishid | |
182 | /sbin/chkconfig --add shishid | |
8abf6537 | 183 | %service shishid restart "shishid daemon" |
50d5a6de JB |
184 | |
185 | %preun shishid | |
186 | if [ "$1" = "0" ]; then | |
8abf6537 | 187 | %service shishid stop |
50d5a6de JB |
188 | /sbin/chkconfig --del shishid |
189 | fi | |
190 | ||
191 | %postun shishid | |
192 | if [ "$1" = "0" ]; then | |
536139d9 | 193 | %userremove shishi |
194 | %groupremove shishi | |
50d5a6de JB |
195 | fi |
196 | ||
5b9a01dd JB |
197 | %files -f %{name}.lang |
198 | %defattr(644,root,root,755) | |
bd0e3c54 | 199 | %doc AUTHORS ChangeLog NEWS README* THANKS |
fef3b67f | 200 | %attr(755,root,root) %{_bindir}/ccache2shishi |
bd0e3c54 | 201 | %attr(755,root,root) %{_bindir}/shisa |
5b9a01dd | 202 | %attr(755,root,root) %{_bindir}/shishi |
a410336c | 203 | %attr(755,root,root) %{_sbindir}/keytab2shishi |
702a6e67 JB |
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 | |
bd0e3c54 | 208 | %dir %{_sysconfdir}/shishi |
d3aef2d9 ER |
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 | |
bd0e3c54 | 213 | %attr(700,root,root) %dir %{_localstatedir}/%{name} |
fef3b67f | 214 | %{_mandir}/man1/ccache2shishi.1* |
a410336c | 215 | %{_mandir}/man1/keytab2shishi.1* |
bd0e3c54 | 216 | %{_mandir}/man1/shisa.1* |
5b9a01dd JB |
217 | %{_mandir}/man1/shishi.1* |
218 | %{_infodir}/shishi.info* | |
5b9a01dd JB |
219 | |
220 | %files devel | |
221 | %defattr(644,root,root,755) | |
702a6e67 JB |
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 | |
5b9a01dd | 228 | %{_pkgconfigdir}/shishi.pc |
702a6e67 JB |
229 | %{_mandir}/man3/shisa*.3* |
230 | %{_mandir}/man3/shishi*.3* | |
5b9a01dd JB |
231 | |
232 | %files static | |
233 | %defattr(644,root,root,755) | |
702a6e67 JB |
234 | %{_libdir}/libshisa.a |
235 | %{_libdir}/libshishi.a | |
5b9a01dd | 236 | |
50d5a6de JB |
237 | %files shishid |
238 | %defattr(644,root,root,755) | |
239 | %attr(755,root,root) %{_sbindir}/shishid | |
50d5a6de | 240 | %attr(754,root,root) /etc/rc.d/init.d/shishid |
d3aef2d9 | 241 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/shishid |
50d5a6de JB |
242 | %{_mandir}/man1/shishid.1* |
243 | ||
5df89bc8 | 244 | %files -n pam-pam_shishi |
5b9a01dd | 245 | %defattr(644,root,root,755) |
702a6e67 | 246 | %attr(755,root,root) /%{_lib}/security/pam_shishi.so |