/[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.4 - (hide annotations) (download)
Thu Jul 20 15:55:25 2017 UTC (7 years, 4 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-qmail-2_6_0-4_el7_sme
Changes since 1.3: +7 -2 lines
* Thu Jul 20 2017 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme
- Update aliases files for every groups passed as argument [SME: 10386]

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

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