1 Summary: The NIS daemon which binds NIS clients to an NIS domain
2 Summary(es.UTF-8): Proceso de ligación NIS
3 Summary(pl.UTF-8): Demon NIS przyłączający klientów NIS do domeny NIS
4 Summary(pt_BR.UTF-8): Processo de ligação NIS
5 Summary(zh_CN.UTF-8): NIS 服务器
10 Group: Networking/Daemons
11 #Source0Download: https://github.com/thkukuk/ypbind-mt/releases
12 Source0: https://github.com/thkukuk/ypbind-mt/releases/download/v%{version}/%{name}-%{version}.tar.xz
13 # Source0-md5: 130ddec4c31192cbefefc66d9d8ffbd8
16 Patch0: %{name}-broadcast.patch
17 URL: http://www.linux-nis.org/
18 BuildRequires: autoconf >= 2.50
19 BuildRequires: automake >= 1.6
21 BuildRequires: docbook-dtd43-xml
22 BuildRequires: gettext-tools >= 0.19
23 BuildRequires: libnsl-devel >= 1.0.4
24 BuildRequires: libtirpc-devel >= 1.0.1
25 BuildRequires: libxslt-progs
26 BuildRequires: pkgconfig
27 BuildRequires: rpmbuild(macros) >= 1.268
28 BuildRequires: systemd-devel >= 1:209
29 BuildRequires: tar >= 1:1.22
31 Requires(post,preun): /sbin/chkconfig
32 Requires: libnsl >= 1.0.4
33 Requires: libtirpc >= 1.0.1
35 Requires: rc-scripts >= 0.4.1.5
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 %define _sbindir /sbin
45 The Network Information Service (NIS) is a system which provides
46 network information (login names, passwords, home directories, group
47 information) to all of the machines on a network. NIS can enable users
48 to login on any machine on the network, as long as the machine has the
49 NIS client programs running and the user's password is recorded in the
50 NIS passwd database. NIS was formerly known as Sun Yellow Pages (YP).
52 This package provides the ypbind daemon. The ypbind daemon binds NIS
53 clients to an NIS domain. Ypbind must be running on any machines which
54 are running NIS client programs.
56 Install the ypbind package on any machines which are running NIS
57 client programs (included in the yp-tools package). If you need an NIS
58 server, you'll also need to install the ypserv package to a machine on
61 %description -l es.UTF-8
62 Este es un daemon que se ejecuta en clientes NIS/YP y los relaciona a
63 un dominio NIS. Debe ejecutarse en sistemas basados en la glibc para
64 funcionaren como clientes NIS.
66 %description -l pl.UTF-8
67 NIS (Network Information Service) to system dostarczający informacje
68 sieciowe (nazwy użytkowników, hasła, katalogi domowe, informacje o
69 grupach) wszystkim maszynom w sieci. NIS może pozwalać użytkownikom
70 logować się na dowolnej maszynie w sieci pod warunkiem, że maszyna ma
71 działające programy klienckie NIS i hasło użytkownika jest zapisane w
72 bazie haseł NIS. NIS był wcześniej znany jako YP (Sun Yellow Pages).
74 Ten pakiet zawiera demona ypbind. Demon ten przyłącza klientów NIS do
75 domeny NIS. ypbind musi działać na każdej maszynie, na której działają
76 programy klienckie NIS.
78 %description -l pt_BR.UTF-8
79 Este é um daemon que roda em clientes NIS/YP e os relaciona a um
80 domínio NIS. Ele deve estar rodando em sistemas baseados na glibc para
81 agirem como clientes NIS.
98 rm -rf $RPM_BUILD_ROOT
99 install -d $RPM_BUILD_ROOT/{etc/rc.d/init.d,var/yp/binding}
102 DESTDIR=$RPM_BUILD_ROOT
104 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ypbind
105 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/yp.conf
110 rm -rf $RPM_BUILD_ROOT
113 /sbin/chkconfig --add ypbind
114 %service ypbind restart
117 if [ "$1" = "0" ]; then
119 /sbin/chkconfig --del ypbind
122 %files -f %{name}.lang
123 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_sbindir}/ypbind
126 %attr(754,root,root) /etc/rc.d/init.d/ypbind
127 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yp.conf
128 %{_mandir}/man5/yp.conf.5*
129 %{_mandir}/man8/ypbind.8*