diff options
author | Brandon Low <lostlogic@gentoo.org> | 2005-09-02 12:42:33 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@gentoo.org> | 2005-09-02 12:42:33 +0000 |
commit | 857e9ceb314f7994b431051d22b058c98ea63092 (patch) | |
tree | 9f843535b1c2247af3588cbd84393b9c559d4f6b /app-backup | |
parent | Don't use -d option with cp. (diff) | |
download | gentoo-2-857e9ceb314f7994b431051d22b058c98ea63092.tar.gz gentoo-2-857e9ceb314f7994b431051d22b058c98ea63092.tar.bz2 gentoo-2-857e9ceb314f7994b431051d22b058c98ea63092.zip |
New revision with actual functional changes -- don't put a runnable script in /etc/reoback, put it in the cron.daily where it belongs, add information about this to the postinst
(Portage version: 1.589-cvs)
Diffstat (limited to 'app-backup')
-rw-r--r-- | app-backup/reoback/ChangeLog | 11 | ||||
-rw-r--r-- | app-backup/reoback/Manifest | 6 | ||||
-rw-r--r-- | app-backup/reoback/files/digest-reoback-1.0_p3-r1 | 1 | ||||
-rw-r--r-- | app-backup/reoback/reoback-1.0_p3-r1.ebuild | 43 | ||||
-rw-r--r-- | app-backup/reoback/reoback-1.0_p3.ebuild | 9 |
5 files changed, 63 insertions, 7 deletions
diff --git a/app-backup/reoback/ChangeLog b/app-backup/reoback/ChangeLog index af1b3de85823..d705014c3ac1 100644 --- a/app-backup/reoback/ChangeLog +++ b/app-backup/reoback/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for app-backup/reoback # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-backup/reoback/ChangeLog,v 1.4 2005/09/02 12:32:47 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-backup/reoback/ChangeLog,v 1.5 2005/09/02 12:42:33 lostlogic Exp $ + +*reoback-1.0_p3-r1 (02 Sep 2005) + + 02 Sep 2005; Brandon Low <lostlogic@gentoo.org> reoback-1.0_p3.ebuild, + +reoback-1.0_p3-r1.ebuild: + Put the run_reoback.sh file in /etc/cron.daily as reoback, this is the + correct place for a script which is designed to be run daily. Now to + activate reobak all a user must do is configure it in + /etc/reoback/settings.conf and then chmod +x /etc/cron.daily/reoback. *reoback-1.0_p3 (02 Sep 2005) diff --git a/app-backup/reoback/Manifest b/app-backup/reoback/Manifest index e3036ab89b39..8dff2c98937c 100644 --- a/app-backup/reoback/Manifest +++ b/app-backup/reoback/Manifest @@ -1,4 +1,6 @@ -MD5 042dd85a3c6509b5b6281110871cb70a reoback-1.0_p3.ebuild 987 -MD5 93af29590823d55e2be93f88a2d1fbcf ChangeLog 1336 +MD5 30c6415d0dc2eb5d5629a4881dee3d7f reoback-1.0_p3-r1.ebuild 1165 +MD5 24724572f0710bc16444fe30760fc8f5 reoback-1.0_p3.ebuild 991 +MD5 59650045275dacf23aa439ba783b61c5 ChangeLog 1745 MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160 +MD5 0e715624919f174c31e9a2a777d48f99 files/digest-reoback-1.0_p3-r1 65 MD5 0e715624919f174c31e9a2a777d48f99 files/digest-reoback-1.0_p3 65 diff --git a/app-backup/reoback/files/digest-reoback-1.0_p3-r1 b/app-backup/reoback/files/digest-reoback-1.0_p3-r1 new file mode 100644 index 000000000000..12b8535ae439 --- /dev/null +++ b/app-backup/reoback/files/digest-reoback-1.0_p3-r1 @@ -0,0 +1 @@ +MD5 864f8f44f2124be113838b85c405ffe1 reoback-1.0_r3.tar.gz 27396 diff --git a/app-backup/reoback/reoback-1.0_p3-r1.ebuild b/app-backup/reoback/reoback-1.0_p3-r1.ebuild new file mode 100644 index 000000000000..5ec5f905a7f0 --- /dev/null +++ b/app-backup/reoback/reoback-1.0_p3-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-backup/reoback/reoback-1.0_p3-r1.ebuild,v 1.1 2005/09/02 12:42:33 lostlogic Exp $ + +DESCRIPTION="Reoback Backup Solution" +HOMEPAGE="http://reoback.sourceforge.net/" +SRC_URI="mirror://sourceforge/reoback/reoback-${PV/_p/_r}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=">=dev-lang/perl-5.6.1" +DEPEND=">=app-arch/tar-1.13" + +S=${WORKDIR}/${PN}-${PV/_*} + +src_unpack() { + unpack ${A} + find . -name CVS -type d | xargs rm -r + cd "${S}" + sed -i \ + -e '/^config=/s:=.*:=/etc/reoback/settings.conf:' \ + -e '/^reoback=/s:=.*:=/usr/sbin/reoback.pl:' \ + run_reoback.sh || die +} + +src_install() { + dosbin reoback.pl || die "dosbin" + insinto /etc/reoback + doins conf/* || die "doins conf" + fperms 750 /usr/sbin/reoback.pl + insinto /etc/cron.daily + newins run_reoback.sh reoback + cd docs + dodoc BUGS CHANGES INSTALL MANUALS README TODO +} + +pkg_postinst() { + einfo "Reoback can now be activated by simply configuring the files in" + einfo "/etc/reoback and then doing: chmod +x /etc/cron.daily/reoback" +} diff --git a/app-backup/reoback/reoback-1.0_p3.ebuild b/app-backup/reoback/reoback-1.0_p3.ebuild index bff0d0105d42..855b427ba6dd 100644 --- a/app-backup/reoback/reoback-1.0_p3.ebuild +++ b/app-backup/reoback/reoback-1.0_p3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-backup/reoback/reoback-1.0_p3.ebuild,v 1.1 2005/09/02 12:32:47 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-backup/reoback/reoback-1.0_p3.ebuild,v 1.2 2005/09/02 12:42:33 lostlogic Exp $ DESCRIPTION="Reoback Backup Solution" HOMEPAGE="http://reoback.sourceforge.net/" @@ -29,9 +29,10 @@ src_unpack() { src_install() { dosbin reoback.pl || die "dosbin" insinto /etc/reoback - doins run_reoback.sh conf/* || die "doins conf" - fperms 750 /usr/sbin/reoback.pl /etc/reoback/run_reoback.sh - + doins conf/* || die "doins conf" + fperms 750 /usr/sbin/reoback.pl + insinto /etc/cron.daily + doins run_reoback.sh cd docs dodoc BUGS CHANGES INSTALL MANUALS README TODO } |