Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672644 - net-proxy/tsocks does not properly honour --enable-envconf or --disable-envconf
Summary: net-proxy/tsocks does not properly honour --enable-envconf or --disable-envconf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Savchenko
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-12-06 19:59 UTC by CyberLeo Kitsana
Modified: 2019-03-22 09:15 UTC (History)
0 users

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


Attachments
Fix --enable-envconf (file_672644.txt,295 bytes, patch)
2018-12-06 19:59 UTC, CyberLeo Kitsana
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(+)