Commit graph

266 commits

Author SHA1 Message Date
Hajimu UMEMOTO
d29e6c0326 security/cyrus-sasl2: Update to 2.1.28.
PR:		262133
Relnotes:	https://www.cyrusimap.org/sasl/sasl/release-notes/2.1/index.html#new-in-2-1-28
Security:	CVE-2019-19906, CVE-2022-24407
2022-02-28 21:29:36 +09:00
Hajimu UMEMOTO
c4eb47c93f security/cyrus-sasl2-sql: Escape password for SQL insert/update commands
Obtained from:	2d2e97b0eb
Security:	CVE-2022-24407
2022-02-23 11:34:14 +09:00
Hajimu UMEMOTO
17b54ce763 security/cyrus-sasl2-gssapi: remove patch-plugins_gssapi.c
PR:		260017
Reported by:	Michael Osipov
Discussed with: hrs
MFH:		2021Q4
2021-11-28 13:08:48 +09:00
Hajimu UMEMOTO
9a7faada92 security/cyrus-sasl2: Disable sphinx build.
PR:		257877
2021-08-22 21:09:49 +09:00
Hajimu UMEMOTO
d4a8178cf5 security/cyrus-sasl2: Respect CC.
PR:		257566
2021-08-07 12:08:29 +09:00
Xin LI
974e13b501 net/openldap24-server: Make SASL permanent for OpenLDAP port.
PR:		ports/257374
Reviewed by:	obrien
Approved by:	portmgr (exp-run by antoine)
Differential Revision: https://reviews.freebsd.org/D31301
2021-08-01 01:32:35 -07:00
Mathieu Arnold
cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00
Mathieu Arnold
135fdeebb9
all: Remove all other $FreeBSD keywords. 2021-04-06 16:31:13 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Hajimu UMEMOTO
368045b364 Repo. was moved.
Reported by:	 Odhiambo Washington <odhiambo@gmail.com>
2020-04-12 09:08:33 +00:00
Hajimu UMEMOTO
4c2c12c8bf Revert r15574.
It was wrong, and was not approved by the maintainer.

Reported by:	jkim
2020-02-28 18:50:44 +00:00
Hajimu UMEMOTO
bdf37d02bb - Call gss_acquire_cred() before gss_init_sec_context()
in gssapi_client_mech_step()
- Fix a bug which prevented the client from retrieving
  a credential from CCACHE.

These patches were already merged into upstream.

  https://github.com/cyrusimap/cyrus-sasl/pull/575
  https://github.com/cyrusimap/cyrus-sasl/pull/591

Submitted by:	hrs
2020-02-24 04:51:17 +00:00
Hajimu UMEMOTO
eec2cb0f56 bump PORTREVISION for my previous change. 2020-01-16 15:41:11 +00:00
Hajimu UMEMOTO
b379403f85 check exit status of sasldblistusers2 when deinstalling
cyrus-sasl2 package.

PR:		243363
Reported by:	hsakamt__at__tsnr.com
2020-01-16 15:08:09 +00:00
Eugene Grosbein
0c2cf745a5 security/cyrus-sasl2: unbreak building with stock OpenSSL for stable/11
Sendmail bundled with FreeBSD has SASL support and the Handbook tells
how to rebuild the Sendmail with SASL enabled if you have installed
cyrus-sasl2 that links with OpenSSL's libcrypto.

Sendmail uses old OpenSSL 1.0.2 API, so cyrus-sasl2 should be built
with stock libcrypto even if newer OpenSSL is installed for Ports.

This change adds new option SSL to the port (enabled by default).
If disabled, cyrus-sasl2 is built witch stock libcrypto not depending
on ports version of OpenSSL.

PORTREVISION not changed as default build is not affected.
2019-10-25 03:21:16 +00:00
Baptiste Daroussin
ef71a0d8c9 Drop the ipv6 virtual category for s* category as it is not relevant anymore 2019-10-09 12:20:31 +00:00
Mathieu Arnold
bc89cd3d2c Convert to UCL & cleanup pkg-message (categories s) 2019-08-14 12:16:12 +00:00
Antoine Brodin
97c482d01c Fix sanity for cyrus-sasl2 plugins 2019-05-25 19:20:08 +00:00
Hajimu UMEMOTO
b39a664d41 Update to 2.1.27. 2018-11-17 18:47:45 +00:00
Alexey Dokuchaev
936a36e30d Update `databases/gdbm' to version 1.18.1, an important bugfix release
which restores compatibility with old databases (version 1.8) and some
later versions which were built without mmap(2) support.  Due to shlib
version change, bump port revisions of the consumer ports.

PR:		233059
Exp-run by:	antoine
Approved by:	maintainer (johans, numerous timeouts)
2018-11-11 15:38:50 +00:00
Hajimu UMEMOTO
e01dcf134a Fix build the saslauthd when the OPENLDAP option is enabled.
PR:		231871
Reported by:	Nathan <ndowens [...] yahoo.com>
2018-10-06 04:39:47 +00:00
Hajimu UMEMOTO
7821430e45 Add OpenSSL 1.1.0 support for saslauthd.
There are the patches to support OpenSSL 1.1.0 in cyrus-sasl2
port, already.  But, it was incomplete for saslauthd.

PR:		231647
Submitted by:	dewayne [...] heuristicsystems.com.au (with some modifications)
2018-09-24 12:46:12 +00:00
Hajimu UMEMOTO
dd78413cfe - Backport from 2.1.27-rc7 OpenSSL 1.1 fixes
- Fix WWW

PR:		225891
Submitted by:	brnrd
2018-06-16 06:16:51 +00:00
Hajimu UMEMOTO
2c2d9313d1 Make local DB-errors more descriptive.
This patch will be included into comming 2.1.27.

PR:		198323
Submitted by:	Mikhail Teterin
2018-01-13 05:57:26 +00:00
Mathieu Arnold
bb5196a149 Remove support for variables that have been deprecated for a while.
variables                  deprecation       revision
WITHOUT_NLS                2013-12-13        r336337
WITH_/WITHOUT_             2014-02-24        r345870
NOPORT(DOC|EXAMPLE)S       2014-04-19        r351587
WITH_BDB_VER               2016-05-02        r414444
OVERRIDE_LINUX_BASE_PORT   2016-09-05        r421387
WITH_OPENSSL_(BASE|PORT)   2016-06-16        r416965

While there, add an ERROR variable that works like DEV_ERROR, but for
user facing errors, and move NOPORTDOCS,
NOPORTEXAMPLES and WITHOUT_NLS to it.

Cleanup bsd.sanity.mk a bit.

Fix fallout.

PR:		224613
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D13490
2018-01-09 07:40:55 +00:00
Mahdi Mokhtari
feeb5a15e8 security/cyrus-sasl2: separate sql plugins into security/cyrus-sasl2-sql
Fix circular-dependency problem happens after SASL/LDAP was added as
plugin to mysql57-client in r446496

Reviewed by:	bapt, mat (mentor), ume (maintainer)
Approved by:	mat (mentor), ume (maintainer)
MFH:		2017Q3
Differential Revision:	https://reviews.freebsd.org/D11805
2017-08-11 18:47:20 +00:00
Antoine Brodin
94693094df Unbreak, do not overwrite USES 2017-03-15 20:28:53 +00:00
Mathieu Arnold
a28f0f7f7f Remove all USE_OPENSSL occurrences.
Sponsored by:	Absolight
2017-03-15 14:45:30 +00:00
Hajimu UMEMOTO
dc4d5f48f0 Use USES=bdb and USES=mysql. 2016-05-12 11:06:41 +00:00
Mathieu Arnold
21bc5c0345 Remove USE_SQLITE from bsd.databases.mk, replaced by USES=sqlite.
While there replace USE_SQLITE=x by USES=sqlite:x.

PR:		208971
Submitted by:	mat
Exp-run by:	antoine
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D5951
2016-04-25 16:13:38 +00:00
Mathieu Arnold
597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00
Hajimu UMEMOTO
edf26a4683 Make it buildable with GDBM on.
PR:		208194
Reported by:	vas__at__mpeks.tomsk.su
2016-03-22 05:58:51 +00:00
Hajimu UMEMOTO
0031c305d9 Add the forgot patch at my previous commit. 2016-03-02 14:27:55 +00:00
Hajimu UMEMOTO
b49e7032a3 - Make SASLdb excludable.
- Make SASLdb buildable with GDBM.
- Make sure to disable the plugins where it is not required.
2016-03-02 14:13:45 +00:00
Hajimu UMEMOTO
342be81f93 Move PLIST_FILES for plugins into cyrus-sasl2/Makefile.common. 2016-02-27 17:02:11 +00:00
Hajimu UMEMOTO
90e622d893 Move the common part of the cyrus-sasl2 separated ports into
Makefile.common, to make further maintenance easier.
2016-02-27 05:15:57 +00:00
Hajimu UMEMOTO
629168f305 Revert r409585 to avoid dependency loop.
I've completely forgot this issue.

PR:		207512
2016-02-26 11:27:30 +00:00
Hajimu UMEMOTO
6d181df987 OPTIONSfy ANONYMOUS authentication.
On by default.
2016-02-26 08:59:39 +00:00
Hajimu UMEMOTO
718dd9ecd9 Add OPTIONS for the separeted cyrus-sasl2 ports. 2016-02-26 07:51:37 +00:00
Hajimu UMEMOTO
c0f7910237 Add Cyrus SASL SRP authentication plugin.
Requested by:	Kyle Amon <amonk__at__backwatcher.com>
2016-02-24 10:39:50 +00:00
Hajimu UMEMOTO
01d64fe98c Use OPTIONS helper. 2015-11-12 11:16:30 +00:00
Dag-Erling Smørgrav
b43a2bc820 r398691 placed the patch in the wrong directory, where it had no effect.
Move it to the master port and bump the subport again.

Reviewed by:	ume@
2015-10-07 07:19:26 +00:00
Mathieu Arnold
7f5ef38c3f Backout r398328 and r398370, they break packages depending on them.
With hat:	portmgr
MFH:		2015Q4
Sponsored by:	Absolight, The FreeBSD Foundation
2015-10-02 10:41:09 +00:00
Hajimu UMEMOTO
f571a16345 Use SUB_FILES. 2015-10-01 17:08:36 +00:00
Hajimu UMEMOTO
d4d22ea900 Fix DOCSDIR. 2015-10-01 16:52:45 +00:00
Hajimu UMEMOTO
d2c500d787 Sync package name with origin.
PR:		202756
2015-10-01 15:58:07 +00:00
Hajimu UMEMOTO
d996228059 Add CPE information. 2015-04-09 17:06:11 +00:00
Hajimu UMEMOTO
c1041567fb fix option of pw.
Spotted by:	Sean Eric Fagan <sef__at__Kithrup.COM>
2015-04-02 15:50:49 +00:00
Chris Rees
1e94b6fb2f Switch to USES=pgsql 2014-11-22 19:13:49 +00:00
Baptiste Daroussin
f972be4eb9 Simplify plist 2014-09-23 09:43:38 +00:00