summaryrefslogtreecommitdiff
path: root/www-servers/tomcat/tomcat-7.0.106.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'www-servers/tomcat/tomcat-7.0.106.ebuild')
-rw-r--r--www-servers/tomcat/tomcat-7.0.106.ebuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/www-servers/tomcat/tomcat-7.0.106.ebuild b/www-servers/tomcat/tomcat-7.0.106.ebuild
index a905c145be4a..84121125211a 100644
--- a/www-servers/tomcat/tomcat-7.0.106.ebuild
+++ b/www-servers/tomcat/tomcat-7.0.106.ebuild
@@ -5,7 +5,7 @@ EAPI=7
JAVA_PKG_IUSE="doc source test"
-inherit eutils java-pkg-2 java-ant-2 prefix user
+inherit eutils java-pkg-2 java-ant-2 prefix
MY_P="apache-${P}-src"
@@ -26,6 +26,8 @@ SAPI_SLOT="3.0"
COMMON_DEP="dev-java/eclipse-ecj:${ECJ_SLOT}
~dev-java/tomcat-servlet-api-${PV}:${SAPI_SLOT}"
RDEPEND="${COMMON_DEP}
+ acct-group/tomcat
+ acct-user/tomcat
virtual/jre"
DEPEND="${COMMON_DEP}
virtual/jdk:1.8
@@ -33,12 +35,6 @@ DEPEND="${COMMON_DEP}
S=${WORKDIR}/${MY_P}
-pkg_setup() {
- java-pkg-2_pkg_setup
- enewgroup tomcat 265
- enewuser tomcat 265 -1 /dev/null tomcat
-}
-
src_prepare() {
default