aboutsummaryrefslogtreecommitdiff
path: root/net/librsync
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-03-13 10:42:29 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-03-13 10:42:29 +0000
commit7a2c19d018fe03c917eaf82d83c4a122c5603467 (patch)
tree6e1f872f8221d344964a573fea0e50870a161f9b /net/librsync
parente8b893c91b7f0365366d583cdace62ba8888854c (diff)
downloadports-7a2c19d018fe03c917eaf82d83c4a122c5603467.tar.gz
ports-7a2c19d018fe03c917eaf82d83c4a122c5603467.zip
add librsync
Library for delta compression of streams
Notes
Notes: svn path=/head/; revision=39735
Diffstat (limited to 'net/librsync')
-rw-r--r--net/librsync/Makefile30
-rw-r--r--net/librsync/distinfo1
-rw-r--r--net/librsync/files/patch-buf.c10
-rw-r--r--net/librsync/pkg-comment1
-rw-r--r--net/librsync/pkg-descr6
-rw-r--r--net/librsync/pkg-plist3
6 files changed, 51 insertions, 0 deletions
diff --git a/net/librsync/Makefile b/net/librsync/Makefile
new file mode 100644
index 000000000000..1786907d84be
--- /dev/null
+++ b/net/librsync/Makefile
@@ -0,0 +1,30 @@
+# ex:ts=8
+# New ports collection makefile for: librsync
+# Date created: Mar 13, 2001
+# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= librsync
+PORTVERSION= 0.9.2
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= rproxy
+
+MAINTAINER= ijliao@FreeBSD.org
+
+LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
+ bz2.1:${PORTSDIR}/archivers/bzip2
+
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
+ CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include"
+
+USE_GMAKE= yes
+
+MAN1= rdiff.1
+MAN3= librsync.3
+
+.include <bsd.port.mk>
diff --git a/net/librsync/distinfo b/net/librsync/distinfo
new file mode 100644
index 000000000000..4b2980e766f1
--- /dev/null
+++ b/net/librsync/distinfo
@@ -0,0 +1 @@
+MD5 (librsync-0.9.2.tar.gz) = 047a22921be47a7228169267540e0df7
diff --git a/net/librsync/files/patch-buf.c b/net/librsync/files/patch-buf.c
new file mode 100644
index 000000000000..11b7dedcfd93
--- /dev/null
+++ b/net/librsync/files/patch-buf.c
@@ -0,0 +1,10 @@
+--- buf.c.orig Tue Mar 13 16:27:52 2001
++++ buf.c Tue Mar 13 16:28:53 2001
+@@ -40,6 +40,7 @@
+ */
+
+
++#include <sys/types.h>
+ #include <config.h>
+
+ #include <assert.h>
diff --git a/net/librsync/pkg-comment b/net/librsync/pkg-comment
new file mode 100644
index 000000000000..9004669f1e18
--- /dev/null
+++ b/net/librsync/pkg-comment
@@ -0,0 +1 @@
+Library for delta compression of streams
diff --git a/net/librsync/pkg-descr b/net/librsync/pkg-descr
new file mode 100644
index 000000000000..ba1256a93fd5
--- /dev/null
+++ b/net/librsync/pkg-descr
@@ -0,0 +1,6 @@
+The librsync library implements network delta-compression of streams and
+files. The algorithm is similar to that used in the rsync(1) and xdelta(2)
+programs, but specialized for transfer of arbitrary-length octet streams.
+Unlike most diff programs, librsync does not require access to both of the
+files on the same machine, but rather only a short ``signature'' of the
+old file and the complete contents of the new file.
diff --git a/net/librsync/pkg-plist b/net/librsync/pkg-plist
new file mode 100644
index 000000000000..3ff3ced69707
--- /dev/null
+++ b/net/librsync/pkg-plist
@@ -0,0 +1,3 @@
+bin/rdiff
+include/rsync.h
+lib/librsync.a