1 |
unnilennium |
1.2 |
# $Id: qpsmtpd-plugins.spec,v 1.1 2016/02/07 21:04:21 stephdl Exp $ |
2 |
stephdl |
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 |
unnilennium |
1.2 |
%define release 5 |
8 |
stephdl |
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 |
|
|
Patch3: qpsmtpd-address-in-bcc.patch |
19 |
unnilennium |
1.2 |
Patch4: qpsmtpd-plugins-bz10126.patch |
20 |
stephdl |
1.1 |
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 |
unnilennium |
1.2 |
* Mon Feb 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.0.1-5.sme |
36 |
|
|
- remove whitelit_soft [SME: 10126] |
37 |
|
|
|
38 |
stephdl |
1.1 |
* Sun Feb 7 2016 stephane de labrusse <stephdl@de-labrusse.fr> 0.0.1-4 |
39 |
|
|
- Build new rpm for sme10 |
40 |
|
|
|
41 |
|
|
* Thu Aug 6 2015 Daniel Berteaud <daniel@firewall-services.com> 0.0.1-4 |
42 |
|
|
- Use Qpsmtpd::Address object instead of Mail::Address in bcc plugin |
43 |
|
|
so logging can rely on stringification [SME: 8990] |
44 |
|
|
|
45 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
46 |
|
|
- Clean up spec so package can be built by koji/plague |
47 |
|
|
|
48 |
|
|
* Thu Apr 12 2007 Stephen Noble <support@dungog.net> 0.0.1-3 |
49 |
|
|
- change invalid recipient comment to relay denied [SME: 2340] |
50 |
|
|
|
51 |
|
|
* Thu Apr 12 2007 Stephen Noble <support@dungog.net> 0.0.1-2 |
52 |
|
|
- run dos2unix on check_goodrcptto [SME: 2340] |
53 |
|
|
|
54 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
55 |
|
|
- Update to new release naming. No functional changes. |
56 |
|
|
- Make Packager generic |
57 |
|
|
|
58 |
|
|
* Fri Aug 18 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-sme06 |
59 |
|
|
- Fix check_goodrcptto handling of hyphenated usernames. |
60 |
|
|
Thanks Shad Lords [SME: 1268] |
61 |
|
|
|
62 |
|
|
* Wed Jan 4 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-sme05 |
63 |
|
|
- Bump version number only for rebuild |
64 |
|
|
|
65 |
|
|
* Mon Aug 29 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-sme04 |
66 |
|
|
- Updated qpsmtpd requires to 0.31 |
67 |
|
|
- Move plugins to /usr/share/qpsmtpd/plugins in line with Peter Holtzer's |
68 |
|
|
qpsmtpd RPMs |
69 |
|
|
|
70 |
|
|
* Mon Aug 15 2005 Charlie Brady <charlieb@e-smith.com> 0.0.1-sme03 |
71 |
|
|
- Rename to generic qpsmtpd-plugins (although currently only contains |
72 |
|
|
plugins sourced from openfusion). |
73 |
|
|
|
74 |
|
|
* Fri Apr 29 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-sme02 |
75 |
|
|
- Removed denysoft_greylist - it's in 0.29 - thanks Gavin |
76 |
|
|
|
77 |
|
|
* Fri Apr 29 2005 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-sme01 |
78 |
|
|
- Initial packaging |
79 |
|
|
- Plugins in /usr/lib/qpsmtpd/plugins |
80 |
|
|
|
81 |
|
|
%prep |
82 |
|
|
%setup -n %{oname}-%{oversion} |
83 |
|
|
%patch0 -p1 |
84 |
|
|
%patch1 -p1 |
85 |
|
|
%patch2 -p1 |
86 |
|
|
%patch3 -p1 |
87 |
unnilennium |
1.2 |
%patch4 -p1 |
88 |
stephdl |
1.1 |
|
89 |
|
|
%build |
90 |
|
|
mkdir -p root/usr/share/qpsmtpd |
91 |
|
|
mkdir -p root/usr/bin |
92 |
|
|
|
93 |
|
|
mv plugins config.sample root/usr/share/qpsmtpd |
94 |
|
|
|
95 |
|
|
%postun |
96 |
|
|
|
97 |
|
|
%install |
98 |
|
|
rm -rf $RPM_BUILD_ROOT |
99 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
100 |
|
|
find $RPM_BUILD_ROOT/usr -type f -print | sed "s@^$RPM_BUILD_ROOT@@g" | \ |
101 |
|
|
grep -v perllocal.pod > %{name}-%{version}-%{release}-filelist |
102 |
|
|
|
103 |
|
|
echo "%doc LICENSE" >> %{name}-%{version}-%{release}-filelist |
104 |
|
|
|
105 |
|
|
%clean |
106 |
|
|
rm -rf $RPM_BUILD_ROOT |
107 |
|
|
|
108 |
|
|
%files -f %{name}-%{version}-%{release}-filelist |
109 |
|
|
%defattr(-,root,root) |