/[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.6 - (hide annotations) (download)
Fri Jul 6 06:27:57 2012 UTC (12 years, 4 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-pop3-2_2_0-5_el5_sme
Changes since 1.5: +7 -3 lines
 More robust version of softlimit patch [SME: 6994]

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

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