Sat Sep 12 22:54:01 2015 UTC ()
Add librsync-1.0.1:

librsync implements the rolling-checksum algorithm of remote
file synchronization that was popularized by the rsync utility.  This
algorithm transfers the differences between 2 files without needing both
files on the same system.  librsync is for building other programs that
transfer files as efficiently as rsync.  You can use librsync in a program
you write to do backups, distribute binary patches to programs, or
sync directories to a server or between peers.


(joerg)
diff -r0 -r1.1 pkgsrc/net/librsync/DESCR
diff -r0 -r1.1 pkgsrc/net/librsync/Makefile
diff -r0 -r1.1 pkgsrc/net/librsync/PLIST
diff -r0 -r1.1 pkgsrc/net/librsync/buildlink3.mk
diff -r0 -r1.1 pkgsrc/net/librsync/distinfo
diff -r0 -r1.1 pkgsrc/net/librsync/patches/patch-Makefile.am

File Added: pkgsrc/net/librsync/DESCR
librsync implements the rolling-checksum algorithm of remote
file synchronization that was popularized by the rsync utility.  This
algorithm transfers the differences between 2 files without needing both
files on the same system.  librsync is for building other programs that
transfer files as efficiently as rsync.  You can use librsync in a program
you write to do backups, distribute binary patches to programs, or
sync directories to a server or between peers.

File Added: pkgsrc/net/librsync/Makefile
# $NetBSD: Makefile,v 1.1 2015/09/12 22:54:01 joerg Exp $

DISTNAME=	librsync-1.0.1
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_GITHUB:=librsync/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://librsync.sourcefrog.net/
COMMENT=	rsync-like rolling checksum library

GITHUB_TAG=	f32ed26d02b4d59aa0db215fb58c7a2536d19cb9

LICENSE=	gnu-lgpl-v2.1

USE_LIBTOOL=	yes
USE_TOOLS+=	autoconf automake libtoolize perl

GNU_CONFIGURE=	yes

pre-configure:
	cd ${WRKSRC} && ./autogen.sh

.include "../../devel/popt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/net/librsync/PLIST
@comment $NetBSD: PLIST,v 1.1 2015/09/12 22:54:01 joerg Exp $
bin/rdiff
include/librsync-config.h
include/librsync.h
lib/librsync.la
man/man1/rdiff.1
man/man3/librsync.3

File Added: pkgsrc/net/librsync/buildlink3.mk
# $NetBSD: buildlink3.mk,v 1.1 2015/09/12 22:54:01 joerg Exp $

BUILDLINK_TREE+=	librsync

.if !defined(LIBRSYNC_BUILDLINK3_MK)
LIBRSYNC_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.librsync+=	librsync>=1.0.1
BUILDLINK_PKGSRCDIR.librsync?=	../../net/librsync
.endif	# LIBRSYNC_BUILDLINK3_MK

BUILDLINK_TREE+=	-librsync

File Added: pkgsrc/net/librsync/distinfo
$NetBSD: distinfo,v 1.1 2015/09/12 22:54:01 joerg Exp $

SHA1 (librsync-1.0.1-f32ed26d02b4d59aa0db215fb58c7a2536d19cb9.tar.gz) = 72ba18f73df99ca77335d0952bad3e0ca8f53e34
RMD160 (librsync-1.0.1-f32ed26d02b4d59aa0db215fb58c7a2536d19cb9.tar.gz) = d027e202518252fd64ec11a0a21122ded262718a
Size (librsync-1.0.1-f32ed26d02b4d59aa0db215fb58c7a2536d19cb9.tar.gz) = 140956 bytes
SHA1 (patch-Makefile.am) = 196443871ed3795e62267e0a5399010d1031a584

File Added: pkgsrc/net/librsync/patches/Attic/patch-Makefile.am
$NetBSD: patch-Makefile.am,v 1.1 2015/09/12 22:54:01 joerg Exp $

--- Makefile.am.orig	2015-09-12 21:32:07.226531526 +0000
+++ Makefile.am
@@ -66,6 +66,7 @@ rdiff_DEPENDENCIES = librsync.la
 # this script is used to build prototab.[ch]
 noinst_SCRIPTS = mkprototab.pl
 
+prototab.c emit.c patch.c: prototab.h
 # Autogenerated by a script.
-prototab.c prototab.h: $(srcdir)/mkprototab.pl
+prototab.h: $(srcdir)/mkprototab.pl
 	perl $(srcdir)/mkprototab.pl prototab.c prototab.h