aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2018-09-14 06:24:14 +0800
committerbdrewery <bdrewery@FreeBSD.org>2018-09-14 06:24:14 +0800
commit7be8c8671a2761328af074ef98aeea6db61acc1a (patch)
tree833435ee8a908fc818486f9ca7ecb08e7d73e818
parent92a1f64315744a586d441b2b663088ef20a08a38 (diff)
downloadfreebsd-ports-gnome-7be8c8671a2761328af074ef98aeea6db61acc1a.tar.gz
freebsd-ports-gnome-7be8c8671a2761328af074ef98aeea6db61acc1a.tar.zst
freebsd-ports-gnome-7be8c8671a2761328af074ef98aeea6db61acc1a.zip
Update to 2.0.2
PR: 230154 Submitted by: Nathan <ndowens@yahoo.com>
-rw-r--r--net/librsync2/Makefile8
-rw-r--r--net/librsync2/distinfo6
-rw-r--r--net/librsync2/files/patch-src_search.c12
-rw-r--r--net/librsync2/pkg-plist3
4 files changed, 7 insertions, 22 deletions
diff --git a/net/librsync2/Makefile b/net/librsync2/Makefile
index b07b18b55b2d..49cc383541a3 100644
--- a/net/librsync2/Makefile
+++ b/net/librsync2/Makefile
@@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= librsync
-PORTVERSION= 2.0.0
+PORTVERSION= 2.0.2
DISTVERSIONPREFIX=v
-PORTREVISION= 1
CATEGORIES= net devel
PKGNAMESUFFIX= 2
@@ -20,12 +19,11 @@ CONFLICTS= librsync-[0-9]* librsync1-[0-9]*
USE_GITHUB= yes
-USES= cmake perl5
-USE_PERL5= build
+USES= cmake
USE_LDCONFIG= yes
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librsync.so.2.0.0
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librsync.so.${PORTVERSION}
${INSTALL_MAN} ${WRKSRC}/doc/librsync.3 ${STAGEDIR}${MANPREFIX}/man/man3
${INSTALL_MAN} ${WRKSRC}/doc/rdiff.1 ${STAGEDIR}${MANPREFIX}/man/man1
diff --git a/net/librsync2/distinfo b/net/librsync2/distinfo
index 4baf818e092b..0b4c64fa4e3d 100644
--- a/net/librsync2/distinfo
+++ b/net/librsync2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1485198270
-SHA256 (librsync-librsync-v2.0.0_GH0.tar.gz) = b5c4dd114289832039397789e42d4ff0d1108ada89ce74f1999398593fae2169
-SIZE (librsync-librsync-v2.0.0_GH0.tar.gz) = 155049
+TIMESTAMP = 1536872689
+SHA256 (librsync-librsync-v2.0.2_GH0.tar.gz) = e67b9520ee84f7239be6e948795803bd95495091cc00bf6d0e8c6976032a4af1
+SIZE (librsync-librsync-v2.0.2_GH0.tar.gz) = 174480
diff --git a/net/librsync2/files/patch-src_search.c b/net/librsync2/files/patch-src_search.c
deleted file mode 100644
index 077c192f7464..000000000000
--- a/net/librsync2/files/patch-src_search.c
+++ /dev/null
@@ -1,12 +0,0 @@
-# https://github.com/librsync/librsync/pull/59/files
---- src/search.c.orig 2015-11-29 20:43:12 UTC
-+++ src/search.c
-@@ -218,7 +218,7 @@ rs_search_for_block(rs_weak_sum_t weak_s
- r = m;
- }
-
-- if (l == r) {
-+ if ((l == r) && (l <= bucket->r)) {
- int i = sig->targets[l].i;
- rs_block_sig_t *b = &(sig->block_sigs[i]);
- if (weak_sum != b->weak_sum)
diff --git a/net/librsync2/pkg-plist b/net/librsync2/pkg-plist
index e58852f676b5..da295b627a14 100644
--- a/net/librsync2/pkg-plist
+++ b/net/librsync2/pkg-plist
@@ -1,8 +1,7 @@
bin/rdiff
include/librsync.h
-include/librsync-config.h
lib/librsync.so
lib/librsync.so.2
-lib/librsync.so.2.0.0
+lib/librsync.so.2.0.2
man/man1/rdiff.1.gz
man/man3/librsync.3.gz