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

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

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


Revision 1.2 - (show annotations) (download)
Thu Nov 28 22:35:28 2013 UTC (10 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-userpanel-0_9-12_el5_sme
Changes since 1.1: +39 -28 lines
* Thu Nov 28 2013 JP Pialasse <tests@pialasse.com>  0.9-12.sme
- NFR: logout button  [SME: 8022]
- NFR: show username [SME: 8025]
- should fix 500 error by adding action in most events [SME: 7667]
- spec file tidying

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

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