Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65385 - mysql dependancy for jabberd-2 needs to be disabled if no use flag
Summary: mysql dependancy for jabberd-2 needs to be disabled if no use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gustavo Felisberto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-26 02:59 UTC by Thilo Bangert (RETIRED) (RETIRED)
Modified: 2005-09-06 23:04 UTC (History)
1 user (show)

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


Attachments
new ebuild revision for jabberd-2 (jabberd-2.0-r2.ebuild,4.85 KB, text/plain)
2004-09-26 07:42 UTC, Thilo Bangert (RETIRED) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2004-09-26 02:59:01 UTC
Hi,

since mysql support is enabled by default 
the jabberd-2.0-r1 ebuild needs the following change:

        if use mysql; then
                enables="${enables} --enable-mysql"
        else
                enables="${enables} --enable-mysql=no"
        fi

otherwise compiling without mysql fails.
thanks
thilo
Comment 1 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2004-09-26 07:42:37 UTC
Created attachment 40450 [details]
new ebuild revision for jabberd-2

this fixes the mentioned mysql USE variable bug 
it also changes the permissions on the configuration files as per
http://www.jabberdoc.org/section03 section 3.7
last but not least i cleaned up IUSE and SLOT and made use of the _debug_ and
_ssl_ USE variables...

best regards
thilo
Comment 2 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2004-09-26 08:56:23 UTC
note to self

    touch ${D}/var/jabberd/log/c2s.log
    touch ${D}/var/jabberd/log/resolver.log
    touch ${D}/var/jabberd/log/router.log
    touch ${D}/var/jabberd/log/s2s.log
    touch ${D}/var/jabberd/log/sm.log
 
will delete all logs on an upgrade. needs fix...
Comment 3 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2005-09-06 23:04:34 UTC
this is fixed in recent versions of the jabberd2 ebuild