[521] | 1 | Summary: The NIS daemon which binds NIS clients to an NIS domain. |
---|
| 2 | Summary(ja): NIS クライアントを NIS ドメインにバインドするデーモン |
---|
| 3 | Name: ypbind |
---|
| 4 | Version: 1.20.5 |
---|
[5569] | 5 | Release: 5%{?_dist_release} |
---|
[521] | 6 | License: GPLv2 |
---|
| 7 | URL: http://www.linux-nis.org/ |
---|
| 8 | Group: System Environment/Daemons |
---|
| 9 | Source0: ftp://ftp.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2 |
---|
| 10 | Source1: ypbind-vine.init |
---|
| 11 | Source2: nis.sh |
---|
| 12 | Source100: ypbind-vine.sysconfig |
---|
| 13 | Patch1: ypbind-1.11-broadcast.patch |
---|
| 14 | Patch2: ypbind-1.11-gettextdomain.patch |
---|
| 15 | Patch3: ypbind-mt-1.19-port-leak.patch |
---|
| 16 | Patch4: ypbind-mt-1.19-log-binds.patch |
---|
| 17 | Patch5: ypbind-mt-1.20.4-smartwrite.patch |
---|
| 18 | Patch6: ypbind-mt-1.20.5-man-port.patch |
---|
| 19 | Patch7: ypbind-mt-1.20.4-nm.patch |
---|
| 20 | |
---|
| 21 | Patch100: ypbind-mt-1.20.5-nm-fix.patch |
---|
| 22 | |
---|
| 23 | Epoch: 3 |
---|
| 24 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 25 | BuildRequires: dbus-glib-devel |
---|
| 26 | BuildRequires: NetworkManager-devel >= 0.7.0 |
---|
| 27 | Requires(post): chkconfig |
---|
| 28 | Requires(preun): chkconfig |
---|
| 29 | # This is for /sbin/service |
---|
| 30 | Requires(preun): initscripts |
---|
| 31 | Requires(postun): initscripts |
---|
| 32 | Requires: portmap yp-tools bash |
---|
| 33 | |
---|
| 34 | %description |
---|
| 35 | The Network Information Service (NIS) is a system which provides |
---|
| 36 | network information (login names, passwords, home directories, group |
---|
| 37 | information) to all of the machines on a network. NIS can enable |
---|
| 38 | users to login on any machine on the network, as long as the machine |
---|
| 39 | has the NIS client programs running and the user's password is |
---|
| 40 | recorded in the NIS passwd database. NIS was formerly known as Sun |
---|
| 41 | Yellow Pages (YP). |
---|
| 42 | |
---|
| 43 | This package provides the ypbind daemon. The ypbind daemon binds NIS |
---|
| 44 | clients to an NIS domain. Ypbind must be running on any machines |
---|
| 45 | which are running NIS client programs. |
---|
| 46 | |
---|
| 47 | Install the ypbind package on any machines which are running NIS client |
---|
| 48 | programs (included in the yp-tools package). If you need an NIS server, |
---|
| 49 | you'll also need to install the ypserv package to a machine on your |
---|
| 50 | network. |
---|
| 51 | |
---|
| 52 | %description -l ja |
---|
| 53 | Network Information Service (NIS) とは各種ネットワーク情報 |
---|
| 54 | (ログイン名,パスワード,ホームディレクトリ,グループ情報等) を |
---|
| 55 | ネットワーク上の全マシンに提供する為のシステムです. |
---|
| 56 | NIS を使うと,そのユーザのパスワードが NIS データベースに登録されて |
---|
| 57 | さえいれば,NIS クライアントが動作しているどのマシンからでも |
---|
| 58 | ログインすることが出来ます.NIS はかつて Sun Yellow Pages (YP) と |
---|
| 59 | して広く知られていました. |
---|
| 60 | |
---|
| 61 | このパッケージは ypbind デーモンを提供します.ypbind デーモンは |
---|
| 62 | NIS クライアントを NIS ドメインにバインドします. |
---|
| 63 | ypbind は,NIS クライアントプログラムが動作している全てのマシン上で |
---|
| 64 | 動作している必要があります. |
---|
| 65 | |
---|
| 66 | NIS クライアントプログラム (yp-tools パッケージに含まれます) を |
---|
| 67 | 動作させるマシンには必ず ypbind パッケージをインストールして下さい. |
---|
| 68 | NIS サーバが必要ならば,ネットワーク上の1台に ypserv パッケージを |
---|
| 69 | インストールして下さい. |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %prep |
---|
| 73 | %setup -q -n ypbind-mt-%{version} |
---|
| 74 | %patch1 -p1 -b .broadcast |
---|
| 75 | %patch2 -p1 -b .gettextdomain |
---|
| 76 | %patch3 -p1 |
---|
| 77 | %patch4 -p1 |
---|
| 78 | %patch5 -p1 -b .smartwrite |
---|
| 79 | %patch6 -p1 -b .man-port |
---|
| 80 | %patch7 -p1 -b .nm |
---|
| 81 | |
---|
| 82 | %patch100 -p1 -b .nm-fix |
---|
| 83 | |
---|
| 84 | |
---|
| 85 | %build |
---|
| 86 | #configure --disable-nls --disable-dbus-nm --sbindir=%{_syssbindir} |
---|
| 87 | %configure --disable-nls --sbindir=%{_syssbindir} |
---|
| 88 | make |
---|
| 89 | |
---|
| 90 | |
---|
| 91 | %install |
---|
| 92 | rm -rf $RPM_BUILD_ROOT |
---|
| 93 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 94 | |
---|
| 95 | mkdir -p $RPM_BUILD_ROOT%{_initdir} \ |
---|
| 96 | $RPM_BUILD_ROOT/var/yp/binding \ |
---|
| 97 | $RPM_BUILD_ROOT/etc/dhcp/dhclient.d \ |
---|
| 98 | $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig |
---|
| 99 | install -m 644 etc/yp.conf $RPM_BUILD_ROOT%{_sysconfdir}/yp.conf |
---|
| 100 | install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initdir}/ypbind |
---|
| 101 | install -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/dhcp/dhclient.d/nis.sh |
---|
| 102 | install -m 644 %{SOURCE100} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ypbind |
---|
| 103 | |
---|
| 104 | %clean |
---|
| 105 | rm -rf $RPM_BUILD_ROOT |
---|
| 106 | |
---|
| 107 | |
---|
| 108 | %post |
---|
| 109 | /sbin/chkconfig --add ypbind |
---|
| 110 | |
---|
| 111 | |
---|
| 112 | %preun |
---|
| 113 | if [ "$1" = 0 ] ; then |
---|
| 114 | /sbin/service ypbind stop > /dev/null 2>&1 |
---|
| 115 | /sbin/chkconfig --del ypbind |
---|
| 116 | fi |
---|
| 117 | exit 0 |
---|
| 118 | |
---|
| 119 | |
---|
| 120 | %postun |
---|
| 121 | if [ "$1" -ge 1 ]; then |
---|
| 122 | /sbin/service ypbind condrestart > /dev/null 2>&1 |
---|
| 123 | fi |
---|
| 124 | exit 0 |
---|
| 125 | |
---|
| 126 | |
---|
| 127 | %files |
---|
| 128 | %defattr(-,root,root) |
---|
| 129 | %{_syssbindir}/ypbind |
---|
| 130 | %{_mandir}/*/* |
---|
| 131 | %config %{_initdir}/* |
---|
| 132 | %{_sysconfdir}/dhcp/dhclient.d/* |
---|
| 133 | %config(noreplace) %{_sysconfdir}/yp.conf |
---|
| 134 | %config(noreplace) %{_sysconfdir}/sysconfig/ypbind |
---|
| 135 | %dir /var/yp |
---|
| 136 | %dir /var/yp/binding |
---|
| 137 | %doc AUTHORS COPYING NEWS README THANKS TODO |
---|
| 138 | |
---|
| 139 | |
---|
| 140 | %changelog |
---|
[5569] | 141 | * Sat Feb 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.20.5-5 |
---|
| 142 | - rebuild witn Vine6 environment |
---|
| 143 | |
---|
[521] | 144 | * Sun Dec 6 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.20.5-4 |
---|
| 145 | - added Source100 for launching ypbind with -no-dbus option |
---|
| 146 | |
---|
| 147 | * Mon Oct 19 2009 MATSUBAYSHI Kohji <shaolin@vinelinux.org> - 1.20.5-3 |
---|
| 148 | - add Patch100 to fix build w/ NetworkManager-devel >= 0.7.0 |
---|
| 149 | - add BuildRequires: NetworkManager-devel >= 0.7.0 |
---|
| 150 | |
---|
| 151 | * Sat Oct 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.20.5-2 |
---|
| 152 | - removed --disable-dbus-nm |
---|
| 153 | - added Patch5, 6 and 7 |
---|
| 154 | |
---|
| 155 | * Mon May 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.20.5-1 |
---|
| 156 | - updated to 1.20.5 |
---|
| 157 | - added --disable-dbus-nm |
---|
| 158 | - spec in UTF-8 |
---|
| 159 | |
---|
| 160 | * Tue Apr 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.20.4-1 |
---|
| 161 | - new upstream release |
---|
| 162 | - update ypbind-vine.init |
---|
| 163 | |
---|
| 164 | * Sun Jul 1 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.19.1-0vl3 |
---|
| 165 | - update ypbind-vine.init |
---|
| 166 | - added Patch4 and 5 from Fedora development |
---|
| 167 | * Fri Dec 1 2006 Steve Dickson <steved@redhat.com> - 3:1.19-7 |
---|
| 168 | - Fixed leaking ports (bz 217874) |
---|
| 169 | - Log all server bindings (bz 217782) |
---|
| 170 | |
---|
| 171 | * Sat May 20 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.19.1-0vl2 |
---|
| 172 | - use License instead of Copyright |
---|
| 173 | |
---|
| 174 | * Tue Sep 6 2005 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.19.1-0vl1 |
---|
| 175 | - new upstream release. |
---|
| 176 | |
---|
| 177 | * Sun Jun 20 2004 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.17.3-0vl1 |
---|
| 178 | - new upstream release. |
---|
| 179 | |
---|
| 180 | * Fri Apr 9 2004 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.17.2-0vl2 |
---|
| 181 | - new upstream release. |
---|
| 182 | |
---|
| 183 | * Fri Feb 7 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> ypbind-1.12-0vl3 |
---|
| 184 | - build with new toolchain. |
---|
| 185 | |
---|
| 186 | * Fri Dec 13 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> ypbind-1.12-0vl2 |
---|
| 187 | - build with new toolchain. |
---|
| 188 | |
---|
| 189 | * Tue Oct 22 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> ypbind-1.12-0vl1 |
---|
| 190 | - updated ypbind-mt-1.12 |
---|
| 191 | - add some files to %%doc. |
---|
| 192 | - merge patches from RedHat-8.0 |
---|
| 193 | |
---|
| 194 | * Thu Jun 06 2002 Satoshi MACHINO <machino@vinelinux.org> ypbind-1.10-0vl1 |
---|
| 195 | - updated ypbind-mt-1.10 |
---|
| 196 | - added patches from Rawhide |
---|
| 197 | - fixed ypbind-vine.init |
---|
| 198 | -- changed /etc/rc.d/init.d/functions |
---|
| 199 | |
---|
| 200 | * Mon Jan 08 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
| 201 | - 1.7-2vl1 |
---|
| 202 | - based on 1.7-2 from Rawhide |
---|
| 203 | - removed /etc/init.d from PreReq: line |
---|
| 204 | - use better macros (%%{_syssbindir}, %%{_initdir}, %%{_sysconfdir}) |
---|
| 205 | - added Japanese summary and description |
---|
| 206 | |
---|
| 207 | * Wed Nov 29 2000 Bill Nottingham <notting@redhat.com> |
---|
| 208 | - set NIS domain name if it's not already set |
---|
| 209 | |
---|
| 210 | * Mon Oct 02 2000 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 211 | - update to 1.7 |
---|
| 212 | |
---|
| 213 | * Thu Aug 31 2000 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 214 | - add again automatic fallback to broadcast |
---|
| 215 | |
---|
| 216 | * Sun Aug 20 2000 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 217 | - fix condrestart #16615 |
---|
| 218 | - security fix for syslog() call |
---|
| 219 | |
---|
| 220 | * Sun Aug 6 2000 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 221 | - do not include broadcast fallback until it is more tested |
---|
| 222 | |
---|
| 223 | * Sun Aug 6 2000 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 224 | - add automatic fallback to broadcast |
---|
| 225 | - add "exit 0" to the scripts |
---|
| 226 | |
---|
| 227 | * Wed Aug 2 2000 Bill Nottingham <notting@redhat.com> |
---|
| 228 | - turn off broadcast; authconfig will enable this... |
---|
| 229 | - put the pid that's actually listening to signals in the pidfile |
---|
| 230 | |
---|
| 231 | * Thu Jul 20 2000 Bill Nottingham <notting@redhat.com> |
---|
| 232 | - move initscript back |
---|
| 233 | |
---|
| 234 | * Thu Jul 13 2000 Prospector <bugzilla@redhat.com> |
---|
| 235 | - automatic rebuild |
---|
| 236 | |
---|
| 237 | * Fri Jul 7 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
---|
| 238 | - prereq init.d |
---|
| 239 | |
---|
| 240 | * Wed Jul 5 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
---|
| 241 | - re-enable broadcasts |
---|
| 242 | |
---|
| 243 | * Tue Jul 4 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
---|
| 244 | - fix scripts |
---|
| 245 | |
---|
| 246 | * Mon Jul 3 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 247 | - bump epoch |
---|
| 248 | |
---|
| 249 | * Mon Jul 3 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
---|
| 250 | - switch from ypbind to ypbind-mt |
---|