]>
Commit | Line | Data |
---|---|---|
98b7a779 | 1 | Summary: The NIS daemon which binds NIS clients to an NIS domain |
11c29969 ER |
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 服务器 | |
c2fddba9 | 6 | Name: ypbind-mt |
b67a60fb | 7 | Version: 1.37.1 |
2d898179 | 8 | Release: 1 |
98b7a779 | 9 | License: GPL |
b3ba7a75 | 10 | Group: Networking/Daemons |
b67a60fb JR |
11 | Source0: http://www.linux-nis.org/download/ypbind-mt//%{name}-%{version}.tar.bz2 |
12 | # Source0-md5: 8af8d35e7b9a7fcc3a1576697a04bd82 | |
f1927fc1 JR |
13 | Source1: ypbind.init |
14 | Source2: yp.conf | |
98b7a779 | 15 | Patch0: %{name}-pthread.patch |
16 | Patch1: %{name}-broadcast.patch | |
2d898179 | 17 | Patch2: %{name}-dbus.patch |
b67a60fb | 18 | URL: http://www.linux-nis.org/ |
13d7d070 JB |
19 | BuildRequires: autoconf |
20 | BuildRequires: automake | |
21 | BuildRequires: bison | |
89387248 | 22 | BuildRequires: dbus-devel |
2c893431 | 23 | BuildRequires: dbus-glib-devel |
13d7d070 | 24 | BuildRequires: gettext-devel |
37dacdcc | 25 | BuildRequires: rpmbuild(macros) >= 1.268 |
13d7d070 | 26 | Requires(post,preun): /sbin/chkconfig |
a52d5375 | 27 | Requires: nss_nis |
f1927fc1 | 28 | Requires: portmap |
e9398414 | 29 | Requires: rc-scripts >= 0.4.1.5 |
f1927fc1 | 30 | Requires: yp-tools |
c2fddba9 | 31 | Provides: ypbind |
98b7a779 | 32 | Obsoletes: ypbind |
21cbc177 | 33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
98b7a779 | 34 | |
35 | %define _sbindir /sbin | |
f1927fc1 JR |
36 | |
37 | %description | |
98b7a779 | 38 | The Network Information Service (NIS) is a system which provides |
39 | network information (login names, passwords, home directories, group | |
40 | information) to all of the machines on a network. NIS can enable users | |
41 | to login on any machine on the network, as long as the machine has the | |
42 | NIS client programs running and the user's password is recorded in the | |
43 | NIS passwd database. NIS was formerly known as Sun Yellow Pages (YP). | |
44 | ||
45 | This package provides the ypbind daemon. The ypbind daemon binds NIS | |
46 | clients to an NIS domain. Ypbind must be running on any machines which | |
f1927fc1 JR |
47 | are running NIS client programs. |
48 | ||
98b7a779 | 49 | Install the ypbind package on any machines which are running NIS |
50 | client programs (included in the yp-tools package). If you need an NIS | |
51 | server, you'll also need to install the ypserv package to a machine on | |
52 | your network. | |
f1927fc1 | 53 | |
4f493417 | 54 | %description -l es.UTF-8 |
76a54dfd | 55 | Este es un daemon que se ejecuta en clientes NIS/YP y los relaciona a |
56 | un dominio NIS. Debe ejecutarse en sistemas basados en la glibc para | |
57 | funcionaren como clientes NIS. | |
58 | ||
4f493417 JR |
59 | %description -l pl.UTF-8 |
60 | NIS (Network Information Service) to system dostarczający informacje | |
61 | sieciowe (nazwy użytkowników, hasła, katalogi domowe, informacje o | |
62 | grupach) wszystkim maszynom w sieci. NIS może pozwalać użytkownikom | |
63 | logować się na dowolnej maszynie w sieci pod warunkiem, że maszyna ma | |
64 | działające programy klienckie NIS i hasło użytkownika jest zapisane w | |
65 | bazie haseł NIS. NIS był wcześniej znany jako YP (Sun Yellow Pages). | |
23f9c839 | 66 | |
4f493417 JR |
67 | Ten pakiet zawiera demona ypbind. Demon ten przyłącza klientów NIS do |
68 | domeny NIS. ypbind musi działać na każdej maszynie, na której działają | |
23f9c839 JB |
69 | programy klienckie NIS. |
70 | ||
4f493417 JR |
71 | %description -l pt_BR.UTF-8 |
72 | Este é um daemon que roda em clientes NIS/YP e os relaciona a um | |
73 | domínio NIS. Ele deve estar rodando em sistemas baseados na glibc para | |
76a54dfd | 74 | agirem como clientes NIS. |
75 | ||
f1927fc1 JR |
76 | %prep |
77 | %setup -q | |
98b7a779 | 78 | %patch0 -p1 |
79 | %patch1 -p1 | |
2d898179 | 80 | %patch2 -p1 |
f1927fc1 | 81 | |
89387248 AM |
82 | cat m4/jh_path_xml_catalog.m4 >> acinclude.m4 |
83 | rm -rf m4 | |
6e245966 JB |
84 | |
85 | %build | |
905ea26c | 86 | %{__gettextize} |
13d7d070 | 87 | %{__aclocal} |
8f12ccf3 | 88 | %{__autoconf} |
89 | %{__automake} | |
02d69e86 | 90 | %configure \ |
91 | --disable-slp | |
c1d0af38 | 92 | %{__make} |
f1927fc1 JR |
93 | |
94 | %install | |
95 | rm -rf $RPM_BUILD_ROOT | |
98b7a779 | 96 | install -d $RPM_BUILD_ROOT/{etc/rc.d/init.d,var/yp/binding} |
879417c2 | 97 | |
29952560 | 98 | %{__make} install \ |
98b7a779 | 99 | DESTDIR=$RPM_BUILD_ROOT |
f1927fc1 | 100 | |
f1927fc1 | 101 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ypbind |
98b7a779 | 102 | install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/yp.conf |
f1927fc1 | 103 | |
98b7a779 | 104 | %find_lang %{name} |
f1927fc1 JR |
105 | |
106 | %clean | |
107 | rm -rf $RPM_BUILD_ROOT | |
108 | ||
109 | %post | |
5a9df62f | 110 | /sbin/chkconfig --add ypbind |
37dacdcc | 111 | %service ypbind restart |
98b7a779 | 112 | |
113 | %preun | |
5a9df62f | 114 | if [ "$1" = "0" ]; then |
37dacdcc | 115 | %service ypbind stop |
5a9df62f | 116 | /sbin/chkconfig --del ypbind |
117 | fi | |
f1927fc1 | 118 | |
98b7a779 | 119 | %files -f %{name}.lang |
f1927fc1 | 120 | %defattr(644,root,root,755) |
76a54dfd | 121 | %doc README |
98b7a779 | 122 | %attr(755,root,root) %{_sbindir}/ypbind |
123 | %attr(754,root,root) /etc/rc.d/init.d/* | |
124 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yp.conf | |
125 | %{_mandir}/man[58]/* | |
f1927fc1 | 126 | %dir /var/yp/binding |