1 |
# $Id: smeserver-vacation.spec,v 1.2 2014/12/24 09:02:26 vip-ire Exp $ |
# $Id: smeserver-vacation.spec,v 1.27 2017/01/16 21:50:15 unnilennium Exp $ |
2 |
# Authority: dungog |
# Authority: dungog |
3 |
# Name: Stephen Noble |
# Name: Stephen Noble |
4 |
|
|
5 |
%define name smeserver-vacation |
%define name smeserver-vacation |
6 |
%define version 1.1 |
%define version 1.1 |
7 |
%define release 3 |
%define release 25 |
8 |
Summary: SME Server enhancement to enable vacation messages for users. |
Summary: SME Server enhancement to enable vacation messages for users. |
9 |
Name: %{name} |
Name: %{name} |
10 |
Version: %{version} |
Version: %{version} |
15 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
16 |
Patch0: smeserver-vacation-1.1-fix_dbmopen.patch |
Patch0: smeserver-vacation-1.1-fix_dbmopen.patch |
17 |
Patch1: smeserver-vacation-1.1-multiline_matching.patch |
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 |
|
|
38 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
39 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
40 |
Requires: e-smith-release >= 7.0, |
Requires: e-smith-release >= 9.0, |
41 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
42 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
43 |
AutoReqProv: no |
AutoReqProv: no |
48 |
enable vacation for themselves and to modify their own message |
enable vacation for themselves and to modify their own message |
49 |
|
|
50 |
%changelog |
%changelog |
51 |
* Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-3.sme |
* Sun Feb 26 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-25.sme |
52 |
|
- html message autodection: swith to html when "<html" and "</html>" are present |
53 |
|
- in the content, update patch [SME: 6614] |
54 |
|
|
55 |
|
* Mon Jan 16 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-24.sme |
56 |
|
- NFR allow html message and auto detect to switch from text to html [SME: 6614] |
57 |
|
|
58 |
|
* Mon Jan 16 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-23.sme |
59 |
|
- Fix possible race condition vulnerability during creation of vacation.msg [SME: 9073] |
60 |
|
- thanks to Mats Schuh and Charlie Brady for the work. |
61 |
|
- Translation smeserver-vacation-1.1-locale-2017-01-16.patch |
62 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
63 |
|
by assuming the date is correct and changing the weekday. |
64 |
|
|
65 |
|
* Sat Jul 16 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-22.sme |
66 |
|
- Added a capital to subject : Subject [SME: 8772] |
67 |
|
|
68 |
|
* Fri Jul 15 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-21.sme |
69 |
|
- Translation patch added |
70 |
|
- Added smeserver-vacation-1.1-locale-2016-07-15.patch |
71 |
|
- Added a signature in the email body |
72 |
|
- modified smeserver-vacation-1.1.bz8772.fix.vacation.message.translation.patch |
73 |
|
|
74 |
|
* Thu Jul 14 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-19.sme |
75 |
|
- corrected the object email issue [SME: 8772] |
76 |
|
- modified smeserver-vacation-1.1.bz8772.fix.vacation.message.translation.patch |
77 |
|
|
78 |
|
* Sun Jul 10 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-17.sme |
79 |
|
- Fixed the auto enabled and disable vacation message [SME: 9661] |
80 |
|
- Added smeserver-vacation-1.1.bz9661.fix_auto_enable_disable_vacation.patch |
81 |
|
- Fixed the translation of the vacation message [SME: 8772] |
82 |
|
- Added smeserver-vacation-1.1.bz8772.fix.vacation.message.translation.patch |
83 |
|
|
84 |
|
* Wed Jul 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-15.sme |
85 |
|
- Add translation smeserver-vacation-1.1-locale-2016-07-07.patch |
86 |
|
- Add translation smeserver-vacation-1.1-locale-2016-07-06.patch |
87 |
|
- delegate the vacation messages by group permissions [SME: 9657] |
88 |
|
|
89 |
|
* Wed Jun 22 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-13.sme |
90 |
|
- Add the automated and disabling user vacations on given date in the user panel. |
91 |
|
- Add translation smeserver-vacation-1.1-locale-2016-06-21.patch |
92 |
|
|
93 |
|
* Tue Mar 08 2016 JP Pialasse <tests@pialasse.com> 1.1-12.sme |
94 |
|
- Added smeserver-vacation-1.1-locale-2016-03-08.patch |
95 |
|
|
96 |
|
* Tue Sep 29 2015 mats schuh <m.schuh@neckargeo.net> 1.1-11.sme |
97 |
|
- Added smeserver-vacation-1.1-locale-2015-09-29.patch |
98 |
|
|
99 |
|
* Wed Sep 23 2015 mats schuh <m.schuh@neckargeo.net> 1.1-10.sme |
100 |
|
- suppress the mail output from the cron job [SME: 9065] |
101 |
|
|
102 |
|
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-9.sme |
103 |
|
- Added smeserver-vacation-1.1-locale-2015-09-12.patch |
104 |
|
|
105 |
|
* Fri Sep 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-7.sme |
106 |
|
- code done by Mats Schuh <m.schuh@neckargeo.net> |
107 |
|
- Allow automated enabling and disabling of user vacations on given dates [SME: 7555] |
108 |
|
- Above functionality provided by additional db accounts entries and a cron script |
109 |
|
|
110 |
|
* Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-6.sme |
111 |
|
- Make the subject header match case insensitive (patch from Mats Schuh) [SME: 8777] |
112 |
|
|
113 |
|
* Thu Jan 8 2015 Daniel Berteaud <daniel@firewall-services.com> 1.1-5.sme |
114 |
|
- Do not localize From header (patch from Mats Schuh) [SME: 8776] |
115 |
|
|
116 |
|
* Tue Jan 6 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-4.sme |
117 |
|
- Updated instructions to use virtual sender domain for vacation message |
118 |
|
- Created by Mats Schuh m.schuh@neckargeo.net |
119 |
|
|
120 |
|
* Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-3.sme |
121 |
- Fix multiline matching [SME: 8741] |
- Fix multiline matching [SME: 8741] |
122 |
|
|
123 |
* Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-2.sme |
* Wed Dec 24 2014 Daniel Berteaud <daniel@firewall-services.com> 1.1-2.sme |
166 |
- move .qmail fragment after SME forwarding [SME: 4603] |
- move .qmail fragment after SME forwarding [SME: 4603] |
167 |
- Apply 27 August 2008 locale patch |
- Apply 27 August 2008 locale patch |
168 |
|
|
169 |
* Sat Aug 13 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-28 |
* Wed Aug 13 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-28 |
170 |
|
Sat Aug 13 2008 --> Sat Aug 09 2008 or Wed Aug 13 2008 or Sat Aug 16 2008 or .... |
171 |
- Add precedence list to ignore functions to ignore, for instance, |
- Add precedence list to ignore functions to ignore, for instance, |
172 |
mail from contribs.org mailinglists [SME: 4549] |
mail from contribs.org mailinglists [SME: 4549] |
173 |
|
|
207 |
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-16 |
* Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-16 |
208 |
- update locale 2008-03-11 |
- update locale 2008-03-11 |
209 |
|
|
210 |
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.0-15 |
* Sat Mar 08 2008 Stephen Noble <support@dungog.net> - 1.0-15 |
211 |
- prepare en lexicons for pootle translations |
- prepare en lexicons for pootle translations |
212 |
|
|
213 |
* Wed Dec 26 2007 Stephen Noble <support@dungog.net> 1.0-14 |
* Wed Dec 26 2007 Stephen Noble <support@dungog.net> 1.0-14 |
241 |
- german translation [sme 1101] |
- german translation [sme 1101] |
242 |
- [1.0-9] |
- [1.0-9] |
243 |
|
|
244 |
* Wed Apr 6 2006 Stephen Noble <support@dungog.net> |
* Thu Apr 06 2006 Stephen Noble <support@dungog.net> |
245 |
|
Wed Apr 06 2006 --> Wed Apr 05 2006 or Thu Apr 06 2006 or Wed Apr 12 2006 or .... |
246 |
- suppress description if no users [contribs 1243] |
- suppress description if no users [contribs 1243] |
247 |
- [1.0-8] |
- [1.0-8] |
248 |
|
|
249 |
* Wed Apr 6 2006 Stephen Noble <support@dungog.net> |
* Thu Apr 06 2006 Stephen Noble <support@dungog.net> |
250 |
|
Wed Apr 06 2006 --> Wed Apr 05 2006 or Thu Apr 06 2006 or Wed Apr 12 2006 or .... |
251 |
- say no users if none exist [contribs 1243] |
- say no users if none exist [contribs 1243] |
252 |
- display DomainName in email address [contribs 1242] |
- display DomainName in email address [contribs 1242] |
253 |
- [1.0-7] |
- [1.0-7] |
254 |
|
|
255 |
* Wed Apr 6 2006 Stephen Noble <support@dungog.net> |
* Thu Apr 06 2006 Stephen Noble <support@dungog.net> |
256 |
|
Wed Apr 06 2006 --> Wed Apr 05 2006 or Thu Apr 06 2006 or Wed Apr 12 2006 or .... |
257 |
- unlink .vacation.msg before writing [contribs 1192] |
- unlink .vacation.msg before writing [contribs 1192] |
258 |
- vacation doesn't respond to spam [contribs 1190] |
- vacation doesn't respond to spam [contribs 1190] |
259 |
- [1.0-6] |
- [1.0-6] |
307 |
- [0.2-3] |
- [0.2-3] |
308 |
- .vacation.db files are now deleted in the user-modify event |
- .vacation.db files are now deleted in the user-modify event |
309 |
|
|
310 |
* Tue Nov 14 2001 Daniel van Raay <danielvr@caa.org.au> |
* Wed Nov 14 2001 Daniel van Raay <danielvr@caa.org.au> |
311 |
|
Tue Nov 14 2001 --> Tue Nov 13 2001 or Wed Nov 14 2001 or Tue Nov 20 2001 or .... |
312 |
- [0.2-2] |
- [0.2-2] |
313 |
- fixed bug in vacation script that delivered multiple bounces to users |
- fixed bug in vacation script that delivered multiple bounces to users |
314 |
|
|
315 |
* Mon Sep 04 2001 Daniel van Raay <danielvr@caa.org.au> |
* Tue Sep 04 2001 Daniel van Raay <danielvr@caa.org.au> |
316 |
- [0.2-1] |
- [0.2-1] |
317 |
- added -j option to vacation command line |
- added -j option to vacation command line |
318 |
- updated for compatibility with e-smith 4.1 |
- updated for compatibility with e-smith 4.1 |
325 |
%setup |
%setup |
326 |
%patch0 -p1 |
%patch0 -p1 |
327 |
%patch1 -p1 |
%patch1 -p1 |
328 |
|
%patch2 -p1 |
329 |
|
%patch3 -p1 |
330 |
|
%patch4 -p1 |
331 |
|
%patch5 -p1 |
332 |
|
%patch6 -p1 |
333 |
|
%patch7 -p1 |
334 |
|
%patch8 -p1 |
335 |
|
%patch9 -p1 |
336 |
|
%patch10 -p1 |
337 |
|
%patch11 -p1 |
338 |
|
%patch12 -p1 |
339 |
|
%patch13 -p1 |
340 |
|
%patch14 -p1 |
341 |
|
%patch15 -p1 |
342 |
|
%patch16 -p1 |
343 |
|
%patch17 -p1 |
344 |
|
%patch18 -p1 |
345 |
|
%patch19 -p1 |
346 |
|
%patch20 -p1 |
347 |
|
|
348 |
%build |
%build |
349 |
perl createlinks |
perl createlinks |
366 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
367 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
368 |
--file '/usr/local/bin/vacation' 'attr(0755,root,root)' \ |
--file '/usr/local/bin/vacation' 'attr(0755,root,root)' \ |
369 |
|
--file '/sbin/e-smith/vacation/check_vacation_dates.sh' 'attr(0755,root,root)' \ |
370 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
371 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
372 |
|
|