1 |
michel |
1.3 |
# $Id: e-smith-domains.spec,v 1.2 2016/05/12 17:29:17 vip-ire Exp $ |
2 |
vip-ire |
1.1 |
|
3 |
|
|
Summary: e-smith server and gateway - domains module |
4 |
|
|
%define name e-smith-domains |
5 |
|
|
Name: %{name} |
6 |
|
|
%define version 2.6.0 |
7 |
michel |
1.3 |
%define release 3 |
8 |
vip-ire |
1.1 |
Version: %{version} |
9 |
|
|
Release: %{release}%{?dist} |
10 |
|
|
License: GPL |
11 |
|
|
Group: Networking/Daemons |
12 |
|
|
Source: %{name}-%{version}.tar.xz |
13 |
michel |
1.3 |
Patch0: %{name}-%{version}-bz11128_update_event.patch |
14 |
|
|
|
15 |
vip-ire |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
|
|
BuildArchitectures: noarch |
17 |
|
|
Requires: e-smith-base >= 4.13.15-76 |
18 |
|
|
Requires: perl(HTML::Tabulate) >= 0.23 |
19 |
|
|
Requires: e-smith-formmagick >= 1.4.0-12 |
20 |
|
|
BuildRequires: perl(Test::Inline) >= 0.12 |
21 |
|
|
BuildRequires: perl |
22 |
|
|
BuildRequires: e-smith-devtools >= 1.11.0-03 |
23 |
|
|
AutoReqProv: no |
24 |
|
|
|
25 |
|
|
|
26 |
|
|
%description |
27 |
|
|
e-smith server and gateway software - domains module. |
28 |
|
|
|
29 |
|
|
%changelog |
30 |
michel |
1.3 |
* Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-3.sme |
31 |
|
|
- Create e-smith-domains-update event [SME: 11128] |
32 |
|
|
|
33 |
vip-ire |
1.2 |
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme |
34 |
|
|
- Rebuild for [SME: 9393] |
35 |
|
|
|
36 |
vip-ire |
1.1 |
* Fri Feb 5 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-1.sme |
37 |
|
|
- Roll new stream for sme10 |
38 |
|
|
|
39 |
|
|
* Mon Jul 6 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-3.sme |
40 |
|
|
- display variable name in the server-manager |
41 |
|
|
- $domainName, $domainDesc $domain [SME: 8842] |
42 |
|
|
|
43 |
|
|
* Thu Apr 24 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-2.sme |
44 |
|
|
- Display a warning with the domain name before to remove it [SME: 8333] |
45 |
|
|
|
46 |
|
|
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
47 |
|
|
- Roll new stream for sme9 |
48 |
|
|
|
49 |
|
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
50 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
51 |
|
|
|
52 |
|
|
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11 |
53 |
|
|
- Add common <base> tags to e-smith-formmagick's general [SME: 4287] |
54 |
|
|
|
55 |
|
|
* Wed Mar 12 2008 Shad L. Lords <slords@mail.com> 1.4.0-10 |
56 |
|
|
- Cleanup CREATE/ADD tag mixup [SME: 4045] |
57 |
|
|
|
58 |
|
|
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.4.0-9 |
59 |
|
|
- Remove <base> tags now in general [SME: 3926] |
60 |
|
|
|
61 |
|
|
* Fri Oct 26 2007 Charlie Brady <charlie_brady@mitel.com> 1.4.0-8 |
62 |
|
|
- Fix removal of Corporate DNS setting (take III). [SME: 3415] |
63 |
|
|
|
64 |
|
|
* Sat Oct 20 2007 Charlie Brady <charlie_brady@mitel.com> 1.4.0-7 |
65 |
|
|
- Add missing braces in last patch. [SME: 3415] |
66 |
|
|
|
67 |
|
|
* Tue Oct 16 2007 Charlie Brady <charlie_brady@mitel.com> 1.4.0-6 |
68 |
|
|
- Allow Corporate DNS settings to be removed via panel. [SME: 3415] |
69 |
|
|
|
70 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
71 |
|
|
- Clean up spec so package can be built by koji/plague |
72 |
|
|
|
73 |
|
|
* Sat Jan 13 2007 Shad L. Lords <slords@mail.com> 1.4.0-5 |
74 |
|
|
- Remove references to virtual from panels [SME: 1517] |
75 |
|
|
|
76 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
77 |
|
|
- Update to new release naming. No functional changes. |
78 |
|
|
- Make Packager generic |
79 |
|
|
|
80 |
|
|
* Thu Nov 09 2006 Gavin Weight <gweight@gmail.com> 1.4.0-03 |
81 |
|
|
- Missing period at the end of the description. [SME: 1852] |
82 |
|
|
|
83 |
|
|
* Sat Aug 19 2006 Gavin Weight <gweight@gmail.com> 1.4.0-02 |
84 |
|
|
- Added Text explaination for Corporate DNS Settings. [SME: 1852] |
85 |
|
|
|
86 |
|
|
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.4.0-01 |
87 |
|
|
- Roll stable stream version. [SME: 1016] |
88 |
|
|
|
89 |
|
|
* Sat Feb 18 2006 Gavin Weight <gweight@gmail.com> 1.3.3-6 |
90 |
|
|
- Table and columns headers not translated. [SME: 809] |
91 |
|
|
|
92 |
|
|
* Mon Jan 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.3-05 |
93 |
|
|
- Remove empty pre and post scriptlets. In some cases they cause |
94 |
|
|
package upgrade failures. [SME: 544] |
95 |
|
|
|
96 |
|
|
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.3-04 |
97 |
|
|
- Bump release number only |
98 |
|
|
|
99 |
|
|
* Sun Nov 27 2005 Charlie Brady <charlieb@e-smith.com> |
100 |
|
|
- [1.3.3-03] |
101 |
|
|
- Regenerate tinydns data file during domain-{create,delete,modify}. |
102 |
|
|
[SF: 1366653] |
103 |
|
|
|
104 |
|
|
* Tue Nov 15 2005 Gordon Rowell <gordonr@e-smith.com> |
105 |
|
|
- [1.3.3-02] |
106 |
|
|
- Use a single validator for domain names and complain if the |
107 |
|
|
validation fails. Previously hyphens passed the panel validator |
108 |
|
|
but failed on add (or delete). |
109 |
|
|
- TODO: Strengthen the regexp [SF: 1352880] |
110 |
|
|
|
111 |
|
|
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
112 |
|
|
- [1.3.3-01] |
113 |
|
|
- Remove L10Ns from base packages [SF: 1309520] |
114 |
|
|
|
115 |
|
|
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
116 |
|
|
- [1.3.2-01] |
117 |
|
|
- New dev stream before relocating L10Ns |
118 |
|
|
|
119 |
|
|
* Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com> |
120 |
|
|
- [1.3.1-05] |
121 |
|
|
- Added Italian L10N - Thanks Filippo Carletti [SF: 1309266] |
122 |
|
|
|
123 |
|
|
* Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com> |
124 |
|
|
- [1.3.1-04] |
125 |
|
|
- French L10N fixups (and reformat) - Thanks Didier Rambeau [SF: 1293787] |
126 |
|
|
|
127 |
|
|
* Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com> |
128 |
|
|
- [1.3.1-03] |
129 |
|
|
- Added German L10N - Thanks Dietmar Berteld [SF: 1293325] |
130 |
|
|
|
131 |
|
|
* Thu Aug 25 2005 Gordon Rowell <gordonr@gormand.com.au> |
132 |
|
|
- [1.3.1-02] |
133 |
|
|
- Rewrite with CGI::FormMagick and HTML::Tabulate |
134 |
|
|
- Added corporate DNS settings with page to change them |
135 |
|
|
- Update to HTML::Tabulate 0.23 so that the remove link goes |
136 |
|
|
away when we don't want it - Thanks to Gavin Carr for the |
137 |
|
|
immediate patch turnaround. |
138 |
|
|
- Only add "Corporate DNS Servers" to picklist if configured |
139 |
|
|
- Migrate all domains in domains db, defaulting system domain to |
140 |
|
|
'localhost', and others to 'internet' |
141 |
|
|
- Remove table border, and change stripe colour to match other buttons |
142 |
|
|
- Add calls to signal-event for create/modify/delete |
143 |
|
|
- TODO: Insert name of domain to be deleted on remove page |
144 |
|
|
- Signal the dns-update event when DNS configuration is changed |
145 |
|
|
- Migrate the Nameserver property to the Nameservers |
146 |
|
|
|
147 |
|
|
* Thu Aug 25 2005 Charlie Brady <charlieb@e-smith.com> |
148 |
|
|
- [1.3.1-01] |
149 |
|
|
- Roll new development stream prior to adding support for delegation to |
150 |
|
|
Corporate Nameservers. |
151 |
|
|
|
152 |
|
|
* Wed Jul 27 2005 Charlie Brady <charlieb@e-smith.com> |
153 |
|
|
- [1.3.0-07] |
154 |
|
|
- Remove dangling tinydns-conf symlinks.[SF: 1240099] |
155 |
|
|
|
156 |
|
|
* Sat Mar 19 2005 Charlie Brady <charlieb@e-smith.com> |
157 |
|
|
- [1.3.0-06] |
158 |
|
|
- Replace obsolete conf-mod_ssl symlink with fodder for |
159 |
|
|
generic_expand_template. |
160 |
|
|
|
161 |
|
|
* Tue Dec 28 2004 Charlie Brady <charlieb@e-smith.com> |
162 |
|
|
- [1.3.0-05] |
163 |
|
|
- Set non-empty path so domain panel can restart apache. |
164 |
|
|
[charlieb MN00050181] |
165 |
|
|
|
166 |
|
|
* Tue Sep 28 2004 Michael Soulier <msoulier@e-smith.com> |
167 |
|
|
- [1.3.0-04] |
168 |
|
|
- Updated requires with new perl dependencies. [msoulier MN00040240] |
169 |
|
|
|
170 |
|
|
* Tue Jul 13 2004 Michael Soulier <msoulier@e-smith.com> |
171 |
|
|
- [1.3.0-03] |
172 |
|
|
- Added big, red reboot warning. [msoulier MN00041156] |
173 |
|
|
|
174 |
|
|
* Tue Jul 13 2004 Michael Soulier <msoulier@e-smith.com> |
175 |
|
|
- [1.3.0-02] |
176 |
|
|
- Whitespace fix. |
177 |
|
|
|
178 |
|
|
* Wed Feb 4 2004 Michael Soulier <msoulier@e-smith.com> |
179 |
|
|
- [1.3.0-01] |
180 |
|
|
- rolling to dev - 1.3.0 |
181 |
|
|
|
182 |
|
|
* Wed Feb 4 2004 Michael Soulier <msoulier@e-smith.com> |
183 |
|
|
- [1.2.0-01] |
184 |
|
|
- rolling to stable - 1.2.0 |
185 |
|
|
|
186 |
|
|
* Mon Oct 20 2003 Michael Soulier <msoulier@e-smith.com> |
187 |
|
|
- [1.1.0-03] |
188 |
|
|
- Fixed the red success message. [msoulier 9265] |
189 |
|
|
|
190 |
|
|
* Tue Sep 23 2003 Mark Knox <markk@e-smith.com> |
191 |
|
|
- [1.1.0-02] |
192 |
|
|
- Removed reserved 'secure.domain' name as it is no longer a special |
193 |
|
|
case [markk 8989] |
194 |
|
|
|
195 |
|
|
* Tue Sep 23 2003 Mark Knox <markk@e-smith.com> |
196 |
|
|
- [1.1.0-01] |
197 |
|
|
- Rolling to development stream - 1.1.0 |
198 |
|
|
|
199 |
|
|
* Sun Sep 14 2003 Charlie Brady <charlieb@e-smith.com> |
200 |
|
|
- [1.0.0-08] |
201 |
|
|
- Remove xinetd-reload from domain-{create,delete,modify} events. |
202 |
|
|
[charlieb 9804] |
203 |
|
|
|
204 |
|
|
* Mon Aug 25 2003 Charlie Brady <charlieb@e-smith.com> |
205 |
|
|
- [1.0.0-07] |
206 |
|
|
- Reconfig tinydns when adding/removing a domain. [charlieb 9642] |
207 |
|
|
|
208 |
|
|
* Tue Jun 24 2003 Gordon Rowell <gordonr@e-smith.com> |
209 |
|
|
- [1.0.0-06] |
210 |
|
|
- Spanish nav bar [gordonr 9153] |
211 |
|
|
|
212 |
|
|
* Tue Jun 17 2003 Gordon Rowell <gordonr@e-smith.com> |
213 |
|
|
- [1.0.0-05] |
214 |
|
|
- c&p error in change 1.0.0-02 [gordonr 8954] |
215 |
|
|
|
216 |
|
|
* Thu Jun 12 2003 Gordon Rowell <gordonr@e-smith.com> |
217 |
|
|
- [1.0.0-04] |
218 |
|
|
- Added order tags to migrate fragments [gordonr 9015] |
219 |
|
|
|
220 |
|
|
* Tue Jun 10 2003 Charlie Brady <charlieb@e-smith.com> |
221 |
|
|
- [1.0.0-03] |
222 |
|
|
- Fix wrong DB name in warning message. [charlieb 8954] |
223 |
|
|
|
224 |
|
|
* Tue Jun 10 2003 Charlie Brady <charlieb@e-smith.com> |
225 |
|
|
- [1.0.0-02] |
226 |
|
|
- Force domain names to lower case - DNS is case insensitive. [charlieb 8954] |
227 |
|
|
|
228 |
|
|
* Thu May 8 2003 Mark Knox <markk@e-smith.com> |
229 |
|
|
- [1.0.0-01] |
230 |
|
|
- Initial release. This module used to be part of e-smith-base. [markk 8610] |
231 |
|
|
|
232 |
|
|
%prep |
233 |
|
|
%setup |
234 |
michel |
1.3 |
%patch0 -p1 |
235 |
vip-ire |
1.1 |
|
236 |
|
|
%build |
237 |
|
|
LEXICONS=$(find root/etc/e-smith/web/{functions,panels/password/cgi-bin} \ |
238 |
|
|
-type f | grep -v CVS | grep -v pleasewait) |
239 |
|
|
for lexicon in $LEXICONS |
240 |
|
|
do |
241 |
|
|
/sbin/e-smith/validate-lexicon $lexicon |
242 |
|
|
done |
243 |
|
|
|
244 |
|
|
/sbin/e-smith/generate-lexicons |
245 |
|
|
|
246 |
|
|
perl createlinks |
247 |
|
|
|
248 |
|
|
%install |
249 |
|
|
rm -rf $RPM_BUILD_ROOT |
250 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
251 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
252 |
|
|
> %{name}-%{version}-%{release}-filelist |
253 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
254 |
|
|
|
255 |
|
|
%clean |
256 |
|
|
rm -rf $RPM_BUILD_ROOT |
257 |
|
|
|
258 |
|
|
%files -f %{name}-%{version}-%{release}-filelist |
259 |
|
|
%defattr(-,root,root) |