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 3 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
15 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
16 |
Requires: e-smith-samba >= 1.14.1-6 |
Requires: e-smith-samba >= 2.0.0 |
17 |
|
Requires: e-smith-base >= 5.0.0 |
18 |
Requires: samba >= 3.0.25b |
Requires: samba >= 3.0.25b |
19 |
Requires: samba-client >= 3.0.25b |
Requires: samba-client >= 3.0.25b |
20 |
Requires: samba-common >= 3.0.25b |
Requires: samba-common >= 3.0.25b |
21 |
AutoReqProv: no |
AutoReqProv: no |
22 |
|
|
23 |
%changelog |
%changelog |
24 |
|
* Tue Oct 15 2008 Greg J. Zartman <greg@leiinc.com> 0.1.0-3 |
25 |
|
- Set winbindd to disabled by default and on initial install, was |
26 |
|
previouslly enabled by default. |
27 |
|
- Create action to start winbindd if the DM or ADM server roles are designated. |
28 |
|
|
29 |
* 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 |
30 |
- 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 |
31 |
winbindd is running [SME: 4196]. |
winbindd is running [SME: 4196]. |
60 |
%prep |
%prep |
61 |
%setup |
%setup |
62 |
%patch1 -p1 |
%patch1 -p1 |
63 |
|
%patch2 -p1 |
64 |
|
|
65 |
%build |
%build |
66 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
79 |
|
|
80 |
%install |
%install |
81 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
82 |
|
|
83 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
84 |
/sbin/e-smith/genfilelist \ |
/sbin/e-smith/genfilelist \ |
85 |
--dir '/var/service/winbindd' 'attr(1755,root,root)' \ |
--dir '/var/service/winbindd' 'attr(1755,root,root)' \ |