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