Add 'db6' to supported bdb versions and finally commit ipctype 'doors' for SunOS, while fixing a declaration prototype to match the definition. PR pkg/47436 bump PKGREVISIONdiff -r1.70 -r1.71 pkgsrc/security/cyrus-sasl/Makefile
(richard)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.70 2014/10/09 13:44:53 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.71 2016/09/11 06:11:15 richard Exp $ | |
2 | 2 | |||
3 | PKGREVISION= 4 | 3 | PKGREVISION= 5 | |
4 | COMMENT= Simple Authentication and Security Layer | 4 | COMMENT= Simple Authentication and Security Layer | |
5 | 5 | |||
6 | .include "Makefile.common" | 6 | .include "Makefile.common" | |
7 | 7 | |||
8 | CPPFLAGS+= -DPIC -fPIC | 8 | CPPFLAGS+= -DPIC -fPIC | |
9 | 9 | |||
10 | .include "options.mk" | 10 | .include "options.mk" | |
11 | 11 | |||
12 | BUILD_DEFS+= VARBASE | 12 | BUILD_DEFS+= VARBASE | |
13 | 13 | |||
14 | # Support using Cyrus saslauthd (security/cyrus-saslauthd) for plaintext | 14 | # Support using Cyrus saslauthd (security/cyrus-saslauthd) for plaintext | |
15 | # password authentication. | 15 | # password authentication. | |
16 | # | 16 | # |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.23 2016/02/26 09:41:05 jperkin Exp $ | 1 | # $NetBSD: Makefile.common,v 1.24 2016/09/11 06:11:15 richard 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 | |
@@ -46,26 +46,30 @@ GNU_CONFIGURE= yes | @@ -46,26 +46,30 @@ GNU_CONFIGURE= yes | |||
46 | MAKE_JOBS_SAFE= no | 46 | MAKE_JOBS_SAFE= no | |
47 | USE_TOOLS+= gmake | 47 | USE_TOOLS+= gmake | |
48 | 48 | |||
49 | USE_LIBTOOL= yes | 49 | USE_LIBTOOL= yes | |
50 | 50 | |||
51 | DOCDIR= ${PREFIX}/share/doc/cyrus-sasl | 51 | DOCDIR= ${PREFIX}/share/doc/cyrus-sasl | |
52 | PLUGINDIR= ${PREFIX}/lib/sasl2 | 52 | PLUGINDIR= ${PREFIX}/lib/sasl2 | |
53 | 53 | |||
54 | CONFIGURE_ARGS+= --with-plugindir=${PLUGINDIR:Q} | 54 | CONFIGURE_ARGS+= --with-plugindir=${PLUGINDIR:Q} | |
55 | CONFIGURE_ARGS+= --disable-java | 55 | CONFIGURE_ARGS+= --disable-java | |
56 | 56 | |||
57 | CONFIGURE_ARGS.Darwin+= --disable-macos-framework | 57 | CONFIGURE_ARGS.Darwin+= --disable-macos-framework | |
58 | 58 | |||
59 | .if ${OPSYS} == "SunOS" | |||
60 | CONFIGURE_ARGS+= --with-ipctype=doors | |||
61 | .endif | |||
62 | ||||
59 | # Authentication mechanisms | 63 | # Authentication mechanisms | |
60 | CONFIGURE_ARGS+= --disable-anon # ANONYMOUS | 64 | CONFIGURE_ARGS+= --disable-anon # ANONYMOUS | |
61 | CONFIGURE_ARGS+= --disable-checkapop # CHECKAPOP | 65 | CONFIGURE_ARGS+= --disable-checkapop # CHECKAPOP | |
62 | CONFIGURE_ARGS+= --disable-cram # CRAM-MD5 | 66 | CONFIGURE_ARGS+= --disable-cram # CRAM-MD5 | |
63 | CONFIGURE_ARGS+= --disable-scram # SCRAM | 67 | CONFIGURE_ARGS+= --disable-scram # SCRAM | |
64 | CONFIGURE_ARGS+= --disable-digest # DIGEST-MD5 | 68 | CONFIGURE_ARGS+= --disable-digest # DIGEST-MD5 | |
65 | CONFIGURE_ARGS+= --disable-gssapi # GSSAPI | 69 | CONFIGURE_ARGS+= --disable-gssapi # GSSAPI | |
66 | CONFIGURE_ARGS+= --disable-krb4 # KERBEROS_V4 | 70 | CONFIGURE_ARGS+= --disable-krb4 # KERBEROS_V4 | |
67 | CONFIGURE_ARGS+= --disable-ldapdb # LDAP | 71 | CONFIGURE_ARGS+= --disable-ldapdb # LDAP | |
68 | CONFIGURE_ARGS+= --disable-login # LOGIN | 72 | CONFIGURE_ARGS+= --disable-login # LOGIN | |
69 | CONFIGURE_ARGS+= --disable-ntlm # NTLM | 73 | CONFIGURE_ARGS+= --disable-ntlm # NTLM | |
70 | CONFIGURE_ARGS+= --disable-otp # OTP | 74 | CONFIGURE_ARGS+= --disable-otp # OTP | |
71 | CONFIGURE_ARGS+= --disable-passdss # PASSDSS | 75 | CONFIGURE_ARGS+= --disable-passdss # PASSDSS |
@@ -1,19 +1,20 @@ | @@ -1,19 +1,20 @@ | |||
1 | $NetBSD: distinfo,v 1.33 2015/11/10 09:15:34 abs Exp $ | 1 | $NetBSD: distinfo,v 1.34 2016/09/11 06:11:15 richard Exp $ | |
2 | 2 | |||
3 | SHA1 (cyrus-sasl-2.1.26.tar.gz) = d6669fb91434192529bd13ee95737a8a5040241c | 3 | SHA1 (cyrus-sasl-2.1.26.tar.gz) = d6669fb91434192529bd13ee95737a8a5040241c | |
4 | RMD160 (cyrus-sasl-2.1.26.tar.gz) = 861a06d663cf3da37a198d0f971d99b249b5f4b8 | 4 | RMD160 (cyrus-sasl-2.1.26.tar.gz) = 861a06d663cf3da37a198d0f971d99b249b5f4b8 | |
5 | SHA512 (cyrus-sasl-2.1.26.tar.gz) = 78819cb9bb38bea4537d6770d309deeeef09ff44a67526177609d3e1257ff4334d2b5e5131d5a1e4dea7430d8db1918ea9d171f0dee38b5e8337f4b72ed068f0 | 5 | SHA512 (cyrus-sasl-2.1.26.tar.gz) = 78819cb9bb38bea4537d6770d309deeeef09ff44a67526177609d3e1257ff4334d2b5e5131d5a1e4dea7430d8db1918ea9d171f0dee38b5e8337f4b72ed068f0 | |
6 | Size (cyrus-sasl-2.1.26.tar.gz) = 5220231 bytes | 6 | Size (cyrus-sasl-2.1.26.tar.gz) = 5220231 bytes | |
7 | SHA1 (cyrus-sasl-dedad73e5e7a75d01a5f3d5a6702ab8ccd2ff40d.patch.v2) = 7fef4cda079e451517b950e99dfd49f255b9d113 | 7 | SHA1 (cyrus-sasl-dedad73e5e7a75d01a5f3d5a6702ab8ccd2ff40d.patch.v2) = 7fef4cda079e451517b950e99dfd49f255b9d113 | |
8 | RMD160 (cyrus-sasl-dedad73e5e7a75d01a5f3d5a6702ab8ccd2ff40d.patch.v2) = c42b1b5c0b6c7322001fd506c44320a7f6eeee80 | 8 | RMD160 (cyrus-sasl-dedad73e5e7a75d01a5f3d5a6702ab8ccd2ff40d.patch.v2) = c42b1b5c0b6c7322001fd506c44320a7f6eeee80 | |
9 | SHA512 (cyrus-sasl-dedad73e5e7a75d01a5f3d5a6702ab8ccd2ff40d.patch.v2) = 08964bc3ad713e137b8f05f9bac345d79676d14784bc37525f195e8e2a3e6740428237b64f7eeeacc0c71ed6cf1664c6e9c2267ac6df327761d92174a1853744 | 9 | SHA512 (cyrus-sasl-dedad73e5e7a75d01a5f3d5a6702ab8ccd2ff40d.patch.v2) = 08964bc3ad713e137b8f05f9bac345d79676d14784bc37525f195e8e2a3e6740428237b64f7eeeacc0c71ed6cf1664c6e9c2267ac6df327761d92174a1853744 | |
10 | Size (cyrus-sasl-dedad73e5e7a75d01a5f3d5a6702ab8ccd2ff40d.patch.v2) = 3836 bytes | 10 | Size (cyrus-sasl-dedad73e5e7a75d01a5f3d5a6702ab8ccd2ff40d.patch.v2) = 3836 bytes | |
11 | SHA1 (patch-configure) = 473e4bb41d6e5c6ac136288b673880bd123853cf | 11 | SHA1 (patch-configure) = 473e4bb41d6e5c6ac136288b673880bd123853cf | |
12 | SHA1 (patch-configure.in) = c1bc731ea44e13943dc3952c46a0e588364c1dc7 | 12 | SHA1 (patch-configure.in) = c1bc731ea44e13943dc3952c46a0e588364c1dc7 | |
13 | SHA1 (patch-include_sasl.h) = 315e9e8236108b49955dbf304a56b17cd028a8d6 | 13 | SHA1 (patch-include_sasl.h) = 315e9e8236108b49955dbf304a56b17cd028a8d6 | |
14 | SHA1 (patch-libsasl2.pc.in) = ef5679feef7afb12429071020892d88ecd7c43e6 | 14 | SHA1 (patch-libsasl2.pc.in) = ef5679feef7afb12429071020892d88ecd7c43e6 | |
15 | SHA1 (patch-plugins_otp.c) = 482dfaa16efd9577274ed43d90aaec1bcf451337 | 15 | SHA1 (patch-plugins_otp.c) = 482dfaa16efd9577274ed43d90aaec1bcf451337 | |
16 | SHA1 (patch-saslauthd_Makefile.in) = b7962486aef16ec1e5b27a05a3405d79540f8e20 | 16 | SHA1 (patch-saslauthd_Makefile.in) = b7962486aef16ec1e5b27a05a3405d79540f8e20 | |
17 | SHA1 (patch-saslauthd_auth__rimap.c) = cc3e04ae0cf049eeb507df3226a2098528afaaab | 17 | SHA1 (patch-saslauthd_auth__rimap.c) = cc3e04ae0cf049eeb507df3226a2098528afaaab | |
18 | SHA1 (patch-saslauthd_ipc__doors.c) = 2470ed0f04a19f487811dec405f68ce91d4a4cd0 | |||
18 | SHA1 (patch-saslauthd_md5global.h) = fc200c6aee12bf58877c7a755c121441ebaa1bde | 19 | SHA1 (patch-saslauthd_md5global.h) = fc200c6aee12bf58877c7a755c121441ebaa1bde | |
19 | SHA1 (patch-saslauthd_saslcache.c) = 725db77c5d56f58331255957a65d385267ddcaed | 20 | SHA1 (patch-saslauthd_saslcache.c) = 725db77c5d56f58331255957a65d385267ddcaed |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: options.mk,v 1.1 2013/03/13 03:31:40 obache Exp $ | 1 | # $NetBSD: options.mk,v 1.2 2016/09/11 06:11:15 richard Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | PKG_OPTIONS_VAR= PKG_OPTIONS.cyrus-sasl | 4 | PKG_OPTIONS_VAR= PKG_OPTIONS.cyrus-sasl | |
5 | PKG_OPTIONS_REQUIRED_GROUPS= database | 5 | PKG_OPTIONS_REQUIRED_GROUPS= database | |
6 | PKG_OPTIONS_GROUP.database= ndbm bdb gdbm | 6 | PKG_OPTIONS_GROUP.database= ndbm bdb gdbm | |
7 | 7 | |||
8 | .if defined(SASL_DBTYPE) | 8 | .if defined(SASL_DBTYPE) | |
9 | PKG_OPTIONS_DEPRECATED_WARNINGS+= "Deprecated SASL_DBTYPE variable used, use ${PKG_OPTIONS_VAR:Q} instead (${PKG_OPTIONS_GROUP.database:ts,:Q})." | 9 | PKG_OPTIONS_DEPRECATED_WARNINGS+= "Deprecated SASL_DBTYPE variable used, use ${PKG_OPTIONS_VAR:Q} instead (${PKG_OPTIONS_GROUP.database:ts,:Q})." | |
10 | . if !empty(SASL_DBTYPE:Mndbm) | 10 | . if !empty(SASL_DBTYPE:Mndbm) | |
11 | PKG_SUGGESTED_OPTIONS+= ndbm | 11 | PKG_SUGGESTED_OPTIONS+= ndbm | |
12 | . elif !empty(SASL_DBTYPE:Mberkeley) | 12 | . elif !empty(SASL_DBTYPE:Mberkeley) | |
13 | PKG_SUGGESTED_OPTIONS+= bdb | 13 | PKG_SUGGESTED_OPTIONS+= bdb | |
14 | . else | 14 | . else | |
@@ -18,24 +18,24 @@ PKG_FAIL_REASON+= "Unknown SASL_DBTYPE | @@ -18,24 +18,24 @@ PKG_FAIL_REASON+= "Unknown SASL_DBTYPE | |||
18 | PKG_SUGGESTED_OPTIONS+= ndbm | 18 | PKG_SUGGESTED_OPTIONS+= ndbm | |
19 | .else | 19 | .else | |
20 | PKG_SUGGESTED_OPTIONS+= bdb | 20 | PKG_SUGGESTED_OPTIONS+= bdb | |
21 | .endif | 21 | .endif | |
22 | 22 | |||
23 | .include "../../mk/bsd.options.mk" | 23 | .include "../../mk/bsd.options.mk" | |
24 | 24 | |||
25 | .if !empty(PKG_OPTIONS:Mndbm) | 25 | .if !empty(PKG_OPTIONS:Mndbm) | |
26 | SASL_DBTYPE= ndbm | 26 | SASL_DBTYPE= ndbm | |
27 | FILES_SUBST+= DBEXT=.db | 27 | FILES_SUBST+= DBEXT=.db | |
28 | .elif !empty(PKG_OPTIONS:Mbdb) | 28 | .elif !empty(PKG_OPTIONS:Mbdb) | |
29 | SASL_DBTYPE= berkeley | 29 | SASL_DBTYPE= berkeley | |
30 | FILES_SUBST+= DBEXT= | 30 | FILES_SUBST+= DBEXT= | |
31 | BDB_ACCEPTED= db3 db4 db5 | 31 | BDB_ACCEPTED= db3 db4 db5 db6 | |
32 | . include "../../mk/bdb.buildlink3.mk" | 32 | . include "../../mk/bdb.buildlink3.mk" | |
33 | CONFIGURE_ENV+= with_bdb=${BDB_TYPE} | 33 | CONFIGURE_ENV+= with_bdb=${BDB_TYPE} | |
34 | .elif !empty(PKG_OPTIONS:Mgdbm) | 34 | .elif !empty(PKG_OPTIONS:Mgdbm) | |
35 | SASL_DBTYPE= gdbm | 35 | SASL_DBTYPE= gdbm | |
36 | FILES_SUBST+= DBEXT= | 36 | FILES_SUBST+= DBEXT= | |
37 | . include "../../databases/gdbm/buildlink3.mk" | 37 | . include "../../databases/gdbm/buildlink3.mk" | |
38 | .endif | 38 | .endif | |
39 | 39 | |||
40 | CONFIGURE_ARGS+= --with-dblib=${SASL_DBTYPE:Q} | 40 | CONFIGURE_ARGS+= --with-dblib=${SASL_DBTYPE:Q} | |
41 | CONFIGURE_ARGS+= --with-dbpath=${PKG_SYSCONFDIR}/sasldb | 41 | CONFIGURE_ARGS+= --with-dbpath=${PKG_SYSCONFDIR}/sasldb |
$NetBSD: patch-saslauthd_ipc__doors.c,v 1.1 2016/09/11 06:11:15 richard Exp $
match do_request() declaration signature to implementation
--- saslauthd/ipc_doors.c.orig 2012-01-27 23:31:36.000000000 +0000
+++ saslauthd/ipc_doors.c
@@ -74,7 +74,7 @@
/****************************************
* declarations/protos
*****************************************/
-static void do_request(void *, char *, size_t, door_desc_t *, uint_t);
+static void do_request(void *, char *, size_t, door_desc_t *, size_t);
static void send_no(char *);
static void need_thread(door_info_t*);
static void *server_thread(void *);