lighttpd: disable SSLv3 (from OpenBSD).
This commit is contained in:
parent
5e71044f55
commit
f3bbd81af0
2 changed files with 16 additions and 2 deletions
15
srcpkgs/lighttpd/patches/disable-ssl3.patch
Normal file
15
srcpkgs/lighttpd/patches/disable-ssl3.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
$OpenBSD: ports/www/lighttpd/patches/patch-src_configfile_c,v 1.7.4.1 2014/10/30 07:52:45 brad Exp $
|
||||
|
||||
disable SSL3.0 by default
|
||||
|
||||
--- src/configfile.c.orig Sun Oct 26 18:27:18 2014
|
||||
+++ src/configfile.c Sun Oct 26 18:27:31 2014
|
||||
@@ -182,7 +182,7 @@ static int config_insert(server *srv) {
|
||||
s->ssl_honor_cipher_order = 1;
|
||||
s->ssl_empty_fragments = 0;
|
||||
s->ssl_use_sslv2 = 0;
|
||||
- s->ssl_use_sslv3 = 1;
|
||||
+ s->ssl_use_sslv3 = 0;
|
||||
s->use_ipv6 = 0;
|
||||
s->set_v6only = 1;
|
||||
s->defer_accept = 0;
|
|
@ -1,13 +1,12 @@
|
|||
# Template file for 'lighttpd'
|
||||
pkgname=lighttpd
|
||||
version=1.4.35
|
||||
revision=5
|
||||
revision=6
|
||||
makedepends="libmysqlclient-devel lua-devel libxml2-devel sqlite-devel gdbm-devel pcre-devel libressl-devel fcgi-devel"
|
||||
hostmakedepends="automake pkg-config pcre-devel libtool"
|
||||
conf_files="/etc/lighttpd/lighttpd.conf"
|
||||
system_accounts="lighttpd"
|
||||
lighttpd_homedir="/var/tmp/lighttpd"
|
||||
replaces="runit-void<20141013_2"
|
||||
build_options="systemd"
|
||||
make_dirs="
|
||||
/srv/www 0755 root root
|
||||
|
|
Loading…
Reference in a new issue