/[smeserver]/rpms/smeserver-qpsmtpd/sme10/smeserver-qpsmtpd-2.6.0-dhparam.patch
ViewVC logotype

Contents of /rpms/smeserver-qpsmtpd/sme10/smeserver-qpsmtpd-2.6.0-dhparam.patch

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


Revision 1.2 - (show annotations) (download)
Wed Dec 16 16:49:12 2020 UTC (3 years, 10 months ago) by jcrisp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Initial import

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/04tls mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/04tls
2 --- smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/04tls 2013-02-07 23:09:06.000000000 +0100
3 +++ mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/04tls 2016-04-15 14:29:07.866072034 +0200
4 @@ -1 +1 @@
5 -tls ssl/cert.pem ssl/cert.pem ssl/cert.pem
6 +tls ssl/cert.pem ssl/cert.pem ssl/cert.pem ssl/dhparam.pem
7 diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-2.6.0/root/var/service/qpsmtpd/config/plugins mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/var/service/qpsmtpd/config/plugins
8 --- smeserver-qpsmtpd-2.6.0/root/var/service/qpsmtpd/config/plugins 2013-02-07 23:09:06.000000000 +0100
9 +++ mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/var/service/qpsmtpd/config/plugins 2016-04-15 16:16:26.034628286 +0200
10 @@ -5,4 +5,4 @@
11 #------------------------------------------------------------
12 hosts_allow
13 peers
14 -tls ssl/cert.pem ssl/cert.pem ssl/cert.pem
15 +tls ssl/cert.pem ssl/cert.pem ssl/cert.pem ssl/dhparam.pem
16 diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-2.6.0/root/var/service/qpsmtpd/run mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/var/service/qpsmtpd/run
17 --- smeserver-qpsmtpd-2.6.0/root/var/service/qpsmtpd/run 2016-04-15 16:16:48.375629304 +0200
18 +++ mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/var/service/qpsmtpd/run 2016-04-15 15:17:48.917362487 +0200
19 @@ -30,6 +30,10 @@
20 [ -e /var/service/qpsmtpd/config/badrcptto_patterns ] && \
21 rm -f /var/service/qpsmtpd/config/badrcptto_patterns
22
23 +# Create dhparam
24 +[ -e /var/service/qpsmtpd/ssl/dhparam.pem ] || \
25 + RANDFILE=/dev/null /usr/bin/openssl dhparam -out /var/service/qpsmtpd/ssl/dhparam.pem 2048
26 +
27 exec /usr/local/bin/softlimit -d ${SOFTLIMIT:-25000000} -s ${SOFTLIMIT:-25000000} -l ${SOFTLIMIT:-25000000} \
28 /usr/bin/qpsmtpd-forkserver \
29 -u qpsmtpd \

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