BSD Ports

security/libgsasl 2.2.2 MidnightBSD

GNU SASL library

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
lgpl2.1
Categories
security

Description

GNU SASL is an implementation of the Simple Authentication and Security Layer framework and a few common SASL mechanisms.

GNU SASL consists of a library (libgsasl), a command-line utility (gsasl) to access the library from the shell, and a manual. The library includes support for the framework (with authentication functions and application data privacy and integrity functions) and at least partial support for the ANONYMOUS, CRAM-MD5, DIGEST-MD5, EXTERNAL, GS2-KRB5, GSSAPI, LOGIN, NTLM, PLAIN, SCRAM-SHA-1, SCRAM-SHA-1-PLUS, SAML20, OPENID20, and SECURID mechanisms.

The library is easily ported because it does not do network communication by itself, but rather leaves it up to the calling application. The library is flexible with regards to the authorization infrastructure used, as it utilizes a callback into the application to decide whether a user is authorized or not.

GNU SASL has been split into 2 ports:

  • security/gsasl: the command-line utility
  • security/libgsasl: the library

In the other systems

The newest version among them is 2.2.4, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDsecurity/libgsasl2.2.2 behind since 2026-07-08no data-[email protected]-
FreeBSDsecurity/libgsasl2.2.4 newestnone known-[email protected]2026-07-08
OpenBSDsecurity/libgsasl1.10.0p1 behind since 2026-07-08no data-The OpenBSD ports mailing-list <[email protected]>-
DragonFlysecurity/libgsasl2.2.1_1 behind since 2026-07-08none known-[email protected]-
HardenedBSDsecurity/libgsasl2.2.4 newestno data-[email protected]-
GhostBSDsecurity/libgsasl2.2.4 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install libgsasl

From mports:

cd /usr/mports/security/libgsasl && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libgsasl>0:security/libgsasl
LIB_DEPENDS=	libgsasl.so:security/libgsasl

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Library 4

Build dependencies 4
Run dependencies 4
Required by 1

Configuration

Options name: security_gsasl

OptionDefaultDescription
DOCSoff
GSSAPI_BASEon
GSSAPI_HEIMDALoff
GSSAPI_MIToff
GSSAPI_NONEoff
NLSoff
USES
charsetfix libtool pkgconfig ssl
Service scripts
none

Files

Manual pages 43
  • gsasl_base64_from(3)
  • gsasl_base64_to(3)
  • gsasl_callback(3)
  • gsasl_callback_hook_get(3)
  • gsasl_callback_hook_set(3)
  • gsasl_callback_set(3)
  • gsasl_check_version(3)
  • gsasl_client_mechlist(3)
  • gsasl_client_start(3)
  • gsasl_client_suggest_mechanism(3)
  • gsasl_client_support_p(3)
  • gsasl_decode(3)
  • gsasl_done(3)
  • gsasl_encode(3)
  • gsasl_finish(3)
  • gsasl_free(3)
  • gsasl_hash_length(3)
  • gsasl_hex_from(3)
  • gsasl_hex_to(3)
  • gsasl_init(3)
  • gsasl_mechanism_name(3)
  • gsasl_mechanism_name_p(3)
  • gsasl_nonce(3)
  • gsasl_property_fast(3)
  • gsasl_property_free(3)
  • gsasl_property_get(3)
  • gsasl_property_set(3)
  • gsasl_property_set_raw(3)
  • gsasl_random(3)
  • gsasl_register(3)
  • gsasl_saslprep(3)
  • gsasl_scram_secrets_from_password(3)
  • gsasl_scram_secrets_from_salted_password(3)
  • gsasl_server_mechlist(3)
  • gsasl_server_start(3)
  • gsasl_server_support_p(3)
  • gsasl_session_hook_get(3)
  • gsasl_session_hook_set(3)
  • gsasl_simple_getpass(3)
  • gsasl_step(3)
  • gsasl_step64(3)
  • gsasl_strerror(3)
  • gsasl_strerror_name(3)
pkg-plist 77
  • include/gsasl-mech.h
  • include/gsasl-version.h
  • include/gsasl.h
  • lib/libgsasl.a
  • lib/libgsasl.so
  • lib/libgsasl.so.18
  • lib/libgsasl.so.18.0.0
  • lib/liblgl.a
  • libdata/pkgconfig/libgsasl.pc
  • share/doc/libgsasl/reference/api-index-0-2-0.html
  • share/doc/libgsasl/reference/api-index-0-2-14.html
  • share/doc/libgsasl/reference/api-index-0-2-19.html
  • share/doc/libgsasl/reference/api-index-0-2-2.html
  • share/doc/libgsasl/reference/api-index-0-2-28.html
  • share/doc/libgsasl/reference/api-index-0-2-29.html
  • share/doc/libgsasl/reference/api-index-0-2-3.html
  • share/doc/libgsasl/reference/api-index-1-1.html
  • share/doc/libgsasl/reference/api-index-1-10.html
  • share/doc/libgsasl/reference/api-index-2-0-0.html
  • share/doc/libgsasl/reference/api-index-full.html
  • share/doc/libgsasl/reference/deprecated-api-index.html
  • share/doc/libgsasl/reference/gsasl-abstraction.png
  • share/doc/libgsasl/reference/gsasl-controlflow.png
  • share/doc/libgsasl/reference/gsasl-controlflow2.png
  • share/doc/libgsasl/reference/home.png
  • share/doc/libgsasl/reference/index.html
  • share/doc/libgsasl/reference/intro.html
  • share/doc/libgsasl/reference/left-insensitive.png
  • share/doc/libgsasl/reference/left.png
  • share/doc/libgsasl/reference/right-insensitive.png
  • share/doc/libgsasl/reference/right.png
  • share/doc/libgsasl/reference/style.css
  • share/doc/libgsasl/reference/up-insensitive.png
  • share/doc/libgsasl/reference/up.png
  • share/man/man3/gsasl_base64_from.3.gz
  • share/man/man3/gsasl_base64_to.3.gz
  • share/man/man3/gsasl_callback.3.gz
  • share/man/man3/gsasl_callback_hook_get.3.gz
  • share/man/man3/gsasl_callback_hook_set.3.gz
  • share/man/man3/gsasl_callback_set.3.gz
  • share/man/man3/gsasl_check_version.3.gz
  • share/man/man3/gsasl_client_mechlist.3.gz
  • share/man/man3/gsasl_client_start.3.gz
  • share/man/man3/gsasl_client_suggest_mechanism.3.gz
  • share/man/man3/gsasl_client_support_p.3.gz
  • share/man/man3/gsasl_decode.3.gz
  • share/man/man3/gsasl_done.3.gz
  • share/man/man3/gsasl_encode.3.gz
  • share/man/man3/gsasl_finish.3.gz
  • share/man/man3/gsasl_free.3.gz
  • share/man/man3/gsasl_hash_length.3.gz
  • share/man/man3/gsasl_hex_from.3.gz
  • share/man/man3/gsasl_hex_to.3.gz
  • share/man/man3/gsasl_init.3.gz
  • share/man/man3/gsasl_mechanism_name.3.gz
  • share/man/man3/gsasl_mechanism_name_p.3.gz
  • share/man/man3/gsasl_nonce.3.gz
  • share/man/man3/gsasl_property_fast.3.gz
  • share/man/man3/gsasl_property_free.3.gz
  • share/man/man3/gsasl_property_get.3.gz
  • share/man/man3/gsasl_property_set.3.gz
  • share/man/man3/gsasl_property_set_raw.3.gz
  • share/man/man3/gsasl_random.3.gz
  • share/man/man3/gsasl_register.3.gz
  • share/man/man3/gsasl_saslprep.3.gz
  • share/man/man3/gsasl_scram_secrets_from_password.3.gz
  • share/man/man3/gsasl_scram_secrets_from_salted_password.3.gz
  • share/man/man3/gsasl_server_mechlist.3.gz
  • share/man/man3/gsasl_server_start.3.gz
  • share/man/man3/gsasl_server_support_p.3.gz
  • share/man/man3/gsasl_session_hook_get.3.gz
  • share/man/man3/gsasl_session_hook_set.3.gz
  • share/man/man3/gsasl_simple_getpass.3.gz
  • share/man/man3/gsasl_step.3.gz
  • share/man/man3/gsasl_step64.3.gz
  • share/man/man3/gsasl_strerror.3.gz
  • share/man/man3/gsasl_strerror_name.3.gz
distinfo 1
FileSizeSHA256
gsasl-2.2.2.tar.gz3.254843e+0641e8e442648eccaf6459d9ad93d4b18530b96c8eaf50e3f342532ef275eff3ba
Master sites 1
  • GNU