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

Annotation of /rpms/smeserver-sendmail-wrapper/contribs9/smeserver-sendmail-wrapper.spec

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


Revision 1.4 - (hide annotations) (download)
Wed Mar 7 20:20:28 2018 UTC (6 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-sendmail-wrapper-0_1-3_el6_sme
Changes since 1.3: +7 -2 lines
* Wed Mar 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-3.sme
- fix error on logrotate [SME: 10525]

1 jpp 1.4 # $Id: smeserver-sendmail-wrapper.spec,v 1.3 2018/03/03 05:35:37 jpp Exp $
2 unnilennium 1.1 # Authority: unnilennium
3     # Name: Jean-Philippe Pialasse
4    
5     Summary: smeserver-sendmail-wrapper
6     %define name smeserver-sendmail-wrapper
7     %define version 0.1
8 jpp 1.4 %define release 3
9 unnilennium 1.1 Name: %{name}
10     Version: %{version}
11     Release: %{release}%{?dist}
12     License: GPL
13     Group: Applications/System
14     Source: %{name}-%{version}.tgz
15 jpp 1.2 Patch0: smeserver-sendmail-wrapper-0.1-logfile.patch
16 jpp 1.3 Patch1: smeserver-sendmail-wrapper-0.1-domainName.patch
17 jpp 1.4 Patch2: smeserver-sendmail-wrapper-0.1-fixlogrotate.patch
18 unnilennium 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
19     BuildArch: noarch
20     BuildRequires: e-smith-devtools >= 1.13.1-03
21     Requires: smeserver-release >= 9.0
22    
23     %description
24     sendmail wrapper and templates to redirect php emails to qpsmtpd instead of qmail.
25     This is intended to introduce a little more verification before sending email thanks to the plugins of qpsmtpd instead of simply sending them blindly withthe qmail sendmail wrapper.
26    
27     %prep
28     %setup
29 jpp 1.2 %patch0 -p1
30 jpp 1.3 %patch1 -p1
31 jpp 1.4 %patch2 -p1
32 jpp 1.2 mkdir -p root/var/log/sendmail
33 unnilennium 1.1
34     %build
35     #/usr/bin/perl createlinks
36    
37     %install
38     /bin/rm -rf $RPM_BUILD_ROOT
39     (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
40     /bin/rm -f %{name}-%{version}-filelist
41 jpp 1.2 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
42     | grep -v var/log/sendmail > %{name}-%{version}-filelist
43 unnilennium 1.1
44     %files -f %{name}-%{version}-filelist
45     %defattr(-,root,root,-)
46 jpp 1.2 %attr( 770 , www,www) /var/log/sendmail
47 unnilennium 1.1
48     %clean
49     rm -rf $RPM_BUILD_ROOT
50    
51     %post
52     touch /etc/hosts.deny_ssh
53    
54     %changelog
55 jpp 1.4 * Wed Mar 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-3.sme
56     - fix error on logrotate [SME: 10525]
57    
58 jpp 1.2 * Fri Mar 02 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-2.sme
59     - fix log not accessible [SME: 10525]
60 jpp 1.3 moved to a www writable directory, also a logrotate has been added
61     - fix sendmail wrapper fails if not used by root
62 jpp 1.2
63 unnilennium 1.1 * Fri Aug 18 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-1.sme
64     - Initial version

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