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

Contents 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.5 - (show annotations) (download)
Wed Apr 8 00:50:50 2020 UTC (4 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-sendmail-wrapper-0_1-4_el6_sme, HEAD
Changes since 1.4: +9 -2 lines
Error occurred while calculating annotation data.
* Tue Apr 07 2020 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-4.sme
- add php73 support [SME: 10737]
  fix typo for php72

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

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