Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 78414

Summary: Several fixes to dev-db/hsqldb-1.7.2.4 ebuild
Product: Gentoo Linux Reporter: Konstantin <k8n>
Component: Current packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Konstantin 2005-01-17 13:12:44 UTC
Whe I try to emerge hsqldb I gen "Can not find package servletapi-2.3" error and compilation fails.
It seems that it is related to wrong servletapi dependency.

One more issue - typo in shell for hsqldb user. It should be /dev/null, not /dev/hull.

This small patch fixes described issues:
--- /usr/portage/dev-db/hsqldb/hsqldb-1.7.2.4.ebuild    2005-01-01 19:36:29.000000000 +0200
+++ hsqldb-1.7.2.4.ebuild       2005-01-17 23:04:08.000000000 +0200
@@ -14,7 +14,7 @@
 DEPEND=">=virtual/jdk-1.4
                app-arch/unzip
                dev-java/ant-core
-               =dev-java/servletapi-2.4*"
+               =dev-java/servletapi-2.3*"
 RDEPEND=">=virtual/jre-1.4"

 S=${WORKDIR}/${PN}
@@ -76,7 +76,7 @@
 }

 pkg_postinst() {
-       if ! enewgroup hsqldb || ! enewuser hsqldb -1 /bin/sh /dev/hull hsqldb; then
+       if ! enewgroup hsqldb || ! enewuser hsqldb -1 /bin/sh /dev/null hsqldb; then
                die "Unable to add hsqldb user and hsqldb group."
        fi


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-18 08:48:01 UTC
thanks for you report, changes commited.