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