summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-03-21 10:03:26 +0000
committerJustin Lecher <jlec@gentoo.org>2015-03-21 10:03:26 +0000
commit74d4b50d8930902c4e7996d22cb4fcb1e7cec32b (patch)
tree8c05f3cdfc96797647ea8cd327b44e9b0f456b95 /app-backup/reoback
parentEAPI bump, bug #543160. (diff)
downloadgentoo-2-74d4b50d8930902c4e7996d22cb4fcb1e7cec32b.tar.gz
gentoo-2-74d4b50d8930902c4e7996d22cb4fcb1e7cec32b.tar.bz2
gentoo-2-74d4b50d8930902c4e7996d22cb4fcb1e7cec32b.zip
Bump to EAPI=5; modernize ebuild style
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'app-backup/reoback')
-rw-r--r--app-backup/reoback/ChangeLog9
-rw-r--r--app-backup/reoback/metadata.xml8
-rw-r--r--app-backup/reoback/reoback-1.0_p3-r1.ebuild27
3 files changed, 24 insertions, 20 deletions
diff --git a/app-backup/reoback/ChangeLog b/app-backup/reoback/ChangeLog
index ddb7d53a815f..3c75fbaa63a5 100644
--- a/app-backup/reoback/ChangeLog
+++ b/app-backup/reoback/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-backup/reoback
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/reoback/ChangeLog,v 1.8 2008/04/21 16:29:54 phreak Exp $
+# Copyright 2000-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-backup/reoback/ChangeLog,v 1.9 2015/03/21 10:03:26 jlec Exp $
+
+ 21 Mar 2015; Justin Lecher <jlec@gentoo.org> metadata.xml,
+ reoback-1.0_p3-r1.ebuild:
+ Bump to EAPI=5; modernize ebuild style
21 Apr 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
Fix up metadata.xml. If there's no maintainer for the package, the metadata
@@ -57,4 +61,3 @@
16 Mar 2003; Seth Chandler <sethbc@gentoo.org>; reoback-1.0-r3.ebuild:
added reoback to portage thanks to gtonic <tom@wahuu.at>
-
diff --git a/app-backup/reoback/metadata.xml b/app-backup/reoback/metadata.xml
index 59e2b8f78cb5..9df351b326cc 100644
--- a/app-backup/reoback/metadata.xml
+++ b/app-backup/reoback/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer>
- <email>maintainer-needed@gentoo.org</email>
- <name>Default assignee for orphaned packages</name>
- </maintainer>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ <name>Default assignee for orphaned packages</name>
+ </maintainer>
</pkgmetadata>
diff --git a/app-backup/reoback/reoback-1.0_p3-r1.ebuild b/app-backup/reoback/reoback-1.0_p3-r1.ebuild
index 164b516df2a4..3c2376afd847 100644
--- a/app-backup/reoback/reoback-1.0_p3-r1.ebuild
+++ b/app-backup/reoback/reoback-1.0_p3-r1.ebuild
@@ -1,6 +1,10 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2015 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.2 2007/01/24 04:24:00 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/reoback/reoback-1.0_p3-r1.ebuild,v 1.3 2015/03/21 10:03:26 jlec Exp $
+
+EAPI=5
+
+inherit eutils
DESCRIPTION="Reoback Backup Solution"
HOMEPAGE="http://reoback.sourceforge.net/"
@@ -16,25 +20,22 @@ 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 \
+src_prepare() {
+ ecvs_clean
+ sed \
-e '/^config=/s:=.*:=/etc/reoback/settings.conf:' \
-e '/^reoback=/s:=.*:=/usr/sbin/reoback.pl:' \
- run_reoback.sh || die
+ -i run_reoback.sh || die
}
src_install() {
- dosbin reoback.pl || die "dosbin"
+ dosbin reoback.pl
insinto /etc/reoback
- doins conf/* || die "doins conf"
- fperms 750 /usr/sbin/reoback.pl
+ doins conf/*
+ fperms o-x /usr/sbin/reoback.pl
insinto /etc/cron.daily
newins run_reoback.sh reoback
- cd docs
- dodoc BUGS CHANGES INSTALL MANUALS README TODO
+ dodoc docs/{BUGS,CHANGES,INSTALL,MANUALS,README,TODO}
}
pkg_postinst() {