/[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.3 - (hide annotations) (download)
Wed Feb 24 03:36:24 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-userpanel-1_4-3_el7_sme
Changes since 1.2: +10 -3 lines
* Tue Feb 23 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.4-3.sme
- add -update event to avoid reboot [SME: 11079]
  also fix detection of userpassword file

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

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