summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-11-03 00:29:15 +0000
committerMike Frysinger <vapier@gentoo.org>2011-11-03 00:29:15 +0000
commit1774468136418e6897f211f507b3009134dc38fa (patch)
treedebf254915e8261031956f5bc68553451ce36d5a /net-mail/vpopmail/vpopmail-5.4.30-r2.ebuild
parentrestore egethome as some packages in the tree have been parsing getent direct... (diff)
downloadgentoo-2-1774468136418e6897f211f507b3009134dc38fa.tar.gz
gentoo-2-1774468136418e6897f211f507b3009134dc38fa.tar.bz2
gentoo-2-1774468136418e6897f211f507b3009134dc38fa.zip
Use new egethome helper rather than calling getent directly.
(Portage version: 2.2.0_alpha71/cvs/Linux x86_64)
Diffstat (limited to 'net-mail/vpopmail/vpopmail-5.4.30-r2.ebuild')
-rw-r--r--net-mail/vpopmail/vpopmail-5.4.30-r2.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-mail/vpopmail/vpopmail-5.4.30-r2.ebuild b/net-mail/vpopmail/vpopmail-5.4.30-r2.ebuild
index a0ee5121f172..bdd03921051b 100644
--- a/net-mail/vpopmail/vpopmail-5.4.30-r2.ebuild
+++ b/net-mail/vpopmail/vpopmail-5.4.30-r2.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/vpopmail/vpopmail-5.4.30-r2.ebuild,v 1.3 2011/05/15 10:13:15 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/vpopmail/vpopmail-5.4.30-r2.ebuild,v 1.4 2011/11/03 00:29:15 vapier Exp $
EAPI="2"
-inherit autotools eutils fixheadtails qmail
+inherit autotools eutils fixheadtails qmail user
HOMEPAGE="http://www.inter7.com/index.php?page=vpopmail"
DESCRIPTION="A collection of programs to manage virtual email domains and accounts on your Qmail mail servers."
@@ -25,7 +25,7 @@ RDEPEND="${DEPEND}"
VPOP_DEFAULT_HOME="/var/vpopmail"
vpopmail_set_homedir() {
- VPOP_HOME=$(getent passwd vpopmail | cut -d: -f6)
+ VPOP_HOME=$(egethome)
if [[ -z "${VPOP_HOME}" ]]; then
ebeep
eerror "vpopmail's home directory is null in passwd data!"