1 |
# $Id: e-smith-samba.spec,v 1.71 2013/01/17 18:14:26 slords Exp $ |
# $Id: e-smith-samba.spec,v 1.72 2013/01/23 03:23:38 wellsi Exp $ |
2 |
|
|
3 |
Summary: e-smith specific Samba configuration files and templates |
Summary: e-smith specific Samba configuration files and templates |
4 |
%define name e-smith-samba |
%define name e-smith-samba |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.2.0 |
%define version 2.2.0 |
7 |
%define release 50 |
%define release 51 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
45 |
Patch34: e-smith-samba-2.2.0-fix-separator.patch |
Patch34: e-smith-samba-2.2.0-fix-separator.patch |
46 |
Patch35: e-smith-samba-2.2.0-tdbbackup12.patch |
Patch35: e-smith-samba-2.2.0-tdbbackup12.patch |
47 |
Patch36: e-smith-samba-2.2.0-samba_audit.patch |
Patch36: e-smith-samba-2.2.0-samba_audit.patch |
48 |
|
Patch37: e-smith-samba-2.2.0-samba_audit_log.patch |
49 |
Obsoletes: e-smith-netlogon |
Obsoletes: e-smith-netlogon |
50 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
51 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
75 |
AutoReqProv: no |
AutoReqProv: no |
76 |
|
|
77 |
%changelog |
%changelog |
78 |
|
* Tue Feb 12 2013 Ian Wells <esmith@wellsi.com> 2.2.0-51.sme |
79 |
|
- Remove samba_audit specific loglotate configuration [SME: 7335] |
80 |
|
|
81 |
* Mon Jan 21 2013 Ian Wells <esmith@wellsi.com> 2.2.0-50.sme |
* Mon Jan 21 2013 Ian Wells <esmith@wellsi.com> 2.2.0-50.sme |
82 |
- Enable smb auditing per ibay [SME: 6176] |
- Enable smb auditing per ibay [SME: 6176] |
83 |
|
|
1226 |
%patch34 -p1 |
%patch34 -p1 |
1227 |
%patch35 -p1 |
%patch35 -p1 |
1228 |
%patch36 -p1 |
%patch36 -p1 |
1229 |
|
%patch37 -p1 |
1230 |
|
|
1231 |
%build |
%build |
1232 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
1289 |
rmdir /home/netlogon || echo "Couldn't rmdir /home/netlogon" |
rmdir /home/netlogon || echo "Couldn't rmdir /home/netlogon" |
1290 |
fi |
fi |
1291 |
|
|
1292 |
|
# Remove logrotate configuration for samba_audit |
1293 |
|
rm -f /etc/logrotate.d/samba_audit |
1294 |
|
|
1295 |
# Revert to canonical place for smb.conf |
# Revert to canonical place for smb.conf |
1296 |
if [ -f /etc/smb.conf ] |
if [ -f /etc/smb.conf ] |
1297 |
then |
then |