/[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.11 - (show annotations) (download)
Wed May 31 17:04:44 2017 UTC (7 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-userpanel-1_2-1_el6_sme
Changes since 1.10: +5 -2 lines
* Wed May 31 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-1.sme
- rebuild archive to fix [SME: 8026]
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
  by assuming the date is correct and changing the weekday.

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

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