mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
parent
3a508df4fe
commit
bdd22329f5
2 changed files with 34 additions and 0 deletions
20
srcpkgs/sitecopy/patches/fix-sslv2.patch
Normal file
20
srcpkgs/sitecopy/patches/fix-sslv2.patch
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
--- lib/neon/ne_openssl.c 2008-02-06 12:27:38.000000000 +0100
|
||||||
|
+++ lib/neon/ne_openssl.c 2016-05-11 23:11:29.244939342 +0200
|
||||||
|
@@ -550,7 +550,7 @@
|
||||||
|
ctx->ctx = SSL_CTX_new(SSLv23_server_method());
|
||||||
|
SSL_CTX_set_session_cache_mode(ctx->ctx, SSL_SESS_CACHE_CLIENT);
|
||||||
|
} else {
|
||||||
|
- ctx->ctx = SSL_CTX_new(SSLv2_server_method());
|
||||||
|
+ ctx->ctx = SSL_CTX_new(SSLv23_server_method());
|
||||||
|
SSL_CTX_set_session_cache_mode(ctx->ctx, SSL_SESS_CACHE_CLIENT);
|
||||||
|
}
|
||||||
|
return ctx;
|
||||||
|
@@ -688,7 +688,7 @@
|
||||||
|
if (ctx->sess) {
|
||||||
|
SSL_SESSION *newsess = SSL_get0_session(ssl);
|
||||||
|
/* Replace the session if it has changed. */
|
||||||
|
- if (newsess != ctx->sess || SSL_SESSION_cmp(ctx->sess, newsess)) {
|
||||||
|
+ if (newsess != ctx->sess || memcmp(ctx->sess, newsess, sizeof(*newsess))) {
|
||||||
|
SSL_SESSION_free(ctx->sess);
|
||||||
|
ctx->sess = SSL_get1_session(ssl); /* bumping the refcount */
|
||||||
|
}
|
14
srcpkgs/sitecopy/template
Normal file
14
srcpkgs/sitecopy/template
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# Template file for 'sitecopy'
|
||||||
|
pkgname=sitecopy
|
||||||
|
version=0.16.6
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
configure_args="--with-ssl=openssl"
|
||||||
|
hostmakedepends="pkg-config"
|
||||||
|
makedepends="libressl-devel neon-devel"
|
||||||
|
short_desc="Program to easily maintain remote web sites."
|
||||||
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="http://www.manyfish.co.uk/sitecopy/"
|
||||||
|
distfiles="http://www.manyfish.co.uk/sitecopy/sitecopy-${version}.tar.gz"
|
||||||
|
checksum=e06fdda007e54ddc6fae90a4e79768e5bfb7770c1139bcaac2e10d841d7458af
|
Loading…
Add table
Reference in a new issue