Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381441 - net-misc/wget-1.13.3 won't compile with ntlm useflag set
Summary: net-misc/wget-1.13.3 won't compile with ntlm useflag set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 381457 381525 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-01 15:05 UTC by walt
Modified: 2011-09-02 13:24 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description walt 2011-09-01 15:05:03 UTC
The configure phase fails this test in configure.ac:

dnl Enable NTLM if requested and if SSL is available.
if test x"$LIBSSL" != x
then
  if test x"$ENABLE_NTLM" != xno
  then
    AC_DEFINE([ENABLE_NTLM], 1,
     [Define if you want the NTLM authorization support compiled in.])
    AC_LIBOBJ([http-ntlm])
  fi
else
  dnl If SSL is unavailable and the user explicitly requested NTLM,
  dnl abort.
  if test x"$ENABLE_NTLM" = xyes
  then
    AC_MSG_ERROR([NTLM authorization requested and OpenSSL not found; aborting])
  fi
fi


Reproducible: Always

Steps to Reproduce:
1. Enable ntlm useflag
2. Emerge wget-1.13.1
3.
Actual Results:  
NTLM authorization requested and OpenSSL not found; aborting

Expected Results:  
configure should find OpenSSL but it doesn't.

I think the logic in configure.ac is broken (upstream?).
$LIBSSL is used before it gets set by a test for openssl, maybe?
Comment 1 Todd Walter 2011-09-01 15:10:41 UTC
This is due to upstream dickery.  Alter the ebuild such that "$(use_with ssl)" now reads "$(use_with ssl ssl=openssl)" and re-emerge with the --digest option and it compiles cleanly.  USE flags will need to be altered to handle the ntlm option differently going forward.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-09-01 19:03:39 UTC
*** Bug 381457 has been marked as a duplicate of this bug. ***
Comment 3 Fabian Groffen gentoo-dev 2011-09-01 19:08:35 UTC
In short, USE=ssl emerge wget links against gnutls, not openssl.
Comment 4 Tim Harder gentoo-dev 2011-09-02 05:17:33 UTC
Fixed in 1.13.3-r2 in CVS.
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-09-02 13:24:23 UTC
*** Bug 381525 has been marked as a duplicate of this bug. ***