Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610356 - x11-misc/x11vnc-0.9.14_p20161013 installs initscript/config with wrong filenames
Summary: x11-misc/x11vnc-0.9.14_p20161013 installs initscript/config with wrong filenames
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 611888 (view as bug list)
Depends on: 611662
Blocks:
  Show dependency tree
 
Reported: 2017-02-21 10:11 UTC by Maxxim
Modified: 2019-02-24 09:53 UTC (History)
2 users (show)

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


Attachments
Fixed ebuild (x11vnc-0.9.14_p20161013-r1.ebuild,1.49 KB, text/plain)
2017-02-21 10:11 UTC, Maxxim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxxim 2017-02-21 10:11:32 UTC
Created attachment 464494 [details]
Fixed ebuild

The current stable amd64 ebuild 'x11-misc/x11vnc/x11vnc-0.9.14_p20161013.ebuild' installs the initscript and config to

    /etc/init.d/x11vnc.init.d
    /etc/conf.d/x11vnc.conf.d

due to

    src_install() {
        default
        doinitd "${FILESDIR}/x11vnc.init.d"
        doconfd "${FILESDIR}/x11vnc.conf.d"
    }

which is not only ugly but also lead to the initscript not finding its config. Find attached a fixed ebuild with an updated src_install():

    src_install() {
        default
        newinitd "${FILESDIR}/x11vnc.init.d" "x11vnc"
        newconfd "${FILESDIR}/x11vnc.conf.d" "x11vnc"
    }
Comment 1 Pacho Ramos gentoo-dev 2019-01-20 10:48:06 UTC
*** Bug 611888 has been marked as a duplicate of this bug. ***
Comment 2 Pacho Ramos gentoo-dev 2019-02-24 09:53:31 UTC
fixed in x11-misc/x11vnc-0.9.16