yp-tools-vl.spec 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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. Buildroot: %{_tmppath}/%{name}-%{version}-root
  13. Requires: ypbind
  14. Obsoletes: yppasswd, yp-clients
  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. * Sun Apr 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10-3
  78. - rebuilt with new toolchain
  79. * Mon May 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10-2
  80. - spec in UTF-8
  81. * Wed Apr 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10-1
  82. - new versioning policy
  83. * Sun Jul 1 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10-0vl1
  84. - new upstream release
  85. * Tue Sep 6 2005 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.8-3vl3
  86. - rebuild with new toolchain.
  87. * Fri Apr 9 2004 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.8-3vl2
  88. - rebuild with new toolchain.
  89. - change permission for stripping.
  90. * Fri Feb 7 2003 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.8-3vl1
  91. - updated yp-tools-2.8
  92. - remove some patch.
  93. * Tue Oct 22 2002 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.7-3vl2
  94. - updated yp-tools-2.7
  95. - merge patches from RedHat-8.0.
  96. * Tue Jun 06 2002 Satoshi MACHINO <machino@vinelinux.org> 2.6-0vl1
  97. - updated yp-tools-2.6
  98. - fixed passwd patch for yp-tools-2.6
  99. - dropped some patches
  100. * Mon Jan 08 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  101. - 2.4-6vl1
  102. - based on 2.4-6 from Rawhide
  103. - use better macros (%%{_bindir}, %%{_sbindir}, %%{_localedir})
  104. - added Japanese summary and description
  105. * Wed Sep 27 2000 Florian La Roche <Florian.LaRoche@redhat.de>
  106. - add another security patch
  107. * Sun Aug 20 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  108. - allow passwords up to 128 characters
  109. * Tue Aug 15 2000 Nalin Dahyabhai <nalin@redhat.com>
  110. - change License from GNU to GPL
  111. - fix handling of defaults in ypchfn (#13830)
  112. * Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
  113. - automatic rebuild
  114. * Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
  115. - use %%{_mandir}
  116. * Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com>
  117. - man pages are compressed
  118. - version 2.4
  119. * Tue Oct 26 1999 Bill Nottingham <notting@redhat.com>
  120. - get rid of bogus messages.
  121. * Fri Aug 27 1999 Preston Brown <pbrown@redhat.com>
  122. - patched /var/yp/nicknames so that hosts resolves to hosts.byname,
  123. - not hosts.byaddr (bug # 2389)
  124. * Sun May 30 1999 Jeff Johnson <jbj@redhat.com>
  125. - update to 2.3.
  126. * Fri Apr 16 1999 Cristian Gafton <gafton@redhat.com>
  127. - version 2.2
  128. - make it obsolete older yp-clients package
  129. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  130. - auto rebuild in the new build environment (release 3)
  131. * Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
  132. - build for glibc 2/1
  133. - version 2.1
  134. - require ypbind
  135. * Fri Jun 12 1998 Aron Griffis <agriffis@coat.com>
  136. - upgraded to 2.0
  137. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  138. - translations modified for de, fr, tr
  139. * Mon Apr 13 1998 Cristian Gafton <gafton@redhat.com>
  140. - upgraded to 1.4.1
  141. * Thu Dec 04 1997 Cristian Gafton <gafton@redhat.com>
  142. - put yppasswd again in the package, 'cause it is the right thing to do
  143. (sorry djb!)
  144. - obsoletes old, unmaintained yppasswd package
  145. * Sat Nov 01 1997 Donnie Barnes <djb@redhat.com>
  146. - removed yppasswd from this package.
  147. * Fri Oct 31 1997 Donnie Barnes <djb@redhat.com>
  148. - pulled from contrib into distribution (got fresh sources). Thanks
  149. to Thorsten Kukuk <kukuk@vt.uni-paderborn.de> for the original.
  150. - used fresh sources