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

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

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


Revision 1.9 - (hide annotations) (download)
Fri Aug 22 15:00:34 2014 UTC (9 years, 9 months ago) by stephdl
Branch: MAIN
Changes since 1.8: +2 -2 lines
added the good reference to the bug in spec file

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

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