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