[arch-commits] Commit in cadaver/repos (4 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 12:51:22 UTC 2020


    Date: Tuesday, July 7, 2020 @ 12:51:22
  Author: felixonmars
Revision: 658249

archrelease: copy trunk to community-staging-x86_64

Added:
  cadaver/repos/community-staging-x86_64/
  cadaver/repos/community-staging-x86_64/ChangeLog
    (from rev 658247, cadaver/trunk/ChangeLog)
  cadaver/repos/community-staging-x86_64/PKGBUILD
    (from rev 658247, cadaver/trunk/PKGBUILD)
  cadaver/repos/community-staging-x86_64/disable-sslv2.patch
    (from rev 658247, cadaver/trunk/disable-sslv2.patch)

---------------------+
 ChangeLog           |    3 +++
 PKGBUILD            |   33 +++++++++++++++++++++++++++++++++
 disable-sslv2.patch |   16 ++++++++++++++++
 3 files changed, 52 insertions(+)

Copied: cadaver/repos/community-staging-x86_64/ChangeLog (from rev 658247, cadaver/trunk/ChangeLog)
===================================================================
--- community-staging-x86_64/ChangeLog	                        (rev 0)
+++ community-staging-x86_64/ChangeLog	2020-07-07 12:51:22 UTC (rev 658249)
@@ -0,0 +1,3 @@
+2007-07-02 tardo <tardo at nagi-fanboi.net>
+* Built for x86_64
+

Copied: cadaver/repos/community-staging-x86_64/PKGBUILD (from rev 658247, cadaver/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 12:51:22 UTC (rev 658249)
@@ -0,0 +1,33 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: William Rea <sillywilly at gmail.com>
+
+pkgname=cadaver
+pkgver=0.23.3
+pkgrel=12
+pkgdesc="Command-line WebDAV client for Unix"
+arch=('x86_64')
+#url="http://www.webdav.org/cadaver"
+url="https://packages.debian.org/jessie/cadaver"
+license=('GPL')
+depends=('neon')
+validpgpkeys=('6D0C74985535060B23300BFE47F6969D0E44CF0C')
+source=(http://http.debian.net/debian/pool/main/c/cadaver/cadaver_$pkgver.orig.tar.gz
+        disable-sslv2.patch)
+sha256sums=('fd4ce68a3230ba459a92bcb747fc6afa91e46d803c1d5ffe964b661793c13fca'
+            'b86f04a16dfd2dc1a925a702301edd72147496ea03d8b583023cf90e162354e6')
+
+prepare() {
+  cd "$srcdir"/cadaver-$pkgver
+  patch -Np1 -i ../disable-sslv2.patch
+}
+
+build() {
+  cd "$srcdir"/cadaver-$pkgver
+  ./configure --prefix=/usr --with-ssl
+  make
+}
+
+package() {
+  cd "$srcdir"/cadaver-$pkgver
+  make prefix="$pkgdir"/usr install
+}

Copied: cadaver/repos/community-staging-x86_64/disable-sslv2.patch (from rev 658247, cadaver/trunk/disable-sslv2.patch)
===================================================================
--- community-staging-x86_64/disable-sslv2.patch	                        (rev 0)
+++ community-staging-x86_64/disable-sslv2.patch	2020-07-07 12:51:22 UTC (rev 658249)
@@ -0,0 +1,16 @@
+diff -u -r cadaver-0.23.3/lib/neon/ne_openssl.c cadaver-0.23.3-nossl2/lib/neon/ne_openssl.c
+--- cadaver-0.23.3/lib/neon/ne_openssl.c	2009-09-13 13:26:52.000000000 +0200
++++ cadaver-0.23.3-nossl2/lib/neon/ne_openssl.c	2016-03-03 13:13:14.207713538 +0100
+@@ -564,11 +564,8 @@
+         /* enable workarounds for buggy SSL server implementations */
+         SSL_CTX_set_options(ctx->ctx, SSL_OP_ALL);
+         SSL_CTX_set_verify(ctx->ctx, SSL_VERIFY_PEER, verify_callback);
+-    } else if (mode == NE_SSL_CTX_SERVER) {
+-        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;


More information about the arch-commits mailing list