/[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.7 - (hide annotations) (download)
Fri Dec 4 03:23:13 2020 UTC (3 years, 11 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-qmail-2_6_0-7_el7_sme
Changes since 1.6: +6 -2 lines
* Thu Dec 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme
- execute systemd-reload before service adjust in events [SME: 11228]
- remove S95reset-unsavedflag [SME: 11229]

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

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