1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

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
This commit is contained in:
Adriaan de Groot 2021-05-17 15:25:45 +02:00
parent 92939bfde2
commit 0e94a54ee1
2 changed files with 20 additions and 2 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= libsoup
PORTVERSION= 2.72.0
PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome
@ -19,8 +20,23 @@ RUN_DEPENDS= glib-networking>=2.29.18:net/glib-networking
PORTSCOUT= limitw:1,even
OPTIONS_SINGLE= GSSAPI
OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE
OPTIONS_DEFAULT= GSSAPI_${${SSL_DEFAULT} == base :?BASE :NONE}
GSSAPI_BASE_USES= gssapi
GSSAPI_MIT_MESON_ON= -Dgssapi=enabled -Dkrb5_config=${KRB5CONFIG}
GSSAPI_MIT_USES= gssapi:heimdal
GSSAPI_MIT_MESON_ON= -Dgssapi=enabled -Dkrb5_config=${KRB5CONFIG}
GSSAPI_MIT_USES= gssapi:mit
GSSAPI_MIT_MESON_ON= -Dgssapi=enabled -Dkrb5_config=${KRB5CONFIG}
GSSAPI_NONE_MESON_DISABLED= gssapi
USES= gettext gnome localbase meson \
pkgconfig python:3.6+,build sqlite ssl tar:xz
pkgconfig python:3.6+,build samba:build sqlite ssl tar:xz
USE_GNOME= glib20 intlhack introspection:build \
libxml2
USE_LDCONFIG= yes
@ -29,7 +45,7 @@ MESON_ARGS= -Dvapi=disabled \
-Dtests=false \
-Dgnome=true \
-Dbrotli=disabled \
-Dntlm=disabled
-Dntlm=enabled
LIBVERSION= 1.11.0
PLIST_SUB= VERSION="2.4" LIBVERSION=${LIBVERSION}

View File

@ -14,3 +14,5 @@ Features:
* SSL Support using OpenSSL
* Apache module server support
* Client digest authentication
WWW: https://libsoup.org/