We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.

changeset 21:51003172505b

adding ebuild for backup2l in slightly modified version from https://bugs.gentoo.org/show_bug.cgi?id=167249
author Daniel Neugebauer <dneuge@energiequant.de>
date Wed, 15 Aug 2012 11:22:38 +0200
parents a944beec37c5
children 12dd1a91bbdf
files app-backup/backup2l/Manifest app-backup/backup2l/backup2l-1.4.ebuild
diffstat 2 files changed, 70 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app-backup/backup2l/Manifest	Wed Aug 15 11:22:38 2012 +0200
@@ -0,0 +1,2 @@
+DIST backup2l_1.4.tar.gz 24545 RMD160 21e08a0d772aec7735ba34be133dbe3a46077707 SHA1 f0be94cf9a7d9abecb44f71474d7b19d2f9587e2 SHA256 fdb248da6c00c9f368de61136197bf1f7606a402214b79a900653f80262552c9
+EBUILD backup2l-1.4.ebuild 1571 RMD160 165454d8d039173ae1bc688e3af1a272de8e5028 SHA1 92da8106402ca77ca88d361098b20c1a56a89834 SHA256 a25d53d2610df9f7bd9748316d29a52015afc2ca4b0043a0d117f22814f72527
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app-backup/backup2l/backup2l-1.4.ebuild	Wed Aug 15 11:22:38 2012 +0200
@@ -0,0 +1,68 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+# note by megacoffee.net overlay repository:
+
+# source of ebuild is bug 167249 on Gentoo Bugzilla
+# https://bugs.gentoo.org/show_bug.cgi?id=167249
+# original author: bugzilla user "Will"
+# posted on: 2007-02-16 19:01:20 UTC
+
+# minimal modifications have been made:
+
+# < KEYWORDS="~x86"
+# ---
+# > KEYWORDS="~x86 ~amd64"
+
+# < 	exeinto /usr/local
+# ---
+# > 	#exeinto /usr/local
+# > 	exeinto /usr/bin
+
+HOMEPAGE="http://sourceforge.net/projects/backup2l/"
+SRC_URI="mirror://sourceforge/backup2l/${P/-/_}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_install() {
+	
+	PREFIX=/usr
+	PREFIX_BIN=/usr/bin
+	PREFIX_CONF=/etc
+
+	dodir $PREFIX_CONF/cron.daily
+	CRON_FILE=$PREFIX_CONF/cron.daily
+	
+	PROG_FILES="$PREFIX_BIN/backup2l $PREFIX/man/man8/backup2l.8.gz"
+	CONF_FILES="$PREFIX_CONF/backup2l.conf $CRON_FILE"
+
+	elog "Installing program"
+	#exeinto /usr/local
+	exeinto /usr/bin
+	doexe backup2l #$PREFIX_BIN
+	
+	elog "Installing manual"
+	doman backup2l.8 
+	
+	elog "Installing sample configuration file"
+	insinto $PREFIX_CONF
+	newins first-time.conf backup2l.conf
+
+	elog "Installing sample cron task"
+	insinto $CRON_FILE
+	doins zz-backup2l 
+	elog "Configuration files installed."
+}
+
+pkg_postinst() {
+	ewarn "Make sure you edit /etc/backupl.conf prior doing anything else..."
+	ewarn "You will have to define what to backup and where at least."
+	ewarn "Read the entire configuration file, one line must be uncommented."
+}