BSD Ports

security/cyrus-sasl2 2.1.28_6 FreeBSD

RFC 2222 SASL (Simple Authentication and Security Layer)

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
aac661e18b
License
BSD4CLAUSE
Categories
security
Package size
1042.2 KiB, 8358.9 KiB installed

Description

The Cyrus SASL (Simple Authentication and Security Layer)

SASL is the Simple Authentication and Security Layer, a method for adding authentication support to connection-based protocols. To use SASL, a protocol includes a command for identifying and authenticating a user to a server and for optionally negotiating protection of subsequent protocol interactions. If its use is negotiated, a security layer is inserted between the protocol and the connection.

In the other systems

SystemPortVersion
FreeBSDsecurity/cyrus-sasl22.1.28_6
OpenBSDsecurity/cyrus-sasl22.1.28p3
NetBSDsecurity/cyrus-sasl2.1.28nb2
DragonFlysecurity/cyrus-sasl22.1.28_5
MidnightBSDsecurity/cyrus-sasl2
HardenedBSDsecurity/cyrus-sasl22.1.28_6
GhostBSDsecurity/cyrus-sasl22.1.28_6
OPNsensesecurity/cyrus-sasl22.1.28_5

Install

Binary package:

pkg install cyrus-sasl

From the ports tree:

cd /usr/ports/security/cyrus-sasl2/ && make install clean

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

RUN_DEPENDS=	cyrus-sasl>0:security/cyrus-sasl2
LIB_DEPENDS=	libsasl2.so:security/cyrus-sasl2

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.1.28_62.1.28_62.1.282.1.28_52.1.28_6
FreeBSD:14:quarterly2.1.28_62.1.28_6n/a2.1.28_52.1.28_6
FreeBSD:15:latest2.1.28_62.1.28_6n/a2.1.28_52.1.28_5
FreeBSD:15:quarterly2.1.28_62.1.28_6n/an/an/a
FreeBSD:16:latest2.1.28_62.1.28_6n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 4
Required by 809

The first 100 are listed.

Configuration

Options name: security_cyrus-sasl2

OptionDefaultDescription
ALWAYSTRUEoffAlwaystrue password verifier (discouraged)
ANONYMOUSonANONYMOUS authentication
AUTHDAEMONDonUse of authdaemon
BDBoffBerkeley DB support
BDB1onBerkeley DB 1.85 support
CRAMonCRAM-MD5 authentication
DIGESTonDIGEST-MD5 authentication
DOCSoffBuild and/or install documentation
GDBMoffGNU dbm library support
KEEP_DB_OPENoffKeep handle to Berkeley DB open
LMDBoffOpenLDAP Lightning Memory-Mapped Database support
LMDB0onUse LMDB 0.9 library
LOGINonLOGIN authentication
NTLMonNTLM authentication
OBSOLETE_CRAM_ATTRoncmusaslsecretCRAM-MD5 auxprop property
OBSOLETE_DIGEST_ATTRoncmusaslsecretDIGEST-MD5 auxprop property
OPIEoffUse OPIE with OTP
OTPonOTP authentication
PLAINonPLAIN authentication
SASLDB_IN_VARoffsasldb in /var/db/sasl2
SCRAMonSCRAM authentication
USES
cpe libtool:keepla pathfix perl5
Service scripts
none

Message after installing

You can use sasldb2 for authentication, to add users use:

	saslpasswd2 -c username

If you want to enable SMTP AUTH with the system Sendmail, read
Sendmail.README

NOTE: This port has been compiled with a default pwcheck_method of
      auxprop.  If you want to authenticate your user by /etc/passwd,
      PAM or LDAP, install ports/security/cyrus-sasl2-saslauthd and
      set sasl_pwcheck_method to saslauthd after installing the
      Cyrus-IMAPd 2.X port.  You should also check the
      /usr/local/lib/sasl2/*.conf files for the correct
      pwcheck_method.
      If you want to use GSSAPI mechanism, install
      ports/security/cyrus-sasl2-gssapi.
      If you want to use SRP mechanism, install
      ports/security/cyrus-sasl2-srp.
      If you want to use LDAP auxprop plugin, install
      ports/security/cyrus-sasl2-ldapdb.

Files

Manual pages 46
  • pluginviewer(8)
  • sasl(3)
  • sasl_authorize_t(3)
  • sasl_auxprop(3)
  • sasl_auxprop_getctx(3)
  • sasl_auxprop_request(3)
  • sasl_callbacks(3)
  • sasl_canon_user_t(3)
  • sasl_chalprompt_t(3)
  • sasl_checkapop(3)
  • sasl_checkpass(3)
  • sasl_client_init(3)
  • sasl_client_new(3)
  • sasl_client_start(3)
  • sasl_client_step(3)
  • sasl_decode(3)
  • sasl_dispose(3)
  • sasl_done(3)
  • sasl_encode(3)
  • sasl_encodev(3)
  • sasl_errdetail(3)
  • sasl_errors(3)
  • sasl_errstring(3)
  • sasl_getconfpath_t(3)
  • sasl_getopt_t(3)
  • sasl_getpath_t(3)
  • sasl_getprop(3)
  • sasl_getrealm_t(3)
  • sasl_getsecret_t(3)
  • sasl_getsimple_t(3)
  • sasl_global_listmech(3)
  • sasl_idle(3)
  • sasl_listmech(3)
  • sasl_log_t(3)
  • sasl_server_init(3)
  • sasl_server_new(3)
  • sasl_server_start(3)
  • sasl_server_step(3)
  • sasl_server_userdb_checkpass_t(3)
  • sasl_server_userdb_setpass_t(3)
  • sasl_setpass(3)
  • sasl_setprop(3)
  • sasl_user_exists(3)
  • sasl_verifyfile_t(3)
  • sasldblistusers2(8)
  • saslpasswd2(8)
pkg-plist 107
  • include/sasl/hmac-md5.h
  • include/sasl/md5.h
  • include/sasl/md5global.h
  • include/sasl/prop.h
  • include/sasl/sasl.h
  • include/sasl/saslplug.h
  • include/sasl/saslutil.h
  • lib/libsasl2.a
  • lib/libsasl2.la
  • lib/libsasl2.so
  • lib/libsasl2.so.3
  • lib/libsasl2.so.3.0.0
  • lib/sasl2/libanonymous.a
  • lib/sasl2/libanonymous.la
  • lib/sasl2/libanonymous.so
  • lib/sasl2/libanonymous.so.3
  • lib/sasl2/libanonymous.so.3.0.0
  • lib/sasl2/libcrammd5.a
  • lib/sasl2/libcrammd5.la
  • lib/sasl2/libcrammd5.so
  • lib/sasl2/libcrammd5.so.3
  • lib/sasl2/libcrammd5.so.3.0.0
  • lib/sasl2/libdigestmd5.a
  • lib/sasl2/libdigestmd5.la
  • lib/sasl2/libdigestmd5.so
  • lib/sasl2/libdigestmd5.so.3
  • lib/sasl2/libdigestmd5.so.3.0.0
  • lib/sasl2/liblogin.a
  • lib/sasl2/liblogin.la
  • lib/sasl2/liblogin.so
  • lib/sasl2/liblogin.so.3
  • lib/sasl2/liblogin.so.3.0.0
  • lib/sasl2/libscram.a
  • lib/sasl2/libscram.la
  • lib/sasl2/libscram.so
  • lib/sasl2/libscram.so.3
  • lib/sasl2/libscram.so.3.0.0
  • lib/sasl2/libntlm.a
  • lib/sasl2/libntlm.la
  • lib/sasl2/libntlm.so
  • lib/sasl2/libntlm.so.3
  • lib/sasl2/libntlm.so.3.0.0
  • lib/sasl2/libotp.a
  • lib/sasl2/libotp.la
  • lib/sasl2/libotp.so
  • lib/sasl2/libotp.so.3
  • lib/sasl2/libotp.so.3.0.0
  • lib/sasl2/libplain.a
  • lib/sasl2/libplain.la
  • lib/sasl2/libplain.so
  • lib/sasl2/libplain.so.3
  • lib/sasl2/libplain.so.3.0.0
  • lib/sasl2/libsasldb.a
  • lib/sasl2/libsasldb.la
  • lib/sasl2/libsasldb.so
  • lib/sasl2/libsasldb.so.3
  • lib/sasl2/libsasldb.so.3.0.0
  • libdata/pkgconfig/libsasl2.pc
  • share/man/man3/sasl.3.gz
  • share/man/man3/sasl_authorize_t.3.gz
  • share/man/man3/sasl_auxprop.3.gz
  • share/man/man3/sasl_auxprop_getctx.3.gz
  • share/man/man3/sasl_auxprop_request.3.gz
  • share/man/man3/sasl_callbacks.3.gz
  • share/man/man3/sasl_canon_user_t.3.gz
  • share/man/man3/sasl_chalprompt_t.3.gz
  • share/man/man3/sasl_checkapop.3.gz
  • share/man/man3/sasl_checkpass.3.gz
  • share/man/man3/sasl_client_init.3.gz
  • share/man/man3/sasl_client_new.3.gz
  • share/man/man3/sasl_client_start.3.gz
  • share/man/man3/sasl_client_step.3.gz
  • share/man/man3/sasl_decode.3.gz
  • share/man/man3/sasl_dispose.3.gz
  • share/man/man3/sasl_done.3.gz
  • share/man/man3/sasl_encode.3.gz
  • share/man/man3/sasl_encodev.3.gz
  • share/man/man3/sasl_errdetail.3.gz
  • share/man/man3/sasl_errors.3.gz
  • share/man/man3/sasl_errstring.3.gz
  • share/man/man3/sasl_getconfpath_t.3.gz
  • share/man/man3/sasl_getopt_t.3.gz
  • share/man/man3/sasl_getpath_t.3.gz
  • share/man/man3/sasl_getprop.3.gz
  • share/man/man3/sasl_getrealm_t.3.gz
  • share/man/man3/sasl_getsecret_t.3.gz
  • share/man/man3/sasl_getsimple_t.3.gz
  • share/man/man3/sasl_global_listmech.3.gz
  • share/man/man3/sasl_idle.3.gz
  • share/man/man3/sasl_listmech.3.gz
  • share/man/man3/sasl_log_t.3.gz
  • share/man/man3/sasl_server_init.3.gz
  • share/man/man3/sasl_server_new.3.gz
  • share/man/man3/sasl_server_start.3.gz
  • share/man/man3/sasl_server_step.3.gz
  • share/man/man3/sasl_server_userdb_checkpass_t.3.gz
  • share/man/man3/sasl_server_userdb_setpass_t.3.gz
  • share/man/man3/sasl_setpass.3.gz
  • share/man/man3/sasl_setprop.3.gz
  • share/man/man3/sasl_user_exists.3.gz

The first 100 are listed.

distinfo 1
FileSizeSHA256
cyrus-sasl-2.1.28.tar.gz4.034803e+067ccfc6abd01ed67c1a0924b353e526f1b766b21f42d4562ee635a8ebfc5bb38c

Commit history 4

DateCommitCreditsLog message
aac661e18b Hajimu UMEMOTO security/cyrus-sasl2: Fix build with databases/lmdb.
7eb9b79b1d Hajimu UMEMOTO security/cyrus-sasl2{,-saslauthd}: Fix build after lmdb update.
b86d9ca365 Hajimu UMEMOTO security/cyrus-sasl2{,-saslauthd}: add LMDB0 option on by default for backward compatibility
5f9d389f29 Xin LI databases/lmdb0: Add port for LMDB 0.9.x legacy ABI
LMDB 1.0 introduced an incompatible on-disk format change and subtle API breakage: applications that compiled cleanly against 1.0 headers could fail silently at run time. Known affected ports include dns/knot3, mail/bogofilter, and mail/postfix; the postfix issue has been confirmed upstream. Linux distributions such as Arch Linux have observed the same breakage. Samba can also be affected in certain configurations. Because the regression is not detectable in an -exp build run -- the postfix failure only manifests at run time, and bogofilter was caught only because post-build self-tests happen to exercise this path -- we cannot rely on package builds to validate the 1.0 upgrade. This commit introduces databases/lmdb0 as a holding port for the 0.9.35 …