Bug 235207 - devel/libsoup looks for ntlm_auth in a wrong place
Summary: devel/libsoup looks for ntlm_auth in a wrong place
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-desktop (Team)
Depends on:
Reported: 2019-01-25 22:10 UTC by Mikhail Teterin
Modified: 2021-05-17 14:07 UTC (History)
3 users (show)

See Also:

Make use of --with-ntlm-auth (343 bytes, patch)
2019-01-25 22:10 UTC, Mikhail Teterin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Teterin freebsd_committer 2019-01-25 22:10:45 UTC
Created attachment 201404 [details]
Make use of --with-ntlm-auth

The software can use the ntlm_auth executable (provided by the Samba-suit), but defaults to /usr/bin/ntlm_auth.

The simple patch adds a configure-option to point to a more likely location. Note, that Samba is not added as a dependency -- but if it happens to be installed at run-time, NTLM has a chance to work.
Comment 1 Walter Schwarzenfeld freebsd_triage 2019-08-09 09:40:54 UTC
Comment 2 commit-hook freebsd_committer 2021-05-17 14:02:24 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0e94a54ee19481e569344e95d5d28732ce3a86ef

commit 0e94a54ee19481e569344e95d5d28732ce3a86ef
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2021-05-17 13:25:45 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2021-05-17 14:01:43 +0000

    devel/libsoup: Massage features and options

    - From PR 235207 comes a patch from mi@ to use NTLM if it's there.
      Unfortunately, the switch to Meson has made this run-time-option
      a build-time-check, so the original patch isn't directly useful.
      Make samba a build-time dep, so that the code is enabled; there
      is a run-time check if the NTLM executable is available.
    - From PR 231160 comes a patch to configure different kinds of
      GSSAPI. That too doesn't apply with the current Meson build,
      but the general idea does.

    Build-tested in 8 configurations (but libsoup is nice that everything
    is #ifdeffed internally, so there's no plist or other visible changes)

    While here, add WWW line.

    PR:             235207 231160
    Reported by:    mi
    Reported by:    Sergey Akhmatov

 devel/libsoup/Makefile  | 20 ++++++++++++++++++--
 devel/libsoup/pkg-descr |  2 ++
 2 files changed, 20 insertions(+), 2 deletions(-)