yp-tools-vl.spec 6.7 KB

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