/[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.5 - (hide annotations) (download)
Mon Nov 16 16:14:24 2020 UTC (3 years, 7 months ago) by michel
Branch: MAIN
CVS Tags: e-smith-qmail-2_6_0-5_el7_sme
Changes since 1.4: +8 -2 lines
* Sat Nov 14 2020 Michel Begue <mab974@gmail.com> 2.6.0-5.sme
- Move qmail service to systemd [SME: 11105]
- Create e-smith-qmail-update event [SME: 11152]

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

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