1 |
# $Id$ |
# $Id: e-smith-pop3.spec,v 1.6 2012/07/06 06:27:57 wellsi 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 1 |
%define release 6 |
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 |
14 |
|
Patch2: e-smith-pop3-2.2.0-PopSoftlimit.patch |
15 |
|
Patch3: e-smith-pop3-2.2.0-PopSoftlimit2.patch |
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildRequires: e-smith-devtools >= 1.13.0-04 |
BuildRequires: e-smith-devtools >= 1.13.0-04 |
18 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
19 |
Requires: e-smith-email |
Requires: e-smith-email |
20 |
Requires: runit |
Requires: runit |
21 |
Requires: qmail |
Requires: qmail |
22 |
Requires: checkpassword |
Requires: checkpassword-pam |
23 |
Obsoletes: e-smith-ssl-popd |
Obsoletes: e-smith-ssl-popd |
24 |
|
Obsoletes: checkpassword |
25 |
AutoReqProv: no |
AutoReqProv: no |
26 |
|
|
27 |
%changelog |
%changelog |
28 |
|
* Fri Jul 06 2012 Ian Wells <esmith@wellsi.com> 2.2.0-6.sme |
29 |
|
- Easier to read version of softlimit patch [SME: 6994] |
30 |
|
|
31 |
|
* Thu Jul 05 2012 Ian Wells <esmith@wellsi.com> 2.2.0-5.sme |
32 |
|
- More robust version of softlimit patch [SME: 6994] |
33 |
|
|
34 |
|
* Mon Jul 02 2012 Ian Wells <esmith@wellsi.com> 2.2.0-4.sme |
35 |
|
- Softlimit is now a database variable for pop3 and pop3s [SME: 6994] |
36 |
|
|
37 |
|
* Wed Sep 22 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-3.sme |
38 |
|
- Add symlink for template-begin of pop3 pam config [SME: 6218] |
39 |
|
|
40 |
|
* Wed Sep 22 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-2.sme |
41 |
|
- Shift auth from passwd/shadow files to the pam database [SME: 6218] |
42 |
|
|
43 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
44 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
45 |
|
|
77 |
|
|
78 |
%prep |
%prep |
79 |
%setup |
%setup |
80 |
|
%patch1 -p1 |
81 |
|
%patch2 -p1 |
82 |
|
%patch3 -p1 |
83 |
|
|
84 |
%build |
%build |
85 |
perl createlinks |
perl createlinks |
97 |
mkdir -p root/var/log/pop3 |
mkdir -p root/var/log/pop3 |
98 |
mkdir -p root/var/log/pop3s |
mkdir -p root/var/log/pop3s |
99 |
|
|
100 |
|
mkdir -p root/etc/e-smith/templates/etc/pam.d/pop3 |
101 |
|
ln -s /etc/e-smith/templates-default/template-begin-pam \ |
102 |
|
root/etc/e-smith/templates/etc/pam.d/pop3/template-begin |
103 |
|
mkdir -p root/var/service/pop3/env |
104 |
|
mkdir -p root/var/service/pop3s/env |
105 |
|
|
106 |
%install |
%install |
107 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
108 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |