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

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

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


Revision 1.1 - (hide annotations) (download)
Wed Nov 4 16:01:56 2020 UTC (4 years ago) by michel
Branch: MAIN
CVS Tags: smeserver-userpanel-1_4-1_el7_sme
make: « clog » est à jour.

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

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