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