1 |
# $Id: smeserver-wbl.spec,v 1.13 2009/01/01 11:44:47 snetram Exp $ |
2 |
# Authority: gzartman |
3 |
# Name: Greg Zartman |
4 |
|
5 |
Summary: E-mail white/black lists for SME Server |
6 |
%define name smeserver-wbl |
7 |
Name: %{name} |
8 |
%define version 0.1.0 |
9 |
%define release 10 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: SME Server/addon |
14 |
Source: %{name}-%{version}.tar.gz |
15 |
Patch1: smeserver-wbl-0.1.0-locale-2008-10-14.patch |
16 |
Patch2: smeserver-wbl-0.1.0-locale-2008-10-16.patch |
17 |
Patch3: smeserver-wbl-0.1.0-locale-2008-10-17.patch |
18 |
Patch4: smeserver-wbl-0.1.0-locale-2008-11-06.patch |
19 |
Patch5: smeserver-wbl-0.1.0-locale-2008-11-07.patch |
20 |
Patch6: smeserver-wbl-0.1.0-locale-2008-11-10.patch |
21 |
Patch7: smeserver-wbl-0.1.0-locale-2008-11-19.patch |
22 |
Patch8: smeserver-wbl-0.1.0-locale-2009-01-01.patch |
23 |
Patch9: smeserver-wbl-0.1.0-locale-2009-03-01.patch |
24 |
BuildRoot: /var/tmp/%{name}-%{version} |
25 |
BuildArchitectures: noarch |
26 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
27 |
Requires: smeserver-release => 7.0 |
28 |
AutoReqProv: no |
29 |
|
30 |
%description |
31 |
%name is an addon for SME Server that provides the following WBLs: |
32 |
qpsmtpd check_badmailfrom /var/qmail/control/badmailfrom |
33 |
qpsmtpd check_spamhelo /var/service/qpsmtpd/config/badhelo |
34 |
qpsmtpd whitelist_soft /var/service/qpsmtpd/config/whitelisthosts whitelisthelo whitelistsenders |
35 |
spamassassin /etc/mail/spammassassin/local.cf whitelist_from |
36 |
|
37 |
%changelog |
38 |
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-10 |
39 |
- Apply 1 Mar 2009 locale patch [SME: 5018] |
40 |
|
41 |
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-9 |
42 |
- Apply 1 Jan 2009 locale patch [SME: 4900] |
43 |
|
44 |
* Wed Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-8 |
45 |
- Apply 19 Nov 2008 locale patch |
46 |
|
47 |
* Mon Nov 10 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-7 |
48 |
- Apply 10 Nov 2008 locale patch |
49 |
|
50 |
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-6 |
51 |
- Apply 7 Nov 2008 locale patch |
52 |
|
53 |
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-5 |
54 |
- Apply 6 Nov 2008 locale patch |
55 |
|
56 |
* Fri Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-4 |
57 |
- Apply 17 Oct 2008 locale patch |
58 |
|
59 |
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-3 |
60 |
- Apply 16 Oct 2008 locale patch |
61 |
|
62 |
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-2 |
63 |
- Apply 14 Oct 2008 locale patch |
64 |
|
65 |
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 0.1.0-1.sme |
66 |
- Roll new stream to import into buildsys |
67 |
|
68 |
* Fri Oct 10 2008 Greg J. Zartman <greg@leiinc.com> 0.0.1-9 |
69 |
- Add whitelist_soft qpsmtpd plugin template fragment for external connections. |
70 |
- Simplify server-manager panel. |
71 |
|
72 |
* Fri Jan 05 2007 Darrell May <dmay@myezserver.com> |
73 |
- added spamassassin whitelist_from to accept panel |
74 |
- reworked all code to use spamassassin db format |
75 |
- [0.0.1-a8.dmay] |
76 |
|
77 |
* Thu Jan 04 2007 Darrell May <dmay@myezserver.com> |
78 |
- edited panels, added Update panel |
79 |
- [0.0.1-a7.dmay] |
80 |
|
81 |
* Thu Jan 04 2007 Darrell May <dmay@myezserver.com> |
82 |
- edited templates to use new db |
83 |
- added templates for spamassassin local.cf whitelist_from |
84 |
- [0.0.1-a6.dmay] |
85 |
|
86 |
* Wed Jan 03 2007 Darrell May <dmay@myezserver.com> |
87 |
- changed db to use /home/e-smith/db/wbl |
88 |
- [0.0.1-a5.dmay] |
89 |
|
90 |
* Sun Dec 17 2006 Darrell May <dmay@myezserver.com> |
91 |
- initial public alpha release |
92 |
- [0.0.1-a4.dmay] |
93 |
|
94 |
* Sat Dec 16 2006 Darrell May <dmay@myezserver.com> |
95 |
- more panel enhancements |
96 |
- [0.0.1-a3.dmay] |
97 |
|
98 |
* Fri Dec 15 2006 Darrell May <dmay@myezserver.com> |
99 |
- continued panel enhancements |
100 |
- [0.0.1-a2.dmay] |
101 |
|
102 |
* Fri Dec 15 2006 Darrell May <dmay@myezserver.com> |
103 |
- server-manager panel added |
104 |
- [0.0.1-a1.dmay] |
105 |
|
106 |
* Fri Dec 15 2006 Darrell May <dmay@myezserver.com> |
107 |
- initial alpha release |
108 |
- [0.0.1-a0.dmay] |
109 |
|
110 |
%prep |
111 |
%setup |
112 |
%patch1 -p1 |
113 |
%patch2 -p1 |
114 |
%patch3 -p1 |
115 |
%patch4 -p1 |
116 |
%patch5 -p1 |
117 |
%patch6 -p1 |
118 |
%patch7 -p1 |
119 |
%patch8 -p1 |
120 |
%patch9 -p1 |
121 |
|
122 |
%build |
123 |
perl createlinks |
124 |
|
125 |
%install |
126 |
rm -rf $RPM_BUILD_ROOT |
127 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
128 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
129 |
echo "%doc " >> %{name}-%{version}-filelist |
130 |
|
131 |
%clean |
132 |
cd .. |
133 |
rm -rf %{name}-%{version} |
134 |
|
135 |
%files -f %{name}-%{version}-filelist |
136 |
%defattr(-,root,root) |
137 |
|