/[smeserver]/rpms/qpsmtpd/sme10/qpsmtpd.spec
ViewVC logotype

Diff of /rpms/qpsmtpd/sme10/qpsmtpd.spec

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

Revision 1.4 by vip-ire, Sat Apr 16 11:27:05 2016 UTC Revision 1.7 by vip-ire, Mon Apr 18 20:15:45 2016 UTC
# Line 1  Line 1 
1  # $Id: qpsmtpd.spec,v 1.12 2015/02/15 16:25:57 vip-ire Exp $  # $Id: qpsmtpd.spec,v 1.6 2016/04/17 09:27:24 vip-ire Exp $
2    
3  Name: qpsmtpd  Name: qpsmtpd
4  Version: 0.96  Version: 0.96
5  Release: 1%{?dist}  Release: 3%{?dist}
6  Summary: qpsmtpd + qpsmtpd-apache  Summary: qpsmtpd + qpsmtpd-apache
7  License: MIT  License: MIT
8  Group: System Environment/Daemons  Group: System Environment/Daemons
# Line 12  BuildRequires: perl >= 0:5.00503 Line 12  BuildRequires: perl >= 0:5.00503
12  BuildRequires: perl(ExtUtils::MakeMaker)  BuildRequires: perl(ExtUtils::MakeMaker)
13  BuildArch: noarch  BuildArch: noarch
14  Requires: perl(Mail::Header), perl(Net::DNS) perl(Net::IP)  Requires: perl(Mail::Header), perl(Net::DNS) perl(Net::IP)
15    Requires: perl(IO::Socket::SSL) >= 1.70
16  Requires(pre): coreutils, shadow-utils, perl  Requires(pre): coreutils, shadow-utils, perl
17    
18  Source0: %{name}-%{version}.tar.gz  Source0: %{name}-%{version}.tar.gz
# Line 28  Patch3: qpsmtpd-0.95-notls_conf.patch Line 29  Patch3: qpsmtpd-0.95-notls_conf.patch
29  Patch4: qpsmtpd-0.95-allow_tls_proto_from_conf.patch  Patch4: qpsmtpd-0.95-allow_tls_proto_from_conf.patch
30  Patch5: qpsmtpd-0.96-set_hooks.patch  Patch5: qpsmtpd-0.96-set_hooks.patch
31  Patch6: qpsmtpd-0.96-warn_implicit_split.patch  Patch6: qpsmtpd-0.96-warn_implicit_split.patch
32    Patch7: qpsmtpd-0.96-dont_log_credentials_except_in_debug.patch
33    Patch8: qpsmtpd-0.96-uribl_data_post.patch
34    
35  %description  %description
36  qpsmtpd is a flexible smtpd daemon written in Perl. Apart from the core  qpsmtpd is a flexible smtpd daemon written in Perl. Apart from the core
# Line 56  that turns Apache into an SMTP server us Line 59  that turns Apache into an SMTP server us
59  %patch4 -p1  %patch4 -p1
60  %patch5 -p1  %patch5 -p1
61  %patch6 -p1  %patch6 -p1
62    %patch7 -p1
63    %patch8 -p1
64    
65  %build  %build
66  CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"  CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
# Line 125  fi Line 130  fi
130  %doc %{_docdir}/%{name}-apache-%{version}/README.selinux  %doc %{_docdir}/%{name}-apache-%{version}/README.selinux
131    
132  %pre  %pre
133  if ! id smtpd >/dev/null 2>&1  
 then  
     # need to create smtpd user.  
     if perl -e 'exit ! defined(getgrnam("postdrop"))'  
     then  
         # if postfix is installed, we will probably use  
         # queue/postfix, which will need this:  
         supp="-G postdrop"  
     fi  
     useradd -r -M -s /bin/false $supp smtpd  
 fi  
134    
135  %changelog  %changelog
136    * Mon Apr 18 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-3.sme
137    - hok uribl in data_post so it has access to the body [SME: 9467]
138    
139    * Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-2.sme
140    - Don't log user credentials except when using the higher log level
141      [SME: 9466]
142    
143  * Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-1.sme  * Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-1.sme
144  - Update to 0.96 [SME: 9460]  - Update to 0.96 [SME: 9460]
145    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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