summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2006-05-31 01:16:27 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-31 01:16:27 +0000
commit4e2b7163de91a98c6558dcf7efd4962eaa6a6c1a (patch)
treee0210a9f3994cd044a157a59e6051ce42995933f /packages
parent07321325c869378445800aff2546ad0f2121fd05 (diff)
rdiff-backup: Add rdiff-backup 1.0.4 (stable) and 1.1.5 (dev). A backup
program that uses rsync and supports storage/retrieval of old revisions and is able to preserve all file informatin (including extended attributes and ACLs). Closes bug# 1033.
Diffstat (limited to 'packages')
-rw-r--r--packages/rdiff-backup/.mtn2git_empty0
-rw-r--r--packages/rdiff-backup/rdiff-backup.inc41
-rw-r--r--packages/rdiff-backup/rdiff-backup_1.0.4.bb2
-rw-r--r--packages/rdiff-backup/rdiff-backup_1.1.5.bb5
4 files changed, 48 insertions, 0 deletions
diff --git a/packages/rdiff-backup/.mtn2git_empty b/packages/rdiff-backup/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/rdiff-backup/.mtn2git_empty
diff --git a/packages/rdiff-backup/rdiff-backup.inc b/packages/rdiff-backup/rdiff-backup.inc
new file mode 100644
index 0000000000..73d2f7db72
--- /dev/null
+++ b/packages/rdiff-backup/rdiff-backup.inc
@@ -0,0 +1,41 @@
+DESCRIPTION = "A python application that backs up one directory to \
+another, possibly over a network. It combines the best features of a \
+mirror and an incremental backup. The target directory ends up a copy \
+of the source directory, but extra reverse diffs are stored in a \
+special subdirectory of that target directory, so you can still \
+recover files lost some time ago. It is also able to preserve \
+subdirectories, hard links, dev files, permissions, uid/gid \
+ownership, modification times, extended attributes, acls, and \
+resource forks."
+HOMEPAGE = "http://www.nongnu.org/rdiff-backup/"
+SECTION = "network"
+LICENSE = "GPL"
+DEPENDS = "librsync"
+RDEPENDS_${PN} = "zlib python-re python-io python-lang python-datetime \
+ python-pickle python-shell python-compression python-unixadmin \
+ python-netclient"
+
+SRC_URI = "http://savannah.nongnu.org/download/rdiff-backup/rdiff-backup-${PV}.tar.gz"
+
+inherit distutils
+
+#
+# Without this the python interpreter path points to the staging area.
+#
+do_compile() {
+ BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+ ${STAGING_BINDIR}/python setup.py build --executable=${bindir}/python || \
+ oefatal "python setup.py build execution failed."
+}
+
+#
+# The default do_install sets install-data to ${D}/${datadir} which
+# ends up with documentation in /usr/share/share/... instead of
+# /usr/share/... Modify the install data directory here to get it
+# into the correct place.
+#
+do_install() {
+ BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+ ${STAGING_BINDIR}/python setup.py install --prefix=${D}/${prefix} --install-data=${D}/${prefix} || \
+ oefatal "python setup.py install execution failed."
+}
diff --git a/packages/rdiff-backup/rdiff-backup_1.0.4.bb b/packages/rdiff-backup/rdiff-backup_1.0.4.bb
new file mode 100644
index 0000000000..6cc6e28276
--- /dev/null
+++ b/packages/rdiff-backup/rdiff-backup_1.0.4.bb
@@ -0,0 +1,2 @@
+include rdiff-backup.inc
+PR = "r0"
diff --git a/packages/rdiff-backup/rdiff-backup_1.1.5.bb b/packages/rdiff-backup/rdiff-backup_1.1.5.bb
new file mode 100644
index 0000000000..99ddc95a9d
--- /dev/null
+++ b/packages/rdiff-backup/rdiff-backup_1.1.5.bb
@@ -0,0 +1,5 @@
+include rdiff-backup.inc
+PR = "r0"
+
+# 1.1.x added the use of sha which we get from python-crypt
+RDEPENDS_${PN} += "python-crypt"