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

Bug 695610

Summary: net-misc/chrony improperly quotes configure arguments
Product: Gentoo Linux Reporter: Mike Gilbert <floppym>
Component: Current packagesAssignee: Jeroen Roovers (RETIRED) <jer>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: clean up configure arguments

Description Mike Gilbert gentoo-dev 2019-09-25 06:42:40 UTC
The chrony ebuild assigns a variable called CHRONY_CONFIGURE a string containing the arguments to be passed to the configure script.

This assignment inconsistently applies backslash escapes, and improperly fails to quote the EPREFIX variable. It also fails to apply EPREFIX to all necessary paths.
Comment 1 Mike Gilbert gentoo-dev 2019-09-25 06:44:19 UTC
Created attachment 591010 [details, diff]
clean up configure arguments

Here's a patch which may be applied using git-am.
Comment 2 Larry the Git Cow gentoo-dev 2019-09-26 07:36:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53851d0721fd2ecce0bace26725d59397de34882

commit 53851d0721fd2ecce0bace26725d59397de34882
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2019-09-25 06:39:27 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2019-09-26 07:36:04 +0000

    net-misc/chrony: clean up configure arguments
    
    Closes: https://bugs.gentoo.org/695610
    Package-Manager: Portage-2.3.75_p7, Repoman-2.3.17_p49
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-misc/chrony/chrony-3.5.ebuild  | 47 +++++++++++++++++++-------------------
 net-misc/chrony/chrony-9999.ebuild | 47 +++++++++++++++++++-------------------
 2 files changed, 46 insertions(+), 48 deletions(-)