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

Contents 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.8 - (show annotations) (download)
Thu Dec 4 22:37:30 2014 UTC (9 years, 11 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-pop3-2_2_0-7_el5_sme
Changes since 1.7: +8 -2 lines
* Thu Dec 4 2014 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-7.sme
- Use stunnel instead of sslio to support TLS [SME: 8707]

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

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