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

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

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


Revision 1.5 - (show annotations) (download)
Mon Aug 1 19:31:14 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
Changes since 1.4: +4 -1 lines
* Mon Aug 01 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.4-4.sme
- update to httpd 2.4 access syntax [SME: 12064]
  thanks to Vasarhelyi Zsolt
- fix call to svc in place of systemctl [SME: 11390]

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

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