1 |
|
# $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 1.2.0 |
%define version 2.2.0 |
7 |
%define release 3 |
%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 |
Patch0: e-smith-pop3-1.2.0-startstop.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 |
20 |
Requires: e-smith-email |
Requires: e-smith-email |
21 |
Requires: runit |
Requires: runit |
22 |
Requires: qmail |
Requires: qmail |
23 |
Requires: checkpassword |
Requires: checkpassword-pam |
24 |
|
Requires: stunnel |
25 |
Obsoletes: e-smith-ssl-popd |
Obsoletes: e-smith-ssl-popd |
26 |
|
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 |
49 |
|
- Shift auth from passwd/shadow files to the pam database [SME: 6218] |
50 |
|
|
51 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
52 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
53 |
|
|
54 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
55 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |
56 |
|
|
85 |
|
|
86 |
%prep |
%prep |
87 |
%setup |
%setup |
88 |
%patch0 -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) |