Date: Saturday, June 24, 2017 @ 03:46:34 Author: felixonmars Revision: 299180
upgpkg: perl-anyevent 4:7.14-1 Modified: perl-anyevent/trunk/PKGBUILD Deleted: perl-anyevent/trunk/issue53923.patch ------------------+ PKGBUILD | 16 ++++------------ issue53923.patch | 26 -------------------------- 2 files changed, 4 insertions(+), 38 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-24 00:16:58 UTC (rev 299179) +++ PKGBUILD 2017-06-24 03:46:34 UTC (rev 299180) @@ -2,8 +2,8 @@ # Maintainer: Felix Yan <[email protected]> pkgname=perl-anyevent -pkgver=7.13 -pkgrel=2 +pkgver=7.14 +pkgrel=1 epoch=4 pkgdesc='The DBI of event loop programming' arch=('any') @@ -18,17 +18,9 @@ 'perl-json-xs: send or receive JSON with AnyEvent::Handle' 'perl-net-ssleay: TLS/SSL connections with AnyEvent::Handle') options=('!emptydirs') -source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-$pkgver.tar.gz" - issue53923.patch) -md5sums=('70eea152cf4686f8f351aa8bc96157f9' - 'e6e9e44caa1610a1d527c76258270d7a') +source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-$pkgver.tar.gz") +sha512sums=('98e7b9e06cf74b99d3407a25b60f3b825fceed3bae43505e1fb90785e24bd88ae25955cff25d29b4cc96957db7f4f5203d19ad2365abb4e3a3227fd91a16fb25') -prepare() { - cd AnyEvent-$pkgver - # https://rt.cpan.org/Public/Bug/Display.html?id=118584 - patch -p1 -i ../issue53923.patch -} - build() { cd AnyEvent-$pkgver perl Makefile.PL INSTALLDIRS=vendor Deleted: issue53923.patch =================================================================== --- issue53923.patch 2017-06-24 00:16:58 UTC (rev 299179) +++ issue53923.patch 2017-06-24 03:46:34 UTC (rev 299180) @@ -1,26 +0,0 @@ ---- AnyEvent/lib/AnyEvent/Handle.pm 2016/10/30 23:03:36 1.248 -+++ AnyEvent/lib/AnyEvent/Handle.pm 2016/11/26 03:34:50 1.249 -@@ -2195,19 +2195,19 @@ - # basically, this is deep magic (because SSL_read should have the same issues) - # but the openssl maintainers basically said: "trust us, it just works". - # (unfortunately, we have to hardcode constants because the abysmally misdesigned -- # and mismaintained ssleay-module doesn't even offer them). -+ # and mismaintained ssleay-module didn't offer them for a decade or so). - # http://www.mail-archive.com/[email protected]/msg22420.html - # - # in short: this is a mess. -- # -+ # - # note that we do not try to keep the length constant between writes as we are required to do. - # we assume that most (but not all) of this insanity only applies to non-blocking cases, - # and we drive openssl fully in blocking mode here. Or maybe we don't - openssl seems to - # have identity issues in that area. --# Net::SSLeay::CTX_set_mode ($ssl, -+# Net::SSLeay::set_mode ($ssl, - # (eval { local $SIG{__DIE__}; Net::SSLeay::MODE_ENABLE_PARTIAL_WRITE () } || 1) - # | (eval { local $SIG{__DIE__}; Net::SSLeay::MODE_ACCEPT_MOVING_WRITE_BUFFER () } || 2)); -- Net::SSLeay::CTX_set_mode ($tls, 1|2); -+ Net::SSLeay::set_mode ($tls, 1|2); - - $self->{_rbio} = Net::SSLeay::BIO_new (Net::SSLeay::BIO_s_mem ()); - $self->{_wbio} = Net::SSLeay::BIO_new (Net::SSLeay::BIO_s_mem ());
