Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 665268 - net-dns/bind: fixes for Prefix
Summary: net-dns/bind: fixes for Prefix
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-05 12:16 UTC by Pengcheng Xu
Modified: 2021-01-11 18:55 UTC (History)
3 users (show)

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


Attachments
ebuild.patch (file_665268.txt,7.59 KB, patch)
2018-09-05 12:16 UTC, Pengcheng Xu
Details | Diff
zlib-include-path.patch (file_665268.txt,656 bytes, patch)
2018-09-05 12:17 UTC, Pengcheng Xu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pengcheng Xu 2018-09-05 12:16:43 UTC
Created attachment 545972 [details, diff]
ebuild.patch

Minor patches in the ebuild and configure script are required for correct compiling on Gentoo Prefix.  The required patches are attached for getting the package to build and install correctly under Gentoo Prefix.

I haven't figured out an appropriate way to handle the shebang of the named initscript though; Portage didn't automatically prefix shebang, and editting it directly risks breakage on normal systems.  I haven't found out a way to properly start an OpenRC service in Prefix as well (rc_sys="prefix" is not working as expected), so can't test if the program itself is working though.
Comment 1 Pengcheng Xu 2018-09-05 12:17:21 UTC
Created attachment 545974 [details, diff]
zlib-include-path.patch
Comment 2 Benda Xu gentoo-dev 2018-09-08 09:30:08 UTC
If you can't start bind9 via OpenRC, why do you need it?  Are you starting it manually?
Comment 3 Benda Xu gentoo-dev 2018-09-08 09:33:47 UTC
>  		if use urandom; then
> 			einfo "Using /dev/urandom for generating rndc.key"
> -			/usr/sbin/rndc-confgen -r /dev/urandom -a
> +			"${EPREFIX}"/usr/sbin/rndc-confgen -r /dev/urandom -a
> 			echo

Christian, could you please hint why we needed to hard-code the path of rndc-confgen?
Comment 4 Fabian Groffen gentoo-dev 2021-01-11 18:55:37 UTC
it's unclear why this would be useful in Prefix, I'm delaying this