pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51481: librsync 2.0.0 has crashing regression on OS X



>Number:         51481
>Category:       pkg
>Synopsis:       librsync 2.0.0 has crashing regression on OS X
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 16 21:25:00 +0000 2016
>Originator:     William Carrel
>Release:        head
>Organization:
Google
>Environment:
Darwin wacbookpro.roam.corp.google.com 15.6.0 Darwin Kernel Version 15.6.0: Mon Aug 29 20:21:34 PDT 2016; root:xnu-3248.60.11~1/RELEASE_X86_64 x86_64
>Description:
librsync has a crash in rs_search_for_block documented here:
https://github.com/librsync/librsync/issues/50

There are a few proposed fixes in the discussion thread there.
>How-To-Repeat:
Using duplicity which depends on librsync on certain files on OS X and Linux that trigger this bug. There, sadly, isn't a good repeatable test case for this provided.
>Fix:
Apply the following patch to pkgsrc until librsync 2.0.1 is released.

diff -r 6efb1b750b38 net/librsync/Makefile
--- a/net/librsync/Makefile	Fri Sep 16 09:42:25 2016 +0000
+++ b/net/librsync/Makefile	Fri Sep 16 14:21:31 2016 -0700
@@ -1,6 +1,7 @@
 # $NetBSD: Makefile,v 1.3 2016/09/01 16:16:55 wiz Exp $

 DISTNAME=	librsync-2.0.0
+PKGREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_GITHUB:=librsync/}
 GITHUB_TAG=	v${PKGVERSION_NOREV}
diff -r 6efb1b750b38 net/librsync/distinfo
--- a/net/librsync/distinfo	Fri Sep 16 09:42:25 2016 +0000
+++ b/net/librsync/distinfo	Fri Sep 16 14:21:31 2016 -0700
@@ -4,3 +4,4 @@
 RMD160 (librsync-2.0.0.tar.gz) = f44284c0d33b9fb6a9b8c107169549cf2d121273
 SHA512 (librsync-2.0.0.tar.gz) = 1a88dcc3aa60949e058c57eb0df3e0086823c493de40fed927246f5aada6274db57202074456a0ce5d9aa8b81b41836b0d6221ded6a75d43829572584177e8c0
 Size (librsync-2.0.0.tar.gz) = 155049 bytes
+SHA1 (patch-search.c) = 4c64cdf5740b72f37f8f0a3664338365e14668b4


Home | Main Index | Thread Index | Old Index