1 |
|
# $Id: smeserver-adv-samba.spec,v 1.12 2010/12/02 15:28:37 slords Exp $ |
2 |
|
# Authority: gzartman |
3 |
|
# Name: Greg Zartman |
4 |
|
|
5 |
Summary: SME Server specific advanced Samba configuration files and templates |
Summary: SME Server specific advanced Samba configuration files and templates |
6 |
%define name smeserver-adv-samba |
%define name smeserver-adv-samba |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 0.1.0 |
%define version 0.1.0 |
9 |
%define release 3 |
%define release 7 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
14 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
15 |
Patch1: smeserver-adv-samba-0.1.0-2.patch |
Patch1: smeserver-adv-samba-0.1.0-2.patch |
16 |
Patch2: smeserver-adv-samba-0.1.0-safe_winbind.patch |
Patch2: smeserver-adv-samba-0.1.0-safe_winbind.patch |
17 |
|
Patch3: smeserver-adv-samba-0.1.0-winbind2.patch |
18 |
|
Patch4: smeserver-adv-samba-0.1.0-auth.patch |
19 |
|
Patch5: smeserver-adv-samba-0.1.0-logdir-fix.patch |
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
22 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
23 |
Requires: e-smith-samba >= 2.0.0 |
Requires: e-smith-samba >= 2.0.0 |
24 |
Requires: e-smith-base >= 5.0.0 |
Requires: e-smith-base >= 5.0.0 |
|
Requires: samba >= 3.0.25b |
|
|
Requires: samba-client >= 3.0.25b |
|
25 |
Requires: samba-common >= 3.0.25b |
Requires: samba-common >= 3.0.25b |
26 |
AutoReqProv: no |
AutoReqProv: no |
27 |
|
|
28 |
%changelog |
%changelog |
29 |
* Tue Oct 15 2008 Greg J. Zartman <greg@leiinc.com> 0.1.0-3 |
* Thu Dec 2 2010 Shad L. Lords <slords@mail.com> 0.1.0-7.sme |
30 |
|
- Fix logging directory for winbind |
31 |
|
|
32 |
|
* Thu Dec 2 2010 Shad L. Lords <slords@mail.com> 0.1.0-6.sme |
33 |
|
- Reduce requires to samba-common to fix upgrades. |
34 |
|
|
35 |
|
* Tue Nov 5 2008 Greg J. Zartman <greg@leiinc.com> 0.1.0-5 |
36 |
|
- Add nsswitch.conf and pam.d/login fragments to workgroup-update |
37 |
|
templates2expand [SME: 4729]. |
38 |
|
|
39 |
|
* Wed Oct 15 2008 Greg J. Zartman <greg@leiinc.com> 0.1.0-4 |
40 |
|
- Update winbindd-service-status action to set service to disabled if |
41 |
|
service is enabled and ServerRole is changed. |
42 |
|
|
43 |
|
* Tue Oct 14 2008 Greg J. Zartman <greg@leiinc.com> 0.1.0-3 |
44 |
- Set winbindd to disabled by default and on initial install, was |
- Set winbindd to disabled by default and on initial install, was |
45 |
previouslly enabled by default. |
previouslly enabled by default. |
46 |
- Create action to start winbindd if the DM or ADM server roles are designated. |
- Create action to start winbindd if the DM or ADM server roles are designated. |
80 |
%setup |
%setup |
81 |
%patch1 -p1 |
%patch1 -p1 |
82 |
%patch2 -p1 |
%patch2 -p1 |
83 |
|
%patch3 -p1 |
84 |
|
%patch4 -p1 |
85 |
|
%patch5 -p1 |
86 |
|
|
87 |
%build |
%build |
|
mkdir -p root/etc/e-smith/tests |
|
88 |
perl createlinks |
perl createlinks |
89 |
|
|
90 |
# Manage supervise and multilog for winbindd. |
# Manage supervise and multilog for winbindd. |
95 |
mkdir -p root/var/service/winbindd/log/supervise |
mkdir -p root/var/service/winbindd/log/supervise |
96 |
mkdir -p root/var/log/winbindd |
mkdir -p root/var/log/winbindd |
97 |
|
|
|
# Make storage point for shadowcopies |
|
|
mkdir -p root/home/e-smith/files/.shadow |
|
|
|
|
98 |
%install |
%install |
99 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
100 |
|
|