From b840987b853da8516e7a4045af2578cb7d95d2da Mon Sep 17 00:00:00 2001 From: Sergey 'Jin' Bostandzhyan Date: Sun, 12 Jul 2020 16:22:18 +0200 Subject: [PATCH] Remove ssl.dh-file option from lighttpd The file took ages to generate on the target. --- .../recipes-extended/lighttpd/files/lighttpd.conf | 1 - .../recipes-extended/lighttpd/lighttpd_1.4.55.bb | 7 ------- 2 files changed, 8 deletions(-) diff --git a/yocto/meta-klipper/recipes-extended/lighttpd/files/lighttpd.conf b/yocto/meta-klipper/recipes-extended/lighttpd/files/lighttpd.conf index c6a9068..f95858b 100644 --- a/yocto/meta-klipper/recipes-extended/lighttpd/files/lighttpd.conf +++ b/yocto/meta-klipper/recipes-extended/lighttpd/files/lighttpd.conf @@ -115,7 +115,6 @@ ssl.pemfile = "/etc/ssl/certs/localcert.pem" #### https://syslink.pl/cipherlist/ ssl.honor-cipher-order = "enable" ssl.cipher-list = "EECDH+AESGCM:EDH+AESGCM" -ssl.dh-file = "/etc/lighttpd/dhparam.pem" # openssl dhparam -out /etc/lighttpd/dhparam.pem 4096 setenv.add-response-header = ( "Strict-Transport-Security" => "max-age=63072000; includeSubDomains; preload", "X-Frame-Options" => "DENY", diff --git a/yocto/meta-klipper/recipes-extended/lighttpd/lighttpd_1.4.55.bb b/yocto/meta-klipper/recipes-extended/lighttpd/lighttpd_1.4.55.bb index dde8aeb..0150152 100644 --- a/yocto/meta-klipper/recipes-extended/lighttpd/lighttpd_1.4.55.bb +++ b/yocto/meta-klipper/recipes-extended/lighttpd/lighttpd_1.4.55.bb @@ -92,10 +92,3 @@ python populate_packages_prepend () { lighttpd_libdir = d.expand('${libdir}') do_split_packages(d, lighttpd_libdir, r'^mod_(.*)\.so$', 'lighttpd-module-%s', 'Lighttpd module for %s', extra_depends='') } - -pkg_postinst_ontarget_${PN}() { - #!/bin/sh - if [ ! -s /etc/lighttpd/dhparam.pem ]; then - openssl dhparam -out /etc/lighttpd/dhparam.pem 4096 - fi -}