/[smecontribs]/rpms/smeserver-adv-samba/contribs7/smeserver-adv-samba.spec
ViewVC logotype

Contents of /rpms/smeserver-adv-samba/contribs7/smeserver-adv-samba.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.13 - (show annotations) (download)
Thu Dec 2 17:38:16 2010 UTC (13 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-adv-samba-0_1_0-7_el4_sme, HEAD
Changes since 1.12: +8 -3 lines
* Thu Dec 2 2010 Shad L. Lords <slords@mail.com> 0.1.0-7.sme
- Fix logging directory for winbind

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
6 %define name smeserver-adv-samba
7 Name: %{name}
8 %define version 0.1.0
9 %define release 7
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GPL
13 Group: Networking/Daemons
14 Source: %{name}-%{version}.tar.gz
15 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 Patch5: smeserver-adv-samba-0.1.0-logdir-fix.patch
20 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
21 BuildArchitectures: noarch
22 BuildRequires: e-smith-devtools >= 1.13.1-03
23 Requires: e-smith-samba >= 2.0.0
24 Requires: e-smith-base >= 5.0.0
25 Requires: samba-common >= 3.0.25b
26 AutoReqProv: no
27
28 %changelog
29 * 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
45 previouslly enabled by default.
46 - Create action to start winbindd if the DM or ADM server roles are designated.
47
48 * Tue Sep 30 2008 Greg J. Zartman <greg@leiinc.com> 0.1.0-2
49 - Add template fragments to etc/pam.d/login to look for winbindd auth is
50 winbindd is running [SME: 4196].
51 - Add a template fragment to ibays to set the samba 'force group'
52 parameter to the current ibay group or the group shared when SME is
53 configured as a Domain Member of Active Directory Member. The is required
54 so that domain members can have write access to domain member shares. At
55 some point, we may decide to fully support domain groups transparently
56 at the domain member or active directory member server [SME: 4196].
57
58 * Fri Apr 11 2008 Greg J. Zartman <greg@leiinc.com> 0.1.0-1
59 - Roll initial package.
60 - Provide configuration parameters to deploy Samba winbindd deamon.
61 - Add template to nsswitch.conf to configure nss to include winbindd auth.
62 The configuration parameters included in this fragment really belong
63 in e-smith-base, but we are including it in this package until it is
64 deemed appropriate to move it to e-smith-base.
65
66 %description
67 This package shall serve as a testbed for advanced Samba functions on the
68 SME Server. This package will not conflict with e-smith-samba, but will
69 expand upon it. The PRIMARY design objective of new functions included in
70 this package is to implement them with the intent of including them in the
71 SME Core packages in a "drop in" fashion (i.e., cut and paste).
72
73 Ever effort will be made to maintain this package for use in a
74 production network. However, certain functions provided by this package
75 could introduce situations that might comprise the stability of
76 the SME Server if not used properly. This is the nature of a testbed.
77 smeserver-adv-samba is to e-smith-samba as Fedora Core is to RHEL.
78
79 %prep
80 %setup
81 %patch1 -p1
82 %patch2 -p1
83 %patch3 -p1
84 %patch4 -p1
85 %patch5 -p1
86
87 %build
88 perl createlinks
89
90 # Manage supervise and multilog for winbindd.
91 mkdir -p root/service
92 ln -s ../var/service/winbindd root/service/winbindd
93 mkdir -p root/var/service/winbindd/supervise
94 touch root/var/service/winbindd/down
95 mkdir -p root/var/service/winbindd/log/supervise
96 mkdir -p root/var/log/winbindd
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100
101 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
102 /sbin/e-smith/genfilelist \
103 --dir '/var/service/winbindd' 'attr(1755,root,root)' \
104 --file '/var/service/winbindd/down' 'attr(0644,root,root)' \
105 --file '/var/service/winbindd/run' 'attr(0755,root,root)' \
106 --dir '/var/service/winbindd/supervise' 'attr(0700,root,root)' \
107 --dir '/var/service/winbindd/log' 'attr(1755,root,root)' \
108 --file '/var/service/winbindd/log/run' 'attr(0755,root,root)' \
109 --dir '/var/log/winbindd' 'attr(2750,smelog,smelog)' \
110 $RPM_BUILD_ROOT \
111 > %{name}-%{version}-filelist
112 echo "%doc COPYING" >> %{name}-%{version}-filelist
113
114 %clean
115 rm -rf $RPM_BUILD_ROOT
116
117 %post
118 chown -R smelog.smelog /var/log/winbindd
119
120 %files -f %{name}-%{version}-filelist
121 %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed