diff options
author | Marc Schiffbauer <mschiff@gentoo.org> | 2012-10-07 10:29:07 +0000 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2012-10-07 10:29:07 +0000 |
commit | e0eb126c04590bcff8444cb860e36e1cba11b313 (patch) | |
tree | 3f46dcab284c8888b8ab2782481837e7d75ab508 /app-backup/obnam | |
parent | Drop maintainer due retirement, #274113 (diff) | |
download | gentoo-2-e0eb126c04590bcff8444cb860e36e1cba11b313.tar.gz gentoo-2-e0eb126c04590bcff8444cb860e36e1cba11b313.tar.bz2 gentoo-2-e0eb126c04590bcff8444cb860e36e1cba11b313.zip |
Only install passive default config to be save on upgrades.
(Portage version: 2.2.0_alpha135/cvs/Linux x86_64)
Diffstat (limited to 'app-backup/obnam')
-rw-r--r-- | app-backup/obnam/ChangeLog | 7 | ||||
-rw-r--r-- | app-backup/obnam/files/obnam.conf | 20 | ||||
-rw-r--r-- | app-backup/obnam/obnam-1.2.ebuild | 10 |
3 files changed, 20 insertions, 17 deletions
diff --git a/app-backup/obnam/ChangeLog b/app-backup/obnam/ChangeLog index cb9d408fc016..38989047b90a 100644 --- a/app-backup/obnam/ChangeLog +++ b/app-backup/obnam/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-backup/obnam # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-backup/obnam/ChangeLog,v 1.3 2012/10/06 23:48:23 mschiff Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-backup/obnam/ChangeLog,v 1.4 2012/10/07 10:29:07 mschiff Exp $ + + 07 Oct 2012; Marc Schiffbauer <mschiff@gentoo.org> files/obnam.conf, + obnam-1.2.ebuild: + Only install passive default config to be save on upgrades. *obnam-1.2 (06 Oct 2012) @@ -19,4 +23,3 @@ 15 Jun 2012; Marc Schiffbauer <mschiff@gentoo.org> +obnam-1.0.ebuild, +metadata.xml: Initial commit of obnam. - diff --git a/app-backup/obnam/files/obnam.conf b/app-backup/obnam/files/obnam.conf index 6f0a10584942..0d76717742a2 100644 --- a/app-backup/obnam/files/obnam.conf +++ b/app-backup/obnam/files/obnam.conf @@ -27,32 +27,26 @@ ### ### configure what to backup and what to exclude ### -#root = /, /usr, /boot, /var, /opt, /home, /home/mschiff, /var/lib/vmdata -root = /boot, /home -# -exclude = ^/var/tmp/, .*\.pid$, \.cache/, ^/usr/src/linux.*/, ^/var/tmp/portage/, .*/.local/share/Trash/ -# -one-file-system = true +#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 +#keep = 72h,14d,10w,12m ### ### LOGGING ### # where to write a logfile -log = /var/log/obnam/obnam.log +# log = /var/log/obnam/obnam.log # log-level = debug -#log-level = info # log-keep = 10 # log-max = 0 -log-max = 20M # log-mode = 0600 -#chunk-size = 65536 ### ### BACKUP ENCRYPTION @@ -70,9 +64,6 @@ log-max = 20M ### ### PERFORMANCE TWEAKING ### -lru-size = 2000 -upload-queue-size = 4096 - # # Performance tweaking: # --node-size=SIZE size of B-tree nodes on disk (default: 262144) @@ -91,3 +82,4 @@ upload-queue-size = 4096 # --chunkids-per-group=NUM # encode NUM chunk ids per group (1024) # +# EOF diff --git a/app-backup/obnam/obnam-1.2.ebuild b/app-backup/obnam/obnam-1.2.ebuild index b68ace6124d8..e89412762138 100644 --- a/app-backup/obnam/obnam-1.2.ebuild +++ b/app-backup/obnam/obnam-1.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-backup/obnam/obnam-1.2.ebuild,v 1.1 2012/10/06 23:48:23 mschiff Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-backup/obnam/obnam-1.2.ebuild,v 1.2 2012/10/07 10:29:07 mschiff Exp $ EAPI=4 @@ -36,3 +36,11 @@ src_install() { insinto /etc doins "${FILESDIR}"/obnam.conf } + +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 +} |