Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2016 11:24:54 +0000 (UTC)
From:      Tilman Keskinoz <arved@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415061 - in head/sysutils/rdiff-backup: . files
Message-ID:  <201605121124.u4CBOsWb078266@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arved
Date: Thu May 12 11:24:54 2016
New Revision: 415061
URL: https://svnweb.freebsd.org/changeset/ports/415061

Log:
  Switch dependency from old net/librsync to net/librsync1
  
  PR:		208934
  Submitted by:	mvoorhis@cs.wpi.edu
  Approved by:	maintainer

Added:
  head/sysutils/rdiff-backup/files/patch-__librsyncmodule.c   (contents, props changed)
Modified:
  head/sysutils/rdiff-backup/Makefile

Modified: head/sysutils/rdiff-backup/Makefile
==============================================================================
--- head/sysutils/rdiff-backup/Makefile	Thu May 12 11:19:14 2016	(r415060)
+++ head/sysutils/rdiff-backup/Makefile	Thu May 12 11:24:54 2016	(r415061)
@@ -3,7 +3,7 @@
 
 PORTNAME=	rdiff-backup
 PORTVERSION=	1.2.8
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	SAVANNAH \
@@ -14,7 +14,7 @@ COMMENT=	Local/remote mirroring+incremen
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	librsync.so:net/librsync
+LIB_DEPENDS=	librsync.so:net/librsync1
 
 CONFLICTS=	rdiff-backup-devel-[0-9]* rdiff-backup-1.0*
 

Added: head/sysutils/rdiff-backup/files/patch-__librsyncmodule.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/rdiff-backup/files/patch-__librsyncmodule.c	Thu May 12 11:24:54 2016	(r415061)
@@ -0,0 +1,16 @@
+--- _librsyncmodule.c.orig	2009-03-16 14:36:21 UTC
++++ _librsyncmodule.c
+@@ -59,8 +59,13 @@ _librsync_new_sigmaker(PyObject* self, P
+   if (sm == NULL) return NULL;
+   sm->x_attr = NULL;
+ 
++#ifdef RS_DEFAULT_STRONG_LEN
+   sm->sig_job = rs_sig_begin((size_t)blocklen,
+ 							 (size_t)RS_DEFAULT_STRONG_LEN);
++#else
++  sm->sig_job = rs_sig_begin((size_t)blocklen,
++							 (size_t)8, RS_MD4_SIG_MAGIC);
++#endif
+   return (PyObject*)sm;
+ }
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605121124.u4CBOsWb078266>