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