1 |
# $Id: e-smith-pop3.spec,v 1.10 2017/05/04 10:32:04 vip-ire Exp $ |
2 |
|
3 |
Summary: startup scripts for pop3 package |
4 |
%define name e-smith-pop3 |
5 |
Name: %{name} |
6 |
%define version 2.4.0 |
7 |
%define release 8 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
13 |
Patch0: e-smith-pop3-2.4.0-sslio2stunnel.patch |
14 |
Patch1: e-smith-pop3-2.4.0-disable_fips_for_stunnel.patch |
15 |
Patch2: e-smith-pop3-2.4.0-disable_tlsv1.patch |
16 |
Patch3: e-smith-pop3-2.4.0-ssl_proto_from_db.patch |
17 |
Patch4: e-smith-pop3-2.4.0-ssl_update.patch |
18 |
Patch5: e-smith-pop3-2.6.0-pop3_process_limit.patch |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildRequires: e-smith-devtools >= 1.13.0-04 |
21 |
BuildArchitectures: noarch |
22 |
Requires: e-smith-email |
23 |
Requires: runit |
24 |
Requires: qmail |
25 |
Requires: checkpassword-pam |
26 |
Requires: stunnel |
27 |
Obsoletes: e-smith-ssl-popd |
28 |
Obsoletes: checkpassword |
29 |
AutoReqProv: no |
30 |
|
31 |
%changelog |
32 |
* Tue Mar 27 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-8.sme |
33 |
- fix undefined fqdn for pop3 [SME: 10257] |
34 |
|
35 |
* Thu May 4 2017 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-7.sme |
36 |
- Backport from sme10: honor ConcurrencyLimit and ConcurrencyLimitPerIP |
37 |
for pop3 and pop3s [SME: 10257] |
38 |
|
39 |
* Sun Jan 17 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-6.sme |
40 |
- Hook into a new ssl-update event [SME: 9152] |
41 |
|
42 |
* Thu Jan 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-5.sme |
43 |
- Allow setting SSL protocols from DB (and set TLSv1 back to enabled |
44 |
on a default install) [SME: 9175] |
45 |
|
46 |
* Wed Jan 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-4.sme |
47 |
- Disable TLSv1 [SME: 9169] |
48 |
|
49 |
* Fri Dec 19 2014 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-3.sme |
50 |
- Disable fips mode on stunnel [SME: 8733] |
51 |
|
52 |
* Thu Dec 4 2014 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-2.sme |
53 |
- Use stunnel instead of sslio to support TLS [SME: 8716] |
54 |
|
55 |
* Thu Feb 7 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
56 |
- Roll new stream for sme9 |
57 |
|
58 |
* Fri Jul 06 2012 Ian Wells <esmith@wellsi.com> 2.2.0-6.sme |
59 |
- Easier to read version of softlimit patch [SME: 6994] |
60 |
|
61 |
* Thu Jul 05 2012 Ian Wells <esmith@wellsi.com> 2.2.0-5.sme |
62 |
- More robust version of softlimit patch [SME: 6994] |
63 |
|
64 |
* Mon Jul 02 2012 Ian Wells <esmith@wellsi.com> 2.2.0-4.sme |
65 |
- Softlimit is now a database variable for pop3 and pop3s [SME: 6994] |
66 |
|
67 |
* Wed Sep 22 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-3.sme |
68 |
- Add symlink for template-begin of pop3 pam config [SME: 6218] |
69 |
|
70 |
* Wed Sep 22 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-2.sme |
71 |
- Shift auth from passwd/shadow files to the pam database [SME: 6218] |
72 |
|
73 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
74 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
75 |
|
76 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
77 |
- Clean up spec so package can be built by koji/plague |
78 |
|
79 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
80 |
- Update to new release naming. No functional changes. |
81 |
- Make Packager generic |
82 |
|
83 |
* Fri Mar 24 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-02 |
84 |
- Ensure that pop3 and pop3s are started or stopped if required, |
85 |
during email-update event. [SME: 1125] |
86 |
|
87 |
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-01 |
88 |
- Roll stable stream version. [SME: 1016] |
89 |
|
90 |
* Mon Mar 13 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-04 |
91 |
- Move pop3[s] defaults from e-smith-email [SME: 561] |
92 |
|
93 |
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-03 |
94 |
- Bump release number only |
95 |
|
96 |
* Thu Sep 15 2005 Charlie Brady <charlieb@e-smith.com> |
97 |
- [1.1.0-02] |
98 |
- Fix port name pop->pop3 (to match change in /etc/services). |
99 |
[SF: 1291836] |
100 |
|
101 |
* Wed Aug 10 2001 Shad L. Lords <slords@mail.com> |
102 |
- [1.1.0-01] |
103 |
- initial release (split from e-smith-email-4.15.2-27). |
104 |
|
105 |
%description |
106 |
Startup scripts for pop3 package. |
107 |
|
108 |
%prep |
109 |
%setup |
110 |
%patch0 -p1 |
111 |
%patch1 -p1 |
112 |
%patch2 -p1 |
113 |
%patch3 -p1 |
114 |
%patch4 -p1 |
115 |
%patch5 -p1 |
116 |
|
117 |
%build |
118 |
perl createlinks |
119 |
|
120 |
%install |
121 |
rm -rf $RPM_BUILD_ROOT |
122 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
123 |
rm -f %{name}-%{version}-%{release}-filelist |
124 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
125 |
--dir /var/log/pop3 'attr(0750,smelog,smelog)' \ |
126 |
--dir /var/service/pop3 'attr(01755,root,root)' \ |
127 |
--dir /var/service/pop3/control 'attr(01755,root,root)' \ |
128 |
--file /var/service/pop3/control/1 'attr(0750,root,root)' \ |
129 |
--file /var/service/pop3s/run 'attr(0750,root,root)' \ |
130 |
--file /var/service/pop3s/log/run 'attr(0750,root,root)' \ |
131 |
--dir '/var/log/pop3s' 'attr(2750,smelog,smelog)' \ |
132 |
--file /var/service/pop3/run 'attr(0750,root,root)' \ |
133 |
--file /var/service/pop3/log/run 'attr(0750,root,root)' \ |
134 |
> %{name}-%{version}-%{release}-filelist |
135 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
136 |
|
137 |
%clean |
138 |
rm -rf $RPM_BUILD_ROOT |
139 |
|
140 |
%pre |
141 |
%preun |
142 |
%post |
143 |
%postun |
144 |
|
145 |
%files -f %{name}-%{version}-%{release}-filelist |
146 |
%defattr(-,root,root) |