--- rpms/smeserver-adv-samba/contribs7/smeserver-adv-samba.spec 2008/10/11 19:32:08 1.3 +++ rpms/smeserver-adv-samba/contribs7/smeserver-adv-samba.spec 2008/11/25 16:20:16 1.10 @@ -2,23 +2,40 @@ Summary: SME Server specific advanced Sa %define name smeserver-adv-samba Name: %{name} %define version 0.1.0 -%define release 2 +%define release 5 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.gz Patch1: smeserver-adv-samba-0.1.0-2.patch +Patch2: smeserver-adv-samba-0.1.0-safe_winbind.patch +Patch3: smeserver-adv-samba-0.1.0-winbind2.patch +Patch4: smeserver-adv-samba-0.1.0-auth.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch BuildRequires: e-smith-devtools >= 1.13.1-03 -Requires: e-smith-samba >= 1.14.1-6 +Requires: e-smith-samba >= 2.0.0 +Requires: e-smith-base >= 5.0.0 Requires: samba >= 3.0.25b Requires: samba-client >= 3.0.25b Requires: samba-common >= 3.0.25b AutoReqProv: no %changelog +* Tue Nov 5 2008 Greg J. Zartman 0.1.0-5 +- Add nsswitch.conf and pam.d/login fragments to workgroup-update + templates2expand [SME: 4729]. + +* Wed Oct 15 2008 Greg J. Zartman 0.1.0-4 +- Update winbindd-service-status action to set service to disabled if + service is enabled and ServerRole is changed. + +* Tue Oct 14 2008 Greg J. Zartman 0.1.0-3 +- Set winbindd to disabled by default and on initial install, was + previouslly enabled by default. +- Create action to start winbindd if the DM or ADM server roles are designated. + * Tue Sep 30 2008 Greg J. Zartman 0.1.0-2 - Add template fragments to etc/pam.d/login to look for winbindd auth is winbindd is running [SME: 4196]. @@ -53,9 +70,11 @@ smeserver-adv-samba is to e-smith-samba %prep %setup %patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 %build -mkdir -p root/etc/e-smith/tests perl createlinks # Manage supervise and multilog for winbindd. @@ -66,11 +85,9 @@ touch root/var/service/winbindd/down mkdir -p root/var/service/winbindd/log/supervise mkdir -p root/var/log/winbindd -# Make storage point for shadowcopies -mkdir -p root/home/e-smith/files/.shadow - %install rm -rf $RPM_BUILD_ROOT + (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) /sbin/e-smith/genfilelist \ --dir '/var/service/winbindd' 'attr(1755,root,root)' \