| 1 | Summary: NIS (or YP) client programs. |
|---|
| 2 | Summary(ja): NIS (又は YP) クライアントプログラム集 |
|---|
| 3 | Name: yp-tools |
|---|
| 4 | Version: 2.10 |
|---|
| 5 | Release: 3%{?_dist_release} |
|---|
| 6 | License: GPLv2 |
|---|
| 7 | Group: System Environment/Base |
|---|
| 8 | Source: ftp://ftp.kernel.org/pub/linux/utils/net/NIS/yp-tools-%{version}.tar.bz2 |
|---|
| 9 | Patch3: yp-tools-2.7-md5.patch |
|---|
| 10 | #Patch4: yp-tools-2.7-terminate.patch |
|---|
| 11 | URL: http://www.linux-nis.org/ |
|---|
| 12 | |
|---|
| 13 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 14 | Requires: ypbind |
|---|
| 15 | Obsoletes: yppasswd, yp-clients |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | %description |
|---|
| 19 | The Network Information Service (NIS) is a system which provides |
|---|
| 20 | network information (login names, passwords, home directories, group |
|---|
| 21 | information) to all of the machines on a network. NIS can enable |
|---|
| 22 | users to login on any machine on the network, as long as the machine |
|---|
| 23 | has the NIS client programs running and the user's password is |
|---|
| 24 | recorded in the NIS passwd database. NIS was formerly known as Sun |
|---|
| 25 | Yellow Pages (YP). |
|---|
| 26 | |
|---|
| 27 | This package's NIS implementation is based on FreeBSD's YP and is a |
|---|
| 28 | special port for glibc 2.x and libc versions 5.4.21 and later. This |
|---|
| 29 | package only provides the NIS client programs. In order to use the |
|---|
| 30 | clients, you'll need to already have an NIS server running on your |
|---|
| 31 | network. An NIS server is provided in the ypserv package. |
|---|
| 32 | |
|---|
| 33 | Install the yp-tools package if you need NIS client programs for machines |
|---|
| 34 | on your network. You will also need to install the ypbind package on |
|---|
| 35 | every machine running NIS client programs. If you need an NIS server, |
|---|
| 36 | you'll need to install the ypserv package on one machine on the network. |
|---|
| 37 | |
|---|
| 38 | |
|---|
| 39 | %description -l ja |
|---|
| 40 | Network Information Service (NIS) とは各種ネットワーク情報 |
|---|
| 41 | (ログイン名,パスワード,ホームディレクトリ,グループ情報等) を |
|---|
| 42 | ネットワーク上の全マシンに提供する為のシステムです. |
|---|
| 43 | NIS を使うと,そのユーザのパスワードが NIS データベースに登録されて |
|---|
| 44 | さえいれば,NIS クライアントが動作しているどのマシンからでも |
|---|
| 45 | ログインすることが出来ます.NIS はかつて Sun Yellow Pages (YP) と |
|---|
| 46 | して広く知られていました. |
|---|
| 47 | |
|---|
| 48 | このパッケージの NIS 実装は FreeBSD の YP を元にしており, |
|---|
| 49 | glibc 2.x あるいは libc 5.4.21 以降向けに port されたものです. |
|---|
| 50 | このパッケージには NIS クライアントプログラムのみを収録しています. |
|---|
| 51 | NIS クライアントプログラムを使うには,ネットワーク上に既に NIS サーバが |
|---|
| 52 | 動作している必要があります.NIS サーバは ypserv パッケージが |
|---|
| 53 | 提供しています. |
|---|
| 54 | |
|---|
| 55 | ネットワーク上のマシンにNIS クライアントプログラムが必要なら |
|---|
| 56 | この yp-tools パッケージをインストールして下さい. |
|---|
| 57 | NIS クライアントプログラムを動作させるマシンには同時に |
|---|
| 58 | ypbind パッケージもインストールする必要があります. |
|---|
| 59 | またネットワーク上のマシンの1台には ypserv パッケージを |
|---|
| 60 | インストールする必要があります. |
|---|
| 61 | |
|---|
| 62 | |
|---|
| 63 | %prep |
|---|
| 64 | %setup -q |
|---|
| 65 | %patch3 -p1 -b .md5 |
|---|
| 66 | #%patch4 -p1 -b .terminate |
|---|
| 67 | |
|---|
| 68 | |
|---|
| 69 | %build |
|---|
| 70 | %configure --disable-domainname |
|---|
| 71 | make |
|---|
| 72 | |
|---|
| 73 | |
|---|
| 74 | %install |
|---|
| 75 | rm -rf $RPM_BUILD_ROOT |
|---|
| 76 | make DESTDIR="$RPM_BUILD_ROOT" install |
|---|
| 77 | |
|---|
| 78 | chmod u+w %{buildroot}%{_bindir}/* |
|---|
| 79 | chmod u+w %{buildroot}%{_sbindir}/* |
|---|
| 80 | |
|---|
| 81 | %clean |
|---|
| 82 | rm -rf $RPM_BUILD_ROOT |
|---|
| 83 | |
|---|
| 84 | |
|---|
| 85 | %files |
|---|
| 86 | %defattr(-,root,root) |
|---|
| 87 | %doc AUTHORS ChangeLog COPYING INSTALL NEWS README THANKS TODO |
|---|
| 88 | %doc etc/nsswitch.conf |
|---|
| 89 | %attr(0555, root, root) %{_bindir}/* |
|---|
| 90 | %attr(0555, root, root) %{_sbindir}/* |
|---|
| 91 | %{_mandir}/*/* |
|---|
| 92 | %{_localedir}/*/*/* |
|---|
| 93 | %dir /var/yp |
|---|
| 94 | /var/yp/nicknames |
|---|
| 95 | |
|---|
| 96 | |
|---|
| 97 | %changelog |
|---|
| 98 | * Sun Apr 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10-3 |
|---|
| 99 | - rebuilt with new toolchain |
|---|
| 100 | |
|---|
| 101 | * Mon May 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10-2 |
|---|
| 102 | - spec in UTF-8 |
|---|
| 103 | |
|---|
| 104 | * Wed Apr 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10-1 |
|---|
| 105 | - new versioning policy |
|---|
| 106 | |
|---|
| 107 | * Sun Jul 1 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10-0vl1 |
|---|
| 108 | - new upstream release |
|---|
| 109 | |
|---|
| 110 | * Tue Sep 6 2005 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.8-3vl3 |
|---|
| 111 | - rebuild with new toolchain. |
|---|
| 112 | |
|---|
| 113 | * Fri Apr 9 2004 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.8-3vl2 |
|---|
| 114 | - rebuild with new toolchain. |
|---|
| 115 | - change permission for stripping. |
|---|
| 116 | |
|---|
| 117 | * Fri Feb 7 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.8-3vl1 |
|---|
| 118 | - updated yp-tools-2.8 |
|---|
| 119 | - remove some patch. |
|---|
| 120 | |
|---|
| 121 | * Tue Oct 22 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.7-3vl2 |
|---|
| 122 | - updated yp-tools-2.7 |
|---|
| 123 | - merge patches from RedHat-8.0. |
|---|
| 124 | |
|---|
| 125 | * Tue Jun 06 2002 Satoshi MACHINO <machino@vinelinux.org> 2.6-0vl1 |
|---|
| 126 | - updated yp-tools-2.6 |
|---|
| 127 | - fixed passwd patch for yp-tools-2.6 |
|---|
| 128 | - dropped some patches |
|---|
| 129 | |
|---|
| 130 | * Mon Jan 08 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
|---|
| 131 | - 2.4-6vl1 |
|---|
| 132 | - based on 2.4-6 from Rawhide |
|---|
| 133 | - use better macros (%%{_bindir}, %%{_sbindir}, %%{_localedir}) |
|---|
| 134 | - added Japanese summary and description |
|---|
| 135 | |
|---|
| 136 | * Wed Sep 27 2000 Florian La Roche <Florian.LaRoche@redhat.de> |
|---|
| 137 | - add another security patch |
|---|
| 138 | |
|---|
| 139 | * Sun Aug 20 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
|---|
| 140 | - allow passwords up to 128 characters |
|---|
| 141 | |
|---|
| 142 | * Tue Aug 15 2000 Nalin Dahyabhai <nalin@redhat.com> |
|---|
| 143 | - change License from GNU to GPL |
|---|
| 144 | - fix handling of defaults in ypchfn (#13830) |
|---|
| 145 | |
|---|
| 146 | * Thu Jul 13 2000 Prospector <bugzilla@redhat.com> |
|---|
| 147 | - automatic rebuild |
|---|
| 148 | |
|---|
| 149 | * Sun Jun 18 2000 Matt Wilson <msw@redhat.com> |
|---|
| 150 | - use %%{_mandir} |
|---|
| 151 | |
|---|
| 152 | * Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com> |
|---|
| 153 | - man pages are compressed |
|---|
| 154 | - version 2.4 |
|---|
| 155 | |
|---|
| 156 | * Tue Oct 26 1999 Bill Nottingham <notting@redhat.com> |
|---|
| 157 | - get rid of bogus messages. |
|---|
| 158 | |
|---|
| 159 | * Fri Aug 27 1999 Preston Brown <pbrown@redhat.com> |
|---|
| 160 | - patched /var/yp/nicknames so that hosts resolves to hosts.byname, |
|---|
| 161 | - not hosts.byaddr (bug # 2389) |
|---|
| 162 | |
|---|
| 163 | * Sun May 30 1999 Jeff Johnson <jbj@redhat.com> |
|---|
| 164 | - update to 2.3. |
|---|
| 165 | |
|---|
| 166 | * Fri Apr 16 1999 Cristian Gafton <gafton@redhat.com> |
|---|
| 167 | - version 2.2 |
|---|
| 168 | - make it obsolete older yp-clients package |
|---|
| 169 | |
|---|
| 170 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
|---|
| 171 | - auto rebuild in the new build environment (release 3) |
|---|
| 172 | |
|---|
| 173 | * Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> |
|---|
| 174 | - build for glibc 2/1 |
|---|
| 175 | - version 2.1 |
|---|
| 176 | - require ypbind |
|---|
| 177 | |
|---|
| 178 | * Fri Jun 12 1998 Aron Griffis <agriffis@coat.com> |
|---|
| 179 | - upgraded to 2.0 |
|---|
| 180 | |
|---|
| 181 | * Thu May 07 1998 Prospector System <bugs@redhat.com> |
|---|
| 182 | - translations modified for de, fr, tr |
|---|
| 183 | |
|---|
| 184 | * Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com> |
|---|
| 185 | - upgraded to 1.4.1 |
|---|
| 186 | |
|---|
| 187 | * Thu Dec 04 1997 Cristian Gafton <gafton@redhat.com> |
|---|
| 188 | - put yppasswd again in the package, 'cause it is the right thing to do |
|---|
| 189 | (sorry djb!) |
|---|
| 190 | - obsoletes old, unmaintained yppasswd package |
|---|
| 191 | |
|---|
| 192 | * Sat Nov 01 1997 Donnie Barnes <djb@redhat.com> |
|---|
| 193 | - removed yppasswd from this package. |
|---|
| 194 | |
|---|
| 195 | * Fri Oct 31 1997 Donnie Barnes <djb@redhat.com> |
|---|
| 196 | - pulled from contrib into distribution (got fresh sources). Thanks |
|---|
| 197 | to Thorsten Kukuk <kukuk@vt.uni-paderborn.de> for the original. |
|---|
| 198 | - used fresh sources |
|---|