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

Bug 672644

Summary: net-proxy/tsocks does not properly honour --enable-envconf or --disable-envconf
Product: Gentoo Linux Reporter: CyberLeo Kitsana <cyberleo>
Component: Current packagesAssignee: Andrew Savchenko <bircoph>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fix --enable-envconf

Description CyberLeo Kitsana 2018-12-06 19:59:19 UTC
Created attachment 557182 [details, diff]
Fix --enable-envconf

The configure script will disable envconf if either --enable-envconf or --disable-envconf is provided, and will only enable envconf if neither option is provided. Attached patch corrects this behaviour

Patch applies before src_prepare, since that renames configure.in to configure.ac.
Comment 1 Larry the Git Cow gentoo-dev 2019-03-22 09:15:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd75d1fd7792bc465d4c3b13fd631742361b970

commit 1dd75d1fd7792bc465d4c3b13fd631742361b970
Author:     Andrew Savchenko <bircoph@gentoo.org>
AuthorDate: 2019-03-22 09:14:40 +0000
Commit:     Andrew Savchenko <bircoph@gentoo.org>
CommitDate: 2019-03-22 09:14:40 +0000

    net-proxy/tsocks: fix configure options handling
    
    As reported in bug 672644, --enable(disable)-envconf option is not
    properly handled due to autoconf script mishandling. Review shown
    other options are not handled properly as well. This revision bump
    contains fix for all configure options.
    
    Closes: https://bugs.gentoo.org/672644
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>

 net-proxy/tsocks/Manifest                          |  1 +
 .../tsocks/files/tsocks-1.8_beta5-options.patch    | 47 ++++++++++++
 net-proxy/tsocks/tsocks-1.8_beta5-r9.ebuild        | 83 ++++++++++++++++++++++
 3 files changed, 131 insertions(+)