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