Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 591010 Details for
Bug 695610
net-misc/chrony improperly quotes configure arguments
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
clean up configure arguments
0001-net-misc-chrony-clean-up-configure-arguments.patch (text/plain), 4.25 KB, created by
Mike Gilbert
on 2019-09-25 06:44:19 UTC
(
hide
)
Description:
clean up configure arguments
Filename:
MIME Type:
Creator:
Mike Gilbert
Created:
2019-09-25 06:44:19 UTC
Size:
4.25 KB
patch
obsolete
>From 3de93530bfab6ccacc16a213ce43b6e772bb3190 Mon Sep 17 00:00:00 2001 >From: Mike Gilbert <floppym@gentoo.org> >Date: Wed, 25 Sep 2019 02:39:27 -0400 >Subject: [PATCH] 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> >--- > net-misc/chrony/chrony-3.5.ebuild | 47 +++++++++++++++--------------- > net-misc/chrony/chrony-9999.ebuild | 47 +++++++++++++++--------------- > 2 files changed, 46 insertions(+), 48 deletions(-) > >diff --git a/net-misc/chrony/chrony-3.5.ebuild b/net-misc/chrony/chrony-3.5.ebuild >index 21c96f642157..c74eea646f90 100644 >--- a/net-misc/chrony/chrony-3.5.ebuild >+++ b/net-misc/chrony/chrony-3.5.ebuild >@@ -66,34 +66,33 @@ src_configure() { > fi > > # not an autotools generated script >- local CHRONY_CONFIGURE=" >- ./configure \ >- $(use_enable seccomp scfilter) \ >- $(usex adns '' --disable-asyncdns) \ >- $(usex caps '' --disable-linuxcaps) \ >- $(usex cmdmon '' --disable-cmdmon) \ >- $(usex ipv6 '' --disable-ipv6) \ >- $(usex ntp '' --disable-ntp) \ >- $(usex phc '' --disable-phc) \ >- $(usex pps '' --disable-pps) \ >- $(usex refclock '' --disable-refclock) \ >- $(usex rtc '' --disable-rtc) \ >- ${CHRONY_EDITLINE} \ >- ${EXTRA_ECONF} \ >- --chronysockdir=/run/chrony \ >- --disable-sechash \ >- --docdir=/usr/share/doc/${PF} \ >- --mandir=/usr/share/man \ >- --prefix=/usr \ >- --sysconfdir=/etc/chrony \ >+ local myconf=( >+ $(use_enable seccomp scfilter) >+ $(usex adns '' --disable-asyncdns) >+ $(usex caps '' --disable-linuxcaps) >+ $(usex cmdmon '' --disable-cmdmon) >+ $(usex ipv6 '' --disable-ipv6) >+ $(usex ntp '' --disable-ntp) >+ $(usex phc '' --disable-phc) >+ $(usex pps '' --disable-pps) >+ $(usex refclock '' --disable-refclock) >+ $(usex rtc '' --disable-rtc) >+ ${CHRONY_EDITLINE} >+ ${EXTRA_ECONF} >+ --chronysockdir="${EPREFIX}/run/chrony" >+ --disable-sechash >+ --docdir="${EPREFIX}/usr/share/doc/${PF}" >+ --mandir="${EPREFIX}/usr/share/man" >+ --prefix="${EPREFIX}/usr" >+ --sysconfdir="${EPREFIX}/etc/chrony" > --with-pidfile="${EPREFIX}/run/chrony/chronyd.pid" >- --without-nss \ >+ --without-nss > --without-tomcrypt >- " >+ ) > > # print the ./configure call to aid in future debugging >- einfo ${CHRONY_CONFIGURE} >- bash ${CHRONY_CONFIGURE} || die >+ echo bash ./configure "${myconf[@]}" >&2 >+ bash ./configure "${myconf[@]}" || die > } > > src_compile() { >diff --git a/net-misc/chrony/chrony-9999.ebuild b/net-misc/chrony/chrony-9999.ebuild >index a9bf2fae2782..53dd5de5b8a0 100644 >--- a/net-misc/chrony/chrony-9999.ebuild >+++ b/net-misc/chrony/chrony-9999.ebuild >@@ -64,34 +64,33 @@ src_configure() { > fi > > # not an autotools generated script >- local CHRONY_CONFIGURE=" >- ./configure \ >- $(use_enable seccomp scfilter) \ >- $(usex adns '' --disable-asyncdns) \ >- $(usex caps '' --disable-linuxcaps) \ >- $(usex cmdmon '' --disable-cmdmon) \ >- $(usex ipv6 '' --disable-ipv6) \ >- $(usex ntp '' --disable-ntp) \ >- $(usex phc '' --disable-phc) \ >- $(usex pps '' --disable-pps) \ >- $(usex refclock '' --disable-refclock) \ >- $(usex rtc '' --disable-rtc) \ >- ${CHRONY_EDITLINE} \ >- ${EXTRA_ECONF} \ >- --chronysockdir=/run/chrony \ >- --disable-sechash \ >- --docdir=/usr/share/doc/${PF} \ >- --mandir=/usr/share/man \ >- --prefix=/usr \ >- --sysconfdir=/etc/chrony \ >+ local myconf=( >+ $(use_enable seccomp scfilter) >+ $(usex adns '' --disable-asyncdns) >+ $(usex caps '' --disable-linuxcaps) >+ $(usex cmdmon '' --disable-cmdmon) >+ $(usex ipv6 '' --disable-ipv6) >+ $(usex ntp '' --disable-ntp) >+ $(usex phc '' --disable-phc) >+ $(usex pps '' --disable-pps) >+ $(usex refclock '' --disable-refclock) >+ $(usex rtc '' --disable-rtc) >+ ${CHRONY_EDITLINE} >+ ${EXTRA_ECONF} >+ --chronysockdir="${EPREFIX}/run/chrony" >+ --disable-sechash >+ --docdir="${EPREFIX}/usr/share/doc/${PF}" >+ --mandir="${EPREFIX}/usr/share/man" >+ --prefix="${EPREFIX}/usr" >+ --sysconfdir="${EPREFIX}/etc/chrony" > --with-pidfile="${EPREFIX}/run/chrony/chronyd.pid" >- --without-nss \ >+ --without-nss > --without-tomcrypt >- " >+ ) > > # print the ./configure call to aid in future debugging >- einfo ${CHRONY_CONFIGURE} >- bash ${CHRONY_CONFIGURE} || die >+ echo bash ./configure "${myconf[@]}" >&2 >+ bash ./configure "${myconf[@]}" || die > } > > src_compile() { >-- >2.23.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 695610
: 591010