/[smeserver]/rpms/e-smith-qmail/sme10/e-smith-qmail.spec
ViewVC logotype

Annotation of /rpms/e-smith-qmail/sme10/e-smith-qmail.spec

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


Revision 1.15 - (hide annotations) (download)
Thu Dec 10 14:45:47 2020 UTC (3 years, 11 months ago) by michel
Branch: MAIN
CVS Tags: e-smith-qmail-2_6_0-12_el7_sme
Changes since 1.14: +7 -2 lines
* Thu Dec 10 2020  Michel Begue <mab974@gmail.com> 2.6.0-12.sme
- add Requires=runit.service [SME: 11245]

1 michel 1.15 # $Id: e-smith-qmail.spec,v 1.14 2020/12/07 03:53:50 jpp Exp $
2 stephdl 1.1
3     Summary: startup scripts for Dan Bernstein's qmail package
4     %define name e-smith-qmail
5     Name: %{name}
6     %define version 2.6.0
7 michel 1.15 %define release 12
8 stephdl 1.1 Version: %{version}
9     Release: %{release}%{?dist}
10     License: GPL
11     Group: Networking/Daemons
12     Source: %{name}-%{version}.tar.xz
13 vip-ire 1.2 Patch0: e-smith-qmail-2.6.0-smtpd_to_qpsmtpd.patch
14 vip-ire 1.3 Patch1: e-smith-qmail-2.6.0-exclude_from_group_email.patch
15 vip-ire 1.4 Patch2: e-smith-qmail-2.6.0-update_all_groups_alias.patch
16 michel 1.5 Patch3: e-smith-qmail-2.6.0-bz11105-systemd.patch
17 michel 1.6 Patch4: %{name}-%{version}-rc7_link-rpm_update.patch
18 jpp 1.9 Patch5: e-smith-qmail-2.6.0-bz11105-systemd2.patch
19 michel 1.15 Patch6: e-smith-qmail-2.6.0-bz11245_runit_required.patch
20 jpp 1.9
21 stephdl 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
22     BuildRequires: e-smith-devtools >= 1.13.0-04
23     BuildArchitectures: noarch
24     Requires: qmail
25     Requires: dot-forward
26     Requires: fastforward
27     Requires: runit
28     Requires: e-smith-email
29     Requires: qmail >= 1.03-17
30     Provides: e-smith-mta
31     Conflicts: runit < 1.7
32     Obsoletes: qmail-initscripts
33     Obsoletes: qmail-workaround
34     AutoReqProv: no
35    
36     %changelog
37 michel 1.15 * Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-12.sme
38     - add Requires=runit.service [SME: 11245]
39    
40 jpp 1.13 * Sun Dec 06 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme
41     - fix missing actions for systemd on upgrade event [SME: 11105]
42     cleanup preset file
43    
44 jpp 1.12 * Fri Dec 04 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme
45     - remove qmail link in init.d and whole rc.d [SME: 11105]
46     take 3
47    
48 jpp 1.9 * Fri Dec 04 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme
49 jpp 1.8 - remove qmail link in init.d [SME: 11105]
50    
51 jpp 1.7 * Thu Dec 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme
52     - execute systemd-reload before service adjust in events [SME: 11228]
53     - remove S95reset-unsavedflag [SME: 11229]
54    
55 michel 1.6 * Thu Nov 19 2020 Michel Begue <mab974@gmail.com> 2.6.0-6.sme
56     - remove rc7.d link [SME: 11105]
57     - fix actions in e-smith-qmail-update [SME: 11152]
58    
59 michel 1.5 * Sat Nov 14 2020 Michel Begue <mab974@gmail.com> 2.6.0-5.sme
60     - Move qmail service to systemd [SME: 11105]
61     - Create e-smith-qmail-update event [SME: 11152]
62    
63 vip-ire 1.4 * Thu Jul 20 2017 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme
64     - Update aliases files for every groups passed as argument [SME: 10386]
65    
66 vip-ire 1.3 * Tue May 31 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme
67     - Add possibility to exclude users or members of other groups from group
68     email address [SME: 9523]
69    
70 vip-ire 1.2 * Fri Apr 22 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme
71     - Merge smtpd entry into qpsmtpd, same for ssmtpd into sqpsmtpd [SME: 9478]
72    
73 stephdl 1.1 * Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme
74     - Initial release to sme10
75    
76     * Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme
77     - Simplify qmail concurrency templates [SME: 7750]
78    
79     * Thu May 23 2013 chris burnat <devlist@burnat.com> 2.4.0-5.sme
80     - Modify domain style pseudonym pointing to user with dot in name, by Filippo Carletti [SME: 7614]
81    
82     * Wed May 15 2013 chris burnat <devlist@burnat.com> 2.4.0-4.sme
83     - Reverse change in Template Qmail MaxMessageSize [SME: 7393]
84    
85     * Fri May 03 2013 chris burnat <devlist@burnat.com> 2.4.0-3.sme
86     - Reverse Allow groups with dots [SME 6694] and modify domain style pseudonyms to point to the correct user, by Filippo Carletti [SME: 7572]
87    
88     * Thu Feb 21 2013 Ian Wells <esmith@wellsi.com> 2.4.0-2.sme
89     - Template Qmail MaxMessageSize [SME: 7393]
90    
91     * Wed Feb 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme
92     - Roll new stream for sme9
93    
94     * Sun Jan 15 2012 Ian Wells <esmith@wellsi.com> 2.2.0-6.sme
95     - Allow groups with dots, by Filippo Carletti [SME: 6694]
96    
97     * Thu Oct 14 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-5.sme
98     - Read number of log files to keep from the DB [SME: 5855]
99    
100     * Sat Sep 05 2009 Gavin Weight <gweight@gmail.com> 2.2.0-4
101     - SMTPSmartHost template incorrectly uses brackets to avoid MX lookups. [SME: 5456]
102    
103     * Mon May 18 2009 Gavin Weight <gweight@gmail.com> 2.2.0-3
104     - smtproutes template incorrectly uses brackets to avoid MX lookups. [SME: 5257]
105    
106     * Tue May 12 2009 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-2
107     - Remove qmail-workaround and obsolete it after patch to treat 0.0.0.0 as a
108     local ip [SME: 5171]
109    
110     * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
111     - Roll new stream to separate sme7/sme8 trees [SME: 4633]
112    
113     * Wed Apr 2 2008 Shad L. Lords <slords@mail.com> 1.10.0-16
114     - Create tcpto lockfile in run script [SME: 3055]
115    
116     * Wed Jan 09 2008 Stephen Noble <support@dungog.net> 1.10.0-15
117     - Domain catchall Redirection to Account [SME:1922]
118    
119     * Thu Sep 6 2007 Charlie Brady <charlie_brady@mitel.com>
120     - Apply a code tidyup patch from Gordon. [SME: 871]
121    
122     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
123     - Clean up spec so package can be built by koji/plague
124    
125     * Fri Apr 06 2007 Shad L. Lords <slords@mail.com> 1.10.0-13
126     - Change ownership/perms on /var/qmail/alias directory [SME: 2709]
127    
128     * Thu Feb 15 2007 Charlie Brady <charlie_brady@mitel.com>
129     - Use sv rather than deprecated runsvctrl in ip-up script. [SME: 2486]
130    
131     * Mon Jan 22 2007 Shad L. Lords <slords@mail.com> 1.10.0-11
132     - Allow admin user to be configured via users panel. [SME: 827]
133    
134     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
135     - Update to new release naming. No functional changes.
136     - Make Packager generic
137    
138     * Fri Aug 25 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-10
139     - Force creation of junkmail folder as some users like to delete
140     it [SME: 1130]
141    
142     * Mon Aug 14 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-09
143     - Allow optional EveryoneEmail property of user and 'admin' accounts
144     If set to 'no', do not include this user in the shared/everyone
145     email alias [SME: 1842]
146    
147     * Thu Aug 3 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-08
148     - Allow optional $smtpd{HeloHost} value for configuring HELO host,
149     defaulting to $DomainName [SME: 1790]
150    
151     * Thu Jun 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-07
152     - Default qmail{MaxMessageSize} to 15,000,000 bytes [SME: 1624]
153    
154     * Mon May 15 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-06
155     - Bump version only [SME: 1415]
156    
157     * Wed May 10 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-05sme01
158     - Allow optional MailServer property of domains db records and
159     deliver mail in this order of preference:
160     - As per the MailServer property of the domain
161     - $DelegateMailServer
162     - localhost (i.e. locally)
163     NOTE:
164     - If DelegateMailServer is not set, the users must exist on the
165     gateway or mail will be rejected
166     - If DelegateMailServer is set, all mail for the domain will be
167     forwarded to the relevant internal mail server [SME: 1253]
168    
169     * Wed May 10 2006 Gordon Rowell <gordonr@gormand.com.au> 1.10.0-04sme01
170     - Remove virtualdomains entries for hosts db entries. We only
171     handle mail for domains without customisation [SME: 1415]
172    
173     * Sat Apr 8 2006 Charlie Brady <charlie_brady@mitel.com> 1.10.0-03
174     - Update group .qmail files when deleting/modifying users. [SME: 1200]
175    
176     * Thu Mar 23 2006 Charlie Brady <charlie_brady@mitel.com> 1.10.0-02
177     - Use shared library to block 0.0.0.0 MX mail loops. [SME: 1116]
178    
179     * Tue Mar 14 2006 Charlie Brady <charlie_brady@mitel.com> 1.10.0-01
180     - Roll stable stream version. [SME: 1016]
181    
182     * Fri Mar 03 2006 Charlie Brady <charlie_brady@mitel.com> 1.9.1-05
183     - Add ~alias/.qmail-shared-default symlink. [SME: 764]
184    
185     * Thu Feb 16 2006 Charlie Brady <charlieb@e-smith.com> 1.9.1-04
186     - Fix migration when AdminEmail is not set. [SME: 818]
187    
188     * Thu Feb 16 2006 Charlie Brady <charlieb@e-smith.com> 1.9.1-03
189     - Use standard user .qmail template for admin user. Migrate
190     AdminEmail setting to $admin{ForwardAddress}. [SME: 818]
191    
192     * Tue Jan 24 2006 Charlie Brady <charlieb@e-smith.com> 1.9.1-02
193     - Fix duplicate symlink creation attempt in bootstrap-console-save
194     directory (during RPM build). [SME: 555]
195    
196     * Wed Jan 11 2006 Gordon Rowell <gordonr@gormand.com.au> 1.9.1-01
197     - Roll patches to 1.9.0-16
198     - Change ~alias/.qmail{default,localdelivery-default,shared} into
199     directory templates [SME: 440]
200    
201     * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.9.0-16
202     - Bump release number only
203    
204     * Tue Nov 22 2005 Charlie Brady <charlieb@e-smith.com>
205     - [1.9.0-15]
206     - Fix broken symlink in group-delete event. Delete -default .qmail file
207     when deleting group. [SF: 1363973]
208    
209     * Tue Nov 1 2005 Charlie Brady <charlieb@e-smith.com>
210     - [1.9.0-14]
211     - Improve /var/qmail/users/assign/70pseudonyms error handling. [SF: 1337029]
212     - Fix error text from 60users template fragment. [SF: 1345206]
213    
214     * Fri Oct 21 2005 Gordon Rowell <gordonr@e-smith.com>
215     - [1.9.0-13]
216     - Add quotes around 'Recipient unknown' when calling bouncesaying.
217     Otherwise we're trying to call a program called 'unknown' [SF: 1334002]
218    
219     * Wed Oct 19 2005 Charlie Brady <charlieb@e-smith.com>
220     - [1.9.0-12]
221     - Ensure failsafe .qmail file if EmailForward property is not set.
222     [SF: 1330452]
223    
224     * Fri Oct 7 2005 Charlie Brady <charlieb@e-smith.com>
225     - [1.9.0-11]
226     - Expand virtualdomains in pseudonym-* events. Replace use of control/1
227     by generic actions, plus qmail-newu symlinked into event directories.
228     [SF: 1311349]
229    
230     * Mon Sep 26 2005 Gordon Rowell <gordonr@gormand.com.au>
231     - [1.9.0-10]
232     - Split up templates-user/.qmail into fragments which return
233     one or zero lines. It's much cleaner and helps with add-ons.
234     Move .qmail/20Forward -> 70Forward to leave more room for
235     add-ons [SF: 1252336]
236     - Minor fixups - thanks Stephen Noble [SF: 1252336]
237     - TODO: Remove the 10Filter stuff and migrate
238     qmail{DeliveryInstruction} and qmail{DeliveryType}
239    
240     * Mon Sep 19 2005 Gordon Rowell <gordonr@e-smith.com>
241     - [1.9.0-09]
242     - Correct /var/qmail/users/assign/50system fragment so that
243     mail for system accounts is delivered to admin [SF: 1284311]
244    
245     * Tue Sep 13 2005 Gordon Rowell <gordonr@gormand.com.au>
246     - [1.9.0-08]
247     - Add extension address handling for pseudonyms and groups.
248     [SF: 1286823]
249    
250     * Mon Aug 22 2005 Charlie Brady <charlieb@e-smith.com>
251     - [1.9.0-07]
252     - Make correct /service symlink, so that a runit finds the
253     run files. [SF: 1264668]
254    
255     * Wed Aug 10 2005 Shad Lords <slords@mail.com>
256     - [1.9.0-06]
257     - Add empty template-begin header for users/assign
258     - Add requires for e-smith-email
259     - Add provides e-smith-mta
260    
261     * Tue Aug 9 2005 Charlie Brady <charlieb@e-smith.com>
262     - [1.9.0-05]
263     - Add in all qmail specific code from e-smith-email. [SF: 1255261]
264    
265     * Wed Dec 29 2004 Charlie Brady <charlieb@e-smith.com>
266     - [1.9.0-04]
267     - Remove dangling conf-migrate-* symlink [charlieb MN00062545]
268    
269     * Tue Dec 28 2004 Charlie Brady <charlieb@e-smith.com>
270     - [1.9.0-03]
271     - Remove no longer needed conf-migrate-* action [charlieb MN00062545]
272     - Replace deprecated Copyright header with License header.
273    
274     * Thu Feb 12 2004 Michael Soulier <msoulier@e-smith.com>
275     - [1.9.0-02]
276     - Updating with esmith::Build::CreateLinks, and the new genfilelist options.
277     - Yanked migrate-qmail-logfiles, as it was causing problems.
278     [msoulier dpar-20522]
279    
280     * Fri Feb 6 2004 Michael Soulier <msoulier@e-smith.com>
281     - [1.9.0-01]
282     - rolling to dev - 1.9.0
283    
284     * Thu Aug 28 2003 Michael Soulier <msoulier@e-smith.com>
285     - [1.8.0-02]
286     - Adding K* init symlinks in runlevels 0, 1 and 6. [msoulier 9761]
287    
288     * Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com>
289     - [1.8.0-01]
290     - Changing version to stable stream number - 1.8.0
291    
292     * Wed Nov 6 2002 Charlie Brady <charlieb@e-smith.com>
293     - [1.7.0-01]
294     - Rolling development stream version to 1.7.0
295    
296     * Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com>
297     - [1.6.0-01]
298     - Roll to maintained version number to 1.6.0
299    
300     * Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com>
301     - [1.6.0-01]
302     - Roll to maintained version number to 1.6.0
303    
304     * Wed Aug 21 2002 Charlie Brady <charlieb@e-smith.com>
305     - [1.5.1-01]
306     - Remove bogus e-smith-base dependency, which shows as an unmet
307     dependency on our workstations.
308     - Add rc7.d symlink [charlieb 4458]
309    
310     * Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com>
311     - [1.5.0-01]
312     - Changing version to development stream number to 1.5.0
313    
314     * Fri May 31 2002 Charlie Brady <charlieb@e-smith.com>
315     - [1.4.0-01]
316     - Changing version to maintained stream number to 1.4.0
317    
318     * Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com>
319     - [1.3.9-01]
320     - RPM rebuild forced by cvsroot2rpm
321    
322     * Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com>
323     - [1.3.8-01]
324     - testing co2rpm --force
325    
326     * Thu May 23 2002 Charlie Brady <charlieb@e-smith.com>
327     - [1.3.7-01]
328     - Remove world read and execute permission from qmail log directory.
329    
330     * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
331     - [1.3.6-01]
332     - /supervise/qmail -> /service/qmail [gordonr 3044]
333    
334     * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
335     - [1.3.5-01]
336     - Added /bin, /usr/bin and /usr/local/bin to qmail's path [gordonr 3044]
337    
338     * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
339     - [1.3.4-01]
340     - And create /var/log/qmail [gordonr 3044]
341    
342     * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
343     - [1.3.3-01]
344     - And create directory for pipes to be written to [gordonr 3044]
345    
346     * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
347     - [1.3.2-01]
348     - Created pipes, symlinks and empty files in SPEC file [gordonr 3044]
349    
350     * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
351     - [1.3.1-01]
352     - Initial CVS import
353    
354     * Thu Apr 18 2002 Gordon Rowell <gordonr@e-smith.com>
355     - [1.3.0-01]
356     - rollRPM: Rolled version number to 1.3.0-01. Includes patches up to 1.2.0-02.
357    
358     * Fri Aug 17 2001 gordonr
359     - [1.2.0-02]
360     - Autorebuild by rebuildRPM
361    
362     * Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com>
363     - [1.2.0-01]
364     - Rolled version number to 1.2.0-01. Includes patches upto 1.1.0-04.
365    
366     * Tue May 1 2001 Peter Samuel <peters@e-smith.com>
367     - [1.1.0-04]
368     - added /var/log/qmail to filelist
369    
370     * Tue May 1 2001 Peter Samuel <peters@e-smith.com>
371     - [1.1.0-03]
372     - added migrate-qmail-logfiles action to post-upgrade
373    
374     * Mon Apr 30 2001 Peter Samuel <peters@e-smith.com>
375     - [1.1.0-02]
376     - added conf-migrate-qmail-variables actions to migrate qmail.init
377     configuration variable to qmail
378     - added e-smith header to files
379    
380     * Mon Apr 30 2001 Peter Samuel <peters@e-smith.com>
381     - [1.1.0-01]
382     - initial release
383    
384     %description
385     Startup scripts for Dan Bernstein's qmail package.
386    
387     %prep
388     %setup
389 vip-ire 1.2 %patch0 -p1
390 vip-ire 1.3 %patch1 -p1
391 vip-ire 1.4 %patch2 -p1
392 michel 1.5 %patch3 -p1
393 michel 1.6 %patch4 -p1
394 jpp 1.9 %patch5 -p1
395 michel 1.15 %patch6 -p1
396 jpp 1.11 rm -rf root/etc/rc.d
397 jpp 1.14 rm -rf root/usr/lib/systemd/system-preset
398 stephdl 1.1
399     %build
400     perl createlinks
401    
402     %install
403     rm -rf $RPM_BUILD_ROOT
404     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
405     rm -f %{name}-%{version}-%{release}-filelist
406     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
407     --dir '/var/service/qmail' 'attr(1755,root,root)' \
408     --file '/var/service/qmail/down' 'attr(0644,root,root)' \
409     --file '/var/service/qmail/run' 'attr(0755,root,root)' \
410     --file '/var/service/qmail/control/1' 'attr(0750,root,root)' \
411     --dir '/var/service/qmail/supervise' 'attr(0700,root,root)' \
412     --dir '/var/service/qmail/log' 'attr(0755,root,root)' \
413     --file '/var/service/qmail/log/run' 'attr(0755,root,root)' \
414     --dir '/var/service/qmail/log/supervise' 'attr(0700,root,root)' \
415     --dir '/var/log/qmail' 'attr(2750,qmaill,nofiles)' \
416     --dir '/var/qmail/alias' 'attr(2755,alias,qmail)' \
417     > %{name}-%{version}-%{release}-filelist
418     echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
419    
420     %clean
421     rm -rf $RPM_BUILD_ROOT
422    
423     %pre
424     %preun
425     %post
426     %postun
427    
428     %files -f %{name}-%{version}-%{release}-filelist
429     %defattr(-,root,root)

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