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