/[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.6 - (hide annotations) (download)
Thu Nov 19 07:29:45 2020 UTC (3 years, 7 months ago) by michel
Branch: MAIN
CVS Tags: e-smith-qmail-2_6_0-6_el7_sme
Changes since 1.5: +8 -2 lines
* Thu Nov 19 2020 Michel Begue <mab974@gmail.com> 2.6.0-6.sme
- remove rc7.d link [SME: 11105]
- fix actions in e-smith-qmail-update [SME: 11152]

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

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