/[smecontribs]/rpms/smeserver-xinetd/contribs9/smeserver-xinetd.spec
ViewVC logotype

Annotation of /rpms/smeserver-xinetd/contribs9/smeserver-xinetd.spec

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


Revision 1.4 - (hide annotations) (download)
Fri Nov 30 11:49:22 2018 UTC (5 years, 11 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-xinetd-0_3-4_el6_sme, HEAD
Changes since 1.3: +16 -2 lines
* Fri Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.3-4.sme
- Add configuration for smtp [SME: 10512]

1 jcrisp 1.4 # $Id: smeserver-xinetd.spec,v 1.3 2018/02/13 22:56:45 jpp Exp $
2 stephdl 1.1 # Authority: dungog
3     # Name: Stephen Noble
4    
5     %define name smeserver-xinetd
6     %define version 0.3
7 jcrisp 1.4 %define release 4
8 stephdl 1.1 Summary: Set up xinetd for services.
9     Name: %{name}
10     Version: %{version}
11     Release: %{release}%{?dist}
12     License: GNU GPL version 2
13     Group: SMEserver/addon
14     Source: %{name}-%{version}.tar.gz
15 jpp 1.2 Patch0: smeserver-xinetd-0.3-bz7832.allowdir.patch
16 jpp 1.3 Patch1: smeserver-xinetd-0.3-bz7832.new_template.patch
17 jcrisp 1.4 Patch2: smeserver-xinetd-0.3-bz7832.smtp.patch
18 stephdl 1.1 BuildRoot: /var/tmp/%{name}-%{version}
19     BuildArchitectures: noarch
20     BuildRequires: e-smith-devtools >= 1.13.1-03
21     Requires: e-smith-release >= 7.0
22 jpp 1.3 Requires: e-smith-base >= 5.6.0-34
23 stephdl 1.1 Requires: xinetd >= 2.3.13
24     AutoReqProv: no
25    
26     %description
27     Integration package to enable xinetd on SME Server.
28    
29     %changelog
30 jcrisp 1.4 * Fri Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.3-4.sme
31     - Add configuration for smtp [SME: 10512]
32    
33 jpp 1.3 * Tue Feb 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.3-3.sme
34     - add new template for the complete config file [SME: 7832]
35     - requires e-smith-base >= 5.6.0-34 after other xinetd.conf fragment has been removed
36    
37 jpp 1.2 * Tue Feb 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.3-2.sme
38     - fix double default template and missind xinetd.d [SME: 7832]
39    
40 stephdl 1.1 * Thu Sep 24 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.3-1.sme
41     - Initial release to contribs9
42    
43     * Wed Apr 18 2008 Shad L. Lords <slords@mail.com> 0.1-1
44     - initial release
45    
46     %prep
47     %setup
48 jpp 1.2 %patch0 -p1
49 jpp 1.3 %patch1 -p1
50 jcrisp 1.4 %patch2 -p1
51 stephdl 1.1
52     %build
53     perl createlinks
54    
55     %install
56     rm -rf $RPM_BUILD_ROOT
57     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
58     rm -f %{name}-%{version}-filelist
59     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
60     echo "%doc COPYING" >> %{name}-%{version}-filelist
61    
62     %clean
63     rm -rf $RPM_BUILD_ROOT
64    
65     %files -f %{name}-%{version}-filelist
66     %defattr(-,root,root)
67 jcrisp 1.4
68     %post
69    
70     if ! [ -L /usr/sbin/in.qpsmtpd ]; then
71     echo "Setting up symlink /usr/sbin/in.smtp /usr/sbin/in.qpsmtpd"
72     ln -s in.smtp /usr/sbin/in.qpsmtpd
73     else
74     echo " in.qpsmtpd link exists"
75     fi

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