Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35183 - hord-chora (net-www/horde-chora-1.2-r1) installs in /home/httpd/htdocs (should install in /var/www/localhost/htdocs)
Summary: hord-chora (net-www/horde-chora-1.2-r1) installs in /home/httpd/htdocs (shoul...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-06 00:51 UTC by Burhan Khalid
Modified: 2003-12-07 17:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Burhan Khalid 2003-12-06 00:51:40 UTC
For version net-www/horde-chora-1.2-r1

This ebuild installs in the wrong directory. It should install in
/var/www/[server]/htdocs/horde/chora, but instead it installs in
/home/httpd/htdocs/horde/chora.  This is a problem because horde itself installs
in /var/www/[sever]/htdocs/horde. On my system [2.4.20-gentoo-r8], the directory
is /var/www/localhost/htdocs/horde.

According to the .ebuild file, it tries to find the http root by checking the
/etc/passwd file. On my /etc/passwd, the apache entry is :

apache:x:81:81:apache:/home/httpd:/bin/false

However, everything else installs correctly (even horde itself).

To reproduce, simply run

$ emerge horde-chora

[..emerge completes..]

$ locate chora
[..trimmed..]
/home/httpd/htdocs/horde/chora


Reproducible: Always
Steps to Reproduce:
1. emerge hord-chora
2. locate chora
3. (or try and configure horde for chora)

Actual Results:  
Chora application isn't installed in the proper location, so horde can't be
configured for chora.

Expected Results:  
It should have installed in /var/www/localhost/htdocs/horde

Note : Because of my internet setup (HTTP Proxy controls all outbound
connections), I am running a TCP tunnel to rsync.gentoo.org that listens on the
rsync port on my local server (that's why the SYNC= variable points to my local
computer).

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r8)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 Pentium Pro
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/share/config /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf
/var/qmail/control /var/qmail/alias"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=i686 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://sandbox.mshome.net/gentoo-portage"
USE="x86 apm crypt gif jpeg libg++ mpeg ncurses nls pdflib png spell truetype
xml2 zlib gdbm berkdb slang readline svga tcltk ruby mysql postgres tcpd pam
libwww ssl perl python imlib ldap antlr apache2 cgi curl directfb doc expat
flash gd geoip imap innodb java javascript maildir mbox mcal md5sum php regexp
samba socks5 tiff wmf xml -oss -arts -avi -cups -encode -foomaticdb -gpm -gtk
-kde -gnome -mad -mikmod -motif -oggvorbis -opengl -qt -quicktime -sdl -xmms -xv -X"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-12-07 17:55:57 UTC
fixed in cvs