Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252722 - net-p2p/ctcs works on ppc
Summary: net-p2p/ctcs works on ppc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-27 18:06 UTC by Sebastian Koehler
Modified: 2009-02-26 15:13 UTC (History)
1 user (show)

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 Sebastian Koehler 2008-12-27 18:06:28 UTC
- net-p2p/ctcs works very well on ppc, please add ~ppc keyword
- maybe the following simple init script should be added to the ebuild

#!/sbin/runscript

depend() {
        need net
}

CTCS_PIDFILE=${CTCS_PIDFILE:-/var/run/${SVCNAME}.pid}
CTCS_BINARY=${CTCS_BINARY:-/usr/bin/ctcs}
CTCS_OPTS=""

start() {
        local myopts=""
        [ "${CTCS_PIDFILE}" != "/var/run/ctcs.pid" ] \
                && myopts="${myopts} -o PidFile=${CTCS_PIDFILE}"

        ebegin "Starting ${SVCNAME}"
        start-stop-daemon --start --background --exec "${CTCS_BINARY}" \
            --pidfile "${CTCS_PIDFILE}" \
            -- ${CTCS_OPTS}
        eend $?
}

stop() {
        ebegin "Stopping ${SVCNAME}"
        start-stop-daemon --stop --exec "${CTCS_BINARY}" \
            --pidfile "${CTCS_PIDFILE}" --quiet
        eend $?
}

Reproducible: Always
Comment 1 Joe Jezak (RETIRED) gentoo-dev 2009-02-26 15:13:01 UTC
I've marked it ~ppc, thanks for the report! If you want to have the init script added, please open a new bug. Thanks!