/[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.3 - (hide annotations) (download)
Wed Sep 22 17:57:00 2010 UTC (14 years, 1 month ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-pop3-2_2_0-2_el5_sme
Changes since 1.2: +9 -3 lines
* Wed Sep 22 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-2.sme
- Shift auth from passwd/shadow files to the pam database [SME: 6218]

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

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