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

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

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


Revision 1.6 - (show annotations) (download)
Tue Jul 19 13:24:34 2016 UTC (7 years, 10 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-userpanel-1_1-6_el6_sme
Changes since 1.5: +3 -2 lines
* Tue Jul 19 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-6.sme
- adapt to the new color of manager for Koozali [SME: 9678]
- thanks to John Crisp for this great work.

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

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