1 |
slords |
1.1 |
Summary: Provide a user panel to let users to change delegated server settings. |
2 |
|
|
%define name smeserver-userpanel |
3 |
|
|
Name: %{name} |
4 |
|
|
%define version 0.9 |
5 |
|
|
%define release 10 |
6 |
|
|
Version: %{version} |
7 |
slords |
1.2 |
Release: %{release}%{?dist} |
8 |
slords |
1.1 |
License: GPL |
9 |
|
|
URL: http://www.dungog.net/sme |
10 |
|
|
Group: SMEserver/addon |
11 |
|
|
Source: %{name}-%{version}.tar.gz |
12 |
|
|
BuildArchitectures: noarch |
13 |
|
|
BuildRoot: /var/tmp/%{name}-%{version} |
14 |
|
|
Requires: e-smith-release >= 7.1.1 |
15 |
slords |
1.4 |
BuildRequires: e-smith-devtools |
16 |
slords |
1.1 |
Obsoletes: e-smith-userpanel |
17 |
|
|
AutoReqProv: no |
18 |
|
|
|
19 |
|
|
%description |
20 |
|
|
SME Server enhancement to create a user manager panel where users can |
21 |
|
|
authenticate with their own username/password and change selected |
22 |
|
|
server settings as allowed by admin. |
23 |
|
|
Selected User settings can be altered after installing additional |
24 |
|
|
userpanels available in seperate rpms. |
25 |
|
|
Panels can be delegated at user, group or global levels |
26 |
|
|
|
27 |
|
|
%changelog |
28 |
|
|
* Mon Feb 5 2007 Stephen Noble <support@dungog.net> |
29 |
|
|
- redirect to https [sme 1879] |
30 |
|
|
- Adjust to work on sme 7.1.1 [sme 2419] |
31 |
|
|
- thanks John Bennett |
32 |
|
|
- [0.9-10] |
33 |
|
|
|
34 |
|
|
* Mon Oct 30 2006 Stephen Noble <support@dungog.net> |
35 |
|
|
- shorten /user-manager to /user |
36 |
|
|
- delegate rights with a group [sme 1748] |
37 |
|
|
- [0.9-9] |
38 |
|
|
|
39 |
|
|
* Sun Oct 29 2006 Stephen Noble <support@dungog.net> |
40 |
|
|
- bugfix for navigation frame |
41 |
|
|
- [0.9-8] |
42 |
|
|
|
43 |
|
|
* Sat Oct 28 2006 Stephen Noble <support@dungog.net> |
44 |
|
|
- i18n support for navigation frame [sme 2009] |
45 |
|
|
- [0.9-7] |
46 |
|
|
|
47 |
|
|
* Thu Oct 26 2006 Stephen Noble <support@dungog.net> |
48 |
|
|
- german and italian language support [sme 2008] |
49 |
|
|
- [0.9-6] |
50 |
|
|
|
51 |
|
|
* Mon Feb 13 2006 Stephen Noble <support@dungog.net> |
52 |
|
|
- remove Provides e-smith-userpanel, for sme7 pre release 2 |
53 |
|
|
- [0.9-5] |
54 |
|
|
|
55 |
|
|
* Wed Sep 21 2005 Stephen Noble <support@dungog.net> |
56 |
|
|
- for sme7 beta |
57 |
|
|
- [0.9-4] |
58 |
|
|
|
59 |
|
|
* Sun Aug 21 2005 Stephen Noble <support@dungog.net> |
60 |
|
|
- perl-Unicode-String dependancy removed |
61 |
|
|
- [0.9-3] |
62 |
|
|
|
63 |
|
|
* Wed Aug 10 2005 Stephen Noble <support@dungog.net> |
64 |
|
|
- removed all userpanels, these are in smeserver-userpanel-* |
65 |
|
|
- /home/e-smith/db/accounts relocated |
66 |
|
|
- for sme7 alpha |
67 |
|
|
- [0.9-2] |
68 |
|
|
|
69 |
|
|
* Sat Jun 18 2005 Stephen Noble <support@dungog.net> |
70 |
|
|
- renamed rpm smeserver-userpanel |
71 |
|
|
- user admin can be delegated hidden panels in userpanelaccess |
72 |
|
|
- option to use maildrop instead of procmail |
73 |
|
|
- new setting to enable procmail and/or mailfilter |
74 |
|
|
- db set accounts USER procmail|mailfilter enabled [individually] |
75 |
|
|
- db set configuration MailFilter service procmail|mailfilter enabled [global[if above unset]] |
76 |
|
|
- [0.9-1] |
77 |
|
|
|
78 |
|
|
* Sat Jun 18 2005 Stephen Noble <support@dungog.net> |
79 |
|
|
- Allows for: e-smith-release >= 7.0 |
80 |
|
|
- sme7 RequireSSL -> SSLRequireSSL [Gordon Rowell] |
81 |
|
|
- passwords can be stricter [Lorenzo Fascì] |
82 |
|
|
- sme6 /sbin/e-smith/db configuration setprop passwordstrength User none|normal|strong |
83 |
|
|
- sme7 /sbin/e-smith/db configuration setprop passwordstrength Users none|normal|strong |
84 |
|
|
- merged dungog-useraccounts, new function userpanel-useraccounts |
85 |
|
|
- http://www.dungog.net/sme/changelog/useraccounts.txt |
86 |
|
|
- delegated user account creation with limits |
87 |
|
|
- sme5 manager.css added |
88 |
|
|
- 26autoreply altered to leave autoreplied email in the inbox |
89 |
|
|
- sme7 IMAP changed from /;junkmail to /.junkmail, check all your procmail rules !! |
90 |
|
|
- perl-Unicode-IMAPUtf7 dependancy/support removed |
91 |
|
|
- [1.6.5-3] |
92 |
|
|
|
93 |
|
|
* Thu May 26 2005 Stephen Noble <support@dungog.net> |
94 |
|
|
- vacation if enabled is run first |
95 |
|
|
- test for invalid forwarding addresses |
96 |
|
|
- [1.6.5-2] |
97 |
|
|
|
98 |
|
|
* Fri Feb 11 2005 Stephen Noble <support@dungog.net> |
99 |
|
|
- change rpm scripts from httpd-* graceful to restart |
100 |
|
|
- to allow rpm to install on both SME 6.0 + 6.5 |
101 |
|
|
- added alias, /user is same as /user-manager |
102 |
|
|
- allow remote access to /user, with alt IP range from /server-manager access |
103 |
|
|
- /sbin/e-smith/db configuration set httpd-user 188.122.45.122 |
104 |
|
|
- /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
105 |
|
|
- /etc/rc.d/init.d/httpd-e-smith restart |
106 |
|
|
- see also /sbin/e-smith/db configuration show httpd-admin for format |
107 |
|
|
- bad things happen if you enter an invalid ip ie>256 |
108 |
|
|
- remove displayed mitel references and old images |
109 |
|
|
- [1.6.5-1] |
110 |
|
|
|
111 |
|
|
* Thu Dec 23 2004 Stephen Noble <support@dungog.net> |
112 |
|
|
- cosmetic vacation msg fix re. Dos/Unix new line |
113 |
|
|
- [1.6.0-4] |
114 |
|
|
|
115 |
|
|
* Sat Mar 6 2004 Stephen Noble <support@dungog.net> |
116 |
|
|
- procmail forward to user fixed |
117 |
|
|
- procmail says folder not in correct format fixed |
118 |
|
|
- procmail can use 2nd value for closer matching |
119 |
|
|
- geek mode hidden, you can set manually with |
120 |
|
|
- /sbin/e-smith/db processmail setprop stephen mode geek |
121 |
|
|
- [1.6.0-3] |
122 |
|
|
|
123 |
|
|
* Fri Dec 5 2003 Stephen Noble <support@dungog.net> |
124 |
|
|
- procmail, supports folders starting with new, cur, tmp |
125 |
|
|
thanks Shad Lords |
126 |
|
|
- displays sme6 panels correctly |
127 |
|
|
thanks Robert Mc Donald |
128 |
|
|
- [1.6.0-2] |
129 |
|
|
|
130 |
|
|
* Fri Aug 15 2003 Stephen Noble <support@dungog.net> |
131 |
|
|
- SME 6.0 support, this version requires it |
132 |
|
|
- supports servermanager navigation & shows tables correctly |
133 |
|
|
- procmail writes to dovecoat imap store eg. ~/Maildir/;junkmail |
134 |
|
|
- many other changes |
135 |
|
|
- [1.6.0-1] |
136 |
|
|
|
137 |
|
|
* Thu May 21 2003 Stephen Noble <support@dungog.net> |
138 |
|
|
- Fix 90e-smithAccess30user, httpd failed with 500?+ users |
139 |
|
|
- [1.0-11] |
140 |
|
|
|
141 |
|
|
* Thu Mar 6 2003 Stephen Noble <support@dungog.net> |
142 |
|
|
- Fix 23autoreply, wasn't stopping looping to self |
143 |
|
|
- [1.0-10] |
144 |
|
|
|
145 |
|
|
* Mon Dec 16 2002 Stephen Noble <support@dungog.net> |
146 |
|
|
- Fix /usr.../vacation, saved in dos not unix |
147 |
|
|
- [1.0-9] |
148 |
|
|
|
149 |
|
|
* Thu Dec 12 2002 Stephen Noble <support@dungog.net> |
150 |
|
|
- mkdir -p user/cgi-bin in spec for new installs |
151 |
|
|
- [1.0-8] |
152 |
|
|
|
153 |
|
|
* Tue Dec 10 2002 Stephen Noble <support@dungog.net> |
154 |
|
|
- Fix actions, saved in dos not unix |
155 |
|
|
- userpanel-backup changed default file save as name to username |
156 |
|
|
- [1.0-7] |
157 |
|
|
|
158 |
|
|
* Fri Nov 29 2002 Stephen Noble <support@dungog.net> |
159 |
|
|
- userpanel-forwarding modified to allow empty fwd address |
160 |
|
|
- [1.0-6] |
161 |
|
|
|
162 |
|
|
* Thu Nov 28 2002 Shad Lords <slords@mail.com> |
163 |
|
|
- changed directive for externalSSLAccess to strip /255.255.255.255 |
164 |
|
|
- [1.0-5] |
165 |
|
|
|
166 |
|
|
* Thu Oct 03 2002 Shad Lords <slords@mail.com> |
167 |
|
|
- fixed ordering of panels a little more to make them alphabetical |
168 |
|
|
- [1.0-4] |
169 |
|
|
|
170 |
|
|
* Thu Oct 03 2002 Shad Lords <slords@mail.com> |
171 |
|
|
- Cleaned up .procmailrc header |
172 |
|
|
- [1.0-3] |
173 |
|
|
|
174 |
|
|
* Wed Oct 02 2002 Shad Lords <slords@mail.com> |
175 |
|
|
- Updated requires to include the Unicode packages for imap folders |
176 |
|
|
- [1.0-2] |
177 |
|
|
|
178 |
|
|
* Tue Oct 01 2002 Shad Lords <slords@mail.com> |
179 |
|
|
- Combined all user-manager panels into 1 package |
180 |
|
|
- Fixed user-manager.jpg to show on all panels (except pleasewait) |
181 |
|
|
- updated userpanel-forward to check for procmail enabled |
182 |
|
|
- updated userpanel-autoreply to check for procmail enabled |
183 |
|
|
- [1.0-1] |
184 |
|
|
|
185 |
|
|
* Mon Sep 30 2002 Shad Lords <slords@mail.com> |
186 |
|
|
- Fixed another bug with global panels (needed AdminPanels) |
187 |
|
|
- added externalSSLAccess to allow from for external access |
188 |
|
|
- added RequireSSL on to the user-manager directive |
189 |
|
|
- fixed user-manager.jpg to correct version |
190 |
|
|
- [0.3-6] |
191 |
|
|
|
192 |
|
|
* Mon Sep 23 2002 Stephen Noble <support@dungog.net> |
193 |
|
|
- userpanel-forwarding tests if procmail fragments are installed |
194 |
|
|
- renumbered navigation in userpanels to display alphabetically and match initial |
195 |
|
|
- [0.3-5] |
196 |
|
|
|
197 |
|
|
* Sun Sep 22 2002 Shad Lords <slords@mail.com> |
198 |
|
|
- added userpanel- panels into list to choose from |
199 |
|
|
- added default globalUP panels to all userpanel- panels |
200 |
|
|
- added indication in user panels to which global panels are active |
201 |
|
|
- added routine to display desc and longdesc to userpanel-initial |
202 |
|
|
- [0.3-4] |
203 |
|
|
|
204 |
|
|
* Sat Sep 21 2002 Shad Lords <slords@mail.com> |
205 |
|
|
- helps if you actually include your changes (userpanelaccess) ;) |
206 |
|
|
- excluded a few more web functions per Darrell May. |
207 |
|
|
- [0.3-3] |
208 |
|
|
|
209 |
|
|
* Sat Sep 21 2002 Shad Lords <slords@mail.com> |
210 |
|
|
- fixed permission for global user panels |
211 |
|
|
- added userpanel-* back into navigation |
212 |
|
|
- fixed userpanel-noframes to use globals |
213 |
|
|
- fixed userpanelaccess to look in functions for panels |
214 |
|
|
- fixed conf-userpanelsymlinks to only create needed panels |
215 |
|
|
- cleaned up some of the userpanel- titles for consistency |
216 |
|
|
- fixed userpanel-initial to look for userpanel-procmail instead of dungog-procmail |
217 |
|
|
- removed ^M from admin-conf templates |
218 |
|
|
- added devinfo-mitel-userpanel-autoreply to obsoletes |
219 |
|
|
- [0.3-2] |
220 |
|
|
|
221 |
|
|
* Sat Sep 21 2002 Stephen Noble <support@dungog.net> |
222 |
|
|
- only gives users access after admin assigns panel |
223 |
|
|
- admin can assign a panel to all users via userpanelaccess |
224 |
|
|
- merged updated userpanels for userpanelaccess, e-smith-userpanel-vacation, |
225 |
|
|
e-smith-userpanel-config, dungog-autoreply and dungog-userbackup |
226 |
|
|
- updated userpanel-password,forward,navigation,inital) |
227 |
|
|
- added usermanager.jpg |
228 |
|
|
- [0.3-1] |
229 |
|
|
|
230 |
|
|
* Mon Jan 07 2002 Daniel van Raay <danielvr@caa.org.au> |
231 |
|
|
- fixed bug in 90e-smithAccess30user while maintaining '<Files>' directives |
232 |
|
|
for security purposes |
233 |
|
|
- [0.2-5] |
234 |
|
|
|
235 |
|
|
* Sun Jan 06 2002 Darrell May <dmay@netsourced.com> |
236 |
|
|
- fixed bug in 90e-smithAccess30user |
237 |
|
|
- [0.2-4] |
238 |
|
|
|
239 |
|
|
* Sun Jan 06 2002 Daniel van Raay <danielvr@caa.org.au> |
240 |
|
|
- [0.2-3] |
241 |
|
|
- added all the panels to the default AvailablePanels setting |
242 |
|
|
- modified the default navigation heading weights |
243 |
|
|
|
244 |
|
|
* Sun Jan 06 2002 Daniel van Raay <danielvr@caa.org.au> |
245 |
|
|
- [0.2-2] |
246 |
|
|
- fixed bug in conf-userpanel event |
247 |
|
|
|
248 |
|
|
* Sat Jan 05 2002 Daniel van Raay <danielvr@caa.org.au> |
249 |
|
|
- [0.2-1] |
250 |
|
|
- tidy up /etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/90e-smithAccess30user |
251 |
|
|
- added initial support for additional 'AdminPanels' for users that need access to |
252 |
|
|
one or a few of the server-manager panels only |
253 |
|
|
- changed 'Email' and 'Password' to 'Your Email' and 'Your Password' |
254 |
|
|
|
255 |
|
|
* Wed Jan 02 2002 Daniel van Raay <danielvr@caa.org.au> |
256 |
|
|
- [0.1-12] |
257 |
|
|
- added manual redirect httpd.conf fragment for user-manager under e-smith 4.1.2 |
258 |
|
|
- stopped templates from adding ProxyPass directives under e-smith 4.1.2 |
259 |
|
|
so that the redirects will work properly |
260 |
|
|
|
261 |
|
|
* Tue Jan 01 2002 Darrell May <dmay@netsourced.com> |
262 |
|
|
- [0.1-11] |
263 |
|
|
- edit initial.html to support name change of userpanel-procmail to userpanel-processmail |
264 |
|
|
|
265 |
|
|
* Sun Dec 30 2001 Daniel van Raay <danielvr@caa.org.au> |
266 |
|
|
- [0.1-10] |
267 |
|
|
- improved (cosmetic) compatibility with e-smith 4.1.2, SME 5.0, SME 5.1 |
268 |
|
|
- rolled in Darrell's cosmetic changes to initial page with checks to |
269 |
|
|
see if e-smith-procmail and/or e-smith-vacation are installed |
270 |
|
|
|
271 |
|
|
* Tue Dec 25 2001 Darrell May <dmay@netsourced.com> |
272 |
|
|
- [0.1-9] |
273 |
|
|
- updated initial.html |
274 |
|
|
|
275 |
|
|
* Mon Dec 24 2001 Darrell May <dmay@netsourced.com> |
276 |
|
|
- [0.1-8] |
277 |
|
|
- minor cosmetic changes to the password panel for SME5.1B3 |
278 |
|
|
|
279 |
|
|
* Sat Oct 20 2001 Daniel van Raay <danielvr@caa.org.au> |
280 |
|
|
- [0.1-7] |
281 |
|
|
- minor cosmetic changes to the password panel |
282 |
|
|
|
283 |
|
|
* Fri Oct 19 2001 Daniel van Raay <danielvr@caa.org.au> |
284 |
|
|
- [0.1-6] |
285 |
|
|
- actually build the RPM properly to include [0.1-6] changes ;) |
286 |
|
|
|
287 |
|
|
* Thu Oct 11 2001 Daniel van Raay <danielvr@caa.org.au> |
288 |
|
|
- [0.1-5] |
289 |
|
|
- added alias for access via http://servername/user-manager/ |
290 |
|
|
- cosmetic changes to refer to the panels as 'User Manager' instead of 'e-smith user' |
291 |
|
|
|
292 |
|
|
* Sat Sep 22 2001 Daniel van Raay <danielvr@caa.org.au> |
293 |
|
|
- [0.1-4] |
294 |
|
|
- fixed minor cosmetic problem with front page when accessed through ProxyPass |
295 |
|
|
|
296 |
|
|
* Fri Sep 21 2001 Daniel van Raay <danielvr@caa.org.au> |
297 |
|
|
- [0.1-3] |
298 |
|
|
- updated for compatibility with SME Sever V5 |
299 |
|
|
|
300 |
|
|
* Wed Sep 19 2001 Daniel van Raay <danielvr@caa.org.au> |
301 |
|
|
- [0.1-2] |
302 |
|
|
- added post (un)install scripts to expand/reload the relevant templates/services |
303 |
|
|
|
304 |
|
|
* Mon Sep 04 2001 Daniel van Raay <danielvr@caa.org.au> |
305 |
|
|
- [0.1-1] |
306 |
|
|
- initial release |
307 |
|
|
|
308 |
|
|
%prep |
309 |
|
|
%setup |
310 |
|
|
|
311 |
|
|
%build |
312 |
|
|
perl createlinks |
313 |
|
|
|
314 |
|
|
mkdir -p root/etc/e-smith/web/panels/user/cgi-bin |
315 |
|
|
|
316 |
|
|
%install |
317 |
|
|
rm -rf $RPM_BUILD_ROOT |
318 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
319 |
|
|
rm -f %{name}-%{version}-filelist |
320 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
321 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
322 |
|
|
|
323 |
|
|
%clean |
324 |
|
|
cd .. |
325 |
|
|
rm -rf %{name}-%{version} |
326 |
|
|
|
327 |
|
|
%pre |
328 |
|
|
%preun |
329 |
|
|
|
330 |
|
|
%post |
331 |
|
|
|
332 |
|
|
/sbin/e-smith/expand-template /etc/httpd/admin-conf/httpd.conf |
333 |
|
|
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
334 |
|
|
/usr/local/bin/svc -h /service/httpd-admin |
335 |
|
|
/usr/local/bin/svc -h /service/httpd-e-smith |
336 |
|
|
|
337 |
|
|
#needs script to find existing languages |
338 |
|
|
#upgrades (and new installs) should be in new but existing users may miss some lexicons |
339 |
|
|
/bin/mkdir -p /etc/e-smith/locale/en-us/etc/e-smith/web/panels/user |
340 |
|
|
/bin/ln -sf /etc/e-smith/locale/en-us/etc/e-smith/web/functions /etc/e-smith/locale/en-us/etc/e-smith/web/panels/user/cgi-bin |
341 |
|
|
/bin/mkdir -p /etc/e-smith/locale/fr/etc/e-smith/web/panels/user |
342 |
|
|
/bin/ln -sf /etc/e-smith/locale/fr/etc/e-smith/web/functions /etc/e-smith/locale/fr/etc/e-smith/web/panels/user/cgi-bin |
343 |
|
|
/bin/mkdir -p /etc/e-smith/locale/es/etc/e-smith/web/panels/user |
344 |
|
|
/bin/ln -sf /etc/e-smith/locale/es/etc/e-smith/web/functions /etc/e-smith/locale/es/etc/e-smith/web/panels/user/cgi-bin |
345 |
|
|
/bin/mkdir -p /etc/e-smith/locale/it/etc/e-smith/web/panels/user |
346 |
|
|
/bin/ln -sf /etc/e-smith/locale/it/etc/e-smith/web/functions /etc/e-smith/locale/it/etc/e-smith/web/panels/user/cgi-bin |
347 |
|
|
/bin/mkdir -p /etc/e-smith/locale/de/etc/e-smith/web/panels/user |
348 |
|
|
/bin/ln -sf /etc/e-smith/locale/de/etc/e-smith/web/functions /etc/e-smith/locale/de/etc/e-smith/web/panels/user/cgi-bin |
349 |
|
|
|
350 |
|
|
/sbin/e-smith/signal-event conf-userpanel |
351 |
|
|
|
352 |
|
|
%postun |
353 |
|
|
#uninstall |
354 |
|
|
if [ $1 = 0 ] ; then |
355 |
|
|
/sbin/e-smith/expand-template /etc/httpd/admin-conf/httpd.conf |
356 |
|
|
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
357 |
|
|
/usr/local/bin/svc -h /service/httpd-admin |
358 |
|
|
/usr/local/bin/svc -h /service/httpd-e-smith |
359 |
|
|
|
360 |
|
|
#this has moved ?fixme? |
361 |
|
|
DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"` |
362 |
|
|
for db in $DBS ; do |
363 |
|
|
/sbin/e-smith/db $db delete userpanelaccess |
364 |
|
|
done |
365 |
|
|
fi |
366 |
|
|
|
367 |
|
|
%files -f %{name}-%{version}-filelist |
368 |
|
|
%defattr(-,root,root) |
369 |
|
|
|