summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2003-06-10 06:59:57 +0000
committerNick Hadaway <raker@gentoo.org>2003-06-10 06:59:57 +0000
commit43be25585fc6eb89746fa4f9631a9e12a2bfc705 (patch)
treefe89c2adaebc2419de98d8be3d8abb2b7ad94d28
parentDeleted old builds, version bumped hyriand patch (diff)
downloadgentoo-2-43be25585fc6eb89746fa4f9631a9e12a2bfc705.tar.gz
gentoo-2-43be25585fc6eb89746fa4f9631a9e12a2bfc705.tar.bz2
gentoo-2-43be25585fc6eb89746fa4f9631a9e12a2bfc705.zip
Moved the useradd/groupadd routine to pkg_setup
-rw-r--r--net-mail/xmail/ChangeLog5
-rw-r--r--net-mail/xmail/xmail-1.15.ebuild6
2 files changed, 6 insertions, 5 deletions
diff --git a/net-mail/xmail/ChangeLog b/net-mail/xmail/ChangeLog
index b8635b52f243..e883c123d456 100644
--- a/net-mail/xmail/ChangeLog
+++ b/net-mail/xmail/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for net-mail/xmail
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/xmail/ChangeLog,v 1.1 2003/06/09 18:30:15 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/xmail/ChangeLog,v 1.2 2003/06/10 06:59:57 raker Exp $
*XMail-1.15 (26 May 2003)
+ 10 Jun 2003; Nick Hadaway <raker@gentoo.org> xmail-1.15.ebuild:
+ Moved the useradd/groupadd routine to pkg_setup
+
09 Jun 2003; Nick Hadaway <raker@gentoo.org> xmail-1.15.ebuild:
Commented out the interactive portion of the ebuild and updated the
groupadd/useradd portion.
diff --git a/net-mail/xmail/xmail-1.15.ebuild b/net-mail/xmail/xmail-1.15.ebuild
index ccef5a9ac4da..1b6d04b0bdd1 100644
--- a/net-mail/xmail/xmail-1.15.ebuild
+++ b/net-mail/xmail/xmail-1.15.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/xmail/xmail-1.15.ebuild,v 1.1 2003/06/09 18:30:15 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/xmail/xmail-1.15.ebuild,v 1.2 2003/06/10 06:59:57 raker Exp $
DESCRIPTION="The world's fastest email server"
HOMEPAGE="http://www.xmailserver.org/"
@@ -11,7 +11,7 @@ KEYWORDS="~x86 ~sparc"
IUSE=""
DEPEND="virtual/glibc"
-pkg_preinst() {
+pkg_setup() {
if ! grep -q ^xmail: /etc/group
then
groupadd xmail || die "problem adding group xmail"
@@ -21,8 +21,6 @@ pkg_preinst() {
useradd -g xmail -d /dev/null -s /bin/false xmail \
|| die "problem adding user xmail"
fi
- pwconv
- grpconv
}
src_compile() {