]>
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 |
b5c1ad3c JB |
4 | Version: 1.0.2 |
5 | Release: 1 | |
5df89bc8 | 6 | Epoch: 0 |
eff50e8d | 7 | License: GPL v3+ |
5b9a01dd | 8 | Group: Libraries |
c7890a2a | 9 | Source0: http://ftp.gnu.org/gnu/shishi/%{name}-%{version}.tar.gz |
b5c1ad3c | 10 | # Source0-md5: 4dace6fdc67dec508ed75b852d316e64 |
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 | 15 | BuildRequires: autoconf >= 2.61 |
b5c1ad3c | 16 | BuildRequires: automake >= 1:1.11 |
4c12bb8c | 17 | BuildRequires: gettext-devel >= 0.18.1 |
469de8c7 | 18 | BuildRequires: gnutls-devel >= 1.2.5 |
c7890a2a | 19 | BuildRequires: gtk-doc >= 1.1 |
dd44a42e | 20 | BuildRequires: libgcrypt-devel >= 1.1.43 |
5b9a01dd | 21 | BuildRequires: libidn-devel >= 0.1.0 |
4c12bb8c | 22 | BuildRequires: libtasn1-devel >= 2.11 |
bd0e3c54 | 23 | BuildRequires: libtool >= 2:1.5 |
5b9a01dd | 24 | BuildRequires: pam-devel |
b9a6a7c5 | 25 | BuildRequires: pkgconfig |
8abf6537 | 26 | BuildRequires: rpmbuild(macros) >= 1.268 |
5b9a01dd | 27 | BuildRequires: texinfo |
5f501fa8 | 28 | Requires(post,postun): /sbin/ldconfig |
4c12bb8c | 29 | Requires: libtasn1 >= 2.11 |
536139d9 | 30 | Provides: group(shishi) |
31 | Provides: user(shishi) | |
dd44a42e JB |
32 | # should be moved to shishi-enabled inetutils-* if such packages would exist |
33 | Obsoletes: shishi-telnet | |
34 | Obsoletes: shishi-telnetd | |
5b9a01dd JB |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
36 | ||
37 | %define _libexecdir %{_sbindir} | |
bd0e3c54 | 38 | %define _localstatedir %{_var}/lib |
5b9a01dd JB |
39 | |
40 | %description | |
41 | Shishi is a (still incomplete) implementation of the RFC 1510(bis) | |
42 | network authentication system (known as Kerberos V5). Shishi can be | |
43 | used to authenticate users in distributed systems. | |
44 | ||
45 | Shishi contains a library ('libshishi') that can be used by | |
46 | application developers to add support for RFC 1510 and a command line | |
47 | utility ('shishi') that is used by users to interface with the | |
d3aef2d9 ER |
48 | library, to acquire and manage tickets (and more). Included are also a |
49 | TELNET client and server (based on GNU InetUtils) for remote network | |
5b9a01dd JB |
50 | login, and a PAM module for host security. A rudimentary key |
51 | distribution center (KDC) daemon is included. | |
52 | ||
8bf5f35a | 53 | %description -l pl.UTF-8 |
5b9a01dd | 54 | Shishi to (nadal niekompletna) implementacja sieciowego systemu |
8bf5f35a JR |
55 | uwierzytelniania RFC 1510(bis) (znanego jako Kerberos V5). Shishi może |
56 | być używane do uwierzytelniania użytkowników w systemach | |
5b9a01dd JB |
57 | rozproszonych. |
58 | ||
8bf5f35a JR |
59 | Shishi zawiera bibliotekę (libshishi), którą programiści mogą |
60 | wykorzystywać do dodawania obsługi RFC 1510 oraz narzędzie działające | |
61 | z linii poleceń (shishi), którym użytkownicy mogą komunikować się z | |
62 | biblioteką, uzyskiwać i zarządzać biletami itp. Dołączone są także | |
5b9a01dd | 63 | klient i serwer TELNET (oparte na GNU InetUtils) do zdalnego logowania |
8bf5f35a JR |
64 | oraz moduł PAM do lokalnego modelu bezpieczeństwa. Demon podstawowego |
65 | centrum dystrybucji kluczy (KDC) także jest załączony. | |
5b9a01dd JB |
66 | |
67 | %package devel | |
68 | Summary: Header files for Shishi library | |
586c4b29 | 69 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Shishi |
5b9a01dd | 70 | Group: Development/Libraries |
9ea79903 | 71 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d8ae3593 | 72 | Requires: gnutls-devel >= 1.2.5 |
5f501fa8 | 73 | Requires: gtk-doc-common |
dd44a42e | 74 | Requires: libgcrypt-devel >= 1.1.43 |
5f501fa8 | 75 | Requires: libidn-devel >= 0.1.0 |
4c12bb8c | 76 | Requires: libtasn1-devel >= 2.11 |
5b9a01dd JB |
77 | |
78 | %description devel | |
79 | Header files for Shishi library. | |
80 | ||
8bf5f35a JR |
81 | %description devel -l pl.UTF-8 |
82 | Pliki nagłówkowe biblioteki Shishi. | |
5b9a01dd JB |
83 | |
84 | %package static | |
85 | Summary: Static Shishi library | |
586c4b29 | 86 | Summary(pl.UTF-8): Statyczna biblioteka Shishi |
5b9a01dd | 87 | Group: Development/Libraries |
9ea79903 | 88 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
5b9a01dd JB |
89 | |
90 | %description static | |
91 | Static Shishi library. | |
92 | ||
8bf5f35a | 93 | %description static -l pl.UTF-8 |
5b9a01dd JB |
94 | Statyczna biblioteka Shishi. |
95 | ||
50d5a6de JB |
96 | %package shishid |
97 | Summary: shishid - Kerberos 5 server | |
586c4b29 | 98 | Summary(pl.UTF-8): shishid - serwer Kerberosa 5 |
50d5a6de | 99 | Group: Networking/Daemons |
50d5a6de | 100 | Requires(post,postun): /sbin/chkconfig |
8abf6537 | 101 | Requires(post,preun): rc-scripts |
50d5a6de | 102 | Requires(postun): /usr/sbin/groupdel |
536139d9 | 103 | Requires(postun): /usr/sbin/userdel |
d3aef2d9 ER |
104 | Requires(pre): /bin/id |
105 | Requires(pre): /usr/bin/getgid | |
106 | Requires(pre): /usr/sbin/groupadd | |
107 | Requires(pre): /usr/sbin/useradd | |
50d5a6de JB |
108 | Requires: %{name} = %{epoch}:%{version}-%{release} |
109 | ||
110 | %description shishid | |
111 | shishid is a network daemon for issuing Kerberos 5 tickets. | |
112 | ||
8bf5f35a JR |
113 | %description shishid -l pl.UTF-8 |
114 | shishid to sieciowy demon służący do wydawania biletów Kerberosa 5. | |
50d5a6de | 115 | |
5df89bc8 | 116 | %package -n pam-pam_shishi |
5b9a01dd | 117 | Summary: PAM module for RFC 1510 (Kerberos V5) authentication |
586c4b29 | 118 | Summary(pl.UTF-8): Moduł PAM do uwierzytelniania RFC 1510 (Kerberos V5) |
5b9a01dd | 119 | Group: Libraries |
9ea79903 | 120 | Requires: %{name} = %{epoch}:%{version}-%{release} |
dd44a42e | 121 | Obsoletes: pam_shishi |
5b9a01dd | 122 | |
5df89bc8 | 123 | %description -n pam-pam_shishi |
5b9a01dd JB |
124 | PAM module for RFC 1510 (Kerberos V5) authentication. |
125 | ||
8bf5f35a JR |
126 | %description -n pam-pam_shishi -l pl.UTF-8 |
127 | Moduł PAM do uwierzytelniania RFC 1510 (Kerberos V5). | |
5b9a01dd JB |
128 | |
129 | %prep | |
130 | %setup -q | |
5f501fa8 | 131 | %patch0 -p1 |
5b9a01dd | 132 | |
42ae22ce JB |
133 | # doesn't build on sparc (too few B* constants) and wasn't packaged anyway |
134 | %{__perl} -pi -e 's/^(SUBDIRS.*) rsh-redone/$1/' extra/Makefile.am | |
135 | ||
5b9a01dd | 136 | %build |
bd0e3c54 | 137 | %{__libtoolize} |
c4a16246 | 138 | %{__aclocal} -I gl/m4 -I src/gl/m4 -I db/gl/m4 -I m4 |
bd0e3c54 JB |
139 | %{__autoconf} |
140 | %{__autoheader} | |
141 | %{__automake} | |
02ebd3da | 142 | %configure \ |
4c12bb8c | 143 | --disable-silent-rules \ |
fef3b67f | 144 | --with-libgcrypt \ |
d8ae3593 | 145 | --with-pam-dir=/%{_lib}/security |
5b9a01dd JB |
146 | |
147 | %{__make} | |
dd44a42e | 148 | %{__make} extra |
5b9a01dd JB |
149 | |
150 | %install | |
151 | rm -rf $RPM_BUILD_ROOT | |
702a6e67 | 152 | install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d} |
5b9a01dd JB |
153 | |
154 | %{__make} install \ | |
155 | DESTDIR=$RPM_BUILD_ROOT | |
156 | ||
dd44a42e JB |
157 | %{__make} -C extra install \ |
158 | DESTDIR=$RPM_BUILD_ROOT | |
159 | ||
b5c1ad3c | 160 | %{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_shishi.la |
5b9a01dd | 161 | |
50d5a6de JB |
162 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/shishid |
163 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/shishid | |
8abf6537 | 164 | rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir |
50d5a6de | 165 | |
5b9a01dd JB |
166 | %find_lang %{name} |
167 | ||
168 | %clean | |
169 | rm -rf $RPM_BUILD_ROOT | |
170 | ||
5f501fa8 JB |
171 | %post |
172 | /sbin/ldconfig | |
173 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
174 | ||
175 | %postun | |
176 | /sbin/ldconfig | |
177 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
5b9a01dd | 178 | |
50d5a6de | 179 | %pre shishid |
6cabc2a2 ER |
180 | %groupadd -P %{name}-shishid -g 125 shishi |
181 | %useradd -P %{name}-shishid -u 125 -d /usr/share/empty -s /bin/false -c "shishi user" -g shishi shishi | |
50d5a6de JB |
182 | |
183 | %post shishid | |
184 | /sbin/chkconfig --add shishid | |
8abf6537 | 185 | %service shishid restart "shishid daemon" |
50d5a6de JB |
186 | |
187 | %preun shishid | |
188 | if [ "$1" = "0" ]; then | |
8abf6537 | 189 | %service shishid stop |
50d5a6de JB |
190 | /sbin/chkconfig --del shishid |
191 | fi | |
192 | ||
193 | %postun shishid | |
194 | if [ "$1" = "0" ]; then | |
536139d9 | 195 | %userremove shishi |
196 | %groupremove shishi | |
50d5a6de JB |
197 | fi |
198 | ||
5b9a01dd JB |
199 | %files -f %{name}.lang |
200 | %defattr(644,root,root,755) | |
bd0e3c54 | 201 | %doc AUTHORS ChangeLog NEWS README* THANKS |
fef3b67f | 202 | %attr(755,root,root) %{_bindir}/ccache2shishi |
bd0e3c54 | 203 | %attr(755,root,root) %{_bindir}/shisa |
5b9a01dd | 204 | %attr(755,root,root) %{_bindir}/shishi |
a410336c | 205 | %attr(755,root,root) %{_sbindir}/keytab2shishi |
702a6e67 JB |
206 | %attr(755,root,root) %{_libdir}/libshisa.so.*.*.* |
207 | %attr(755,root,root) %ghost %{_libdir}/libshisa.so.0 | |
208 | %attr(755,root,root) %{_libdir}/libshishi.so.*.*.* | |
209 | %attr(755,root,root) %ghost %{_libdir}/libshishi.so.0 | |
bd0e3c54 | 210 | %dir %{_sysconfdir}/shishi |
d3aef2d9 ER |
211 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/shishi/shisa.conf |
212 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/shishi/shishi.conf | |
213 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/shishi/shishi.keys | |
214 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/shishi/shishi.skel | |
bd0e3c54 | 215 | %attr(700,root,root) %dir %{_localstatedir}/%{name} |
fef3b67f | 216 | %{_mandir}/man1/ccache2shishi.1* |
a410336c | 217 | %{_mandir}/man1/keytab2shishi.1* |
bd0e3c54 | 218 | %{_mandir}/man1/shisa.1* |
5b9a01dd JB |
219 | %{_mandir}/man1/shishi.1* |
220 | %{_infodir}/shishi.info* | |
5b9a01dd JB |
221 | |
222 | %files devel | |
223 | %defattr(644,root,root,755) | |
702a6e67 JB |
224 | %attr(755,root,root) %{_libdir}/libshisa.so |
225 | %attr(755,root,root) %{_libdir}/libshishi.so | |
226 | %{_libdir}/libshisa.la | |
227 | %{_libdir}/libshishi.la | |
228 | %{_includedir}/shisa.h | |
229 | %{_includedir}/shishi*.h | |
5b9a01dd | 230 | %{_pkgconfigdir}/shishi.pc |
702a6e67 JB |
231 | %{_mandir}/man3/shisa*.3* |
232 | %{_mandir}/man3/shishi*.3* | |
5b9a01dd JB |
233 | |
234 | %files static | |
235 | %defattr(644,root,root,755) | |
702a6e67 JB |
236 | %{_libdir}/libshisa.a |
237 | %{_libdir}/libshishi.a | |
5b9a01dd | 238 | |
50d5a6de JB |
239 | %files shishid |
240 | %defattr(644,root,root,755) | |
241 | %attr(755,root,root) %{_sbindir}/shishid | |
50d5a6de | 242 | %attr(754,root,root) /etc/rc.d/init.d/shishid |
d3aef2d9 | 243 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/shishid |
50d5a6de JB |
244 | %{_mandir}/man1/shishid.1* |
245 | ||
5df89bc8 | 246 | %files -n pam-pam_shishi |
5b9a01dd | 247 | %defattr(644,root,root,755) |
702a6e67 | 248 | %attr(755,root,root) /%{_lib}/security/pam_shishi.so |