Enclosed diff brings librsync to 2.1.0, which fixes a memory leak when
freeing signatures. Changelog can be found at
https://github.com/librsync/librsync/releases/tag/v2.1.0.

Major of SHARED_LIBS has been bumped as symbols have been removed.

Testing:
- 'make test' runs successfully;
- Tested all consumers (regression tests using librsysnc-2.0.2 versus
  2.1.0):
        - sysutils/burp/2.0 - 1 failing test less, 1 failing test
          remaining
        - sysutils/burp/2.1 - 1 failing test less, all tests run
          successfully
        - sysutils/burp/2.2 - No changes, all tests run successfully
        - sysutils/duplicity - No changes, 1 failing test
        - sysutils/rdiff-backup - No regression tests. 'make build' runs
          OK, lightly use tested on amd64

Comments/OK?


diff --git Makefile Makefile
index f358ded847c..45587378b71 100644
--- Makefile
+++ Makefile
@@ -2,10 +2,10 @@
 
 COMMENT=       library for delta compression of streams
 
-V =            2.0.2
+V =            2.1.0
 DISTNAME =     librsync-${V}
 
-SHARED_LIBS += rsync                4.0      # 2.0
+SHARED_LIBS =  rsync   5.0 # 2.1.0
 
 CATEGORIES=    net
 
diff --git distinfo distinfo
index 98d26e6b62b..6f0acdf7686 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (librsync-2.0.2.tar.gz) = 5nuVIO6E9yOb5ulIeVgDvZVJUJHMAL9tDoxpdgMqSvE=
-SIZE (librsync-2.0.2.tar.gz) = 174480
+SHA256 (librsync-2.1.0.tar.gz) = 9wHSurPXRx3+pg0p6SUfi7dWciKVf3GVr1UULLIHxlM=
+SIZE (librsync-2.1.0.tar.gz) = 175630
diff --git pkg/PLIST pkg/PLIST
index d5f5479d092..e7a857e53c0 100644
--- pkg/PLIST
+++ pkg/PLIST
@@ -1,6 +1,7 @@
 @comment $OpenBSD: PLIST,v 1.5 2018/02/08 22:35:19 sthen Exp $
 @bin bin/rdiff
 include/librsync.h
+include/librsync_export.h
 @lib lib/librsync.so.${LIBrsync_VERSION}
 @man man/man1/rdiff.1
 @man man/man3/librsync.3

Reply via email to