summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hanselmann <hansmi@gentoo.org>2005-08-10 22:11:24 +0000
committerMichael Hanselmann <hansmi@gentoo.org>2005-08-10 22:11:24 +0000
commitfb09caa903111fc4b489cc89469e0f6132ca5b20 (patch)
tree9d1976c7169606e50607dda85fae1f28ffc53d72 /mail-mta
parentMove confopts into pkg_setup(), and therefore also CONFIGURE_OPTIONS. (diff)
downloadgentoo-2-fb09caa903111fc4b489cc89469e0f6132ca5b20.tar.gz
gentoo-2-fb09caa903111fc4b489cc89469e0f6132ca5b20.tar.bz2
gentoo-2-fb09caa903111fc4b489cc89469e0f6132ca5b20.zip
Create groups and users (bug #99598).
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'mail-mta')
-rw-r--r--mail-mta/qmail/ChangeLog6
-rw-r--r--mail-mta/qmail/qmail-1.03-r15.ebuild14
-rw-r--r--mail-mta/qmail/qmail-1.03-r16.ebuild13
3 files changed, 29 insertions, 4 deletions
diff --git a/mail-mta/qmail/ChangeLog b/mail-mta/qmail/ChangeLog
index e89c5ecf6c20..054922000581 100644
--- a/mail-mta/qmail/ChangeLog
+++ b/mail-mta/qmail/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-mta/qmail
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/ChangeLog,v 1.55 2005/08/06 20:19:51 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/ChangeLog,v 1.56 2005/08/10 22:11:24 hansmi Exp $
+
+ 10 Aug 2005; Michael Hanselmann <hansmi@gentoo.org> qmail-1.03-r15.ebuild,
+ qmail-1.03-r16.ebuild:
+ Create groups and users (bug #99598).
06 Aug 2005; Michael Hanselmann <hansmi@gentoo.org> qmail-1.03-r15.ebuild,
qmail-1.03-r16.ebuild:
diff --git a/mail-mta/qmail/qmail-1.03-r15.ebuild b/mail-mta/qmail/qmail-1.03-r15.ebuild
index 80656c02194d..07874b98554f 100644
--- a/mail-mta/qmail/qmail-1.03-r15.ebuild
+++ b/mail-mta/qmail/qmail-1.03-r15.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/mail-mta/qmail/qmail-1.03-r15.ebuild,v 1.31 2005/08/06 20:19:51 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/qmail-1.03-r15.ebuild,v 1.32 2005/08/10 22:11:24 hansmi Exp $
inherit toolchain-funcs eutils fixheadtails flag-o-matic
@@ -499,8 +499,18 @@ pkg_preinst() {
done
}
-pkg_config() {
+pkg_setup() {
+ einfo "Creating groups and users"
+ enewgroup qmail 201
+ enewuser qmaild 201 /bin/false /var/qmail 200
+ enewuser qmaill 202 /bin/false /var/qmail 200
+ enewuser qmailp 203 /bin/false /var/qmail 200
+ enewuser qmailq 204 /bin/false /var/qmail 201
+ enewuser qmailr 205 /bin/false /var/qmail 201
+ enewuser qmails 206 /bin/false /var/qmail 201
+}
+pkg_config() {
# avoid some weird locale problems
export LC_ALL="C"
diff --git a/mail-mta/qmail/qmail-1.03-r16.ebuild b/mail-mta/qmail/qmail-1.03-r16.ebuild
index c4297fa11e32..b16256727ae5 100644
--- a/mail-mta/qmail/qmail-1.03-r16.ebuild
+++ b/mail-mta/qmail/qmail-1.03-r16.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/mail-mta/qmail/qmail-1.03-r16.ebuild,v 1.31 2005/08/06 20:19:51 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/qmail-1.03-r16.ebuild,v 1.32 2005/08/10 22:11:24 hansmi Exp $
inherit toolchain-funcs eutils fixheadtails flag-o-matic
@@ -556,6 +556,17 @@ pkg_preinst() {
done
}
+pkg_setup() {
+ einfo "Creating groups and users"
+ enewgroup qmail 201
+ enewuser qmaild 201 /bin/false /var/qmail 200
+ enewuser qmaill 202 /bin/false /var/qmail 200
+ enewuser qmailp 203 /bin/false /var/qmail 200
+ enewuser qmailq 204 /bin/false /var/qmail 201
+ enewuser qmailr 205 /bin/false /var/qmail 201
+ enewuser qmails 206 /bin/false /var/qmail 201
+}
+
pkg_config() {
# avoid some weird locale problems
export LC_ALL="C"