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