summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2009-10-12 17:17:02 +0000
committerMark Loeser <halcy0n@gentoo.org>2009-10-12 17:17:02 +0000
commit1567aa26da48587b3494cbd196dae546c4d85334 (patch)
treecef8b23d5be5789bae212719195e571f8adc55d4 /app-backup/backuppc
parentFix repoman issues (diff)
downloadgentoo-2-1567aa26da48587b3494cbd196dae546c4d85334.tar.gz
gentoo-2-1567aa26da48587b3494cbd196dae546c4d85334.tar.bz2
gentoo-2-1567aa26da48587b3494cbd196dae546c4d85334.zip
QA fixes; unquoted variables
(Portage version: 2.2_rc45/cvs/Linux x86_64)
Diffstat (limited to 'app-backup/backuppc')
-rw-r--r--app-backup/backuppc/ChangeLog7
-rw-r--r--app-backup/backuppc/backuppc-2.1.2-r1.ebuild32
2 files changed, 21 insertions, 18 deletions
diff --git a/app-backup/backuppc/ChangeLog b/app-backup/backuppc/ChangeLog
index bbdf65cf5d1d..2c9345033284 100644
--- a/app-backup/backuppc/ChangeLog
+++ b/app-backup/backuppc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-backup/backuppc
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/backuppc/ChangeLog,v 1.7 2008/07/24 21:12:04 rich0 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-backup/backuppc/ChangeLog,v 1.8 2009/10/12 17:17:02 halcy0n Exp $
+
+ 12 Oct 2009; Mark Loeser <halcy0n@gentoo.org> backuppc-2.1.2-r1.ebuild:
+ QA fixes; unquoted variables
24 Jul 2008; Richard Freeman <rich0@gentoo.org> backuppc-2.1.2-r1.ebuild:
amd64 stable - 211671
diff --git a/app-backup/backuppc/backuppc-2.1.2-r1.ebuild b/app-backup/backuppc/backuppc-2.1.2-r1.ebuild
index d77d8cacd2a3..f3ead7191532 100644
--- a/app-backup/backuppc/backuppc-2.1.2-r1.ebuild
+++ b/app-backup/backuppc/backuppc-2.1.2-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/backuppc/backuppc-2.1.2-r1.ebuild,v 1.3 2008/07/24 21:12:04 rich0 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/backuppc/backuppc-2.1.2-r1.ebuild,v 1.4 2009/10/12 17:17:02 halcy0n Exp $
inherit eutils webapp
@@ -8,7 +8,7 @@ IUSE="samba doc"
MY_P=BackupPC-${PV}
PATCH_VER=0.1
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}"/${MY_P}
DESCRIPTION="A high performance, enterprise grade backup system for backing up
Linux, Windows, Mac OS X desktops and laptops to a server's disk. No client
side software needed."
@@ -29,7 +29,7 @@ RDEPEND="dev-perl/File-RsyncP
virtual/mta
samba? ( net-fs/samba )"
-PATCHDIR=${WORKDIR}/gentoo/prepatch
+PATCHDIR="${WORKDIR}"/gentoo/prepatch
pkg_setup() {
enewgroup backuppc
@@ -39,10 +39,10 @@ pkg_setup() {
}
src_unpack() {
- unpack ${A}; cd ${S}
- epatch ${FILESDIR}/${MY_P}pl2.diff
+ unpack ${A}; cd "${S}"
+ epatch "${FILESDIR}"/${MY_P}pl2.diff
- EPATCH_SUFFIX="diff" epatch ${PATCHDIR}
+ EPATCH_SUFFIX="diff" epatch "${PATCHDIR}"
}
src_compile() {
@@ -80,7 +80,7 @@ src_install() {
--hostname XXXXXX \
--uid-ignore \
--install-dir=/usr \
- --dest-dir ${D} \
+ --dest-dir "${D}" \
--html-dir ${MY_HTDOCSDIR}/image \
--html-dir-url /backuppc/image \
--cgi-dir ${MY_CGIBINDIR}/ \
@@ -90,7 +90,7 @@ src_install() {
pod2man \
--section=8 \
--center="BackupPC manual" \
- ${S}/doc/BackupPC.pod backuppc.8 || die "failed to generate man page"
+ "${S}"/doc/BackupPC.pod backuppc.8 || die "failed to generate man page"
doman backuppc.8
@@ -99,23 +99,23 @@ src_install() {
diropts -m 755
dodir /etc/backuppc
- mv ${D}/var/lib/backuppc/conf/* ${D}/etc/backuppc
- rmdir ${D}/var/lib/backuppc/conf
+ mv "${D}"/var/lib/backuppc/conf/* "${D}"/etc/backuppc
+ rmdir "${D}"/var/lib/backuppc/conf
fperms 644 /etc/backuppc/config.pl
fperms 644 /etc/backuppc/hosts
- newinitd ${S}/init.d/gentoo-backuppc backuppc
- newconfd ${S}/init.d/gentoo-backuppc.conf backuppc
+ newinitd "${S}"/init.d/gentoo-backuppc backuppc
+ newconfd "${S}"/init.d/gentoo-backuppc.conf backuppc
webapp_postinst_txt \
- en ${FILESDIR}/postinstall-en.txt || die "webapp_postinst_txt"
+ en "${FILESDIR}"/postinstall-en.txt || die "webapp_postinst_txt"
webapp_src_install || die "webapp_src_install"
- cd ${D}/etc/backuppc
+ cd "${D}"/etc/backuppc
ebegin "Patching config.pl for sane defaults"
- patch -p0 < ${WORKDIR}/gentoo/postpatch/config.pl.diff
+ patch -p0 < "${WORKDIR}"/gentoo/postpatch/config.pl.diff
eend $?
chown -R backuppc:backuppc "${D}/var/lib/backuppc"