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

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

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


Revision 1.2 - (show annotations) (download)
Sat Aug 22 20:34:24 2015 UTC (8 years, 9 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-userpanel-1_1-3_el6_sme
Changes since 1.1: +1 -4 lines
spec corrected

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

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