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