NetBSD Problem Report #47436

From www@NetBSD.org  Sat Jan 12 17:01:46 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 7DB4963E9BD
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 12 Jan 2013 17:01:46 +0000 (UTC)
Message-Id: <20130112170145.8CC5763E9BD@www.NetBSD.org>
Date: Sat, 12 Jan 2013 17:01:45 +0000 (UTC)
From: richard.palo@baou.fr
Reply-To: richard.palo@baou.fr
To: gnats-bugs@NetBSD.org
Subject: pkgsrc/security/cyrus-sasl: add solaris doors support
X-Send-Pr-Version: www-1.0

>Number:         47436
>Category:       pkg
>Synopsis:       pkgsrc/security/cyrus-sasl: add solaris doors support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 12 17:05:00 +0000 2013
>Closed-Date:    Sun Sep 11 06:13:22 +0000 2016
>Last-Modified:  Sun Sep 11 06:15:01 +0000 2016
>Originator:     Richard PALO
>Release:        pkgsrc trunk
>Organization:
>Environment:
SunOS devzoneX 5.11 oi_151a7 i86pc i386 i86pc Solaris

>Description:
By default, the IPC type for cyrus-sasl[authd] is unix, but on solaris the doors mechanism is, well, more better.
>How-To-Repeat:

>Fix:
richard@devzoneX:~/src/pkgsrc/security/cyrus-sasl$ cvs diff
? patches/patch-saslauthd_ipc__doors.c
Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/security/cyrus-sasl/Makefile.common,v
retrieving revision 1.19
diff -u -r1.19 Makefile.common
--- Makefile.common     16 Dec 2012 01:36:44 -0000      1.19
+++ Makefile.common     12 Jan 2013 17:00:03 -0000
@@ -54,6 +54,10 @@
 CONFIGURE_ARGS+=       --disable-macos-framework
 .endif

+.if ${OPSYS} == "SunOS"
+CONFIGURE_ARGS+=       --with-ipctype=doors
+.endif
+
 # Authentication mechanisms
 CONFIGURE_ARGS+=       --disable-anon          # ANONYMOUS
 CONFIGURE_ARGS+=       --disable-checkapop     # CHECKAPOP
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/security/cyrus-sasl/distinfo,v
retrieving revision 1.24
diff -u -r1.24 distinfo
--- distinfo    20 Dec 2012 22:52:37 -0000      1.24
+++ distinfo    12 Jan 2013 17:00:03 -0000
@@ -6,5 +6,6 @@
 SHA1 (patch-include_sasl.h) = db40d75998075a5e347209b776230540c54c9e35
 SHA1 (patch-saslauthd_Makefile.in) = b7962486aef16ec1e5b27a05a3405d79540f8e20
 SHA1 (patch-saslauthd_auth__rimap.c) = 6bc9fc13b0dfe14eb524e5fffe910fab74073be9
+SHA1 (patch-saslauthd_ipc__doors.c) = db83843cf99ea2edda1356cd4e6725ee617b8310
 SHA1 (patch-saslauthd_md5global.h) = fc200c6aee12bf58877c7a755c121441ebaa1bde
 SHA1 (patch-saslauthd_saslcache.c) = 725db77c5d56f58331255957a65d385267ddcaed



and the following patch file:
--- /dev/null   2013-01-12 18:00:08.000000000 +0100
+++ patches/patch-saslauthd_ipc__doors.c        2013-01-12 09:22:58.635431868 +0100
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- 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 *);


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: reed@NetBSD.org
Responsible-Changed-When: Tue, 15 Jan 2013 00:42:00 +0000
Responsible-Changed-Why:
assign to maintainer.
If can't handle, please assign to solaris pkg people.


Responsible-Changed-From-To: obache->solaris-pkg-people
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Tue, 15 Jan 2013 05:51:43 +0000
Responsible-Changed-Why:
I'm not sure it should be the default setting for Solaris or not.


From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/47436 (pkgsrc/security/cyrus-sasl: add solaris doors support)
Date: Tue, 15 Jan 2013 06:39:23 +0000

 On Tue, Jan 15, 2013 at 05:51:45AM +0000, obache@NetBSD.org wrote:
  > I'm not sure it should be the default setting for Solaris or not.

 AIUI, it should, provided of course that it works...

 -- 
 David A. Holland
 dholland@netbsd.org

State-Changed-From-To: open->closed
State-Changed-By: richard@NetBSD.org
State-Changed-When: Sun, 11 Sep 2016 06:13:22 +0000
State-Changed-Why:
patch committed


From: "Richard PALO" <richard@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47436 CVS commit: pkgsrc/security/cyrus-sasl
Date: Sun, 11 Sep 2016 06:11:16 +0000

 Module Name:	pkgsrc
 Committed By:	richard
 Date:		Sun Sep 11 06:11:16 UTC 2016

 Modified Files:
 	pkgsrc/security/cyrus-sasl: Makefile Makefile.common distinfo
 	    options.mk
 Added Files:
 	pkgsrc/security/cyrus-sasl/patches: patch-saslauthd_ipc__doors.c

 Log Message:
 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 PKGREVISION


 To generate a diff of this commit:
 cvs rdiff -u -r1.70 -r1.71 pkgsrc/security/cyrus-sasl/Makefile
 cvs rdiff -u -r1.23 -r1.24 pkgsrc/security/cyrus-sasl/Makefile.common
 cvs rdiff -u -r1.33 -r1.34 pkgsrc/security/cyrus-sasl/distinfo
 cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/cyrus-sasl/options.mk
 cvs rdiff -u -r0 -r1.1 \
     pkgsrc/security/cyrus-sasl/patches/patch-saslauthd_ipc__doors.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.