1 |
|
# $Id$ |
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 2 |
%define release 5 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
13 |
Group: Networking/Daemons |
Group: Networking/Daemons |
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 |
17 |
|
Patch3: smeserver-adv-samba-0.1.0-winbind2.patch |
18 |
|
Patch4: smeserver-adv-samba-0.1.0-auth.patch |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
22 |
Requires: e-smith-samba >= 1.14.1-6 |
Requires: e-smith-samba >= 2.0.0 |
23 |
|
Requires: e-smith-base >= 5.0.0 |
24 |
Requires: samba >= 3.0.25b |
Requires: samba >= 3.0.25b |
25 |
Requires: samba-client >= 3.0.25b |
Requires: samba-client >= 3.0.25b |
26 |
Requires: samba-common >= 3.0.25b |
Requires: samba-common >= 3.0.25b |
27 |
AutoReqProv: no |
AutoReqProv: no |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
|
* Tue Nov 5 2008 Greg J. Zartman <greg@leiinc.com> 0.1.0-5 |
31 |
|
- Add nsswitch.conf and pam.d/login fragments to workgroup-update |
32 |
|
templates2expand [SME: 4729]. |
33 |
|
|
34 |
|
* Wed Oct 15 2008 Greg J. Zartman <greg@leiinc.com> 0.1.0-4 |
35 |
|
- Update winbindd-service-status action to set service to disabled if |
36 |
|
service is enabled and ServerRole is changed. |
37 |
|
|
38 |
|
* Tue Oct 14 2008 Greg J. Zartman <greg@leiinc.com> 0.1.0-3 |
39 |
|
- Set winbindd to disabled by default and on initial install, was |
40 |
|
previouslly enabled by default. |
41 |
|
- Create action to start winbindd if the DM or ADM server roles are designated. |
42 |
|
|
43 |
* Tue Sep 30 2008 Greg J. Zartman <greg@leiinc.com> 0.1.0-2 |
* Tue Sep 30 2008 Greg J. Zartman <greg@leiinc.com> 0.1.0-2 |
44 |
- Add template fragments to etc/pam.d/login to look for winbindd auth is |
- Add template fragments to etc/pam.d/login to look for winbindd auth is |
45 |
winbindd is running [SME: 4196]. |
winbindd is running [SME: 4196]. |
74 |
%prep |
%prep |
75 |
%setup |
%setup |
76 |
%patch1 -p1 |
%patch1 -p1 |
77 |
|
%patch2 -p1 |
78 |
|
%patch3 -p1 |
79 |
|
%patch4 -p1 |
80 |
|
|
81 |
%build |
%build |
|
mkdir -p root/etc/e-smith/tests |
|
82 |
perl createlinks |
perl createlinks |
83 |
|
|
84 |
# Manage supervise and multilog for winbindd. |
# Manage supervise and multilog for winbindd. |
89 |
mkdir -p root/var/service/winbindd/log/supervise |
mkdir -p root/var/service/winbindd/log/supervise |
90 |
mkdir -p root/var/log/winbindd |
mkdir -p root/var/log/winbindd |
91 |
|
|
|
# Make storage point for shadowcopies |
|
|
mkdir -p root/home/e-smith/files/.shadow |
|
|
|
|
92 |
%install |
%install |
93 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
94 |
|
|
95 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
96 |
/sbin/e-smith/genfilelist \ |
/sbin/e-smith/genfilelist \ |
97 |
--dir '/var/service/winbindd' 'attr(1755,root,root)' \ |
--dir '/var/service/winbindd' 'attr(1755,root,root)' \ |