1 Summary: Linux NIS+ utilities
2 Summary(pl.UTF-8): Linuksowe narzędzia do NIS+
7 Group: Networking/Utilities
8 Source0: ftp://ftp.kernel.org/pub/linux/utils/net/NIS+/%{name}-%{version}.tar.bz2
9 # Source0-md5: b4b38d8b006d5ed6cb3e72ce0f354dba
10 Patch0: %{name}-glibc.patch
11 URL: http://www.linux-nis.org/nisplus/nis-utils/
12 # because of __nisbind_create() change, handled by glibc patch
13 BuildRequires: glibc-devel >= 6:2.6
14 BuildRequires: gmp-bsd-devel
15 # __nisbind_create() was internal ABI change, not guarded by versioned exports
16 Requires: glibc >= 6:2.6
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _libexecdir %{_prefix}/lib/nis
22 The NIS+ Utilities are a collection of NIS+ administration and testing
23 tools. They contain: nisaddcred, nisaddent, niscat, nischgrp,
24 nischmod, nischown, nischttl, nisdefaults, niserror, nisgrep,
25 nisgrpadm, nisinit, nislog, nisls nismatch, nismkdir, nispath,
26 nisping, nisrm, nisrmdir, nisshowcache, nisstat, nistbladm, nistest
29 With this, Linux could act as full NIS+ client. The shadow support
30 from nispasswd is missing, but the other parts works. There was a
31 first try to write a NIS+ Server, but the sources remained in
32 pre-alpha stage and don't work. It looks like there will be never a
33 NIS+ server for Linux.
35 %description -l pl.UTF-8
36 NIS+ Utilities to zestaw narzędzi administracyjnych i testowych NIS+
37 dla Linuksa. Składa się z programów: nisaddcred, nisaddent, niscat,
38 nischgrp, nischmod, nischown, nischttl, nisdefaults, niserror,
39 nisgrep, nisgrpadm, nisinit, nislog, nisls nismatch, nismkdir,
40 nispath, nisping, nisrm, nisrmdir, nisshowcache, nisstat, nistbladm,
41 nistest oraz nisupdkeys.
43 Z ich pomocą Linux może działać jako pełny klient NIS+. Brakuje
44 jeszcze obsługi shadow w nispasswd, ale wszystkie inne części
45 działają. Była pierwsza próba napisania serwera NIS+, ale źródła
46 pozostały w stadium pre-alpha i nie działają. Prawdopodobnie nigdy
47 nie będzie serwera NIS+ na Linuksa.
50 Summary: nisdb library
51 Summary(pl.UTF-8): Biblioteka nisdb
52 Group: Development/libraries
53 Requires: glibc-devel >= 2.1.3
54 # doesn't require base (it's static-only)
57 nisdb static library, headers and documentation.
59 %description devel -l pl.UTF-8
60 Biblioteka statyczna nisdb wraz z plikami nagłówkowymi i dokumentacją.
71 rm -rf $RPM_BUILD_ROOT
74 DESTDIR=$RPM_BUILD_ROOT \
75 usretcexecdir=%{_sbindir}
80 rm -rf $RPM_BUILD_ROOT
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog NEWS README THANKS TODO
85 %attr(755,root,root) %{_bindir}/chkey
86 %attr(755,root,root) %{_bindir}/keylogin
87 %attr(755,root,root) %{_bindir}/keylogout
88 %attr(755,root,root) %{_bindir}/newkey
89 %attr(755,root,root) %{_bindir}/nis*
90 %attr(4754,root,root) %{_sbindir}/keyenvoy
91 %attr(755,root,root) %{_sbindir}/keyserv
92 %attr(755,root,root) %{_sbindir}/nis_cachemgr
93 %attr(755,root,root) %{_sbindir}/nisinit
94 %attr(755,root,root) %{_sbindir}/rpc.nisd
95 %attr(755,root,root) %{_sbindir}/rpc.nispasswdd
96 %dir %{_prefix}/lib/nis
97 %attr(755,root,root) %{_prefix}/lib/nis/nis*
98 %{_mandir}/man1/chkey.1*
99 %{_mandir}/man1/keylogin.1*
100 %{_mandir}/man1/keylogout.1*
101 %{_mandir}/man1/newkey.1*
102 %{_mandir}/man1/nis*.1*
103 %{_mandir}/man5/publickey.5*
104 %{_mandir}/man8/keyenvoy.8*
105 %{_mandir}/man8/keyserv.8*
106 %{_mandir}/man8/nis*.8*
107 %{_mandir}/man8/rpc.nisd.8*
108 %{_mandir}/man8/rpc.nispasswdd.8*
111 %defattr(644,root,root,755)
112 %{_libdir}/libnisdb.a
113 %{_libdir}/libnisdb.la
114 %{_includedir}/rpcsvc/nis_cache.h
115 %{_includedir}/rpcsvc/nis_cache.x
116 %{_includedir}/rpcsvc/nis_db.h
117 %{_includedir}/rpcsvc/nispasswd.h
118 %{_includedir}/rpcsvc/nispasswd.x
119 %{_mandir}/man3/db_*.3*
120 %{_mandir}/man3/getpublickey.3*
121 %{_mandir}/man3/getsecretkey.3*
122 %{_mandir}/man3/nis_db.3*
123 %{_mandir}/man3/publickey.3*