head	1.3;
access;
symbols
	pkgsrc-2013Q2:1.3.0.4
	pkgsrc-2013Q2-base:1.3
	pkgsrc-2012Q4:1.3.0.2
	pkgsrc-2012Q4-base:1.3
	pkgsrc-2012Q2:1.2.0.20
	pkgsrc-2012Q2-base:1.2
	pkgsrc-2012Q1:1.2.0.18
	pkgsrc-2012Q1-base:1.2
	pkgsrc-2011Q4:1.2.0.16
	pkgsrc-2011Q4-base:1.2
	pkgsrc-2011Q3:1.2.0.14
	pkgsrc-2011Q3-base:1.2
	pkgsrc-2011Q2:1.2.0.12
	pkgsrc-2011Q2-base:1.2
	pkgsrc-2011Q1:1.2.0.10
	pkgsrc-2011Q1-base:1.2
	pkgsrc-2010Q4:1.2.0.8
	pkgsrc-2010Q4-base:1.2
	pkgsrc-2010Q3:1.2.0.6
	pkgsrc-2010Q3-base:1.2
	pkgsrc-2010Q2:1.2.0.4
	pkgsrc-2010Q2-base:1.2
	pkgsrc-2010Q1:1.2.0.2
	pkgsrc-2010Q1-base:1.2;
locks; strict;
comment	@# @;


1.3
date	2012.07.06.09.29.14;	author wiz;	state dead;
branches;
next	1.2;

1.2
date	2010.02.11.13.10.15;	author joerg;	state Exp;
branches;
next	1.1;

1.1
date	2010.01.30.19.43.18;	author joerg;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Update to 3.5.1, from Jaap Boender.
6 years of changes. 3.5.1 in particular has:
it is time for another version of Ocamlnet. The new release 3.5 focuses on
the system interface, and includes a long list of smaller improvements.

The system interface, Netsys_posix, is extended by:
 - Support for POSIX clocks and POSIX timers (with nanosecond resolution)
 - Netsys_posix.spawn usses now the posix_spawn call if present on the OS
 - Adding support for pollable events (as e.g. provided by Linux via
   eventfd). For other OS an emulation is available.
 - Support for epoll on Linux

Note that Netsys_posix covers now large parts of POSIX realtime.

Other improvements:

 - The code generator for XDR has been improved. A new switch -direct for
   ocamlrpcgen can be used to generate direct mappings between OCaml values
   and binary representation (in many cases). Speedups up to 50% are
   possible for large XDR values.
 - The new module Uq_mt allows it to access an event-driven resource from
   several kernel threads (e.g. use an RPC client commonly from several
   threads).
 - The thread-safety of Netplex container functions has been improved.
 - Netmulticore condition variables can now be polled, for better
   integration into event-based programs.
 - Option greedy_accepts for Netplex to support servers that accept
   many connections per second. With this improvement, Netplex can
   now accept more than 5000 connections/s, and assign them to worker
   processes.

Last but not least there is now a new tutorial for Equeue (event systems
and engines). In particular, the section about combining Ocamlnet with Lwt
might be interesting.
@
text
@$NetBSD: patch-ab,v 1.2 2010/02/11 13:10:15 joerg Exp $

--- src/Makefile.rules.orig	2006-03-06 16:59:47.000000000 +0000
+++ src/Makefile.rules
@@@@ -92,8 +92,9 @@@@ uninstall: $(UNINSTOTHER) uninstall-$(IN
 
 .PHONY: install-findlib
 install-findlib:
+	${BSD_INSTALL_DATA_DIR} ${DESTDIR}`$(OCAMLC) -where`/site-lib
 	files=`$(COLLECT_FILES) *.mli *.cmi *.cma *.cmxa *.a META $(INSTALL_EXTRA)` && \
-	$(OCAMLFIND) install $(PKGNAME) $$files
+	$(OCAMLFIND) install -ldconf /dev/null -destdir ${DESTDIR}`$(OCAMLC) -where`/site-lib $(PKGNAME) $$files
 
 .PHONY: uninstall-findlib
 uninstall-findlib:
@


1.2
log
@Don't mess with ldconf.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.1 2010/01/30 19:43:18 joerg Exp $
@


1.1
log
@DESTDIR support
@
text
@d1 1
a1 1
$NetBSD$
d12 1
a12 1
+	$(OCAMLFIND) install -destdir ${DESTDIR}`$(OCAMLC) -where`/site-lib $(PKGNAME) $$files
@

