summaryrefslogtreecommitdiff
path: root/app-backup/obnam
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-backup/obnam
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-backup/obnam')
-rw-r--r--app-backup/obnam/Manifest2
-rw-r--r--app-backup/obnam/files/obnam-1.9-setup-man.diff11
-rw-r--r--app-backup/obnam/files/obnam.conf85
-rw-r--r--app-backup/obnam/metadata.xml8
-rw-r--r--app-backup/obnam/obnam-1.13.ebuild54
-rw-r--r--app-backup/obnam/obnam-1.9.ebuild54
6 files changed, 214 insertions, 0 deletions
diff --git a/app-backup/obnam/Manifest b/app-backup/obnam/Manifest
new file mode 100644
index 00000000000..1af582eb792
--- /dev/null
+++ b/app-backup/obnam/Manifest
@@ -0,0 +1,2 @@
+DIST obnam-1.13.tar.gz 361079 SHA256 51684a44352e57b2bc9b019566d210c772a99489da6929899a41937731fc8f24 SHA512 1df7ebac4c7cae9b2809c7fce61edc187c70098d6bb8cfbed4d789b02de7d2ddc7077907bff056beac09cc33ecc7eb5db3b282915707086ae998bba089939819 WHIRLPOOL 12d86d53c3b6a1d1ec35af31192129d31ef569bf188ec029bdebbd88ddd239ca11f4007135fdcd94f645bef7517808641b32ec3565b2ec796364e4f320021372
+DIST obnam-1.9.tar.gz 340103 SHA256 7e0182efb16597d63916d052ac36546e7c597ee75ba40ae23b2dc9afbb959f82 SHA512 f170a4223b84d2b26617c412524e9ec6efcf3b7bb7bb1a4bfc7333c138e9b9066658c54da9aa8c41b4ea3c3335da3bcd1c26b911b2cce7eb98eabf52d72af67f WHIRLPOOL 73b72c8fe7bbf2958714ef05dba518839471aea91aa02d60f8015481c30440de985f2db0a610bcf08d29eaa86e074cf7b39e975c3847cb1e78c0adf27d793b31
diff --git a/app-backup/obnam/files/obnam-1.9-setup-man.diff b/app-backup/obnam/files/obnam-1.9-setup-man.diff
new file mode 100644
index 00000000000..66bc077b2de
--- /dev/null
+++ b/app-backup/obnam/files/obnam-1.9-setup-man.diff
@@ -0,0 +1,11 @@
+--- setup.py.orig 2015-03-23 00:11:50.833110091 +0100
++++ setup.py 2015-03-23 00:12:19.892915511 +0100
+@@ -78,7 +78,7 @@
+ env['MANWIDTH'] = '80'
+ with open('%s.1.txt' % program, 'w') as f:
+ cliapp.runcmd(
+- ['man', '-l', '%s.1' % program],
++ ['man', './%s.1' % program],
+ ['col', '-b'],
+ stdout=f,
+ env=env)
diff --git a/app-backup/obnam/files/obnam.conf b/app-backup/obnam/files/obnam.conf
new file mode 100644
index 00000000000..0d76717742a
--- /dev/null
+++ b/app-backup/obnam/files/obnam.conf
@@ -0,0 +1,85 @@
+#
+# This is the global obnam configuration file
+#
+# see 'man obnam' for all available config options
+#
+
+[config]
+###
+### BACKUP REPOSITORY (backup destination)
+###
+### configure where to store backups and how
+###
+# name of the backup repository
+# can be a local path (or NFS mount ...) or a sftp URL
+#
+# local directory:
+#repository = /mnt/mybackupspace
+#
+# or remote via sftp
+#repository = sftp://someuser@server/path/to/backup
+#
+# enable compression of files in repository (disabled by default)
+#compress-with = deflate
+
+###
+### BACKUP ROOT(s) (backup source)
+###
+### configure what to backup and what to exclude
+###
+#root = /boot, /home
+#exclude = ^/var/tmp/, .*\.pid$, \.cache/, ^/usr/src/linux.*/, ^/var/tmp/portage/, .*/.local/share/Trash/
+#one-file-system = true
+
+###
+### FORGET POLICY (repository housekeeping)
+###
+### configure which backup generations to keep when
+### cleaning up repository
+#keep = 72h,14d,10w,12m
+
+###
+### LOGGING
+###
+# where to write a logfile
+# log = /var/log/obnam/obnam.log
+# log-level = debug
+# log-keep = 10
+# log-max = 0
+# log-mode = 0600
+
+###
+### BACKUP ENCRYPTION
+###
+# Encryption:
+# --encrypt-with=ENCRYPT-WITH
+# PGP key with which to encrypt data in the backup
+# repository
+# --keyid=KEYID PGP key id to add to/remove from the backup repository
+# --weak-random use /dev/urandom instead of /dev/random to generate
+# symmetric keys
+# --symmetric-key-bits=SYMMETRIC-KEY-BITS
+# size of symmetric key, in bits
+
+###
+### PERFORMANCE TWEAKING
+###
+#
+# Performance tweaking:
+# --node-size=SIZE size of B-tree nodes on disk (default: 262144)
+# --chunk-size=SIZE size of chunks of file data backed up (default:
+# 1048576)
+# --upload-queue-size=SIZE
+# length of upload queue for B-tree nodes (default:
+# 1024)
+# --lru-size=SIZE size of LRU cache for B-tree nodes (default: 500)
+# --idpath-depth=IDPATH-DEPTH
+# depth of chunk id mapping
+# --idpath-bits=IDPATH-BITS
+# chunk id level size
+# --idpath-skip=IDPATH-SKIP
+# chunk id mapping lowest bits skip
+# --chunkids-per-group=NUM
+# encode NUM chunk ids per group (1024)
+#
+# EOF
diff --git a/app-backup/obnam/metadata.xml b/app-backup/obnam/metadata.xml
new file mode 100644
index 00000000000..ea7bd021a21
--- /dev/null
+++ b/app-backup/obnam/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>mschiff@gentoo.org</email>
+ <name>Marc Schiffbauer</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-backup/obnam/obnam-1.13.ebuild b/app-backup/obnam/obnam-1.13.ebuild
new file mode 100644
index 00000000000..cd42b25e807
--- /dev/null
+++ b/app-backup/obnam/obnam-1.13.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="threads"
+
+inherit eutils distutils-r1
+
+DESCRIPTION="A backup program that supports encryption and deduplication"
+HOMEPAGE="http://obnam.org/"
+SRC_URI="http://git.liw.fi/cgi-bin/cgit/cgit.cgi/obnam/snapshot/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="${PYTHON_DEPS}
+ dev-python/cliapp
+ dev-python/fuse-python
+ dev-python/larch
+ !=dev-python/paramiko-1.13.0
+ || ( <dev-python/paramiko-1.13.0 >dev-python/paramiko-1.13.0 )
+ dev-python/pyyaml
+ dev-python/tracing
+ dev-python/ttystatus
+ "
+RDEPEND="${DEPEND}"
+
+PATCHES=( )
+
+src_compile() {
+ addwrite /proc/self/comm
+ distutils-r1_src_compile
+}
+
+src_install() {
+ distutils-r1_src_install
+ find "${D}" -name "obnam-viewprof*" -delete
+ insinto /etc
+ doins "${FILESDIR}"/obnam.conf
+ keepdir /var/log/obnam
+}
+
+pkg_postinst() {
+ if [[ $REPLACING_VERSIONS < "1.2" ]]; then
+ elog "You will need to setup a config file before running obnam for the first time."
+ elog "For details, please see the obnam(1) manual page."
+ elog "An example file has been installed as /etc/obnam.conf for your convenience."
+ fi
+}
diff --git a/app-backup/obnam/obnam-1.9.ebuild b/app-backup/obnam/obnam-1.9.ebuild
new file mode 100644
index 00000000000..9620fcc7582
--- /dev/null
+++ b/app-backup/obnam/obnam-1.9.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="threads"
+
+inherit eutils distutils-r1
+
+DESCRIPTION="A backup program that supports encryption and deduplication"
+HOMEPAGE="http://obnam.org/"
+SRC_URI="http://git.liw.fi/cgi-bin/cgit/cgit.cgi/obnam/snapshot/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="${PYTHON_DEPS}
+ dev-python/cliapp
+ dev-python/fuse-python
+ dev-python/larch
+ !=dev-python/paramiko-1.13.0
+ || ( <dev-python/paramiko-1.13.0 >dev-python/paramiko-1.13.0 )
+ dev-python/pyyaml
+ dev-python/tracing
+ dev-python/ttystatus
+ "
+RDEPEND="${DEPEND}"
+
+PATCHES=( ${FILESDIR}/${P}-setup-man.diff )
+
+src_compile() {
+ addwrite /proc/self/comm
+ distutils-r1_src_compile
+}
+
+src_install() {
+ distutils-r1_src_install
+ find "${D}" -name "obnam-viewprof*" -delete
+ insinto /etc
+ doins "${FILESDIR}"/obnam.conf
+ keepdir /var/log/obnam
+}
+
+pkg_postinst() {
+ if [[ $REPLACING_VERSIONS < "1.2" ]]; then
+ elog "You will need to setup a config file before running obnam for the first time."
+ elog "For details, please see the obnam(1) manual page."
+ elog "An example file has been installed as /etc/obnam.conf for your convenience."
+ fi
+}