aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-12-08 07:33:48 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-12-08 07:33:48 +0000
commitc05861871bcb40c418ba7fda6e8949f617664c7f (patch)
tree2f4741bd369c85483a98690af00c23dc7ba8df17
parent99a5455d74a9643a0e7f5c09d49dadb83b4aaac9 (diff)
downloadports-c05861871bcb40c418ba7fda6e8949f617664c7f.tar.gz
ports-c05861871bcb40c418ba7fda6e8949f617664c7f.zip
Notes
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/rsyncrypto/Makefile35
-rw-r--r--sysutils/rsyncrypto/distinfo2
-rw-r--r--sysutils/rsyncrypto/pkg-descr13
4 files changed, 51 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index a3c8dea93a2b..23a500c1cd6f 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -760,6 +760,7 @@
SUBDIR += rsnapshot
SUBDIR += rsyncbackup
SUBDIR += rsyncmanager
+ SUBDIR += rsyncrypto
SUBDIR += rsyslog5
SUBDIR += rsyslog5-dbi
SUBDIR += rsyslog5-gnutls
diff --git a/sysutils/rsyncrypto/Makefile b/sysutils/rsyncrypto/Makefile
new file mode 100644
index 000000000000..2f346d36834e
--- /dev/null
+++ b/sysutils/rsyncrypto/Makefile
@@ -0,0 +1,35 @@
+# Created by: Jin-Sih Lin <linpct@gmail.com>
+# $FreeBSD$
+
+PORTNAME= rsyncrypto
+PORTVERSION= 1.12
+CATEGORIES= sysutils net
+MASTER_SITES= SF
+
+MAINTAINER= linpct@gmail.com
+COMMENT= Rsync Friendly File Encryption
+
+LICENSE= GPLv2
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libargtable2.so:${PORTSDIR}/devel/argtable
+RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync \
+ gzip:${PORTSDIR}/archivers/gzip
+
+LDFLAGS+= -L${LOCALBASE}/lib/
+CPPFLAGS+= -I${LOCALBASE}/include/
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+PLIST_FILES= bin/rsyncrypto \
+ bin/rsyncrypto_recover
+
+MAN1= rsyncrypto.1 rsyncrypto_recover.1
+
+post-install:
+ @${ECHO_MSG}
+ @${ECHO_MSG} ${PORTNAME} requires archivers/gzip be built
+ @${ECHO_MSG} with the RSYNCABLE flag to run properly
+ @${ECHO_MSG}
+
+.include <bsd.port.mk>
diff --git a/sysutils/rsyncrypto/distinfo b/sysutils/rsyncrypto/distinfo
new file mode 100644
index 000000000000..358fc25e84d4
--- /dev/null
+++ b/sysutils/rsyncrypto/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rsyncrypto-1.12.tar.gz) = 1fbe640af6db598e105d9e9554cddce05ed78849f0afa26d4cc8b1e1a2df9ace
+SIZE (rsyncrypto-1.12.tar.gz) = 420652
diff --git a/sysutils/rsyncrypto/pkg-descr b/sysutils/rsyncrypto/pkg-descr
new file mode 100644
index 000000000000..4d5d61777145
--- /dev/null
+++ b/sysutils/rsyncrypto/pkg-descr
@@ -0,0 +1,13 @@
+Rsyncrypto is a modified encryption scheme. It is based on industry standard
+AES for symmetric encryption, as well as RSA for having different keys for
+each file while allowing a single key to decrypt all files. It even uses an
+encryption mode that is based on CBC.
+
+Rsyncrypto does, however, do one thing differently. It changes the encryption
+schema from plain CBC to a slightly modified version. This modification ensures
+that two almost identical files, such as the same file before an after a
+change, when encrypted using rsyncrypto and the same key, will produce almost
+identical encrypted files. This means that both objectives can be achieved
+simultaneously.
+
+WWW: http://rsyncrypto.lingnu.com/