1 |
# $Id$ |
# $Id: e-smith-pop3.spec,v 1.3 2010/09/22 17:57:00 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 1 |
%define release 3 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildRequires: e-smith-devtools >= 1.13.0-04 |
BuildRequires: e-smith-devtools >= 1.13.0-04 |
16 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
17 |
Requires: e-smith-email |
Requires: e-smith-email |
18 |
Requires: runit |
Requires: runit |
19 |
Requires: qmail |
Requires: qmail |
20 |
Requires: checkpassword |
Requires: checkpassword-pam |
21 |
Obsoletes: e-smith-ssl-popd |
Obsoletes: e-smith-ssl-popd |
22 |
|
Obsoletes: checkpassword |
23 |
AutoReqProv: no |
AutoReqProv: no |
24 |
|
|
25 |
%changelog |
%changelog |
26 |
|
* Wed Sep 22 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-3.sme |
27 |
|
- Add symlink for template-begin of pop3 pam config [SME: 6218] |
28 |
|
|
29 |
|
* Wed Sep 22 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-2.sme |
30 |
|
- Shift auth from passwd/shadow files to the pam database [SME: 6218] |
31 |
|
|
32 |
* 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 |
33 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
34 |
|
|
66 |
|
|
67 |
%prep |
%prep |
68 |
%setup |
%setup |
69 |
|
%patch1 -p1 |
70 |
|
|
71 |
%build |
%build |
72 |
perl createlinks |
perl createlinks |
84 |
mkdir -p root/var/log/pop3 |
mkdir -p root/var/log/pop3 |
85 |
mkdir -p root/var/log/pop3s |
mkdir -p root/var/log/pop3s |
86 |
|
|
87 |
|
mkdir -p root/etc/e-smith/templates/etc/pam.d/pop3 |
88 |
|
ln -s /etc/e-smith/templates-default/template-begin-pam \ |
89 |
|
root/etc/e-smith/templates/etc/pam.d/pop3/template-begin |
90 |
|
|
91 |
|
|
92 |
%install |
%install |
93 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
94 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |