From bdd22329f5b57926f6ec4b456124f7d7aeacf79e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Thu, 12 May 2016 09:57:56 +0200 Subject: [PATCH] New packages: sitecopy-0.16.6 Closes #4067 --- srcpkgs/sitecopy/patches/fix-sslv2.patch | 20 ++++++++++++++++++++ srcpkgs/sitecopy/template | 14 ++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 srcpkgs/sitecopy/patches/fix-sslv2.patch create mode 100644 srcpkgs/sitecopy/template diff --git a/srcpkgs/sitecopy/patches/fix-sslv2.patch b/srcpkgs/sitecopy/patches/fix-sslv2.patch new file mode 100644 index 00000000000..a5b362874b9 --- /dev/null +++ b/srcpkgs/sitecopy/patches/fix-sslv2.patch @@ -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 */ + } diff --git a/srcpkgs/sitecopy/template b/srcpkgs/sitecopy/template new file mode 100644 index 00000000000..19269fa9b94 --- /dev/null +++ b/srcpkgs/sitecopy/template @@ -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 " +license="GPL-2" +homepage="http://www.manyfish.co.uk/sitecopy/" +distfiles="http://www.manyfish.co.uk/sitecopy/sitecopy-${version}.tar.gz" +checksum=e06fdda007e54ddc6fae90a4e79768e5bfb7770c1139bcaac2e10d841d7458af