diff options
author | joerg <joerg@pkgsrc.org> | 2015-09-12 22:54:01 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-09-12 22:54:01 +0000 |
commit | 47c1269e871ac8b3c2ce46d01382c57ba0a18340 (patch) | |
tree | 57da86a6e1b9ba8267888d6f2ef7f3f8c9e2a83a /net/librsync | |
parent | 49b969cb81c88ae0afe4edbcc29fde2853e93b78 (diff) | |
download | pkgsrc-47c1269e871ac8b3c2ce46d01382c57ba0a18340.tar.gz |
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.
Diffstat (limited to 'net/librsync')
-rw-r--r-- | net/librsync/DESCR | 7 | ||||
-rw-r--r-- | net/librsync/Makefile | 24 | ||||
-rw-r--r-- | net/librsync/PLIST | 7 | ||||
-rw-r--r-- | net/librsync/buildlink3.mk | 12 | ||||
-rw-r--r-- | net/librsync/distinfo | 6 | ||||
-rw-r--r-- | net/librsync/patches/patch-Makefile.am | 13 |
6 files changed, 69 insertions, 0 deletions
diff --git a/net/librsync/DESCR b/net/librsync/DESCR new file mode 100644 index 00000000000..a9278c5f411 --- /dev/null +++ b/net/librsync/DESCR @@ -0,0 +1,7 @@ +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. diff --git a/net/librsync/Makefile b/net/librsync/Makefile new file mode 100644 index 00000000000..32fd142ea74 --- /dev/null +++ b/net/librsync/Makefile @@ -0,0 +1,24 @@ +# $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" diff --git a/net/librsync/PLIST b/net/librsync/PLIST new file mode 100644 index 00000000000..1cfd53529e4 --- /dev/null +++ b/net/librsync/PLIST @@ -0,0 +1,7 @@ +@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 diff --git a/net/librsync/buildlink3.mk b/net/librsync/buildlink3.mk new file mode 100644 index 00000000000..5803bb2506a --- /dev/null +++ b/net/librsync/buildlink3.mk @@ -0,0 +1,12 @@ +# $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 diff --git a/net/librsync/distinfo b/net/librsync/distinfo new file mode 100644 index 00000000000..756d1c485e7 --- /dev/null +++ b/net/librsync/distinfo @@ -0,0 +1,6 @@ +$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 diff --git a/net/librsync/patches/patch-Makefile.am b/net/librsync/patches/patch-Makefile.am new file mode 100644 index 00000000000..fca73baa44b --- /dev/null +++ b/net/librsync/patches/patch-Makefile.am @@ -0,0 +1,13 @@ +$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 |