Enclosed a diff for bringing librsync to 2.0.2, which is a minor point
release that includes mainly code cleanups. As a result there is one
patch less to maintain.
Instead of using MASTER_SITES Use GH_* (as explained in
Makefile.template). While here update HOMEPAGE.
Output 'make test':
100% tests passed, 0 tests failed out of 12
Build tested all consumers without any issue.
OK?
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/librsync/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- Makefile 8 Feb 2018 22:35:19 -0000 1.19
+++ Makefile 10 Mar 2018 11:59:51 -0000
@@ -2,22 +2,21 @@
COMMENT= library for delta compression of streams
-V= 2.0.1
-DISTNAME= librsync-$V
-DISTFILES= ${DISTNAME}{v$V}.tar.gz
+# XXX: https://github.com/librsync/librsync/issues/146
+GH_ACCOUNT= librsync
+GH_PROJECT= librsync
+GH_TAGNAME= v2.0.2
SHARED_LIBS += rsync 4.0 # 2.0
CATEGORIES= net
-HOMEPAGE= https://github.com/librsync/librsync
+HOMEPAGE= https://librsync.github.io/
# LGPLv2.1+
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += b2 c popt
-
-MASTER_SITES= https://github.com/librsync/librsync/archive/
MODULES= devel/cmake
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/librsync/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo 8 Feb 2018 22:35:19 -0000 1.5
+++ distinfo 10 Mar 2018 11:59:51 -0000
@@ -1,2 +1,2 @@
-SHA256 (librsync-2.0.1.tar.gz) = b85pBBqk/HKiHxqygKcpm4LfKx+gol2Glf1SfmdSYl4=
-SIZE (librsync-2.0.1.tar.gz) = 169765
+SHA256 (librsync-2.0.2.tar.gz) = 5nuVIO6E9yOb5ulIeVgDvZVJUJHMAL9tDoxpdgMqSvE=
+SIZE (librsync-2.0.2.tar.gz) = 174480
Index: patches/patch-tests_hashtable_test_c
===================================================================
RCS file: patches/patch-tests_hashtable_test_c
diff -N patches/patch-tests_hashtable_test_c
--- patches/patch-tests_hashtable_test_c 8 Feb 2018 22:35:19 -0000
1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-$OpenBSD: patch-tests_hashtable_test_c,v 1.1 2018/02/08 22:35:19 sthen Exp $
-
-Index: tests/hashtable_test.c
---- tests/hashtable_test.c.orig
-+++ tests/hashtable_test.c
-@@ -27,7 +27,6 @@
- #include "hashtable.h"
-
- /* Key type for the hashtable. */
--typedef int key_t;
- void key_init(key_t *k, int i)
- {
- /* This is chosen to cause bad key collisions and clustering. */