/[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.8 - (hide annotations) (download)
Tue Nov 22 19:11:22 2022 UTC (23 months, 1 week ago) by jpp
Branch: MAIN
Changes since 1.7: +6 -6 lines
* Tue Nov 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.4-5.sme
- prevent manager locking on reconfiguration [SME: 12235]

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

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