/[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.5 - (hide annotations) (download)
Tue Jul 19 13:23:55 2016 UTC (8 years, 3 months ago) by unnilennium
Branch: MAIN
Changes since 1.4: +8 -2 lines
* Tue Jul 19 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-6.sme
- adapt to the new color of manager for Koozali [SME: 9678]
- thanks to John Crisp for this great work.

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

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