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