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 |
vip-ire |
1.1 |
Obsoletes: e-smith-netlogon |
14 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
|
|
BuildArchitectures: noarch |
16 |
|
|
|
17 |
|
|
##Obsolete e-smith-samba |
18 |
|
|
Provides: e-smith-samba |
19 |
|
|
Obsoletes: e-smith-samba |
20 |
|
|
##Obsolete e-smith-ldap |
21 |
|
|
Obsoletes: e-smith-ldap |
22 |
|
|
Provides: e-smith-ldap |
23 |
|
|
|
24 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
25 |
|
|
Requires: e-smith-lib >= 2.2.0-2 |
26 |
gzartman |
1.2 |
Requires: e-smith-base >= 5.6.0-30 |
27 |
vip-ire |
1.1 |
Requires: e-smith-formmagick >= 1.4.0-9 |
28 |
gzartman |
1.2 |
Requires: e-smith-LPRng >= 2.5.0-1 |
29 |
vip-ire |
1.1 |
Requires: sernet-samba >= 4.1.12 |
30 |
|
|
Requires: sernet-samba-ad >= 4.1.12 |
31 |
|
|
Requires: sernet-samba-client >= 4.1.12 |
32 |
|
|
Requires: sernet-samba-common >= 4.1.12 |
33 |
|
|
Requires: sernet-samba-libs >= 4.1.12 |
34 |
|
|
Requires: sernet-samba-libsmbclient0 >= 4.1.12 |
35 |
|
|
Requires: sernet-samba-winbind >= 4.1.12 |
36 |
|
|
Obsoletes: samba3x |
37 |
|
|
Obsoletes: samba3x-client |
38 |
|
|
Obsoletes: samba3x-common |
39 |
|
|
Obsoletes: samba3x-winbind |
40 |
|
|
Obsoletes: libsmbclient <= 3.0.33 |
41 |
|
|
# Obsolete SerNet packages |
42 |
|
|
Obsoletes: libsmbclient0 |
43 |
|
|
Obsoletes: libwbclient0 |
44 |
|
|
Obsoletes: samba3 |
45 |
|
|
Obsoletes: samba3-cifsmount |
46 |
|
|
Obsoletes: samba3-client |
47 |
|
|
Obsoletes: samba3-doc |
48 |
|
|
Obsoletes: samba3-utils |
49 |
|
|
Obsoletes: samba3-winbind |
50 |
|
|
Requires: /usr/bin/tdbbackup |
51 |
|
|
AutoReqProv: no |
52 |
|
|
|
53 |
|
|
%changelog |
54 |
gzartman |
1.3 |
* Sun Jun 26 2016 Greg Zartman <gzartman@koozali.org> 0.1-0-4 |
55 |
|
|
- Add dnscache and tinydns config per bug [SME: 8638] |
56 |
|
|
- Add iptables preroute rule for DNS per bug [SME: 8638] |
57 |
|
|
- Fix issues with domain admins assignment during provisioning |
58 |
|
|
- Nearly full re-write of user-create-AD action to utilize |
59 |
|
|
esmith::AD class |
60 |
|
|
- Add Legacy Mode to user-create-AD action to allow this |
61 |
|
|
action to work with AccountsDB |
62 |
|
|
- Add user-create-AD to user-create event |
63 |
|
|
- Add user-AD-disable action to disable AD user |
64 |
|
|
- Continued development and enhancement to esmith::AD |
65 |
|
|
including POD documentation |
66 |
|
|
- Continued development and enhancement to esmith::AD::User |
67 |
|
|
including POD documentation |
68 |
|
|
- Add esmith::AD::OU to manage Organizational Units in the |
69 |
|
|
Active Directory |
70 |
|
|
- Fix realm definition in provision action |
71 |
|
|
|
72 |
gzartman |
1.2 |
* Sat Jun 18 2016 Greg Zartman <gzartman@koozali.org> 0.1.0-3 |
73 |
|
|
- Reconfigure provision event to account for default Samba |
74 |
|
|
complex password policy |
75 |
|
|
- Abstract core LDAP queries in esmith::AD using runtime binding |
76 |
|
|
|
77 |
|
|
* Sat Jun 18 2016 Greg Zartman <gzartman@koozali.org> 0.1.0-2 |
78 |
|
|
- Set requires to e-smith-base-5.6.0-30+ [SME:8668] |
79 |
|
|
- Set requries for e-smith-LPRng-2.5.0+ [SME:8632] |
80 |
|
|
|
81 |
vip-ire |
1.1 |
* Thu Feb 12 2015 Greg Zartman <gzartman@koozali.org> 0.1.0-1 |
82 |
|
|
- Roll new smeserver alpha package for Samba4 [SME:8075] |
83 |
|
|
|
84 |
|
|
%description |
85 |
|
|
Configuration files and templates for Samba 4 services. |
86 |
|
|
|
87 |
|
|
%prep |
88 |
|
|
%setup |
89 |
gzartman |
1.2 |
%patch1 -p1 |
90 |
gzartman |
1.3 |
%patch2 -p1 |
91 |
vip-ire |
1.1 |
|
92 |
|
|
%build |
93 |
|
|
perl createlinks |
94 |
|
|
|
95 |
|
|
%install |
96 |
|
|
rm -rf $RPM_BUILD_ROOT |
97 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
98 |
|
|
/sbin/e-smith/genfilelist \ |
99 |
|
|
--dir '/var/service/smb' 'attr(1755,root,root)' \ |
100 |
|
|
--file '/var/service/smb/down' 'attr(0644,root,root)' \ |
101 |
|
|
--file '/var/service/smb/run' 'attr(0755,root,root)' \ |
102 |
|
|
--dir '/var/service/smb/supervise' 'attr(0700,root,root)' \ |
103 |
|
|
--dir '/var/service/smb/log' 'attr(1755,root,root)' \ |
104 |
|
|
--file '/var/service/smb/log/run' 'attr(0755,root,root)' \ |
105 |
|
|
$RPM_BUILD_ROOT \ |
106 |
|
|
> %{name}-%{version}-filelist |
107 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
108 |
|
|
|
109 |
|
|
%clean |
110 |
|
|
rm -rf $RPM_BUILD_ROOT |
111 |
|
|
|
112 |
|
|
%post |
113 |
|
|
|
114 |
|
|
%files -f %{name}-%{version}-filelist |
115 |
|
|
%defattr(-,root,root) |