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

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

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


Revision 1.8 - (hide annotations) (download)
Wed May 31 14:53:32 2017 UTC (6 years, 11 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-userpanel-1_1-8_el6_sme
Changes since 1.7: +3 -3 lines
* Tue May 30 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-8.sme
- fix bad redirection on logout or timeout [SME: 8026]

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

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