Commit graph

59 commits

Author SHA1 Message Date
wiz
bff4597ffc Bump PKGREVISION for gdbm shlib major bump 2018-01-28 20:10:34 +00:00
jaapb
c387ff404b Removed cmxs option from net/ocamlnet.
(This is now correctly detected and does not need an option)
2018-01-22 11:17:52 +00:00
jaapb
c70723df1a Updated package net/ocamlnet to version 4.1.5.
This version includes support for native plugins, and some more minor
fixes.
2018-01-10 16:37:41 +00:00
joerg
6f1b8f86f5 Fix build against newer nettle. 2018-01-07 21:01:09 +00:00
rillig
17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00
adam
8977d31a36 Revbump after textproc/icu update 2017-11-30 16:45:00 +00:00
wiz
20f7c989fe recursive bump for libxkbcommon removal from at-spi2-core 2017-11-23 17:19:40 +00:00
jaapb
18b1f26743 Added missing optional findlib directory to net/ocamlnet 2017-10-04 13:08:20 +00:00
maya
33ebf687dc revbump for requiring ICU 59.x 2017-09-18 09:52:56 +00:00
jaapb
410a1001fa Recursive revbump associated with update of ocaml to 4.05 2017-09-08 09:51:18 +00:00
jaapb
af19d5cb93 Updated package to latest version, 4.1.4, and made some changes to cmxs
generation (some double work going on there). Changes include:

2017-08-14  Gerd Stolpmann  <gerd@gerdbook.fritz.box>

	* Release 4.1.4

	* Fix: incompatibility for OCaml < 4.03 because of -opaque

2017-08-05  Gerd Stolpmann  <gerd@gerdbook.fritz.box>

	* Release 4.1.3

	* Building modules with -opaque flag when we don't install the cmx file

	* Fix: incompatbility with OCaml-4.05 (O_KEEPEXEC flag)

	* Fix: the local cppo built has been made compatible with -safe-string
2017-09-04 18:17:47 +00:00
jaapb
2de753285c Updated package to make sure cmxs option works correctly 2017-07-17 12:30:55 +00:00
jaapb
e1b5530bdc Revbump assiociated with ocaml-4.04.2, and added patches to compile .cmxs
files
2017-07-11 14:11:57 +00:00
adam
75a9285105 Revbump after icu update 2017-04-22 21:03:07 +00:00
ryoon
72c3cb198b Recursive revbump from fonts/harfbuzz 2017-02-12 06:24:36 +00:00
wiz
7ac05101c6 Recursive bump for harfbuzz's new graphite2 dependency. 2017-02-06 13:54:36 +00:00
jaapb
4f72611c5c Updated package to latest version, 4.1.2. No substantive changes except
for compatibility with 0caml 4.03 (and .04).
2016-12-30 11:48:41 +00:00
ryoon
36ed025474 Recursive revbump from textproc/icu 58.1 2016-12-04 05:17:03 +00:00
adam
77b8ed74db Revbump after graphics/gd update 2016-08-03 10:22:08 +00:00
jaapb
712188c50e Updated package to work with new mk/ocaml.mk; no upstream changes. Revbump. 2016-06-20 15:36:04 +00:00
jaapb
e25d21c0ce Updated package to version 4.1.1, and added some patches from the upstream
git repository to make package compile with ocaml 4.0.3.

Changes include:
        * Cryptography: adding basic support for public key cryptography
          (provided by GnuTLS)
        * Authentication: the module types for SASL and HTTP authentication
          have been changed to a stateless style. Added an experimental
          SCRAM module for HTTP.
        * Nethttp_client: Supporting Digest authentication with
          SHA-256 as hash algorithm. Supporting Basic authentication
          with "charset" parameter.
        * XDR/RPC: supporting that direct mappings can be disabled
          when this is disadvantegous. For now, this is done for
          internal RPC services, because direct mappings do not
          copy values, which would be very surprising here.
        * Netplex: adding support for so-called internal services.
          This is a fast and type-safe way of exchanging messages
          between netplex containers.
        * ALL MODULES: Transitioning to the new "bytes" type for
          mutable strings while using "string" only for immutable
          strings. If compiled with OCaml-4.02 or newer, Ocamlnet
          is built with the -safe-string compiler option.
        * Netplex_sharedvar: implementing a new protocol that uses shared
          memory for announcing variable updates. Also, almost all functions
          can now be called from controller context.
        * Netsys_global: new module, for keeping a dictionary of global
          strings. The dictionary is connected with Netplex_sharedvar, so
          that the strings can be updated across process boundaries if used
          with Netplex.
        * Netsys_polysocket: adding this module
        * Netsys_polypipe: adding this module
        * Netasn1_encoder: new module for encding ASN.1 messages
        * Netnumber: on 64 bit platforms, the functions lt_uint4 and
          lt_uint8 were wrong. Fixed now.
2016-05-05 16:04:21 +00:00
prlw1
104960e18b revbump for libsoup's ABI issue 2016-05-03 11:40:00 +00:00
ryoon
ac20a93574 Recursive revbump from textproc/icu 57.1 2016-04-11 19:01:33 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
jaapb
339d229d93 Removed the automatic setting of PKGNAME to ocaml-${DISTNAME} from
ocaml.mk. It was becoming more trouble than it was worth: only a minority
of packages used it, and it only made Makefiles more confusing.
(I've left out some packages: these will be updated forthwith)
2016-02-06 12:06:07 +00:00
jaapb
b4924689d2 Updated package to newest version, 4.0.4. Changes include:
* GnuTLS: compatibility with GnuTLS-3.4.2
	* Nethttpd_plex: the post_add_hook was not called by accident
	  (since OCamlnet-4); this is now fixed.
	* Nethtml: new option case_sensitive
	* GnuTLS: initializing the library on-demand. This avoids that
	  /dev/random is kept open all the time since program start, and
	  works around incompatibilities with Netplex. (Thomas Calderon
	  found the problem.)
	* GnuTLS: setting DH parameters on certificates (this was forgotten in
	  previous releases). (Thomas Calderon found the problem.)
	* GnuTLS: supporting GnuTLS versions where SRP is disabled.
	  Supporting GnuTLS-3.4.
	* OpenBSD build: fix linker option (Christopher Zimmermann)
	* Equeue: There is a new method request_proxy_notification,
	  which is only used by Uq_engines.qseq_engine (but unfortunately
	  needs to appear in the public type of the object). This new
	  method permits that chains of Uq_engines.qseq_engine pairs
	  can now be arbitrarily long without consuming too much memory
	  and without the danger of getting stack overflows.

	  This fixes issues where notification chains got too long. In
	  particular, we saw a stack overflow when retrieving a video
	  stream via HTTP. The stream was sent with many chunks, resulting
	  in a long Uq_engines.qseq_engine chain.

	  Implementers of engines can simply define request_proxy_notification
	  as no-ops.
	* Nethttp.set_content_range: this function generated an incorrect
	  header (the "bytes" word was missing). (Török Edwin)
	* _oasis is generated from _oasis.in
	* Netplex: the Netplex socket directory has a different default
	  if not specified in the config file.
	* Netshm: the POSIX specifier has now two args
	* IPv6: automatically enabled if there is a global IPv6 address
  * Unicode tables: Moved them to a separate netunidata library.
	  This library needs to be linked in for getting access to the
	  tables (this is no longer the default).
	* Renamings: Http_client, Ftp_client etc. => Nethttp_client,
	  Netftp_client
    Mimestring => Netmime_string
	  Xdr => Netxdr
	* Netmime: moved functions to Netmime_header and Netmime_channels
  * Netmech_scram: Removed the check that passwords only consist of
	  ASCII chars. The user can now call Netsaslprep.saslprep.
  * Removed: rpc-auth-dh, nethttpd-for-netcgi2
	* Http_client: the authentication mechanisms are now encapsulated
	  in a first-class module HTTP_MECHANISM. So far, there is Digest
	  authentication in this form. The signature of HTTP_MECHANISM
	  is similar to SASL_MECHANISM.

	  Another visible change is that the insecure Basic authentication
	  is no longer enabled for non-TLS-secured connections. This can be
	  changed back by setting flags, though.

	  Some fixes in the design improve Digest authentication for proxy
	  connections.
	* Netpop: implementating SASL authentication for POP3. Moved Netpop
	  into netclient.
	* Netsmtp: implementing SASL authentication for SMTP. Moved Netsmtp
	  into netclient.
	* Adding a framework for SASL, and a number of mechanisms
	  (PLAIN, CRAM-MD5, DIGEST-MD5, SCRAM-SHA1).
	* fcgi/scgi/ajp connectors: exporting a handle_connection function,
	  and unifying existing such functions (Christopher Zimmermann)
  * adding support for modular cryptography (symmetric ciphers and
	  digests)
	* SCRAM is now implemented with the new crypto providers
	* removing dependency on Cryptokit
	* removed library netgssapi; now part of netsys/netstring
	* removed library netmech-scram; now part of netstring
Ocamlnet-4 adds:
	- new library netgss-system
	- new library nettls-gnutls
	- removed equeue-ssl and rpc-ssl
	- X.500 modules Netasn1, Netdn, Netx509
	- Crypto definitions Netsys_crypto_types, Netsys_crypto
	- TLS modules Netsys_tls, Nettls_support
	- Support for SASL and GSSAPI
	- Moved many functions from Uq_engines to new modules in
	  the equeue library (Uq_client, Uq_server, Uq_multiplex,
	  Uq_transfer)
2016-02-03 13:19:26 +00:00
agc
203292f73e Add SHA512 digests for distfiles for net category
Problems found with existing digests:
	Package haproxy distfile haproxy-1.5.14.tar.gz
	159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package bsddip: missing distfile bsddip-1.02.tar.Z
	Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz
	Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2
	Package djbdns: missing distfile djbdns-cachestats.patch
	Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch
	Package gated: missing distfile gated-3-5-11.tar.gz
	Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz
	Package poink: missing distfile poink-1.6.tar.gz
	Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz
	Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch
	Package waste: missing distfile waste-source.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 00:34:51 +00:00
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
jperkin
ed546fc0df Fix variable name, fixes build on SunOS. 2013-12-12 18:13:17 +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
riastradh
fba298cb0a Fix net/ocamlnet's patch checksums. Coulda sworn I did that already. 2013-01-20 16:03:32 +00:00
riastradh
cdc845bcf0 Fix net/ocamlnet's AT_* flag build breakage on NetBSD. 2013-01-19 20:37:43 +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
099c61a2b9 Add comment and upstream bug report URL. 2012-07-18 21:56:05 +00:00
marino
f15a8f2e3a net/ocamlnet: Fix for systems without AT_SYMLINK_FOLLOW
DragonFly doesn't define AT_SYMLINK_FOLLOW.  The added patch will
appropriately disable linkat support.

No revbump necessary - this patch doesn't change the binary on systems
for which it has already built.
2012-07-17 17:45:23 +00:00