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