yp-tools-vl.spec 6.5 KB

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