1 |
# $Id: qpsmtpd-plugins.spec,v 1.2 2015/08/06 15:45:52 vip-ire Exp $ |
2 |
|
3 |
Summary: qpsmtpd plugins from www.openfusion.com |
4 |
%define name qpsmtpd-plugins |
5 |
Name: %{name} |
6 |
%define version 0.0.1 |
7 |
%define release 5 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: qpsmtpd |
11 |
Group: Networking/Daemons |
12 |
%define oname qpsmtpd-plugins-openfusion |
13 |
%define oversion 20050429 |
14 |
Source0: http://www.openfusion.com.au/labs/qpsmtpd/%{oname}-%{oversion}.tar.gz |
15 |
Patch0: check_goodrcptto_hypens.patch |
16 |
Patch1: check_goodrcptto_dos2unix.patch |
17 |
Patch2: check_goodrcptto_relaydenycomment.patch |
18 |
Patch3: qpsmtpd-address-in-bcc.patch |
19 |
Patch4: qpsmtpd-plugins-bz10125.patch |
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
Requires: perl |
22 |
Obsoletes: qpsmtpd-plugins-openfusion |
23 |
Requires: qpsmtpd >= 0.31 |
24 |
BuildArchitectures: noarch |
25 |
AutoReqProv: no |
26 |
|
27 |
%description |
28 |
A package containing qpsmtpd plugins. |
29 |
|
30 |
Included in this version is a set of qpsmtpd plugins from Gavin Carr |
31 |
of OpenFusion: |
32 |
http://www.openfusion.com.au/labs/qpsmtpd/ |
33 |
|
34 |
%changelog |
35 |
* Mon Feb 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.0.1-5.sme |
36 |
- remove whitelist_soft [SME: 10125] |
37 |
|
38 |
* Thu Aug 6 2015 Daniel Berteaud <daniel@firewall-services.com> 0.0.1-4 |
39 |
- Use Qpsmtpd::Address object instead of Mail::Address in bcc plugin |
40 |
so logging can rely on stringification [SME: 8990] |
41 |
|
42 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
43 |
- Clean up spec so package can be built by koji/plague |
44 |
|
45 |
* Thu Apr 12 2007 Stephen Noble <support@dungog.net> 0.0.1-3 |
46 |
- change invalid recipient comment to relay denied [SME: 2340] |
47 |
|
48 |
* Thu Apr 12 2007 Stephen Noble <support@dungog.net> 0.0.1-2 |
49 |
- run dos2unix on check_goodrcptto [SME: 2340] |
50 |
|
51 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
52 |
- Update to new release naming. No functional changes. |
53 |
- Make Packager generic |
54 |
|
55 |
* Fri Aug 18 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-sme06 |
56 |
- Fix check_goodrcptto handling of hyphenated usernames. |
57 |
Thanks Shad Lords [SME: 1268] |
58 |
|
59 |
* Wed Jan 4 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-sme05 |
60 |
- Bump version number only for rebuild |
61 |
|
62 |
* Mon Aug 29 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-sme04 |
63 |
- Updated qpsmtpd requires to 0.31 |
64 |
- Move plugins to /usr/share/qpsmtpd/plugins in line with Peter Holtzer's |
65 |
qpsmtpd RPMs |
66 |
|
67 |
* Mon Aug 15 2005 Charlie Brady <charlieb@e-smith.com> 0.0.1-sme03 |
68 |
- Rename to generic qpsmtpd-plugins (although currently only contains |
69 |
plugins sourced from openfusion). |
70 |
|
71 |
* Fri Apr 29 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-sme02 |
72 |
- Removed denysoft_greylist - it's in 0.29 - thanks Gavin |
73 |
|
74 |
* Fri Apr 29 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-sme01 |
75 |
- Initial packaging |
76 |
- Plugins in /usr/lib/qpsmtpd/plugins |
77 |
|
78 |
%prep |
79 |
%setup -n %{oname}-%{oversion} |
80 |
%patch0 -p1 |
81 |
%patch1 -p1 |
82 |
%patch2 -p1 |
83 |
%patch3 -p1 |
84 |
%patch4 -p1 |
85 |
|
86 |
%build |
87 |
mkdir -p root/usr/share/qpsmtpd |
88 |
mkdir -p root/usr/bin |
89 |
|
90 |
mv plugins config.sample root/usr/share/qpsmtpd |
91 |
|
92 |
%postun |
93 |
|
94 |
%install |
95 |
rm -rf $RPM_BUILD_ROOT |
96 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
97 |
find $RPM_BUILD_ROOT/usr -type f -print | sed "s@^$RPM_BUILD_ROOT@@g" | \ |
98 |
grep -v perllocal.pod > %{name}-%{version}-%{release}-filelist |
99 |
|
100 |
echo "%doc LICENSE" >> %{name}-%{version}-%{release}-filelist |
101 |
|
102 |
%clean |
103 |
rm -rf $RPM_BUILD_ROOT |
104 |
|
105 |
%files -f %{name}-%{version}-%{release}-filelist |
106 |
%defattr(-,root,root) |