1 |
|
# $Id: e-smith-pop3.spec,v 1.5 2012/07/04 00:23:04 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 1.2.0 |
%define version 2.2.0 |
7 |
%define release 3 |
%define release 5 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildRequires: e-smith-devtools >= 1.13.0-04 |
BuildRequires: e-smith-devtools >= 1.13.0-04 |
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
18 |
Requires: e-smith-email |
Requires: e-smith-email |
19 |
Requires: runit |
Requires: runit |
20 |
Requires: qmail |
Requires: qmail |
21 |
Requires: checkpassword |
Requires: checkpassword-pam |
22 |
Obsoletes: e-smith-ssl-popd |
Obsoletes: e-smith-ssl-popd |
23 |
|
Obsoletes: checkpassword |
24 |
AutoReqProv: no |
AutoReqProv: no |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
|
* Thu Jul 05 2012 Ian Wells <esmith@wellsi.com> 2.2.0-5.sme |
28 |
|
- More robust version of softlimit patch [SME: 6994] |
29 |
|
|
30 |
|
* Mon Jul 02 2012 Ian Wells <esmith@wellsi.com> 2.2.0-4.sme |
31 |
|
- Softlimit is now a database variable for pop3 and pop3s [SME: 6994] |
32 |
|
|
33 |
|
* Wed Sep 22 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-3.sme |
34 |
|
- Add symlink for template-begin of pop3 pam config [SME: 6218] |
35 |
|
|
36 |
|
* Wed Sep 22 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-2.sme |
37 |
|
- Shift auth from passwd/shadow files to the pam database [SME: 6218] |
38 |
|
|
39 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
40 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
41 |
|
|
42 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
43 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |
44 |
|
|
73 |
|
|
74 |
%prep |
%prep |
75 |
%setup |
%setup |
76 |
%patch0 -p1 |
%patch1 -p1 |
77 |
|
%patch2 -p1 |
78 |
|
|
79 |
%build |
%build |
80 |
perl createlinks |
perl createlinks |
92 |
mkdir -p root/var/log/pop3 |
mkdir -p root/var/log/pop3 |
93 |
mkdir -p root/var/log/pop3s |
mkdir -p root/var/log/pop3s |
94 |
|
|
95 |
|
mkdir -p root/etc/e-smith/templates/etc/pam.d/pop3 |
96 |
|
ln -s /etc/e-smith/templates-default/template-begin-pam \ |
97 |
|
root/etc/e-smith/templates/etc/pam.d/pop3/template-begin |
98 |
|
mkdir -p root/var/service/pop3/env |
99 |
|
mkdir -p root/var/service/pop3s/env |
100 |
|
|
101 |
%install |
%install |
102 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
103 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |