/[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.10 - (hide annotations) (download)
Wed May 31 17:03:54 2017 UTC (7 years, 6 months ago) by unnilennium
Branch: MAIN
Changes since 1.9: +2 -2 lines
* Wed May 31 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-1.sme
- rebuild archive to fix [SME: 8026]

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

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