]> git.pld-linux.org Git - SPECS.git/blob - nis-utils.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / nis-utils.spec
1 Summary:        Linux NIS+ utilities
2 Summary(pl.UTF-8):      Linuksowe narzędzia do NIS+
3 Name:           nis-utils
4 Version:        1.4.1
5 Release:        0.1
6 License:        GPL v2+
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)
18
19 %define         _libexecdir     %{_prefix}/lib/nis
20
21 %description
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
27 and nisupdkeys.
28
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.
34
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.
42
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.
48
49 %package devel
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)
55
56 %description devel
57 nisdb static library, headers and documentation.
58
59 %description devel -l pl.UTF-8
60 Biblioteka statyczna nisdb wraz z plikami nagłówkowymi i dokumentacją.
61
62 %prep
63 %setup -q
64 %patch0 -p1
65
66 %build
67 %configure2_13
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT \
75         usretcexecdir=%{_sbindir}
76
77 %find_lang %{name}
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
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*
109
110 %files devel
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*
This page took 0.061796 seconds and 3 git commands to generate.