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

Annotation of /rpms/smeserver-vacation/contribs10/smeserver-vacation.spec

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


Revision 1.3 - (hide annotations) (download)
Tue May 19 14:34:51 2020 UTC (4 years, 5 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-vacation-1_1-28_el7_sme
Changes since 1.2: +7 -2 lines
* Tue May 19 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-28.sme
- Part of SME10 Server manager2  - Better display of dates in list [SME:10927 ]

1 brianr 1.3 # $Id: smeserver-vacation.spec,v 1.2 2020/05/18 15:54:31 brianr Exp $
2 brianr 1.1 # Authority: dungog
3     # Name: Stephen Noble
4    
5     %define name smeserver-vacation
6     %define version 1.1
7 brianr 1.3 %define release 28
8 brianr 1.1 Summary: SME Server enhancement to enable vacation messages for users.
9     Name: %{name}
10     Version: %{version}
11     Release: %{release}%{?dist}
12     License: GNU GPL version 2
13     URL: http://www.dungog.net/sme
14     Group: SMEserver/addon
15     Source: %{name}-%{version}.tar.xz
16     Patch0: smeserver-vacation-1.1-fix_dbmopen.patch
17     Patch1: smeserver-vacation-1.1-multiline_matching.patch
18     Patch2: smeserver-vacation-1.1-explain_better_virtual_sender_domain.patch
19     Patch3: smeserver-vacation-1.1-do_not_localize_from_header.patch
20     Patch4: smeserver-vacation-1.1-subject_match_case_insensitive.patch
21     Patch5: smeserver-vacation-1.1-auto_enable_disable_vacation.patch
22     Patch6: smeserver-vacation-1.1-locale-2015-09-12.patch
23     Patch7: smeserver-vacation-1.1-suppress_cron_mail.patch
24     Patch8: smeserver-vacation-1.1-locale-2015-09-29.patch
25     Patch9: smeserver-vacation-1.1-locale-2016-03-08.patch
26     Patch10: smeserver-vacation-1.1.auto_enable_disable_vacation_userpanel.patch
27     Patch11: smeserver-vacation-1.1-locale-2016-06-21.patch
28     Patch12: smeserver-vacation-1.1.delegate_vacation_message_by_groups.patch
29     Patch13: smeserver-vacation-1.1-locale-2016-07-06.patch
30     Patch14: smeserver-vacation-1.1-locale-2016-07-07.patch
31     Patch15: smeserver-vacation-1.1.bz9661.fix_auto_enable_disable_vacation.patch
32     Patch16: smeserver-vacation-1.1.bz8772.fix.vacation.message.translation.patch
33     Patch17: smeserver-vacation-1.1-locale-2016-07-15.patch
34     Patch18: smeserver-vacation-1.1-bz9073-race.condition.vulnarability.patch
35     Patch19: smeserver-vacation-1.1-locale-2017-01-16.patch
36     Patch20: smeserver-vacation-1.1-bz6614-autodetect.html.patch
37     Patch21: smeserver-vacation-1.1-locale-2018-12-14.patch
38 brianr 1.2 Patch22: smeserver-vacation-1.1-SME10-Move-to-manager2.patch
39 brianr 1.3 Patch23: smeserver-vacation-1.1-Better-display-dates-in-list.patch
40 brianr 1.1
41     BuildArchitectures: noarch
42     BuildRoot: /var/tmp/%{name}-%{version}
43     Requires: e-smith-release >= 9.0,
44     Requires: e-smith-formmagick >= 1.4.0-12
45     BuildRequires: e-smith-devtools >= 1.13.1-03
46     AutoReqProv: no
47    
48     %description
49     SME Server enhancement to enable vacation messages for users.
50     Optionally provides a user-manager panel where users can
51     enable vacation for themselves and to modify their own message
52    
53     %changelog
54 brianr 1.3 * Tue May 19 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-28.sme
55     - Part of SME10 Server manager2 - Better display of dates in list [SME:10927 ]
56    
57 brianr 1.2 * Tue Apr 28 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-27.sme
58     - Update to SME10 - rework server manager panels to use manager2 [SME:10927]
59    
60 brianr 1.1 * Fri Dec 14 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 1.1-26.sme
61     - apply locale 2018-12-14 patch
62    
63     * Sun Feb 26 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-25.sme
64     - html message autodection: swith to html when "<html" and "</html>" are present
65     - in the content, update patch [SME: 6614]
66    
67     * Mon Jan 16 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-24.sme
68     - NFR allow html message and auto detect to switch from text to html [SME: 6614]
69    
70     * Mon Jan 16 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-23.sme
71     - Fix possible race condition vulnerability during creation of vacation.msg [SME: 9073]
72     - thanks to Mats Schuh and Charlie Brady for the work.
73     - Translation smeserver-vacation-1.1-locale-2017-01-16.patch
74     - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
75     by assuming the date is correct and changing the weekday.
76    
77     * Sat Jul 16 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-22.sme
78     - Added a capital to subject : Subject [SME: 8772]
79    
80     * Fri Jul 15 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-21.sme
81     - Translation patch added
82     - Added smeserver-vacation-1.1-locale-2016-07-15.patch
83     - Added a signature in the email body
84     - modified smeserver-vacation-1.1.bz8772.fix.vacation.message.translation.patch
85    
86     * Thu Jul 14 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-19.sme
87     - corrected the object email issue [SME: 8772]
88     - modified smeserver-vacation-1.1.bz8772.fix.vacation.message.translation.patch
89    
90     * Sun Jul 10 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-17.sme
91     - Fixed the auto enabled and disable vacation message [SME: 9661]
92     - Added smeserver-vacation-1.1.bz9661.fix_auto_enable_disable_vacation.patch
93     - Fixed the translation of the vacation message [SME: 8772]
94     - Added smeserver-vacation-1.1.bz8772.fix.vacation.message.translation.patch
95    
96     * Wed Jul 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-15.sme
97     - Add translation smeserver-vacation-1.1-locale-2016-07-07.patch
98     - Add translation smeserver-vacation-1.1-locale-2016-07-06.patch
99     - delegate the vacation messages by group permissions [SME: 9657]
100    
101     * Wed Jun 22 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-13.sme
102     - Add the automated and disabling user vacations on given date in the user panel.
103     - Add translation smeserver-vacation-1.1-locale-2016-06-21.patch
104    
105     * Tue Mar 08 2016 JP Pialasse <tests@pialasse.com> 1.1-12.sme
106     - Added smeserver-vacation-1.1-locale-2016-03-08.patch
107    
108     * Tue Sep 29 2015 mats schuh <m.schuh@neckargeo.net> 1.1-11.sme
109     - Added smeserver-vacation-1.1-locale-2015-09-29.patch
110    
111     * Wed Sep 23 2015 mats schuh <m.schuh@neckargeo.net> 1.1-10.sme
112     - suppress the mail output from the cron job [SME: 9065]
113    
114     * Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-9.sme
115     - Added smeserver-vacation-1.1-locale-2015-09-12.patch
116    
117     * Fri Sep 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-7.sme
118     - code done by Mats Schuh <m.schuh@neckargeo.net>
119     - Allow automated enabling and disabling of user vacations on given dates [SME: 7555]
120     - Above functionality provided by additional db accounts entries and a cron script
121    
122     * Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-6.sme
123     - Make the subject header match case insensitive (patch from Mats Schuh) [SME: 8777]
124    
125     * Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-5.sme
126     - Do not localize From header (patch from Mats Schuh) [SME: 8776]
127    
128     * Tue Jan 6 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-4.sme
129     - Updated instructions to use virtual sender domain for vacation message
130     - Created by Mats Schuh m.schuh@neckargeo.net
131    
132     * Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-3.sme
133     - Fix multiline matching [SME: 8741]
134    
135     * Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-2.sme
136     - Fix dbmopen by specifying the dbm module to use (DB_File) [SME: 8741]
137    
138     * Wed Nov 13 2013 Daniel Berteaud <daniel@firewall-services.com> 1.1-1.sme
139     - Rebuild for SME9
140    
141     * Mon Jul 15 2013 JP Pialasse <tests@pialasse.com> 1.0-41.sme
142     - apply locale 2013-07-15 patch
143    
144     * Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.0-40.sme
145     - apply locale 2011-03-06 patch
146    
147     * Sun May 23 2010 SME Translation Server <translations@contribs.org> 1.0-39.sme
148     - apply locale 2010-05-23 patch
149    
150     * Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 1.0-38.sme
151     - apply locale 2009-10-27 patch
152    
153     * Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 1.0-37.sme
154     - apply locale 2009-08-24 patch
155    
156     * Thu Jun 11 2009 Stephen Noble <support@dungog.net> - 1.0-36
157     - send vacation mail in utf8 [SME 4389]
158    
159     * Sat Jun 06 2009 Stephen Noble <support@dungog.net> - 1.0-35
160     - cp .qmail fragment before SME filtering with filterorder prop [SME: 5327]
161    
162     * Wed May 20 2009 SME Translation Server <translations@contribs.org> 1.0-34.sme
163     - apply locale 2009-05-20 patch
164    
165     * Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.0-33.sme
166     - apply locale 2009-04-27 patch
167    
168     * Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-32
169     - Apply 1 Mar 2009 locale patch [SME: 5018]
170    
171     * Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-31
172     - Apply 1 Jan 2009 locale patch [SME: 4900]
173    
174     * Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-30
175     - Apply 14 Oct 2008 locale patch
176    
177     * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.0-29
178     - move .qmail fragment after SME forwarding [SME: 4603]
179     - Apply 27 August 2008 locale patch
180    
181     * Wed Aug 13 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-28
182     Sat Aug 13 2008 --> Sat Aug 09 2008 or Wed Aug 13 2008 or Sat Aug 16 2008 or ....
183     - Add precedence list to ignore functions to ignore, for instance,
184     mail from contribs.org mailinglists [SME: 4549]
185    
186     * Tue Aug 12 2008 Gavin Weight <gweight@gmail.com> 1.0-27
187     - Fix Locale to read vacation panel correctly. [SME: 4311]
188    
189     * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-26
190     - Apply 1 July 2008 locale patch
191    
192     * Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-25
193     - Apply 5 May 2008 locale patch
194    
195     * Mon Apr 28 2008 Shad L. Lords <slords@mail.com> 1.0-24
196     - Convert dos line endings to unix
197    
198     * Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-23
199     - Add common <base> tags to e-smith-formmagick's general
200    
201     * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-22
202     - Apply 22 April 2008 locale patch
203    
204     * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0-21
205     - Update to UTF-8 translations
206    
207     * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-20
208     - update locale 2008-03-14, removed -13
209    
210     * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-19
211     - update locale 2008-03-13
212    
213     * Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 1.0-18
214     - Add requires for e-smith-formmagick for UTF-8 support [SME: 3858]
215    
216     * Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-17
217     - remove dud es patch
218    
219     * Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-16
220     - update locale 2008-03-11
221    
222     * Sat Mar 08 2008 Stephen Noble <support@dungog.net> - 1.0-15
223     - prepare en lexicons for pootle translations
224    
225     * Wed Dec 26 2007 Stephen Noble <support@dungog.net> 1.0-14
226     - fix spanish translation
227    
228     * Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.0-13
229     - add spanish translation, thanks Normando Hall [SME 3503]
230    
231     * Thu Jun 14 2007 Stephen Noble <support@dungog.net>
232     - apply updates up to -11
233    
234     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
235     - Clean up spec so package can be built by koji/plague
236    
237     * Fri Dec 29 2006 Stephen Noble <support@dungog.net>
238     - display Vacation status correctly on modify page in server-manager [sme 2200]
239     - [1.0-11]
240    
241     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
242     - Update to new release naming. No functional changes.
243     - Make Packager generic
244    
245     * Mon Oct 30 2006 Stephen Noble <support@dungog.net>
246     - display description unshaded *
247     - german lexicon fix
248     - cosmetic log error fixed [sme 1992]
249     - [1.0-10]
250    
251     * Thu Aug 24 2006 Stephen Noble <support@dungog.net>
252     - now finds corrects vacation text when used under userpanel.
253     - german translation [sme 1101]
254     - [1.0-9]
255    
256     * Thu Apr 06 2006 Stephen Noble <support@dungog.net>
257     Wed Apr 06 2006 --> Wed Apr 05 2006 or Thu Apr 06 2006 or Wed Apr 12 2006 or ....
258     - suppress description if no users [contribs 1243]
259     - [1.0-8]
260    
261     * Thu Apr 06 2006 Stephen Noble <support@dungog.net>
262     Wed Apr 06 2006 --> Wed Apr 05 2006 or Thu Apr 06 2006 or Wed Apr 12 2006 or ....
263     - say no users if none exist [contribs 1243]
264     - display DomainName in email address [contribs 1242]
265     - [1.0-7]
266    
267     * Thu Apr 06 2006 Stephen Noble <support@dungog.net>
268     Wed Apr 06 2006 --> Wed Apr 05 2006 or Thu Apr 06 2006 or Wed Apr 12 2006 or ....
269     - unlink .vacation.msg before writing [contribs 1192]
270     - vacation doesn't respond to spam [contribs 1190]
271     - [1.0-6]
272    
273     * Sat Mar 25 2006 Stephen Noble <support@dungog.net>
274     - updated lexicons
275     - removed event
276     - [1.0-5]
277    
278     * Fri Mar 24 2006 Stephen Noble <support@dungog.net>
279     - Change the interval between repeat replies to the same sender
280     - config setprop qmail VacationDelay -t3d, man vacation
281     - reset vacationDB when setting status to no
282     - modified to, Subject: Re: $SUBJECT - Away from my email
283     - updated fr lexicon
284     - [1.0-4]
285    
286     * Wed Mar 22 2006 Stephen Noble <support@dungog.net>
287     - updated lexicons
288     - [1.0-3]
289    
290     * Wed Mar 22 2006 Stephen Noble <support@dungog.net>
291     - fr lexicon
292     - expand ~/.qmail on uninstall
293     - [1.0-2]
294    
295     * Mon Mar 20 2006 Stephen Noble <support@dungog.net>
296     - FormMagick version
297     - [1.0-1]
298    
299     * Mon Dec 12 2005 Stephen Noble <support@dungog.net>
300     - Strip out DOS Carriage Returns (CR)
301     - thanks to mike sensney
302     - [0.9-2]
303    
304     * Sat Sep 03 2005 Stephen Noble <support@dungog.net>
305     - renamed smeserver-vacation,
306     - contains vacation & userpanel-vacation
307     - [0.9-1]
308    
309     * Sat Sep 03 2005 David Beveridge <davidb@nass.com.au>
310     - [0.3-2]
311     - upgrade to work with AccountsDB on SME 7.0
312    
313     * Mon Dec 31 2001 Daniel van Raay <danielvr@caa.org.au>
314     - [0.2-4]
315     - Added generated 'From:' lines to default reply message
316     - Minor cosmetic cleaning
317    
318     * Fri Nov 23 2001 Daniel van Raay <danielvr@caa.org.au>
319     - [0.2-3]
320     - .vacation.db files are now deleted in the user-modify event
321    
322     * Wed Nov 14 2001 Daniel van Raay <danielvr@caa.org.au>
323     Tue Nov 14 2001 --> Tue Nov 13 2001 or Wed Nov 14 2001 or Tue Nov 20 2001 or ....
324     - [0.2-2]
325     - fixed bug in vacation script that delivered multiple bounces to users
326    
327     * Tue Sep 04 2001 Daniel van Raay <danielvr@caa.org.au>
328     - [0.2-1]
329     - added -j option to vacation command line
330     - updated for compatibility with e-smith 4.1
331    
332     * Wed Dec 27 2000 Daniel van Raay <danielvr@caa.org.au>
333     - [0.1-1]
334     - initial release
335    
336     %prep
337     %setup
338     %patch0 -p1
339     %patch1 -p1
340     %patch2 -p1
341     %patch3 -p1
342     %patch4 -p1
343     %patch5 -p1
344     %patch6 -p1
345     %patch7 -p1
346     %patch8 -p1
347     %patch9 -p1
348     %patch10 -p1
349     %patch11 -p1
350     %patch12 -p1
351     %patch13 -p1
352     %patch14 -p1
353     %patch15 -p1
354     %patch16 -p1
355     %patch17 -p1
356     %patch18 -p1
357     %patch19 -p1
358     %patch20 -p1
359     %patch21 -p1
360 brianr 1.2 %patch22 -p1
361 brianr 1.3 %patch23 -p1
362 brianr 1.2
363 brianr 1.1
364     %build
365     perl createlinks
366    
367     LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
368     for lexicon in $LEXICONS
369     do
370     /sbin/e-smith/validate-lexicon $lexicon
371     done
372    
373     LINKS=$(find root/etc/e-smith/locale/ -type d -maxdepth 1 | sed 's/root\/etc\/e-smith\/locale\///')
374     for link in $LINKS
375     do
376     /bin/ln -s uservacations root/etc/e-smith/locale/$link/etc/e-smith/web/functions/userpanel-vacation
377     done
378    
379     %install
380     rm -rf $RPM_BUILD_ROOT
381     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
382     rm -f %{name}-%{version}-filelist
383     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
384     --file '/usr/local/bin/vacation' 'attr(0755,root,root)' \
385     --file '/sbin/e-smith/vacation/check_vacation_dates.sh' 'attr(0755,root,root)' \
386     > %{name}-%{version}-filelist
387     echo "%doc COPYING" >> %{name}-%{version}-filelist
388    
389     %clean
390     rm -rf $RPM_BUILD_ROOT
391    
392     %pre
393     %preun
394    
395     %post
396     if [ -d /etc/e-smith/events/conf-userpanel ] ; then
397     /sbin/e-smith/signal-event conf-userpanel
398     fi
399    
400     %postun
401     #uninstall
402     if [ $1 = 0 ] ; then
403    
404     DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"`
405     for db in $DBS ; do
406     /sbin/e-smith/db $db delete userpanel-vacation 2>/dev/null
407     /sbin/e-smith/db $db delete uservacations 2>/dev/null
408     done
409    
410     #need to expand ~/.qmail for users who are still enabled
411     /etc/e-smith/events/actions/qmail-update-user
412    
413     fi
414    
415    
416     %files -f %{name}-%{version}-filelist
417     %defattr(-,root,root)

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