/[smeserver]/rpms/qpsmtpd/sme8/qpsmtpd.spec
ViewVC logotype

Contents of /rpms/qpsmtpd/sme8/qpsmtpd.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Jun 12 20:46:55 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: qpsmtpd-0_32-13_el5_sme
Import on branch sme8 of package qpsmtpd-0.32-13.el5.sme.src.rpm

1 Name: qpsmtpd
2 Version: 0.32
3 Release: 13%{?dist}
4 Summary: qpsmtpd
5 License: distributable
6 Group: System Environment/Daemons
7 URL: http://smtpd.develooper.com/
8 BuildRoot: %{_tmppath}/%{name}-root
9 BuildRequires: perl >= 0:5.00503
10 BuildArchitectures: noarch
11
12 Source0: qpsmtpd-%{version}.tar.gz
13 Source1: qpsmtpd-forkserver.rc
14 Source2: qpsmtpd-forkserver.sysconfig
15
16 Source100: http://nowhere.dk/~alj/qpsmtpd/smtp-forward-new
17
18 Patch1: qpsmtpd-0.31-config.patch
19 Patch5: qpsmtpd-0.29-smtp-loginfo.patch
20 Patch6: qpsmtpd-0.29-no_brackets.patch
21 Patch100: qpsmtpd-0.32-check_badrcptto.patch
22 Patch101: qpsmtpd-0.32-DENYSOFTIfNoClamdPing.patch
23 Patch102: qpsmtpd-0.31-rhsbl.patch
24 Patch103: qpsmtpd-0.31-badhelo_DISCONNECT.patch
25 Patch104: qpsmtpd-0.31-no_response_munging.patch
26 Patch105: qpsmtpd-0.31-smtp_forward_response.patch
27 Patch106: qpsmtpd-0.31-auth_validation.patch
28 Patch107: qpsmtpd-0.31-auth_validation.patch2
29 Patch108: qpsmtpd-0.32-peerhooks.patch
30 #Patch109: qpsmtpd-0.32-net_dns.patch
31 Patch110: qpsmtpd-0.32-net_dns.patch2
32 Patch111: qpsmtpd-0.32-clamheader.patch
33 Patch112: qpsmtpd-0.32-denysoft.patch
34
35 %description
36 qpsmtpd is a flexible smtpd daemon written in Perl. Apart from the core
37 SMTP features, all functionality is implemented in small "extension
38 plugins" using the easy to use object oriented plugin API.
39
40 qpsmtpd was originally written as a drop-in qmail-smtpd replacement, but
41 now it also includes a smtp forward and a postfix "backend".
42
43 %package apache
44 Summary: mod_perl-2 connection handler for qpsmtpd
45 Group: System Environment/Daemons
46
47 %description apache
48
49 This module implements a mod_perl/apache 2.0 connection handler
50 that turns Apache into an SMTP server using Qpsmtpd.
51
52 %prep
53 %setup -q -n qpsmtpd-%{version}
54 %patch1 -p0 -b .config
55 %patch5 -p0 -b .smtp-loginfo
56 %patch6 -p0 -b .no_brackets
57 %patch100 -p1
58 %patch101 -p1
59 %patch102 -p1
60 %patch103 -p1
61 cp %{SOURCE100} plugins/queue/smtp-forward
62 %patch104 -p1
63 %patch105 -p1
64 #%patch106 -p1
65 %patch107 -p1
66 %patch108 -p1
67 #%patch109 -p1
68 %patch110 -p1
69 %patch111 -p1
70 %patch112 -p1
71
72 %build
73 CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
74 make
75
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79 %install
80
81 rm -rf $RPM_BUILD_ROOT
82 eval `perl '-V:installarchlib'`
83 mkdir -p $RPM_BUILD_ROOT/$installarchlib
84 if grep -q DESTDIR Makefile
85 then
86 make DESTDIR=$RPM_BUILD_ROOT
87 find blib/lib -name '*.pm.*' -exec rm -f {} \;
88 make DESTDIR=$RPM_BUILD_ROOT install
89
90 else
91 make PREFIX=$RPM_BUILD_ROOT/usr
92 find blib/lib -name '*.pm.*' -exec rm -f {} \;
93 make PREFIX=$RPM_BUILD_ROOT/usr install
94 fi
95 mkdir -p $RPM_BUILD_ROOT/usr/share/qpsmtpd
96 cp -r plugins $RPM_BUILD_ROOT/usr/share/qpsmtpd/plugins
97 mkdir -p $RPM_BUILD_ROOT/etc
98 cp -r config.sample $RPM_BUILD_ROOT/etc/qpsmtpd
99 echo /usr/share/qpsmtpd/plugins > $RPM_BUILD_ROOT/etc/qpsmtpd/plugin_dir
100 mkdir -p $RPM_BUILD_ROOT/etc/init.d/
101 cp %{_sourcedir}/qpsmtpd-forkserver.rc $RPM_BUILD_ROOT/etc/init.d/qpsmtpd-forkserver
102 mkdir -p $RPM_BUILD_ROOT/etc/sysconfig/
103 cp %{_sourcedir}/qpsmtpd-forkserver.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/qpsmtpd-forkserver
104
105
106 [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
107
108 find $RPM_BUILD_ROOT/usr \( -name perllocal.pod -o -name .packlist \) -exec rm {} \;
109 find $RPM_BUILD_ROOT/usr -type f -print | \
110 sed "s@^$RPM_BUILD_ROOT@@g" | \
111 grep -v /Apache > qpsmtpd-%{version}-filelist
112 if [ "$(cat qpsmtpd-%{version}-filelist)X" = "X" ] ; then
113 echo "ERROR: EMPTY FILE LIST"
114 exit -1
115 fi
116 find $RPM_BUILD_ROOT/usr -type f -path '*/Apache*' -print | \
117 sed "s@^$RPM_BUILD_ROOT@@g" > qpsmtpd-apache-%{version}-filelist
118
119 %files -f qpsmtpd-%{version}-filelist
120 %defattr(-,root,root)
121 %doc CREDITS Changes LICENSE README README.plugins STATUS
122 /etc/init.d/qpsmtpd-forkserver
123 %config /etc/qpsmtpd
124 %config /etc/sysconfig/qpsmtpd-forkserver
125
126 %files apache -f qpsmtpd-apache-%{version}-filelist
127 %defattr(-,root,root)
128
129 %changelog
130 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
131 - Clean up spec so package can be built by koji/plague
132
133 * Mon Apr 09 2007 Shad L. Lords <slords@mail.com> 0.32-13
134 - Backport clamav denysoft patch from 0.33-4 [SME: 176]
135
136 * Wed Mar 07 2007 Shad L. Lords <slords@mail.com> 0.32-12
137 - Add X-Virus-Checked header for clamav scanner [SME: 2498]
138
139 * Fri Feb 16 2007 Charlie Brady <charlie_brady@mitel.com> 0.32-11
140 - Workaround (take II) for (lack of) randomisation bug in Net::DNS. [SME: 2466]
141
142 * Wed Feb 14 2007 Shad L. Lords <slords@mail.com> 0.32-10
143 - change Package to package in patch [SME: 2466]
144
145 * Wed Feb 14 2007 Shad L. Lords <slords@mail.com> 0.32-9
146 - Update requires so package will install after last change [SME: 2466]
147
148 * Tue Feb 13 2007 Charlie Brady <charlieb@e-smith.com> 0.32-8
149 - Add workaround for (lack of) randomisation bug in Net::DNS. [SME: 2466]
150
151 * Tue Jan 23 2007 Shad L. Lords <slords@mail.com> 0.32-7
152 - Undo munge fix. Fixes dkim but break separator.
153
154 * Tue Jan 23 2007 Shad L. Lords <slords@mail.com> 0.32-6
155 - Fix spamassassin plugin so it doesn't munge message
156
157 * Thu Jan 11 2007 Shad L. Lords <slords@mail.com> 0.32-5
158 - Fix last patch to not produce warnings on start of connection.
159
160 * Thu Jan 11 2007 Shad L. Lords <slords@mail.com> 0.32-4
161 - Add hooks so peers plugin works correctly [SME: 2091]
162
163 * Thu Dec 28 2006 Shad L. Lords <slords@mail.com> 0.32-3
164 - Fix patch to remove check_badrcptto.orig file [SME: 2080]
165
166 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
167 - Update to new release naming. No functional changes.
168 - Make Packager generic
169
170 * Mon Aug 28 2006 Charlie Brady <charlieb@e-smith.com> 0.32-1sme01
171 - Update to 0.32 base distribution. [SME: 1102]
172
173 * Fri Aug 18 2006 Gordon Rowell <gordonr@gormand.com.au> 0.31.1-1sme09
174 - Revert last change as we don't need to use the smtp-forward plugin
175 [SME: 710]
176
177 * Fri Aug 18 2006 Gordon Rowell <gordonr@gormand.com.au> 0.31.1-1sme08
178 - Make smtp-forward plugin DECLINE if the connection is originated by a
179 relayclient. This avoids looping the mail back to the internal mail
180 server where the mail server is acting as both an inbound and outbound
181 mail gateway. This plugin should be followed by a call to the standard
182 queue plugin to ensure that mail is queued in this case. [SME: 710]
183
184 * Mon Mar 27 2006 Charlie Brady <charlieb@e-smith.com> 0.31.1-1sme07
185 - Fix cvm auth validation. [SME: 1138]
186
187 * Sun Mar 26 2006 Charlie Brady <charlieb@e-smith.com> 0.31.1-1sme06
188 - Apply more stringent validation to authentication attempts. [SME: 1138]
189
190 * Thu Mar 2 2006 Charlie Brady <charlieb@e-smith.com> 0.31.1-1sme05
191 - Deal more correctly with post data SMTP responses in smtp-forward
192 plugin. [SME: 929]
193
194 * Sun Feb 12 2006 Charlie Brady <charlieb@e-smith.com> 0.31.1-1sme04
195 - Apply bugfix to updated smtp-forward plugin. [SME: 710]
196
197 * Sun Feb 12 2006 Charlie Brady <charlieb@e-smith.com> 0.31.1-1sme03
198 - Use updated smtp-forward plugin. [SME: 710]
199
200 * Sun Feb 5 2006 Charlie Brady <charlieb@e-smith.com> 0.31.1-1sme02
201 - Disconnect in check_spamhelo plugin. [SME: 658]
202
203 * Thu Feb 2 2006 Charlie Brady <charlieb@e-smith.com> 0.31.1-1sme01
204 - Upgrade to 0.31.1 tarball. Remove obsolete pre-connection patch.
205 [SME: 643]
206
207 * Tue Jan 31 2006 Shad L. Lords <slords@mail.com> 0.31-7sme03
208 - Fix to allow TXT records for rhsbl lookups [perl #38347] [SME: 596]
209
210 * Tue Jan 31 2006 Gordon Rowell <gordonr@gormand.com.au> 0.31-7sme02
211 - Return a 4xx error code if clamd required, but not responding [SME: 176]
212
213 * Fri Nov 4 2005 Gordon Rowell <gordonr@gormand.com.au> 0.31-7sme01
214 - Don't apply check_badrcptto to relay clients [SF: 1333999]
215
216 * Sat Aug 20 2005 <hjp@hjp.at> 0.31-7
217 - RC2 from upstream.
218 - Removed patches which aren't applied from spec file.
219
220 * Fri Jul 22 2005 <hjp@hjp.at> 0.31-6
221 - New upstream snapshot from 0.31 branch: svn revision 509.
222
223 * Sun Jul 17 2005 <hjp@hjp.at> 0.31-5
224 - include only /etc/init.d/qpsmtpd-forkserver, not /etc/init.d
225 it conflicts with old initscripts packages.
226
227 * Sun Jul 17 2005 <hjp@hjp.at> 0.31-4
228 - removed tabs from forkserver
229
230 * Sun Jul 17 2005 <hjp@hjp.at> 0.31-3
231 - added startup script for forkserver
232 - changed BuildArchitectures to noarch.
233
234 * Sat Jul 16 2005 <hjp@hjp.at> 0.31-2
235 - pre-connection hook is now actually called, not just defined.
236
237 * Fri Jul 15 2005 <hjp@hjp.at> 0.31-1
238 - merged with 0.31. Most of my patches are now in the official release.
239 - merged Gavin's per-user-config patch with my dirs patch, since the
240 latter needs a way to turn off logging.
241 - added /etc/qpsmtpd/plugin_dir to package.
242
243 * Mon Jun 13 2005 <hjp@hjp.at> 0.29-6
244 - fixed removal of patch backup files
245 - fixed option --pid-file
246
247 * Sun Jun 12 2005 <hjp@hjp.at>
248 - avoid installing patch backup files
249 - split Apache::Qpsmtpd into separate package to avoid dependency hell.
250 - fixed URL
251 - changed group to Daemons.
252 - Fixed installation for newer versions of ExtUtils::MakeMaker
253
254 * Wed Jun 1 2005 <hjp@hjp.at> 0.29-5
255 - Really don't reap children in signal handler.
256
257 * Tue May 31 2005 <hjp@hjp.at> 0.29-4
258 - Return 421 for DENYSOFT_DISCONNECT
259 - Don't reap children in signal handler.
260
261 * Thu May 19 2005 <hjp@hjp.at> 0.29-3
262 - removed code to accept paths without <>.
263
264 * Thu May 19 2005 <hjp@hjp.at> 0.29-2
265 - added QPSMTPD_CONFIG env variable and plugin_dir config.
266 - added supplemental groups and support for pid file
267 - added shared_connect hook
268 - changed log level for SMTP dialog from DEBUG to INFO
269
270 * Thu Apr 21 2005 hjp@hjp.at
271 - added plugins, /etc and docs.
272
273 * Mon Apr 18 2005 hjp@hjp.at
274 - Specfile autogenerated
275

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