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