From efeb993fcb5fbf5f8eac50d158af65f8ae5e6d69 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 1 Feb 2017 15:18:09 +0100 Subject: [PATCH] Update SOURCES list --- samba.spec | 21 ++++++++++----------- samba.xinetd | 15 --------------- 2 files changed, 10 insertions(+), 26 deletions(-) delete mode 100644 samba.xinetd diff --git a/samba.spec b/samba.spec index 3ba6a93..e4390e2 100644 --- a/samba.spec +++ b/samba.spec @@ -96,12 +96,11 @@ URL: http://www.samba.org/ Source0: samba-%{version}%{pre_release}.tar.xz # Red Hat specific replacement-files -Source1: samba.log -Source2: samba.xinetd -Source3: smb.conf.vendor -Source4: smb.conf.example -Source5: pam_winbind.conf -Source6: samba.pamd +Source10: samba.log +Source11: smb.conf.vendor +Source12: smb.conf.example +Source13: pam_winbind.conf +Source14: samba.pamd Source200: README.dc Source201: README.downgrade @@ -791,16 +790,16 @@ touch %{buildroot}%{_libexecdir}/samba/cups_backend_smb # Install other stuff install -d -m 0755 %{buildroot}%{_sysconfdir}/logrotate.d -install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/samba +install -m 0644 %{SOURCE10} %{buildroot}%{_sysconfdir}/logrotate.d/samba -install -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/samba/smb.conf -install -m 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/samba/smb.conf.example +install -m 0644 %{SOURCE11} %{buildroot}%{_sysconfdir}/samba/smb.conf +install -m 0644 %{SOURCE12} %{buildroot}%{_sysconfdir}/samba/smb.conf.example install -d -m 0755 %{buildroot}%{_sysconfdir}/security -install -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/security/pam_winbind.conf +install -m 0644 %{SOURCE13} %{buildroot}%{_sysconfdir}/security/pam_winbind.conf install -d -m 0755 %{buildroot}%{_sysconfdir}/pam.d -install -m 0644 %{SOURCE6} %{buildroot}%{_sysconfdir}/pam.d/samba +install -m 0644 %{SOURCE14} %{buildroot}%{_sysconfdir}/pam.d/samba echo 127.0.0.1 localhost > %{buildroot}%{_sysconfdir}/samba/lmhosts diff --git a/samba.xinetd b/samba.xinetd deleted file mode 100644 index 8b62348..0000000 --- a/samba.xinetd +++ /dev/null @@ -1,15 +0,0 @@ -# default: off -# description: SWAT is the Samba Web Admin Tool. Use swat \ -# to configure your Samba server. To use SWAT, \ -# connect to port 901 with your favorite web browser. -service swat -{ - port = 901 - socket_type = stream - wait = no - only_from = 127.0.0.1 - user = root - server = /usr/sbin/swat - log_on_failure += USERID - disable = yes -}