/[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.8 - (hide annotations) (download)
Fri Dec 4 05:58:38 2020 UTC (3 years, 6 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-qmail-2_6_0-8_el7_sme
Changes since 1.7: +5 -2 lines
* Fri Dec 04 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme
- remove qmail link in init.d [SME: 11105]

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

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