summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJodok Batlogg <batlogg@gentoo.org>2004-07-27 16:02:41 +0000
committerJodok Batlogg <batlogg@gentoo.org>2004-07-27 16:02:41 +0000
commit59b44804c84e15ce16f5656486956032b72c326b (patch)
treeef3c85d07681fd6561433bc34fe2ed7ba887f599 /net-zope/zope
parentDon't perform the optional arts switch unless we are in >=3.3 (diff)
downloadgentoo-2-59b44804c84e15ce16f5656486956032b72c326b.tar.gz
gentoo-2-59b44804c84e15ce16f5656486956032b72c326b.tar.bz2
gentoo-2-59b44804c84e15ce16f5656486956032b72c326b.zip
fixed #58526
Diffstat (limited to 'net-zope/zope')
-rw-r--r--net-zope/zope/ChangeLog6
-rw-r--r--net-zope/zope/zope-2.6.4-r1.ebuild9
-rw-r--r--net-zope/zope/zope-2.7.1.ebuild8
-rw-r--r--net-zope/zope/zope-2.7.2.ebuild4
4 files changed, 17 insertions, 10 deletions
diff --git a/net-zope/zope/ChangeLog b/net-zope/zope/ChangeLog
index 5788800b62d7..39a8184eb0b4 100644
--- a/net-zope/zope/ChangeLog
+++ b/net-zope/zope/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-zope/zope
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.37 2004/07/25 10:35:37 batlogg Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/ChangeLog,v 1.38 2004/07/27 16:02:41 batlogg Exp $
+
+ 27 Jul 2004; Jodok Batlogg <batlogg@gentoo.org>; zope-2.6.4-r1.ebuild,
+ zope-2.7.1.ebuild, zope-2.7.2.ebuild:
+ fixed #58526, QA issues with enew inside pkg_setup
25 Jul 2004; Jodok Batlogg <batlogg@gentoo.org>; zope-2.7.2.ebuild:
readding ZS_DIR and ZI_DIR
diff --git a/net-zope/zope/zope-2.6.4-r1.ebuild b/net-zope/zope/zope-2.6.4-r1.ebuild
index 7163f121b9c9..90561381ff2f 100644
--- a/net-zope/zope/zope-2.6.4-r1.ebuild
+++ b/net-zope/zope/zope-2.6.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.6.4-r1.ebuild,v 1.9 2004/07/20 01:06:14 pylon Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.6.4-r1.ebuild,v 1.10 2004/07/27 16:02:41 batlogg Exp $
inherit eutils
@@ -75,6 +75,11 @@ install_help() {
einfo "\t/etc/init.d/${ZGID} start"
}
+pkg_preinst() {
+ enewgroup ${ZGID}
+ enewuser ${ZUID} 261 /bin/bash ${ZS_DIR} ${ZGID}
+}
+
pkg_setup() {
if [ "${PYTHON_SLOT_VERSION}" != '' ] ; then
ewarn "WARNING: You set PYTHON_SLOT_VERSION=${PYTHON_SLOT_VERSION}."
@@ -87,8 +92,6 @@ pkg_setup() {
ewarn "with this version of zope. Emerge at your own risk."
sleep 12
fi
- enewgroup ${ZGID}
- enewuser ${ZUID} 261 /bin/bash ${ZS_DIR} ${ZGID}
}
src_compile() {
diff --git a/net-zope/zope/zope-2.7.1.ebuild b/net-zope/zope/zope-2.7.1.ebuild
index 5388941377b1..c1b3b668b0a3 100644
--- a/net-zope/zope/zope-2.7.1.ebuild
+++ b/net-zope/zope/zope-2.7.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.7.1.ebuild,v 1.2 2004/07/14 23:25:55 batlogg Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.7.1.ebuild,v 1.3 2004/07/27 16:02:41 batlogg Exp $
inherit eutils
@@ -60,9 +60,9 @@ install_help() {
einfo "Run zope-config to set up an instance before trying to start zope."
}
-pkg_setup() {
- enewgroup ${ZGID} 261
- enewuser ${ZUID} 261 /bin/bash ${ZS_DIR} zope
+pkg_preinst() {
+ enewgroup ${ZGID}
+ enewuser ${ZUID} 261 /bin/bash ${ZS_DIR} ${ZGID}
}
src_compile() {
diff --git a/net-zope/zope/zope-2.7.2.ebuild b/net-zope/zope/zope-2.7.2.ebuild
index 8f729f15ece9..7d1972238a53 100644
--- a/net-zope/zope/zope-2.7.2.ebuild
+++ b/net-zope/zope/zope-2.7.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.7.2.ebuild,v 1.2 2004/07/25 10:35:37 batlogg Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.7.2.ebuild,v 1.3 2004/07/27 16:02:41 batlogg Exp $
inherit eutils
@@ -73,7 +73,7 @@ install_instance() {
einfo "You can also enable autostart on reboot using: rc-update -a ${ZGID_INST} default"
}
-pkg_setup() {
+pkg_preinst() {
enewgroup ${ZGID} 261
usermod -g ${ZGID} ${ZUID} 2>&1 >/dev/null || \
enewuser ${ZUID} 261 /bin/bash ${ZS_DIR} ${ZGID}