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