pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47436: pkgsrc/security/cyrus-sasl: add solaris doors support



>Number:         47436
>Category:       pkg
>Synopsis:       pkgsrc/security/cyrus-sasl: add solaris doors support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 12 17:05:00 +0000 2013
>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 *);




Home | Main Index | Thread Index | Old Index