1 |
vip-ire |
1.1 |
Summary: SME Server specific Samba configuration files and templates |
2 |
|
|
%define name smeserver-samba |
3 |
|
|
Name: %{name} |
4 |
|
|
%define version 0.1.0 |
5 |
gzartman |
1.2 |
%define release 5 |
6 |
vip-ire |
1.1 |
Version: %{version} |
7 |
|
|
Release: %{release}%{?dist} |
8 |
|
|
License: GPL |
9 |
|
|
Group: Networking/Daemons |
10 |
|
|
Source: %{name}-%{version}.tgz |
11 |
gzartman |
1.2 |
Patch1: smeserver-samba-0.1.0-provision_password.patch |
12 |
|
|
Patch2: smeserver-samba-0.1.0-062616-update.patch |
13 |
|
|
Patch3: smeserver-samba-0.1.0-072416-update.patch |
14 |
vip-ire |
1.1 |
Obsoletes: e-smith-netlogon |
15 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
|
|
BuildArchitectures: noarch |
17 |
|
|
|
18 |
|
|
##Obsolete e-smith-samba |
19 |
|
|
Provides: e-smith-samba |
20 |
|
|
Obsoletes: e-smith-samba |
21 |
|
|
##Obsolete e-smith-ldap |
22 |
|
|
Obsoletes: e-smith-ldap |
23 |
|
|
Provides: e-smith-ldap |
24 |
|
|
|
25 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
26 |
|
|
Requires: e-smith-lib >= 2.2.0-2 |
27 |
gzartman |
1.2 |
Requires: e-smith-base >= 5.6.0-30 |
28 |
vip-ire |
1.1 |
Requires: e-smith-formmagick >= 1.4.0-9 |
29 |
gzartman |
1.2 |
Requires: e-smith-LPRng >= 2.5.0-1 |
30 |
vip-ire |
1.1 |
Requires: sernet-samba >= 4.1.12 |
31 |
|
|
Requires: sernet-samba-ad >= 4.1.12 |
32 |
|
|
Requires: sernet-samba-client >= 4.1.12 |
33 |
|
|
Requires: sernet-samba-common >= 4.1.12 |
34 |
|
|
Requires: sernet-samba-libs >= 4.1.12 |
35 |
|
|
Requires: sernet-samba-libsmbclient0 >= 4.1.12 |
36 |
|
|
Requires: sernet-samba-winbind >= 4.1.12 |
37 |
|
|
Obsoletes: samba3x |
38 |
|
|
Obsoletes: samba3x-client |
39 |
|
|
Obsoletes: samba3x-common |
40 |
|
|
Obsoletes: samba3x-winbind |
41 |
|
|
Obsoletes: libsmbclient <= 3.0.33 |
42 |
|
|
# Obsolete SerNet packages |
43 |
|
|
Obsoletes: libsmbclient0 |
44 |
|
|
Obsoletes: libwbclient0 |
45 |
|
|
Obsoletes: samba3 |
46 |
|
|
Obsoletes: samba3-cifsmount |
47 |
|
|
Obsoletes: samba3-client |
48 |
|
|
Obsoletes: samba3-doc |
49 |
|
|
Obsoletes: samba3-utils |
50 |
|
|
Obsoletes: samba3-winbind |
51 |
|
|
Requires: /usr/bin/tdbbackup |
52 |
|
|
AutoReqProv: no |
53 |
|
|
|
54 |
|
|
%changelog |
55 |
gzartman |
1.2 |
* Sat Jun 18 2016 Greg Zartman <gzartman@koozali.org> 0.1.0-3 |
56 |
|
|
- Reconfigure provision event to account for default Samba |
57 |
|
|
complex password policy |
58 |
|
|
- Abstract core LDAP queries in esmith::AD using runtime binding |
59 |
|
|
|
60 |
|
|
* Sat Jun 18 2016 Greg Zartman <gzartman@koozali.org> 0.1.0-2 |
61 |
|
|
- Set requires to e-smith-base-5.6.0-30+ [SME:8668] |
62 |
|
|
- Set requries for e-smith-LPRng-2.5.0+ [SME:8632] |
63 |
|
|
|
64 |
vip-ire |
1.1 |
* Thu Feb 12 2015 Greg Zartman <gzartman@koozali.org> 0.1.0-1 |
65 |
|
|
- Roll new smeserver alpha package for Samba4 [SME:8075] |
66 |
|
|
|
67 |
|
|
%description |
68 |
|
|
Configuration files and templates for Samba 4 services. |
69 |
|
|
|
70 |
|
|
%prep |
71 |
|
|
%setup |
72 |
gzartman |
1.2 |
%patch1 -p1 |
73 |
vip-ire |
1.1 |
|
74 |
|
|
%build |
75 |
|
|
perl createlinks |
76 |
|
|
|
77 |
|
|
%install |
78 |
|
|
rm -rf $RPM_BUILD_ROOT |
79 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
80 |
|
|
/sbin/e-smith/genfilelist \ |
81 |
|
|
--dir '/var/service/smb' 'attr(1755,root,root)' \ |
82 |
|
|
--file '/var/service/smb/down' 'attr(0644,root,root)' \ |
83 |
|
|
--file '/var/service/smb/run' 'attr(0755,root,root)' \ |
84 |
|
|
--dir '/var/service/smb/supervise' 'attr(0700,root,root)' \ |
85 |
|
|
--dir '/var/service/smb/log' 'attr(1755,root,root)' \ |
86 |
|
|
--file '/var/service/smb/log/run' 'attr(0755,root,root)' \ |
87 |
|
|
$RPM_BUILD_ROOT \ |
88 |
|
|
> %{name}-%{version}-filelist |
89 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
90 |
|
|
|
91 |
|
|
%clean |
92 |
|
|
rm -rf $RPM_BUILD_ROOT |
93 |
|
|
|
94 |
|
|
%post |
95 |
|
|
|
96 |
|
|
%files -f %{name}-%{version}-filelist |
97 |
|
|
%defattr(-,root,root) |