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