cyrus-sasl: update to 2.1.28 New in 2.1.28 build: configure - Restore LIBS after checking gss_inquire_sec_context_by_oid makemd5.c - Fix potential out of bound writes fix build with 窶電isable-shared 窶兎nable-static Dozens of fixes for Windows specific builds Fix cross platform builds with SPNEGO Do not try to build broken java subtree Fix build error with 窶兎nable-auth-sasldb common: plugin_common.c: Ensure size is always checked if called repeatedly (#617) documentation: Fixed generation of saslauthd(8) man page Fixed installation of saslauthd(8) and testsaslauthd(8) man pages (#373) Updates for additional SCRAM mechanisms Fix sasl_decode64 and sasl_encode64 man pages Tons of fixes for Sphinx include: sasl.h: Allow up to 16 bits for security flags lib: checkpw.c: Skip one call to strcat Disable auxprop-hashed (#374) client.c: Use proper length for fully qualified domain names common.c: CVE-2019-19906 Fix off by one error (#587) external.c: fix EXTERNAL with non-terminated input (#689) saslutil.c: fix index_64 to be a signed char (#619) plugins: gssapi.c: Emit debug log only in case of errors ntlm.c: Fail compile if MD4 is not available (#632) sql.c: Finish reading residual return data (#639) CVE-2022-24407 Escape password for SQL insert/update commands. sasldb: db_gdbm.c: fix gdbm_errno overlay from gdbm_close DIGEST-MD5 plugin: Prevent double free of RC4 context Use OpenSSL RC4 implementation if available SCRAM plugin: Return BADAUTH on incorrect password (#545) Add -224, -384, -512 (#552) Remove SCRAM_HASH_SIZE Add function to return SCRAM auth method name Allocate enough memory in scam_setpass() Add function to sort SCRAM methods by hash strength Update windows build for newer SCRAM options saslauthd: auth_httpform.c: Avoid signed overflow with non-ascii characters (#576) auth_krb5.c: support setting an explicit auth_krb5 server name support setting an explicit servername with Heimdal unify the MIT and Heimdal auth_krb5 implementations Remove call to krbtf auth_rimap.c: provide native memmem implementation if missing lak.c: Allow LDAP_OPT_X_TLS_REQUIRE_CERT to be 0 (no certificate verification) lak.h: Increase supported DN length to 4096 (#626)diff -r1.23 -r1.24 pkgsrc/security/cy2-digestmd5/Makefile
(wiz)
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.23 2020/01/18 21:50:34 jperkin Exp $ | 1 | # $NetBSD: Makefile,v 1.24 2022/02/24 11:00:03 wiz Exp $ | |
2 | 2 | |||
3 | PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-digestmd5/} | 3 | PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-digestmd5/} | |
4 | PKGREVISION= 1 | |||
5 | COMMENT= Cyrus SASL DIGEST-MD5 authentication plugin | 4 | COMMENT= Cyrus SASL DIGEST-MD5 authentication plugin | |
6 | SASL_PLUGIN= yes | 5 | SASL_PLUGIN= yes | |
7 | 6 | |||
8 | CONFLICTS= cyrus-sasl<=2.1.19nb1 | 7 | CONFLICTS= cyrus-sasl<=2.1.19nb1 | |
9 | 8 | |||
10 | .include "../../security/cyrus-sasl/Makefile.common" | 9 | .include "../../security/cyrus-sasl/Makefile.common" | |
11 | 10 | |||
12 | CONFIGURE_ARGS+= --enable-digest | 11 | CONFIGURE_ARGS+= --enable-digest | |
13 | CONFIGURE_ARGS+= --with-rc4 | 12 | CONFIGURE_ARGS+= --with-rc4 | |
14 | CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q} | 13 | CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q} | |
15 | 14 | |||
16 | BUILD_DIRS= plugins | 15 | BUILD_DIRS= plugins | |
17 | BUILD_TARGET= libdigestmd5.la | 16 | BUILD_TARGET= libdigestmd5.la |
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.30 2021/10/21 07:46:37 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.31 2022/02/24 11:00:03 wiz Exp $ | |
2 | 2 | |||
3 | PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-gssapi/} | 3 | PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-gssapi/} | |
4 | PKGREVISION= 2 | |||
5 | COMMENT= Cyrus SASL GSSAPI authentication plugin | 4 | COMMENT= Cyrus SASL GSSAPI authentication plugin | |
6 | SASL_PLUGIN= yes | 5 | SASL_PLUGIN= yes | |
7 | 6 | |||
8 | CONFLICTS= cyrus-sasl<=2.1.19nb1 | 7 | CONFLICTS= cyrus-sasl<=2.1.19nb1 | |
9 | 8 | |||
10 | .include "../../security/cyrus-sasl/Makefile.common" | 9 | .include "../../security/cyrus-sasl/Makefile.common" | |
11 | 10 | |||
12 | CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q} | 11 | CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q} | |
13 | CONFIGURE_ARGS+= --enable-gssapi=${KRB5BASE:Q} | 12 | CONFIGURE_ARGS+= --enable-gssapi=${KRB5BASE:Q} | |
14 | CONFIGURE_ARGS+= --with-gss_impl=${GSSIMPL.${KRB5_TYPE}} | 13 | CONFIGURE_ARGS+= --with-gss_impl=${GSSIMPL.${KRB5_TYPE}} | |
15 | GSSIMPL.heimdal= heimdal | 14 | GSSIMPL.heimdal= heimdal | |
16 | GSSIMPL.mit-krb5= mit | 15 | GSSIMPL.mit-krb5= mit | |
17 | 16 |
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.15 2020/01/18 21:50:34 jperkin Exp $ | 1 | # $NetBSD: Makefile,v 1.16 2022/02/24 11:00:03 wiz Exp $ | |
2 | 2 | |||
3 | PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-ldapdb/} | 3 | PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-ldapdb/} | |
4 | PKGREVISION= 1 | |||
5 | COMMENT= Cyrus SASL LDAPDB authentication plugin | 4 | COMMENT= Cyrus SASL LDAPDB authentication plugin | |
6 | SASL_PLUGIN= yes | 5 | SASL_PLUGIN= yes | |
7 | 6 | |||
8 | .include "../../security/cyrus-sasl/Makefile.common" | 7 | .include "../../security/cyrus-sasl/Makefile.common" | |
9 | 8 | |||
10 | CONFIGURE_ARGS+= --with-ldap=${BUILDLINK_PREFIX.openldap} | 9 | CONFIGURE_ARGS+= --with-ldap=${BUILDLINK_PREFIX.openldap} | |
11 | CONFIGURE_ARGS+= --enable-ldapdb | 10 | CONFIGURE_ARGS+= --enable-ldapdb | |
12 | 11 | |||
13 | BUILD_DIRS= plugins | 12 | BUILD_DIRS= plugins | |
14 | BUILD_TARGET= libldapdb.la | 13 | BUILD_TARGET= libldapdb.la | |
15 | 14 | |||
16 | .include "../../databases/openldap-client/buildlink3.mk" | 15 | .include "../../databases/openldap-client/buildlink3.mk" | |
17 | 16 |
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.31 2020/01/18 21:50:34 jperkin Exp $ | 1 | # $NetBSD: Makefile,v 1.32 2022/02/24 11:00:03 wiz Exp $ | |
2 | 2 | |||
3 | PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-ntlm/} | 3 | PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-ntlm/} | |
4 | PKGREVISION= 1 | |||
5 | COMMENT= Cyrus SASL NTLM authentication plugin | 4 | COMMENT= Cyrus SASL NTLM authentication plugin | |
6 | SASL_PLUGIN= yes | 5 | SASL_PLUGIN= yes | |
7 | 6 | |||
8 | .include "../../security/cyrus-sasl/Makefile.common" | 7 | .include "../../security/cyrus-sasl/Makefile.common" | |
9 | 8 | |||
10 | CONFIGURE_ARGS+= --enable-ntlm | 9 | CONFIGURE_ARGS+= --enable-ntlm | |
11 | CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q} | 10 | CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q} | |
12 | 11 | |||
13 | BUILD_DIRS= plugins | 12 | BUILD_DIRS= plugins | |
14 | BUILD_TARGET= libntlm.la | 13 | BUILD_TARGET= libntlm.la | |
15 | 14 | |||
16 | .include "../../security/openssl/buildlink3.mk" | 15 | .include "../../security/openssl/buildlink3.mk" | |
17 | 16 |
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.24 2020/01/18 21:50:34 jperkin Exp $ | 1 | # $NetBSD: Makefile,v 1.25 2022/02/24 11:00:03 wiz Exp $ | |
2 | 2 | |||
3 | PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-otp/} | 3 | PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-otp/} | |
4 | PKGREVISION= 1 | |||
5 | COMMENT= Cyrus SASL OTP authentication plugin | 4 | COMMENT= Cyrus SASL OTP authentication plugin | |
6 | SASL_PLUGIN= yes | 5 | SASL_PLUGIN= yes | |
7 | 6 | |||
8 | CONFLICTS= cyrus-sasl<=2.1.19nb1 | 7 | CONFLICTS= cyrus-sasl<=2.1.19nb1 | |
9 | 8 | |||
10 | .include "../../security/cyrus-sasl/Makefile.common" | 9 | .include "../../security/cyrus-sasl/Makefile.common" | |
11 | 10 | |||
12 | CONFIGURE_ARGS+= --enable-otp | 11 | CONFIGURE_ARGS+= --enable-otp | |
13 | CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q} | 12 | CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q} | |
14 | 13 | |||
15 | BUILD_DIRS= plugins | 14 | BUILD_DIRS= plugins | |
16 | #BUILD_TARGET= libotp.la | 15 | #BUILD_TARGET= libotp.la | |
17 | 16 |
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.11 2020/01/18 21:50:35 jperkin Exp $ | 1 | # $NetBSD: Makefile,v 1.12 2022/02/24 11:00:03 wiz Exp $ | |
2 | 2 | |||
3 | PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-scram/} | 3 | PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-scram/} | |
4 | PKGREVISION= 1 | |||
5 | COMMENT= Cyrus SASL SCRAM authentication plugin | 4 | COMMENT= Cyrus SASL SCRAM authentication plugin | |
6 | SASL_PLUGIN= yes | 5 | SASL_PLUGIN= yes | |
7 | 6 | |||
8 | .include "../../security/cyrus-sasl/Makefile.common" | 7 | .include "../../security/cyrus-sasl/Makefile.common" | |
9 | 8 | |||
10 | CONFIGURE_ARGS+= --enable-scram | 9 | CONFIGURE_ARGS+= --enable-scram | |
11 | CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q} | 10 | CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q} | |
12 | 11 | |||
13 | BUILD_DIRS= plugins | 12 | BUILD_DIRS= plugins | |
14 | BUILD_TARGET= libscram.la | 13 | BUILD_TARGET= libscram.la | |
15 | 14 | |||
16 | .include "../../security/openssl/buildlink3.mk" | 15 | .include "../../security/openssl/buildlink3.mk" | |
17 | 16 |
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.48 2021/12/08 16:06:16 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.49 2022/02/24 11:00:03 wiz Exp $ | |
2 | 2 | |||
3 | PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-sql/} | 3 | PKGNAME= ${DISTNAME:S/cyrus-sasl/cy2-sql/} | |
4 | PKGREVISION= 9 | |||
5 | COMMENT= Cyrus SASL SQL authentication plugin | 4 | COMMENT= Cyrus SASL SQL authentication plugin | |
6 | SASL_PLUGIN= yes | 5 | SASL_PLUGIN= yes | |
7 | 6 | |||
8 | .include "../../security/cyrus-sasl/Makefile.common" | 7 | .include "../../security/cyrus-sasl/Makefile.common" | |
9 | 8 | |||
10 | PKG_OPTIONS_VAR= PKG_OPTIONS.cy2-sql | 9 | PKG_OPTIONS_VAR= PKG_OPTIONS.cy2-sql | |
11 | PKG_SUPPORTED_OPTIONS= mysql pgsql sqlite sqlite3 | 10 | PKG_SUPPORTED_OPTIONS= mysql pgsql sqlite sqlite3 | |
12 | PKG_SUGGESTED_OPTIONS= mysql | 11 | PKG_SUGGESTED_OPTIONS= mysql | |
13 | 12 | |||
14 | .include "../../mk/bsd.options.mk" | 13 | .include "../../mk/bsd.options.mk" | |
15 | 14 | |||
16 | .if !empty(PKG_OPTIONS:Mmysql) | 15 | .if !empty(PKG_OPTIONS:Mmysql) | |
17 | . include "../../mk/mysql.buildlink3.mk" | 16 | . include "../../mk/mysql.buildlink3.mk" |
@@ -1,16 +1,15 @@ | @@ -1,16 +1,15 @@ | |||
1 | # $NetBSD: Makefile,v 1.79 2021/05/24 19:53:51 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.80 2022/02/24 11:00:03 wiz Exp $ | |
2 | 2 | |||
3 | PKGREVISION= 2 | |||
4 | COMMENT= Simple Authentication and Security Layer | 3 | COMMENT= Simple Authentication and Security Layer | |
5 | 4 | |||
6 | .include "Makefile.common" | 5 | .include "Makefile.common" | |
7 | 6 | |||
8 | CPPFLAGS+= -DPIC -fPIC | 7 | CPPFLAGS+= -DPIC -fPIC | |
9 | 8 | |||
10 | .include "options.mk" | 9 | .include "options.mk" | |
11 | 10 | |||
12 | BUILD_DEFS+= VARBASE | 11 | BUILD_DEFS+= VARBASE | |
13 | 12 | |||
14 | # Support using Cyrus saslauthd (security/cyrus-saslauthd) for plaintext | 13 | # Support using Cyrus saslauthd (security/cyrus-saslauthd) for plaintext | |
15 | # password authentication. | 14 | # password authentication. | |
16 | # | 15 | # |
@@ -1,42 +1,36 @@ | @@ -1,42 +1,36 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.33 2020/05/14 14:31:16 nia Exp $ | 1 | # $NetBSD: Makefile.common,v 1.34 2022/02/24 11:00:03 wiz Exp $ | |
2 | # | 2 | # | |
3 | # used by security/cyrus-sasl/Makefile | 3 | # used by security/cyrus-sasl/Makefile | |
4 | # used by security/cy2-anonymous/Makefile | 4 | # used by security/cy2-anonymous/Makefile | |
5 | # used by security/cy2-crammd5/Makefile | 5 | # used by security/cy2-crammd5/Makefile | |
6 | # used by security/cy2-digestmd5/Makefile | 6 | # used by security/cy2-digestmd5/Makefile | |
7 | # used by security/cy2-gssapi/Makefile | 7 | # used by security/cy2-gssapi/Makefile | |
8 | # used by security/cy2-ldapdb/Makefile | 8 | # used by security/cy2-ldapdb/Makefile | |
9 | # used by security/cy2-login/Makefile | 9 | # used by security/cy2-login/Makefile | |
10 | # used by security/cy2-ntlm/Makefile | 10 | # used by security/cy2-ntlm/Makefile | |
11 | # used by security/cy2-otp/Makefile | 11 | # used by security/cy2-otp/Makefile | |
12 | # used by security/cy2-plain/Makefile | 12 | # used by security/cy2-plain/Makefile | |
13 | # used by security/cy2-scram/Makefile | 13 | # used by security/cy2-scram/Makefile | |
14 | # used by security/cy2-sql/Makefile | 14 | # used by security/cy2-sql/Makefile | |
15 | # used by security/cyrus-saslauthd/Makefile | 15 | # used by security/cyrus-saslauthd/Makefile | |
16 | # | 16 | # | |
17 | # This Makefile fragment should be included _below_ any SASL_PLUGIN | 17 | # This Makefile fragment should be included _below_ any SASL_PLUGIN | |
18 | # definition and _above_ any CONFIGURE_ARGS definitions. | 18 | # definition and _above_ any CONFIGURE_ARGS definitions. | |
19 | 19 | |||
20 | DISTNAME= cyrus-sasl-2.1.27 | 20 | DISTNAME= cyrus-sasl-2.1.28 | |
21 | DISTFILES= ${DISTNAME}-rc7${EXTRACT_SUFX} | |||
22 | CATEGORIES= security | 21 | CATEGORIES= security | |
23 | MASTER_SITES= https://www.cyrusimap.org/releases/ | 22 | MASTER_SITES+= ${MASTER_SITE_GITHUB:=cyrusimap/} | |
24 | MASTER_SITES+= https://www.cyrusimap.org/releases/old/ | 23 | GITHUB_RELEASE= ${DISTNAME} | |
25 | #MASTER_SITES+= ftp://ftp.cyrusimap.org/cyrus-sasl/OLD-VERSIONS/ | |||
26 | #PATCHFILES+= cyrus-sasl-dedad73e5e7a75d01a5f3d5a6702ab8ccd2ff40d.patch.v2 | |||
27 | #SITES.cyrus-sasl-dedad73e5e7a75d01a5f3d5a6702ab8ccd2ff40d.patch.v2= \ | |||
28 | # -https://cgit.cyrus.foundation/cyrus-sasl/patch/?id=dedad73e5e7a75d01a5f3d5a6702ab8ccd2ff40d | |||
29 | #PATCH_DIST_STRIP= -p1 | |||
30 | 24 | |||
31 | MAINTAINER= pkgsrc-users@NetBSD.org | 25 | MAINTAINER= pkgsrc-users@NetBSD.org | |
32 | HOMEPAGE= https://www.cyrusimap.org/sasl/ | 26 | HOMEPAGE= https://www.cyrusimap.org/sasl/ | |
33 | LICENSE= original-bsd # CMU version | 27 | LICENSE= original-bsd # CMU version | |
34 | 28 | |||
35 | DISTINFO_FILE= ${.CURDIR}/../../security/cyrus-sasl/distinfo | 29 | DISTINFO_FILE= ${.CURDIR}/../../security/cyrus-sasl/distinfo | |
36 | PATCHDIR= ${.CURDIR}/../../security/cyrus-sasl/patches | 30 | PATCHDIR= ${.CURDIR}/../../security/cyrus-sasl/patches | |
37 | 31 | |||
38 | PKG_SYSCONFSUBDIR= sasl2 | 32 | PKG_SYSCONFSUBDIR= sasl2 | |
39 | 33 | |||
40 | .include "../../mk/bsd.prefs.mk" | 34 | .include "../../mk/bsd.prefs.mk" | |
41 | 35 | |||
42 | .if defined(SASL_PLUGIN) && !empty(SASL_PLUGIN:M[yY][eE][sS]) | 36 | .if defined(SASL_PLUGIN) && !empty(SASL_PLUGIN:M[yY][eE][sS]) |
@@ -1,10 +1,8 @@ | @@ -1,10 +1,8 @@ | |||
1 | $NetBSD: distinfo,v 1.40 2021/11/15 18:12:45 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.41 2022/02/24 11:00:03 wiz Exp $ | |
2 | 2 | |||
3 | BLAKE2s (cyrus-sasl-2.1.27-rc7.tar.gz) = 66acec5390a4b208f8492fae9538b9df46169d00dc3228b41452cdc6eee28bdf | 3 | BLAKE2s (cyrus-sasl-2.1.28.tar.gz) = 617623570c40af652ef1c19a746e2346f53591a4594cffdce835df29fc5aba61 | |
4 | SHA512 (cyrus-sasl-2.1.27-rc7.tar.gz) = 498b0f83e99f77dcf56bd2b735e71b554571703305ef9ef64038f04ef235b39d49e7b2363fc8b9952dbe2f4921542c31811e93618d7ceb468d73b4f6dafa89aa | 4 | SHA512 (cyrus-sasl-2.1.28.tar.gz) = db15af9079758a9f385457a79390c8a7cd7ea666573dace8bf4fb01bb4b49037538d67285727d6a70ad799d2e2318f265c9372e2427de9371d626a1959dd6f78 | |
5 | Size (cyrus-sasl-2.1.27-rc7.tar.gz) = 4146356 bytes | 5 | Size (cyrus-sasl-2.1.28.tar.gz) = 4034803 bytes | |
6 | SHA1 (patch-CVE-2019-19906) = 752de2053696f13de098267f8605b4b7afb24a6c | |||
7 | SHA1 (patch-common_crypto-compat) = ad8575c62648aba83983172ec8fef08d2c9f537e | 6 | SHA1 (patch-common_crypto-compat) = ad8575c62648aba83983172ec8fef08d2c9f537e | |
8 | SHA1 (patch-configure) = 1afa4777f2cc2a24bb526fab9fb6d9265677fb9f | 7 | SHA1 (patch-configure) = 1afa4777f2cc2a24bb526fab9fb6d9265677fb9f | |
9 | SHA1 (patch-plugins_otp.c) = 1dd8763d5b14c2f2462349ce5f73353ae70313fa | 8 | SHA1 (patch-plugins_otp.c) = 1dd8763d5b14c2f2462349ce5f73353ae70313fa | |
10 | SHA1 (patch-saslauthd_Makefile.in) = 397bc893975ff4d8b0067dae571381f06486493d |
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.56 2021/10/21 07:46:37 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.57 2022/02/24 11:00:04 wiz Exp $ | |
2 | 2 | |||
3 | PKGNAME= ${DISTNAME:S/sasl/saslauthd/} | 3 | PKGNAME= ${DISTNAME:S/sasl/saslauthd/} | |
4 | PKGREVISION= 2 | |||
5 | CONFLICTS+= cyrus-sasl<2.1.15nb2 | 4 | CONFLICTS+= cyrus-sasl<2.1.15nb2 | |
6 | 5 | |||
7 | .include "../../security/cyrus-sasl/Makefile.common" | 6 | .include "../../security/cyrus-sasl/Makefile.common" | |
8 | 7 | |||
9 | COMMENT= Cyrus SASL plaintext authentication daemon | 8 | COMMENT= Cyrus SASL plaintext authentication daemon | |
10 | 9 | |||
11 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} | 10 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} | |
12 | 11 | |||
13 | BUILD_TARGET= all | 12 | BUILD_TARGET= all | |
14 | 13 | |||
15 | SASLSOCKETDIR?= ${VARBASE}/run/saslauthd | 14 | SASLSOCKETDIR?= ${VARBASE}/run/saslauthd | |
16 | BUILD_DEFS+= SASLSOCKETDIR | 15 | BUILD_DEFS+= SASLSOCKETDIR | |
17 | FILES_SUBST+= SASLSOCKETDIR=${SASLSOCKETDIR:Q} | 16 | FILES_SUBST+= SASLSOCKETDIR=${SASLSOCKETDIR:Q} | |
@@ -28,24 +27,20 @@ SMF_NAME= saslauthd | @@ -28,24 +27,20 @@ SMF_NAME= saslauthd | |||
28 | FILES_SUBST+= ROOT_USER=${REAL_ROOT_USER:Q} | 27 | FILES_SUBST+= ROOT_USER=${REAL_ROOT_USER:Q} | |
29 | 28 | |||
30 | INSTALLATION_DIRS= bin | 29 | INSTALLATION_DIRS= bin | |
31 | 30 | |||
32 | .include "../../security/openssl/buildlink3.mk" | 31 | .include "../../security/openssl/buildlink3.mk" | |
33 | 32 | |||
34 | SUBST_CLASSES+= sysconf | 33 | SUBST_CLASSES+= sysconf | |
35 | SUBST_MESSAGE.sysconf= Fixing path to ${PKG_SYSCONFDIR} | 34 | SUBST_MESSAGE.sysconf= Fixing path to ${PKG_SYSCONFDIR} | |
36 | SUBST_STAGE.sysconf= post-build | 35 | SUBST_STAGE.sysconf= post-build | |
37 | SUBST_FILES.sysconf= saslauthd/LDAP_SASLAUTHD saslauthd/saslauthd.mdoc | 36 | SUBST_FILES.sysconf= saslauthd/LDAP_SASLAUTHD saslauthd/saslauthd.mdoc | |
38 | SUBST_SED.sysconf= -e "s,/usr/local/etc/,${PKG_SYSCONFDIR}/,g" | 37 | SUBST_SED.sysconf= -e "s,/usr/local/etc/,${PKG_SYSCONFDIR}/,g" | |
39 | 38 | |||
40 | post-install: | 39 | post-install: | |
41 | for f in saslcache ; do \ | |||
42 | ${INSTALL_PROGRAM} ${WRKSRC}/saslauthd/$$f \ | |||
43 | ${DESTDIR}${PREFIX}/bin/$$f; \ | |||
44 | done | |||
45 | .if !empty(PKG_OPTIONS:Mldap) | 40 | .if !empty(PKG_OPTIONS:Mldap) | |
46 | ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/cyrus-saslauthd | 41 | ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/cyrus-saslauthd | |
47 | ${INSTALL_DATA} ${WRKSRC}/saslauthd/LDAP_SASLAUTHD \ | 42 | ${INSTALL_DATA} ${WRKSRC}/saslauthd/LDAP_SASLAUTHD \ | |
48 | ${DESTDIR}${PREFIX}/share/doc/cyrus-saslauthd | 43 | ${DESTDIR}${PREFIX}/share/doc/cyrus-saslauthd | |
49 | .endif | 44 | .endif | |
50 | 45 | |||
51 | .include "../../mk/bsd.pkg.mk" | 46 | .include "../../mk/bsd.pkg.mk" |
@@ -1,7 +1,6 @@ | @@ -1,7 +1,6 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.14 2018/04/17 01:57:18 christos Exp $ | 1 | @comment $NetBSD: PLIST,v 1.15 2022/02/24 11:00:04 wiz Exp $ | |
2 | bin/saslcache | |||
3 | man/man8/saslauthd.8 | 2 | man/man8/saslauthd.8 | |
4 | sbin/saslcache | 3 | man/man8/testsaslauthd.8 | |
5 | sbin/saslauthd | 4 | sbin/saslauthd | |
6 | sbin/testsaslauthd | 5 | sbin/testsaslauthd | |
7 | ${PLIST.ldap}share/doc/cyrus-saslauthd/LDAP_SASLAUTHD | 6 | ${PLIST.ldap}share/doc/cyrus-saslauthd/LDAP_SASLAUTHD |