/[smecontribs]/rpms/smeserver-userpanel/contribs7/smeserver-userpanel.spec
ViewVC logotype

Contents of /rpms/smeserver-userpanel/contribs7/smeserver-userpanel.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download)
Tue Nov 25 16:20:33 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +0 -0 lines
Restore

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed