From: Mike Frysinger Date: Sat, 10 Mar 2007 14:26:22 +0000 (+0000) Subject: stop using $IMAGE X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=12da2573fcfc81e054ca44c22c0c272219a941b3;p=gentoo.git stop using $IMAGE Package-Manager: portage-2.1.2.2 --- diff --git a/net-fs/nfs-utils/nfs-utils-1.0.10.ebuild b/net-fs/nfs-utils/nfs-utils-1.0.10.ebuild index 1813ac83cc15..a730af141876 100644 --- a/net-fs/nfs-utils/nfs-utils-1.0.10.ebuild +++ b/net-fs/nfs-utils/nfs-utils-1.0.10.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.0.10.ebuild,v 1.8 2007/02/23 22:12:25 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.0.10.ebuild,v 1.9 2007/03/10 14:25:03 vapier Exp $ inherit eutils flag-o-matic multilib @@ -87,7 +87,7 @@ src_install() { pkg_preinst() { if [[ -s ${ROOT}/etc/exports ]] ; then - rm -f "${IMAGE}"/etc/exports + rm -f "${D}"/etc/exports fi } diff --git a/net-fs/nfs-utils/nfs-utils-1.0.7-r2.ebuild b/net-fs/nfs-utils/nfs-utils-1.0.7-r2.ebuild index 462379b1c556..fd80456a6cc0 100644 --- a/net-fs/nfs-utils/nfs-utils-1.0.7-r2.ebuild +++ b/net-fs/nfs-utils/nfs-utils-1.0.7-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.0.7-r2.ebuild,v 1.5 2006/06/10 19:13:19 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.0.7-r2.ebuild,v 1.6 2007/03/10 14:25:03 vapier Exp $ inherit eutils flag-o-matic @@ -99,7 +99,7 @@ src_install() { pkg_preinst() { if [[ -s ${ROOT}/etc/exports ]] ; then - rm -f "${IMAGE}"/etc/exports + rm -f "${D}"/etc/exports fi } diff --git a/net-fs/nfs-utils/nfs-utils-1.0.9.ebuild b/net-fs/nfs-utils/nfs-utils-1.0.9.ebuild index 7a2e605d4d2d..c63bbe81bc58 100644 --- a/net-fs/nfs-utils/nfs-utils-1.0.9.ebuild +++ b/net-fs/nfs-utils/nfs-utils-1.0.9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.0.9.ebuild,v 1.4 2006/08/09 02:23:35 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.0.9.ebuild,v 1.5 2007/03/10 14:25:03 vapier Exp $ inherit eutils flag-o-matic multilib @@ -86,7 +86,7 @@ src_install() { pkg_preinst() { if [[ -s ${ROOT}/etc/exports ]] ; then - rm -f "${IMAGE}"/etc/exports + rm -f "${D}"/etc/exports fi } diff --git a/net-fs/openafs/openafs-1.2.13-r2.ebuild b/net-fs/openafs/openafs-1.2.13-r2.ebuild index 7423d064bb8a..e077060eb78e 100644 --- a/net-fs/openafs/openafs-1.2.13-r2.ebuild +++ b/net-fs/openafs/openafs-1.2.13-r2.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/net-fs/openafs/openafs-1.2.13-r2.ebuild,v 1.1 2005/09/02 16:50:36 stefaan Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.2.13-r2.ebuild,v 1.2 2007/03/10 14:26:12 vapier Exp $ inherit fixheadtails flag-o-matic eutils toolchain-funcs versionator @@ -255,17 +255,17 @@ pkg_preinst() { if [ ! -e ${ROOT}etc/openafs/CellServDB ] \ || grep "GCO Public CellServDB" ${ROOT}etc/openafs/CellServDB &> /dev/null then - cp ${CONFDIR}/CellServDB ${IMAGE}etc/openafs + cp ${CONFDIR}/CellServDB ${D}etc/openafs fi # cacheinfo: use a default location cache, 50 megabyte in size # (should be safe for about any root partition, the user can increase # the size as required) if [ ! -e ${ROOT}etc/openafs/cacheinfo ]; then - echo "/afs:/var/cache/openafs:50000" > ${IMAGE}etc/openafs/cacheinfo + echo "/afs:/var/cache/openafs:50000" > ${D}etc/openafs/cacheinfo fi # ThisCell: default to "openafs.org" if [ ! -e ${ROOT}etc/openafs/ThisCell ]; then - echo "openafs.org" > ${IMAGE}etc/openafs/ThisCell + echo "openafs.org" > ${D}etc/openafs/ThisCell fi } diff --git a/net-fs/openafs/openafs-1.4.0-r2.ebuild b/net-fs/openafs/openafs-1.4.0-r2.ebuild index 13c6543d4d64..96e7e9b107cf 100644 --- a/net-fs/openafs/openafs-1.4.0-r2.ebuild +++ b/net-fs/openafs/openafs-1.4.0-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.4.0-r2.ebuild,v 1.8 2006/08/09 17:04:49 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.4.0-r2.ebuild,v 1.9 2007/03/10 14:26:12 vapier Exp $ inherit flag-o-matic eutils toolchain-funcs versionator @@ -276,17 +276,17 @@ pkg_preinst() { if [ ! -e ${ROOT}etc/openafs/CellServDB ] \ || grep "GCO Public CellServDB" ${ROOT}etc/openafs/CellServDB &> /dev/null then - cp ${CONFDIR}/CellServDB ${IMAGE}etc/openafs + cp ${CONFDIR}/CellServDB ${D}etc/openafs fi # cacheinfo: use a default location cache, 200 megabyte in size # (should be safe for about any root partition, the user can increase # the size as required) if [ ! -e ${ROOT}etc/openafs/cacheinfo ]; then - echo "/afs:/var/cache/openafs:200000" > ${IMAGE}etc/openafs/cacheinfo + echo "/afs:/var/cache/openafs:200000" > ${D}etc/openafs/cacheinfo fi # ThisCell: default to "openafs.org" if [ ! -e ${ROOT}etc/openafs/ThisCell ]; then - echo "openafs.org" > ${IMAGE}etc/openafs/ThisCell + echo "openafs.org" > ${D}etc/openafs/ThisCell fi } diff --git a/net-fs/openafs/openafs-1.4.2.ebuild b/net-fs/openafs/openafs-1.4.2.ebuild index 0d25b40a133f..c6fef9db2c8d 100644 --- a/net-fs/openafs/openafs-1.4.2.ebuild +++ b/net-fs/openafs/openafs-1.4.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.4.2.ebuild,v 1.7 2006/12/01 03:26:38 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.4.2.ebuild,v 1.8 2007/03/10 14:26:12 vapier Exp $ inherit flag-o-matic eutils toolchain-funcs versionator @@ -278,17 +278,17 @@ pkg_preinst() { if [ ! -e ${ROOT}etc/openafs/CellServDB ] \ || grep "GCO Public CellServDB" ${ROOT}etc/openafs/CellServDB &> /dev/null then - cp ${CONFDIR}/CellServDB ${IMAGE}etc/openafs + cp ${CONFDIR}/CellServDB ${D}etc/openafs fi # cacheinfo: use a default location cache, 200 megabyte in size # (should be safe for about any root partition, the user can increase # the size as required) if [ ! -e ${ROOT}etc/openafs/cacheinfo ]; then - echo "/afs:/var/cache/openafs:200000" > ${IMAGE}etc/openafs/cacheinfo + echo "/afs:/var/cache/openafs:200000" > ${D}etc/openafs/cacheinfo fi # ThisCell: default to "openafs.org" if [ ! -e ${ROOT}etc/openafs/ThisCell ]; then - echo "openafs.org" > ${IMAGE}etc/openafs/ThisCell + echo "openafs.org" > ${D}etc/openafs/ThisCell fi } diff --git a/net-fs/openafs/openafs-1.4.3_rc2.ebuild b/net-fs/openafs/openafs-1.4.3_rc2.ebuild index 7bfa6d6ff00b..490f73c5f867 100644 --- a/net-fs/openafs/openafs-1.4.3_rc2.ebuild +++ b/net-fs/openafs/openafs-1.4.3_rc2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.4.3_rc2.ebuild,v 1.1 2007/02/15 15:45:45 stefaan Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.4.3_rc2.ebuild,v 1.2 2007/03/10 14:26:12 vapier Exp $ inherit flag-o-matic eutils linux-mod toolchain-funcs versionator @@ -288,17 +288,17 @@ pkg_preinst() { if [ ! -e ${ROOT}etc/openafs/CellServDB ] \ || grep "GCO Public CellServDB" ${ROOT}etc/openafs/CellServDB &> /dev/null then - cp ${CONFDIR}/CellServDB ${IMAGE}etc/openafs + cp ${CONFDIR}/CellServDB ${D}etc/openafs fi # cacheinfo: use a default location cache, 200 megabyte in size # (should be safe for about any root partition, the user can increase # the size as required) if [ ! -e ${ROOT}etc/openafs/cacheinfo ]; then - echo "/afs:/var/cache/openafs:200000" > ${IMAGE}etc/openafs/cacheinfo + echo "/afs:/var/cache/openafs:200000" > ${D}etc/openafs/cacheinfo fi # ThisCell: default to "openafs.org" if [ ! -e ${ROOT}etc/openafs/ThisCell ]; then - echo "openafs.org" > ${IMAGE}etc/openafs/ThisCell + echo "openafs.org" > ${D}etc/openafs/ThisCell fi } diff --git a/net-fs/openafs/openafs-1.4.3_rc3.ebuild b/net-fs/openafs/openafs-1.4.3_rc3.ebuild index bda58a58fde8..fcd8e92b5975 100644 --- a/net-fs/openafs/openafs-1.4.3_rc3.ebuild +++ b/net-fs/openafs/openafs-1.4.3_rc3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.4.3_rc3.ebuild,v 1.1 2007/03/08 21:51:58 stefaan Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.4.3_rc3.ebuild,v 1.2 2007/03/10 14:26:12 vapier Exp $ inherit flag-o-matic eutils linux-mod toolchain-funcs versionator @@ -288,17 +288,17 @@ pkg_preinst() { if [ ! -e ${ROOT}etc/openafs/CellServDB ] \ || grep "GCO Public CellServDB" ${ROOT}etc/openafs/CellServDB &> /dev/null then - cp ${CONFDIR}/CellServDB ${IMAGE}etc/openafs + cp ${CONFDIR}/CellServDB ${D}etc/openafs fi # cacheinfo: use a default location cache, 200 megabyte in size # (should be safe for about any root partition, the user can increase # the size as required) if [ ! -e ${ROOT}etc/openafs/cacheinfo ]; then - echo "/afs:/var/cache/openafs:200000" > ${IMAGE}etc/openafs/cacheinfo + echo "/afs:/var/cache/openafs:200000" > ${D}etc/openafs/cacheinfo fi # ThisCell: default to "openafs.org" if [ ! -e ${ROOT}etc/openafs/ThisCell ]; then - echo "openafs.org" > ${IMAGE}etc/openafs/ThisCell + echo "openafs.org" > ${D}etc/openafs/ThisCell fi } diff --git a/net-fs/openafs/openafs-1.5.14.ebuild b/net-fs/openafs/openafs-1.5.14.ebuild index 6c78a220d5bf..aab010d3ecb1 100644 --- a/net-fs/openafs/openafs-1.5.14.ebuild +++ b/net-fs/openafs/openafs-1.5.14.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.5.14.ebuild,v 1.1 2007/01/20 09:34:56 stefaan Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.5.14.ebuild,v 1.2 2007/03/10 14:26:12 vapier Exp $ inherit flag-o-matic eutils linux-mod toolchain-funcs versionator @@ -283,17 +283,17 @@ pkg_preinst() { if [ ! -e ${ROOT}etc/openafs/CellServDB ] \ || grep "GCO Public CellServDB" ${ROOT}etc/openafs/CellServDB &> /dev/null then - cp ${CONFDIR}/CellServDB ${IMAGE}etc/openafs + cp ${CONFDIR}/CellServDB ${D}etc/openafs fi # cacheinfo: use a default location cache, 200 megabyte in size # (should be safe for about any root partition, the user can increase # the size as required) if [ ! -e ${ROOT}etc/openafs/cacheinfo ]; then - echo "/afs:/var/cache/openafs:200000" > ${IMAGE}etc/openafs/cacheinfo + echo "/afs:/var/cache/openafs:200000" > ${D}etc/openafs/cacheinfo fi # ThisCell: default to "openafs.org" if [ ! -e ${ROOT}etc/openafs/ThisCell ]; then - echo "openafs.org" > ${IMAGE}etc/openafs/ThisCell + echo "openafs.org" > ${D}etc/openafs/ThisCell fi } diff --git a/net-fs/openafs/openafs-1.5.15.ebuild b/net-fs/openafs/openafs-1.5.15.ebuild index ae0dc59ffa8e..71fe054e3e32 100644 --- a/net-fs/openafs/openafs-1.5.15.ebuild +++ b/net-fs/openafs/openafs-1.5.15.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.5.15.ebuild,v 1.1 2007/02/15 17:48:27 stefaan Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.5.15.ebuild,v 1.2 2007/03/10 14:26:12 vapier Exp $ inherit flag-o-matic eutils linux-mod toolchain-funcs versionator @@ -283,17 +283,17 @@ pkg_preinst() { if [ ! -e ${ROOT}etc/openafs/CellServDB ] \ || grep "GCO Public CellServDB" ${ROOT}etc/openafs/CellServDB &> /dev/null then - cp ${CONFDIR}/CellServDB ${IMAGE}etc/openafs + cp ${CONFDIR}/CellServDB ${D}etc/openafs fi # cacheinfo: use a default location cache, 200 megabyte in size # (should be safe for about any root partition, the user can increase # the size as required) if [ ! -e ${ROOT}etc/openafs/cacheinfo ]; then - echo "/afs:/var/cache/openafs:200000" > ${IMAGE}etc/openafs/cacheinfo + echo "/afs:/var/cache/openafs:200000" > ${D}etc/openafs/cacheinfo fi # ThisCell: default to "openafs.org" if [ ! -e ${ROOT}etc/openafs/ThisCell ]; then - echo "openafs.org" > ${IMAGE}etc/openafs/ThisCell + echo "openafs.org" > ${D}etc/openafs/ThisCell fi } diff --git a/net-fs/samba/samba-3.0.22-r3.ebuild b/net-fs/samba/samba-3.0.22-r3.ebuild index daee125b152a..df9261e5ad09 100644 --- a/net-fs/samba/samba-3.0.22-r3.ebuild +++ b/net-fs/samba/samba-3.0.22-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.0.22-r3.ebuild,v 1.13 2007/01/08 15:33:14 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.0.22-r3.ebuild,v 1.14 2007/03/10 14:26:22 vapier Exp $ inherit eutils versionator pam @@ -280,13 +280,13 @@ pkg_preinst() { if [[ ! -r ${ROOT}/${PRIVATE_DST}/secrets.tdb \ && -r ${ROOT}/${PRIVATE_SRC}/secrets.tdb ]]; then ebegin "Copying ${ROOT}/${PRIVATE_SRC}/* to ${ROOT}/${PRIVATE_DST}/" - mkdir -p ${IMAGE}/${PRIVATE_DST} - cp -pPRf ${ROOT}/${PRIVATE_SRC}/* ${IMAGE}/${PRIVATE_DST}/ + mkdir -p ${D}/${PRIVATE_DST} + cp -pPRf ${ROOT}/${PRIVATE_SRC}/* ${D}/${PRIVATE_DST}/ eend $? fi if [[ ! -f "${ROOT}/etc/samba/smb.conf" ]]; then - touch ${IMAGE}/etc/samba/smb.conf + touch ${D}/etc/samba/smb.conf fi }