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