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

Bug 610356

Summary: x11-misc/x11vnc-0.9.14_p20161013 installs initscript/config with wrong filenames
Product: Gentoo Linux Reporter: Maxxim <fonic.maxxim>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: arackhaen, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 611662    
Bug Blocks:    
Attachments: Fixed ebuild

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