diff --git a/yp-tools.spec b/yp-tools.spec index 6d14628..611b965 100644 --- a/yp-tools.spec +++ b/yp-tools.spec @@ -1,15 +1,17 @@ Summary: NIS (or YP) client programs. Name: yp-tools Version: 2.4 -Release: 4 +Release: 7 License: GPL Group: System Environment/Base Source: ftp://ftp.kernel.org/pub/linux/utils/net/NIS/yp-tools-%{version}.tar.gz Patch: yp-tools-2.4-defaults.patch +Patch1: yp-tools-2.4-passwd.patch +Patch2: yp-tools-2.4.patch Url: http://www-vt.uni-paderborn.de/~kukuk/linux/nis.html Obsoletes: yppasswd, yp-clients Requires: ypbind -Buildroot: %{_tmppath}/%{name}-root +Buildroot: %{_tmppath}/%{name}-%{version}-root %description The Network Information Service (NIS) is a system which provides @@ -34,6 +36,8 @@ you'll need to install the ypserv package on one machine on the network. %prep %setup -q %patch -p1 -b .defaults +%patch1 -p0 +%patch2 -p1 %build %configure --disable-domainname @@ -43,20 +47,30 @@ make rm -rf $RPM_BUILD_ROOT make DESTDIR="$RPM_BUILD_ROOT" install +%find_lang %name + %clean rm -rf $RPM_BUILD_ROOT -%files +%files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS COPYING README ChangeLog NEWS etc/nsswitch.conf %doc THANKS TODO /usr/bin/* %{_mandir}/*/* /usr/sbin/* -/usr/share/locale/*/*/* /var/yp/nicknames %changelog +* Mon Feb 26 2001 Trond Eivind Glomsrød +- langify + +* Wed Sep 27 2000 Florian La Roche +- add another security patch + +* Sun Aug 20 2000 Florian La Roche +- allow passwords up to 128 characters + * Tue Aug 15 2000 Nalin Dahyabhai - change License from GNU to GPL - fix handling of defaults in ypchfn (#13830)