/[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.7 - (show annotations) (download)
Tue Aug 19 19:58:25 2014 UTC (9 years, 9 months ago) by stephdl
Branch: MAIN
Changes since 1.6: +7 -2 lines
* Tue Aug 19 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 0.9-17
- corrected a prototype called too early [SME:8543]

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

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