summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-08 02:56:52 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-08 02:56:52 +0000
commit767c4f8328bb177ecf72c7c9a1be17636a1b7831 (patch)
tree1870b3dd72613c7d7433db705bbf76bcde6c3483 /mail-mta
parentPatch v.3.4.1 too. (diff)
downloadgentoo-2-767c4f8328bb177ecf72c7c9a1be17636a1b7831.tar.gz
gentoo-2-767c4f8328bb177ecf72c7c9a1be17636a1b7831.tar.bz2
gentoo-2-767c4f8328bb177ecf72c7c9a1be17636a1b7831.zip
add users from qmail pkg #114818
(Portage version: 2.0.53)
Diffstat (limited to 'mail-mta')
-rw-r--r--mail-mta/mini-qmail/mini-qmail-1.05.ebuild16
1 files changed, 14 insertions, 2 deletions
diff --git a/mail-mta/mini-qmail/mini-qmail-1.05.ebuild b/mail-mta/mini-qmail/mini-qmail-1.05.ebuild
index c2274a9ba6c6..73c0578b5789 100644
--- a/mail-mta/mini-qmail/mini-qmail-1.05.ebuild
+++ b/mail-mta/mini-qmail/mini-qmail-1.05.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/mini-qmail/mini-qmail-1.05.ebuild,v 1.5 2005/05/16 22:30:48 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/mini-qmail/mini-qmail-1.05.ebuild,v 1.6 2005/12/08 02:56:52 vapier Exp $
inherit eutils toolchain-funcs fixheadtails
@@ -21,6 +21,18 @@ PROVIDE="virtual/mta
S=${WORKDIR}/netqmail-${PV}/netqmail-${PV}
+pkg_setup() {
+ # keep in sync with qmail pkg
+ enewgroup qmail 201
+ enewuser alias 200 -1 /var/qmail/alias 200
+ enewuser qmaild 201 -1 /var/qmail 200
+ enewuser qmaill 202 -1 /var/qmail 200
+ enewuser qmailp 203 -1 /var/qmail 200
+ enewuser qmailq 204 -1 /var/qmail 201
+ enewuser qmailr 205 -1 /var/qmail 201
+ enewuser qmails 206 -1 /var/qmail 201
+}
+
src_unpack() {
unpack netqmail-${PV}.tar.gz
unpack mini-qmail-kit-0.52.tar.gz
@@ -34,7 +46,7 @@ src_unpack() {
echo -n "$(tc-getCC) ${LDFLAGS}" > "${S}"/conf-ld
ht_fix_file "${S}"/Makefile
- epatch ${FILESDIR}/${PV}-config-mini-help.patch
+ epatch "${FILESDIR}"/${PV}-config-mini-help.patch
}
src_compile() {