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

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

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


Revision 1.5 - (show annotations) (download)
Sun Dec 15 17:58:29 2013 UTC (10 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-userpanel-0_9-15_el5_sme
Changes since 1.4: +9 -9 lines
* Sun Dec 15 2013 JP Pialasse <tests@pialasse.com>  0.9-15.sme
- move post to an action event [SME: 8032]

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

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