FS#39682 - [pdnsd] Use configure option instead of sed/chown
Attached to Project:
Community Packages
Opened by Olivier Brunel (jjacky) - Saturday, 29 March 2014, 19:52 GMT
Last edited by Daniel Micay (thestinger) - Monday, 31 March 2014, 03:32 GMT
Opened by Olivier Brunel (jjacky) - Saturday, 29 March 2014, 19:52 GMT
Last edited by Daniel Micay (thestinger) - Monday, 31 March 2014, 03:32 GMT
|
Details
Looking at recent changes in the pdnsd package, I just
thought I'd suggest using configure option
(--with-default-id=pdnsd) instead of manually using sed
& chown. It will take care of using the right user in
the conf file, as well as setting it on
var/cache/pdnsd{,/pdnsd.cache} (Note that the group remains
root, only user is set, unlike what's done currently.)
|
This task depends upon
Comment by
Daniel Micay (thestinger) - Monday,
31 March 2014, 03:32 GMT
Packages are built in a clean container
(extra-{i686,x86_64}-build) where the pdnsd user doesn't yet
exist, so using `--with-default-id=pdnsd` errors out and
`--with-default-id=184` tries to use `184` as the name of the
user. The PKGBUILD needs to use the hard-wired uid/gid or leave
all the work up to the install file.