From 0e38b265bc34a4b53c6ec50f9f1464a4c730b2fd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Fri, 23 Jan 2004 18:51:21 +0000 Subject: [PATCH] - added mount.cifs binary Changed files: samba.spec -> 1.181 --- samba.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/samba.spec b/samba.spec index 3840656..9ff1cc1 100644 --- a/samba.spec +++ b/samba.spec @@ -27,7 +27,7 @@ Summary(zh_CN): Samba Name: samba Version: 3.0.1 Epoch: 1 -Release: 2 +Release: 3 License: GPL v2 Group: Networking/Daemons Source0: http://www.samba.org/samba/ftp/%{name}-%{version}.tar.bz2 @@ -307,6 +307,7 @@ Summary(uk): Group: Applications/Networking Requires: samba-common = %{epoch}:%{version} Obsoletes: smbfs +Obsoletes: mount-cifs %description client Samba-client provides some SMB clients, which complement the build-in @@ -682,6 +683,7 @@ cd source %{!?with_krb5:--without-krb5} %{__make} everything pam_smbpass +%{__cc} %{rpmcflags} %{rpmldflags} client/mount.cifs.c -o client/mount.cifs cd ../examples/VFS %{__autoconf} @@ -718,6 +720,7 @@ install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/smb.conf +install source/client/mount.cifs $RPM_BUILD_ROOT/sbin/mount.cifs install source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2 install source/nsswitch/pam_winbind.so $RPM_BUILD_ROOT/%{_lib}/security install source/bin/pam_smbpass.so $RPM_BUILD_ROOT/%{_lib}/security @@ -850,6 +853,7 @@ fi %files client %defattr(644,root,root,755) %attr(755,root,root) /sbin/mount.smbfs +%attr(755,root,root) /sbin/mount.cifs %attr(755,root,root) %{_bindir}/smbmount %attr(755,root,root) %{_bindir}/smbmnt %attr(755,root,root) %{_bindir}/smbumount @@ -859,6 +863,7 @@ fi %{_mandir}/man8/smbmnt.8* %{_mandir}/man8/smbmount.8* %{_mandir}/man8/smbumount.8* +%{_mandir}/man8/mount.cifs* %attr(755,root,root) %{_bindir}/nmblookup %attr(755,root,root) %{_bindir}/smbclient %attr(755,root,root) %{_bindir}/smbtar @@ -907,7 +912,6 @@ fi %{_mandir}/man1/vfstest.1* %{_mandir}/man1/log2pcap.1* -%{_mandir}/man8/mount.c*.* %{_mandir}/man5/smb.conf.5* %{_mandir}/man5/lmhosts.5* -- 2.44.0