NetBSD Problem Report #46817

From jaapb@kerguelen.org  Mon Aug 20 07:43:10 2012
Return-Path: <jaapb@kerguelen.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 5693263B882
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 20 Aug 2012 07:43:10 +0000 (UTC)
Message-Id: <20120820074306.675F953FC@courbet.kerguelen.org>
Date: Mon, 20 Aug 2012 09:43:06 +0200 (CEST)
From: jaapb@kerguelen.org
Reply-To: jaapb@kerguelen.org
To: gnats-bugs@gnats.NetBSD.org
Subject: [maintainer update] net/ocamlnet (to 3.6)
X-Send-Pr-Version: 3.95

>Number:         46817
>Category:       pkg
>Synopsis:       [maintainer update] net/ocamlnet (to 3.6)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 20 07:45:00 +0000 2012
>Closed-Date:    Mon Aug 20 08:12:18 +0000 2012
>Last-Modified:  Mon Aug 20 08:15:02 +0000 2012
>Originator:     Jaap Boender
>Release:        NetBSD 6.0_BETA2
>Organization:

>Environment:


System: NetBSD courbet.kerguelen.org 6.0_BETA2 NetBSD 6.0_BETA2 (COURBET) #4: Mon May 28 23:12:38 CEST 2012 root@courbet.kerguelen.org:/usr/obj/sys/arch/amd64/compile/COURBET amd64
Architecture: x86_64
Machine: amd64
>Description:
This is an update of ocamlnet to its newest version, 3.6. Changes are:
* Netsys_sem: a new abstraction for emulating anonymous
  semaphores on systems that only provide named semaphores,
  like OS X. All users of semaphores inside Ocamlnet now
  base on Netsys_sem.
* reimplementing Netstring_str for the case the Str engine
  is used. It is now thread-safe without having to use
  mutexes.
* The default is now -disable-pcre
* The module Netstring_pcre has been moved to a library of its
  own, namely netstring-pcre. It is only installed if -enable-pcre
* Nethttp.Header.best_media_type: improved
  (patch by Christopher Zimmemann)
* Netsys_mem.alloc_memory_pages: one can now mark the memory
  pages as executable
* src/netsys/configure: disabling POSIX semaphore check
  for win32
* Fixes for OpenBSD (by Christopher Zimmermann)
* Netcgi connectors (SCGI, AJP, FCGI): unifying the ~sockaddr
  and ~port arguments. ~port now also assumes a loopback binding.
  (Suggested by Christopher Zimmermann).
* Allowing posix_spawn again for MacOS. It turns out the
  number of file actions is limited. If we are above the
  limit, posix_spawn is not used.
* Ssl_exts: adding function for returning the fingerprint of
  a certificate
* Https_client: new verify callback for additional certificate
  checks
>How-To-Repeat:
n/a
>Fix:
Two files included: a uuencoded gzipped cvs diff, and a uuencoded gzipped new
patch file (not strictly necessary now, but useful in order to make it compile
with ocaml 4.00. It doesn't hurt for 3.12.)

begin 644 ocamlnet.diff.gz
M'XL("$/I,5```V]C86UL;F5T+F1I9F8`Q55;:]LP%'Z.?X4?]K!!;.LNJZP;
M75M882FC*7LMNAQ[IK%C;*_TPO[[9"]IEG9)TW70@#D2UG<YG\CQQ[#6G?T.
M;3+4J&WL107=;5'W)?<U+F?!2>7@>B^<Z$O(BAD$^R__!6>'T[`GVPN3^H=)
M3J'[-#V*#K]-D_HR]S82KY_,K2YG_6(I/;X*&NB:`JZ**@\;7]IB7H4X%H$K
MLBR,&K]<&666!>_#HY/I^>G!Y'A_-%H21C3F,0ZB*`H^;'@O`H(L01X_&HTB
M5[3:S"#J["R\W^A:^^P6+$^<"B.HAFUM&U@F^O6+EWZ%.`?=C5G2599T89%Q
M,69<.L:Y#V16F-]<25MT$/5;S]IZKBI?K2[Z3F-;%L]$E+,B8"G23*HQ2X6/
M=AMZR#.9')\?^(-O[@:[\;SN?CX-6M_&>B>E!R!;ZI?JVO+ZQ1QU_!\H%D:>
M@5Q=\3_`^GOF1&A.Z9A3MIGBIEV4B[K4E<Z?4'Q\?%"B4G,FQIS)7:`ME`-L
MQZ.](8&$%G@#>U/;*(<*&MW-F\3.JZS(!]1B$OAAT155-G^%8;"4WFVVWAOU
MEV;]X__<T\\'.'R[/EKC3C=Q?OLNW`\E8$NTH=II(2G'5!DFP:2<,,6M$TB!
MR9P`SW0V.<(";>'"E&K")0$%6:JYR01)_:@@6@@EJ,(.*9IJE/:NBEO8PD2)
M0DJQT-QTT"Y&^*-&Q)\`J22Q'!QBQE@-3`AL&<JP0<"\'6Q3C+%+/<]?VEAC
MTEAGJ;%<4LR]><&H!&)E!EE&,1$&^T"T@M[1PR;6>"@A'*>+%J1.[UO8\C'O
D@8CU>7.$%`.G?*#*&W#,<)8ZSC-!,75.2A/\`MK^R;P?"```
`
end

begin 644 patch-src_netzip_netgzip.ml.gz
M'XL("````````W!A=&-H+7-R8U]N971Z:7!?;F5T9WII<"YM;`!MC]U.Q"`0
MA:_E*2:;O>@&J5W6WR;JQGCMS3Y`0^BTDM"AH=2_"Y]=Z*ZZC4+"F0P?9P[+
M)PP/N\<E8[MW"NH-]+.B%B$XT(X:Y[M4.JTZ"^=Y43`A!`Q>GQ&&#],G::/F
MG<V=-^V)+-92%%=B?0-R4\J+4E[&5X<%/)V,<_Z_!=MN06RD/+T&OI?8T%8-
M`[@Q]&.H:FRL"@CW%E_0QK!PR\!B@&R5*H#X'>VZWN,P&$>YQ]8,`7VZ`O@T
MBE1%JL-RD48NF)C:-6I7HR\SPE<PE$88:JO>]+@Z($A'R#[%+\+G+LU(*8^X
<@[]^\>*;_[&<\W/SB9_"9U'C_@(,$R*NL0$``+@Z
`
end

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Mon, 20 Aug 2012 08:12:18 +0000
State-Changed-Why:
Committed, thank you! (including the optional patch)


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/46817 CVS commit: pkgsrc/net/ocamlnet
Date: Mon, 20 Aug 2012 08:11:59 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Mon Aug 20 08:11:59 UTC 2012

 Modified Files:
 	pkgsrc/net/ocamlnet: Makefile PLIST distinfo
 Added Files:
 	pkgsrc/net/ocamlnet/patches: patch-src_netzip_netgzip.ml

 Log Message:
 Update to 3.6, provided by maintainer Jaap Boender in PR 46817.

 This is an update of ocamlnet to its newest version, 3.6. Changes are:
 * Netsys_sem: a new abstraction for emulating anonymous
   semaphores on systems that only provide named semaphores,
   like OS X. All users of semaphores inside Ocamlnet now
   base on Netsys_sem.
 * reimplementing Netstring_str for the case the Str engine
   is used. It is now thread-safe without having to use
   mutexes.
 * The default is now -disable-pcre
 * The module Netstring_pcre has been moved to a library of its
   own, namely netstring-pcre. It is only installed if -enable-pcre
 * Nethttp.Header.best_media_type: improved
   (patch by Christopher Zimmemann)
 * Netsys_mem.alloc_memory_pages: one can now mark the memory
   pages as executable
 * src/netsys/configure: disabling POSIX semaphore check
   for win32
 * Fixes for OpenBSD (by Christopher Zimmermann)
 * Netcgi connectors (SCGI, AJP, FCGI): unifying the ~sockaddr
   and ~port arguments. ~port now also assumes a loopback binding.
   (Suggested by Christopher Zimmermann).
 * Allowing posix_spawn again for MacOS. It turns out the
   number of file actions is limited. If we are above the
   limit, posix_spawn is not used.
 * Ssl_exts: adding function for returning the fingerprint of
   a certificate
 * Https_client: new verify callback for additional certificate
   checks


 To generate a diff of this commit:
 cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/ocamlnet/Makefile \
     pkgsrc/net/ocamlnet/distinfo
 cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/ocamlnet/PLIST
 cvs rdiff -u -r0 -r1.1 \
     pkgsrc/net/ocamlnet/patches/patch-src_netzip_netgzip.ml

 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.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.