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