diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2006-03-11 17:51:21 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2006-03-11 17:51:21 +0000 |
commit | ffc06eb5dd59590b89c90e993b1752b2216c70c7 (patch) | |
tree | d6709d391f2b7f0890e35b0e8d4caaab738346f7 /www-servers/tomcat | |
parent | Relocate paths only in the scripts that need relocating. Use /bin/bash rather... (diff) | |
download | gentoo-2-ffc06eb5dd59590b89c90e993b1752b2216c70c7.tar.gz gentoo-2-ffc06eb5dd59590b89c90e993b1752b2216c70c7.tar.bz2 gentoo-2-ffc06eb5dd59590b89c90e993b1752b2216c70c7.zip |
Moved enewgroup and enewuser calls to pkg_setup from src_install for bug #124680.
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'www-servers/tomcat')
-rw-r--r-- | www-servers/tomcat/ChangeLog | 7 | ||||
-rw-r--r-- | www-servers/tomcat/tomcat-5.0.28-r12.ebuild | 11 |
2 files changed, 13 insertions, 5 deletions
diff --git a/www-servers/tomcat/ChangeLog b/www-servers/tomcat/ChangeLog index 8e6e77c20833..15aed9f0ff1d 100644 --- a/www-servers/tomcat/ChangeLog +++ b/www-servers/tomcat/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-servers/tomcat # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/ChangeLog,v 1.48 2006/03/11 17:38:31 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/ChangeLog,v 1.49 2006/03/11 17:51:21 betelgeuse Exp $ + + 11 Mar 2006; Petteri Räty <betelgeuse@gentoo.org> + tomcat-5.0.28-r12.ebuild: + Moved enewgroup and enewuser calls to pkg_setup from src_install for bug + #124680. 11 Mar 2006; Petteri Räty <betelgeuse@gentoo.org> tomcat-5.0.27-r6.ebuild, -tomcat-5.0.28-r9.ebuild, diff --git a/www-servers/tomcat/tomcat-5.0.28-r12.ebuild b/www-servers/tomcat/tomcat-5.0.28-r12.ebuild index 5c3229d5cbc4..fd1f507275e6 100644 --- a/www-servers/tomcat/tomcat-5.0.28-r12.ebuild +++ b/www-servers/tomcat/tomcat-5.0.28-r12.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/tomcat-5.0.28-r12.ebuild,v 1.3 2006/03/11 17:38:31 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/tomcat-5.0.28-r12.ebuild,v 1.4 2006/03/11 17:51:21 betelgeuse Exp $ inherit eutils java-pkg @@ -49,6 +49,12 @@ TOMCAT_HOME="/usr/share/${PN}-${SLOT}" TOMCAT_NAME="${PN}-${SLOT}" WEBAPPS_DIR="/var/lib/${TOMCAT_NAME}/default/webapps" +pkg_setup() { + # new user for tomcat + enewgroup tomcat + enewuser tomcat -1 -1 /dev/null tomcat +} + src_unpack() { unpack ${A} cd ${S} @@ -130,9 +136,6 @@ src_compile(){ } src_install() { - # new user for tomcat - enewgroup tomcat - enewuser tomcat -1 -1 /dev/null tomcat cd ${S}/jakarta-tomcat-5/build |