1 |
# $Id: e-smith-pop3.spec,v 1.2 2008/10/07 18:52:05 slords Exp $ |
# $Id: e-smith-pop3.spec,v 1.8 2014/12/04 22:37:30 vip-ire Exp $ |
2 |
|
|
3 |
Summary: startup scripts for pop3 package |
Summary: startup scripts for pop3 package |
4 |
%define name e-smith-pop3 |
%define name e-smith-pop3 |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.2.0 |
%define version 2.2.0 |
7 |
%define release 2 |
%define release 8 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
13 |
Patch1: e-smith-pop3-2.2.0-checkpassword_pam.patch |
Patch1: e-smith-pop3-2.2.0-checkpassword_pam.patch |
14 |
|
Patch2: e-smith-pop3-2.2.0-PopSoftlimit.patch |
15 |
|
Patch3: e-smith-pop3-2.2.0-PopSoftlimit2.patch |
16 |
|
Patch4: e-smith-pop3-2.2.0-sslio2stunnel.patch |
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildRequires: e-smith-devtools >= 1.13.0-04 |
BuildRequires: e-smith-devtools >= 1.13.0-04 |
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
Requires: runit |
Requires: runit |
22 |
Requires: qmail |
Requires: qmail |
23 |
Requires: checkpassword-pam |
Requires: checkpassword-pam |
24 |
|
Requires: stunnel |
25 |
Obsoletes: e-smith-ssl-popd |
Obsoletes: e-smith-ssl-popd |
26 |
Obsoletes: checkpassword |
Obsoletes: checkpassword |
27 |
AutoReqProv: no |
AutoReqProv: no |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
|
* Fri Dec 5 2014 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-8.sme |
31 |
|
- Fix stunnel path [SME: 8707] |
32 |
|
|
33 |
|
* Thu Dec 4 2014 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-7.sme |
34 |
|
- Use stunnel instead of sslio to support TLS [SME: 8707] |
35 |
|
|
36 |
|
* Fri Jul 06 2012 Ian Wells <esmith@wellsi.com> 2.2.0-6.sme |
37 |
|
- Easier to read version of softlimit patch [SME: 6994] |
38 |
|
|
39 |
|
* Thu Jul 05 2012 Ian Wells <esmith@wellsi.com> 2.2.0-5.sme |
40 |
|
- More robust version of softlimit patch [SME: 6994] |
41 |
|
|
42 |
|
* Mon Jul 02 2012 Ian Wells <esmith@wellsi.com> 2.2.0-4.sme |
43 |
|
- Softlimit is now a database variable for pop3 and pop3s [SME: 6994] |
44 |
|
|
45 |
|
* Wed Sep 22 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-3.sme |
46 |
|
- Add symlink for template-begin of pop3 pam config [SME: 6218] |
47 |
|
|
48 |
* Wed Sep 22 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-2.sme |
* Wed Sep 22 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-2.sme |
49 |
- Shift auth from passwd/shadow files to the pam database [SME: 6218] |
- Shift auth from passwd/shadow files to the pam database [SME: 6218] |
50 |
|
|
86 |
%prep |
%prep |
87 |
%setup |
%setup |
88 |
%patch1 -p1 |
%patch1 -p1 |
89 |
|
%patch2 -p1 |
90 |
|
%patch3 -p1 |
91 |
|
%patch4 -p1 |
92 |
|
|
93 |
%build |
%build |
94 |
perl createlinks |
perl createlinks |
106 |
mkdir -p root/var/log/pop3 |
mkdir -p root/var/log/pop3 |
107 |
mkdir -p root/var/log/pop3s |
mkdir -p root/var/log/pop3s |
108 |
|
|
109 |
|
mkdir -p root/etc/e-smith/templates/etc/pam.d/pop3 |
110 |
|
ln -s /etc/e-smith/templates-default/template-begin-pam \ |
111 |
|
root/etc/e-smith/templates/etc/pam.d/pop3/template-begin |
112 |
|
mkdir -p root/var/service/pop3/env |
113 |
|
mkdir -p root/var/service/pop3s/env |
114 |
|
|
115 |
%install |
%install |
116 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
117 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |