Commit graph

24 commits

Author SHA1 Message Date
ryoon
b141232e29 Recursive revbump from textproc/icu 2015-10-10 01:57:50 +00:00
jaapb
7ea12ebae7 Recursive revbump associated with lang/ocaml update. 2015-08-07 11:20:32 +00:00
jaapb
487d6ab2d3 Recursive revbump associated with update of lang/ocaml to 4.02.2. 2015-06-30 11:52:55 +00:00
tnn
9ee4b877fb Recursive revbump following MesaLib update, categories g through n. 2015-04-25 14:22:51 +00:00
adam
9071d6b787 Revbump after updating textproc/icu 2015-04-06 08:17:13 +00:00
jaapb
72ff3af5ec Updated package to latest version, 3.7.7. The only change is:
Netsys_posix.mli.mkfifoat: this function is not supported on OS X 10.10,
and this is now detected at config time
2015-02-11 13:25:25 +00:00
jaapb
ae260311d9 - Fixed a broken patch (thanks to joerg@ for reporting this)
- Added option for GTK2 support
2014-10-13 12:37:50 +00:00
jaapb
3f4c0ac3e9 Updated ocamlnet to latest version, 3.7.6. Changes include:
* netstring-pcre: removing dependency on camlp4 (an oversight).
        * Fixing bad format strings (Damien Doligez)
        * Windows: various fixes, including int sizes for 64-bit Windows,
          the invocation of cppo, and CR characters. Also, unixsupport.h
          is now used instead of declaring the prototypes directly.
          (Andreas Hauptmann)
        * C99: use int64_t instead of int64 in C code. The latter is gone
          in OCaml-4.02. (Richard Jones)
        * Build: no longer requiring camlp4 (as it is not distributed with
          ocaml-4.02)
        * Fixing some unit tests
        * Netexn: new exception representation in ocaml-4.02
        * Build: renaming file for a configure test to avoid a
          naming conflict (Richard Jones)
        * Https_client and aggressive connection caching: In previous
          versions there was a problem with the reinitialization of the
          SSL socket when a former connection was reused. The fix requires
          an API change of connection_cache: The SSL socket can now be
          stored with the inactive connection.
        * Http_client: fixing a bug with connection caching: Address
          resolution was not taken into account for computing the key
          in the connection cache.
        * ssl_exts_stubs.c: releasing global lock on shutdown error
          (T<F6>r<F6>k Edwin)
        * Uq_ssl: Fix error path when SSL connection fails during the
          handshake
2014-10-09 21:47:43 +00:00
tron
73d05e2276 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:17:32 +00:00
jaapb
5862c47be8 Updated net/ocamlnet to its latest version, 3.7.3 (and changed maintainer
e-mail address). Changes include:

        * Shell.to_file: implement the append flag as documented
        * The libraries netcamlbox and netmulticore are now only built
          if completely supported.
        * Porting netcamlbox and netmulticore to ocaml-4.01:
          There are new implementations in OCaml for caml_modify and
          caml_initialize that are incompatible with our usage here.
          Fortunately, these symbols are now weak, and we can override
          them. This is done in netsys.outofheap, and for the time being
          we just use the old implementation from ocaml-4.00.
        * Porting netsys to ocaml-4.01: O_CLOEXEC is now supported
          if found
        * Netsys_sem: fix for systems that don't have
          Netsys_posix.sysconf_open_max (e.g. Win32).
        * Http_fs: read method: fixing a problem with resent messages
        * Http_client: better reaction after "100" responses
        * Http_client: implementing verbose_response_header, and
          verbose_response_contents again
        * Uq_ssl: debugging of payload data (Uq_ssl.Debug.dump_data)
        * Http_fs: fixing chunked encoding for PUT (this is already done
          in Http_client)
        * Nethttp: new function base_code
        * Http_client: handling the case better that an unknown status
					code is returned by the server. Before, [response_status] simply
          raised [Not_found]. Now, the base status is returned instead.
        * Extending ocamlrpcgen: It supports now six new directives,
          _lowercase, _uppercase, _capitalize, _prefix, _equals,
          and _tuple (see documentation).
2013-11-01 11:11:18 +00:00
jaapb
a618006db2 Updated package to latest version, 3.6.6. Changes include:
* Netplex_container: emits now backtraces if these are enabled.
* Http_fs: adding [last_response_status] method
* Rpc_client: fixing a potential endless loop when session IDs
  are reused
* Rpc_client: fixing the shutdown when a TCP connection is
  immediately refused, and GSS-API authentication is active.
* Netcgi_fcgi.run: no longer ignoring the sockaddr argument
  (problem reported by Watanabe Masaki)
* Remove duplicate method Netpop.stat
2013-07-27 10:20:59 +00:00
jperkin
252718d1ce Add support for rpc-xti, built on SunOS. 2013-06-24 15:11:38 +00:00
jaapb
073d332670 - Updated package to latest version, 3.6.5. Changes include:
* Build fix for netstring-pcre
  * Regular expressions: The config switch -enable-pcre no
    longer switches the default backend to PCRE. The default
    remains Str, and only Netstring_pcre is additionally
    built. The new switch -enable-full-pcre has now the
    stronger meaning of also using PCRE as default backend.
    New documentation page Regexp explaining this.
  * Netmcore_basics.txt: more documentation for Netmulticore
  * Netgzip.ml: Fixing a bug in the inflating pipe (bad calculation
    of the crc)
  * Netplex_mbox: implementation of a simple message box allowing
    communication between Netplex components. This module does
    neither need Netmulticore nor Netcamlbox, but is relatively slow.
  * netcgi2-apache: fixing build against apache-2.4.
  * netcgi2-apache: fixing bug that PKGNAME was incorrect
  * netcgi2-apache: the directory of the OCaml stdlib is now
    added via rpath to mod_netcgi_apache.so so that
    libcamlrun_shared.so is automatically found
  * Http_client: more liberal interpretation of the "domain" part
    of authentication keys
  * src/netsys/netsys_c_poll.c: Fix FD_CLOEXEC
    (Guillem Jover <guillem@hadrons.org>)
  * Http_client authentication: The domain for authentication
    keys can be set to ["*"]. Also, port number can be omitted
    in such domains.
  * Http_client authentication: adding skip_challenges auth style
  * Uq_engines: New [qseq_engine] class. This is the same as
    [seq_engine], but it does not forward pure progress events.
    The operator [++] is now backed by [qseq_engine]. This change
    fixes performance bugs (e.g. Http_client had problems with
    HTTP responses consisting of many chunks).
  * Netmcore, Netmcore_process: also adding a function [run] in
    in addition to [startup] for jobs that want to return something.
    With [join_nowait] one can now get the result of the first process.
    Also updated examples/multicore/create_join.ml.
  * Netplex_main: new function [run], designed for compute
    jobs run under Netplex regime
  * Netdate: adding ISO-8601 week numbering. Fixing test suite
    and some bugs
- removed obsolete file PLIST.opt (now implemented using PLIST_VARS)
2013-06-11 14:50:43 +00:00
jaapb
6d6b88ce8e Updated package to version 3.6.3. Changes include:
* Netmcore_heap.mli: allowing to [add] bigarrays. New
	  function [add_string] for creating uninitialized strings on
	  heaps. New function [add_immutable] for retaining value sharing.
	* Netsys_mem: New options [Copy_conditionally] and [Keep_atom]
	  for function [init_value].
	* netsys_c_subprocess.c: fixing a deadlock issue
	  (when calling commands via the Shell library)
	* Netdate: Fix interpretation of the ~localzone argument
	  of several functions. Now the timezone is assumed for the
	  target time, not the calling time
	* Netdate: Adding localization
	* Netconversion: Adding functions for converting to lowercase/
	  uppercase/titlecase, and for case-insensitive comparison
	* Fix Netfs.copy: When the copy method throws EXDEV, it is
	  fallen back to a streaming-type copy
	* Several fixes for OS X
	* Daemonizer: now using a signal for waiting until the children
	  are up and running
	* Fixes for OCaml-4.00
	* Better endianness check as suggested by Matias Giovannini
	* Fixing handling of `Recv_send_implied sockets in
	  socket_multiplex_controller
	* netzip: it is now autodetected whether the camlzip library
	  is available under the findlib name "zip" or "camlzip"
2013-04-03 12:43:29 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
asau
e059e7e469 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 17:18:07 +00:00
jaapb
ff1184e506 Revision bump associated with the update of lang/ocaml to version 4. 2012-10-08 15:18:20 +00:00
wiz
caa7e470fe 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
2012-08-20 08:11:58 +00:00
wiz
47fabbc937 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.
2012-07-06 09:29:14 +00:00
sbd
8eca42f859 Recursive bump for lang/ocaml buildlink addition. 2011-12-06 00:19:21 +00:00
joerg
f9978cf975 DESTDIR support 2010-01-30 19:36:35 +00:00
zafer
cebfea3b98 update homepage. update master_sites. 2009-10-18 19:46:36 +00:00
joerg
c569c6a51f Mark packages as MAKE_JOBS_SAFE=no that failed in a bulk build with
MAKE_JOBS=2 and worked without.
2009-06-30 00:07:09 +00:00
wiz
eaf4ccf609 Initial import of ocamlnet-1.1.2:
The Ocamlnet project provides a collection of modules for the
Objective Caml language which focus on application-level Internet
protocols and conventions.

The current distribution contains:

- a mature implementation of the CGI protocol
- an implementation of the JSERV protocol (AJP-1.2), can be used with
  mod_jserv (Apache JServ) and mod_jk (Jakarta connector) to connect
  application servers written in O'Caml with web servers
- a FastCGI implementation
- a POP3 client
- an SMTP client
- a library of string processing functions related to Internet
  protocols (formerly known as "netstring" and distributed separately):
  MIME encoding/decoding, Date/time parsing, Character encoding
  conversion, HTML parsing and printing, URL parsing and printing,
  OO-representation of channels, and a lot more.
- an experimental web server component
2006-08-11 15:43:36 +00:00