/[smeserver]/rpms/e-smith-pop3/sme8/e-smith-pop3.spec
ViewVC logotype

Annotation of /rpms/e-smith-pop3/sme8/e-smith-pop3.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.7 - (hide annotations) (download)
Sat Jul 7 05:04:10 2012 UTC (12 years, 4 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-pop3-2_2_0-6_el5_sme
Changes since 1.6: +7 -2 lines
 Easier to read version of softlimit patch [SME: 6994]

1 wellsi 1.7 # $Id: e-smith-pop3.spec,v 1.6 2012/07/06 06:27:57 wellsi Exp $
2 slords 1.2
3 slords 1.1 Summary: startup scripts for pop3 package
4     %define name e-smith-pop3
5     Name: %{name}
6 slords 1.2 %define version 2.2.0
7 wellsi 1.7 %define release 6
8 slords 1.1 Version: %{version}
9     Release: %{release}%{?dist}
10     License: GPL
11     Group: Networking/Daemons
12     Source: %{name}-%{version}.tar.gz
13 vip-ire 1.3 Patch1: e-smith-pop3-2.2.0-checkpassword_pam.patch
14 wellsi 1.5 Patch2: e-smith-pop3-2.2.0-PopSoftlimit.patch
15 wellsi 1.7 Patch3: e-smith-pop3-2.2.0-PopSoftlimit2.patch
16 slords 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
17     BuildRequires: e-smith-devtools >= 1.13.0-04
18     BuildArchitectures: noarch
19     Requires: e-smith-email
20     Requires: runit
21     Requires: qmail
22 vip-ire 1.3 Requires: checkpassword-pam
23 slords 1.1 Obsoletes: e-smith-ssl-popd
24 vip-ire 1.3 Obsoletes: checkpassword
25 slords 1.1 AutoReqProv: no
26    
27     %changelog
28 wellsi 1.7 * 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 wellsi 1.6 * 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 wellsi 1.5 * 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 vip-ire 1.4 * 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 vip-ire 1.3 * 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 slords 1.2 * 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]
45    
46 slords 1.1 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
47     - Clean up spec so package can be built by koji/plague
48    
49     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
50     - Update to new release naming. No functional changes.
51     - Make Packager generic
52    
53     * Fri Mar 24 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-02
54     - Ensure that pop3 and pop3s are started or stopped if required,
55     during email-update event. [SME: 1125]
56    
57     * Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-01
58     - Roll stable stream version. [SME: 1016]
59    
60     * Mon Mar 13 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-04
61     - Move pop3[s] defaults from e-smith-email [SME: 561]
62    
63     * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-03
64     - Bump release number only
65    
66     * Thu Sep 15 2005 Charlie Brady <charlieb@e-smith.com>
67     - [1.1.0-02]
68     - Fix port name pop->pop3 (to match change in /etc/services).
69     [SF: 1291836]
70    
71     * Wed Aug 10 2001 Shad L. Lords <slords@mail.com>
72     - [1.1.0-01]
73     - initial release (split from e-smith-email-4.15.2-27).
74    
75     %description
76     Startup scripts for pop3 package.
77    
78     %prep
79     %setup
80 vip-ire 1.3 %patch1 -p1
81 wellsi 1.5 %patch2 -p1
82 wellsi 1.7 %patch3 -p1
83 slords 1.1
84     %build
85     perl createlinks
86    
87     mkdir -p root/service
88     for i in pop3 pop3s
89     do
90     mkdir -p root/var/service/$i/peers
91     mkdir -p root/etc/e-smith/templates/var/service/$i/peers
92     mkdir -p root/etc/e-smith/templates/var/service/$i/peers/{0,local}
93     touch root/etc/e-smith/templates/var/service/$i/peers/{0,local}/template-begin
94     touch root/var/service/$i/down
95     ln -s /var/service/$i root/service/$i
96     done
97     mkdir -p root/var/log/pop3
98     mkdir -p root/var/log/pop3s
99    
100 vip-ire 1.4 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 wellsi 1.6 mkdir -p root/var/service/pop3/env
104     mkdir -p root/var/service/pop3s/env
105 vip-ire 1.4
106 slords 1.1 %install
107     rm -rf $RPM_BUILD_ROOT
108     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
109     rm -f %{name}-%{version}-%{release}-filelist
110     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
111     --dir /var/log/pop3 'attr(0750,smelog,smelog)' \
112     --dir /var/service/pop3 'attr(01755,root,root)' \
113     --dir /var/service/pop3/control 'attr(01755,root,root)' \
114     --file /var/service/pop3/control/1 'attr(0750,root,root)' \
115     --file /var/service/pop3s/run 'attr(0750,root,root)' \
116     --file /var/service/pop3s/log/run 'attr(0750,root,root)' \
117     --dir '/var/log/pop3s' 'attr(2750,smelog,smelog)' \
118     --file /var/service/pop3/run 'attr(0750,root,root)' \
119     --file /var/service/pop3/log/run 'attr(0750,root,root)' \
120     > %{name}-%{version}-%{release}-filelist
121     echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
122    
123     %clean
124     rm -rf $RPM_BUILD_ROOT
125    
126     %pre
127     %preun
128     %post
129     %postun
130    
131     %files -f %{name}-%{version}-%{release}-filelist
132     %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed