Package Details: ocaml-ssl 0.5.3-1

Git Clone URL: https://aur.archlinux.org/ocaml-ssl.git (read-only)
Package Base: ocaml-ssl
Description: OCaml SSL Library
Upstream URL: http://savonet.sourceforge.net/
Licenses: custom
Submitter: sigmundv
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 5
Popularity: 0.001534
First Submitted: 2015-08-10 18:23
Last Updated: 2017-11-18 19:45

Latest Comments

furious_snail commented on 2017-01-01 12:46

On the previous paste the first '-' on the first linke was removed. Repasting:
--- PKGBUILD.bak 2017-01-01 14:33:33.892191420 +0200
+++ PKGBUILD 2017-01-01 14:39:45.152566637 +0200
@@ -1,7 +1,7 @@
# Maintainer: Sigmund Vestergaard <sigmundv at gmail dot com>
# Contributor: Denis Wernert <denis@wernert.info>
pkgname=ocaml-ssl
-pkgver=0.5.2
+pkgver=0.5.3
pkgrel=1
pkgdesc="OCaml SSL Library"
arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@
makedepends=('ocaml' 'ocaml-findlib' 'autoconf')
source=(https://github.com/savonet/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz)
options=(!libtool !strip zipman !makeflags staticlibs)
-md5sums=('404f71d33885c985a8ff579996a5cda8')
+md5sums=('9fd48066d1cd4db52b40e2f59a7d4d83')


build() {

furious_snail commented on 2017-01-01 12:45

Here is the diff patch for 0.5.3:
-- PKGBUILD.bak 2017-01-01 14:33:33.892191420 +0200
+++ PKGBUILD 2017-01-01 14:39:45.152566637 +0200
@@ -1,7 +1,7 @@
# Maintainer: Sigmund Vestergaard <sigmundv at gmail dot com>
# Contributor: Denis Wernert <denis@wernert.info>
pkgname=ocaml-ssl
-pkgver=0.5.2
+pkgver=0.5.3
pkgrel=1
pkgdesc="OCaml SSL Library"
arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@
makedepends=('ocaml' 'ocaml-findlib' 'autoconf')
source=(https://github.com/savonet/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz)
options=(!libtool !strip zipman !makeflags staticlibs)
-md5sums=('404f71d33885c985a8ff579996a5cda8')
+md5sums=('9fd48066d1cd4db52b40e2f59a7d4d83')


build() {

5chdn commented on 2016-12-26 19:57

this package fails building with latest ocaml. and it blocks upgrading liquidsoap. please bump the version, thanks :)

robertfoster commented on 2016-11-17 18:50

0.5.3 is out and liquidsoap needs a recompilation:
File "cry_ssl.ml", line 1:
Error: /usr/lib/ocaml/ssl/ssl_threads.cmi
is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.

Yamakaky commented on 2016-11-17 05:51

Build fail, see https://github.com/savonet/ocaml-ssl/issues/29:

/usr/lib/ocaml/caml/alloc.h:59:8: erreur : unknown type name ‘inline’
static inline value caml_alloc_unboxed (value arg) { return arg; }
^~~~~~
/usr/lib/ocaml/caml/alloc.h:59:21: erreur : expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘caml_alloc_unboxed’
static inline value caml_alloc_unboxed (value arg) { return arg; }
^~~~~~~~~~~~~~~~~~
/usr/lib/ocaml/caml/alloc.h:60:8: erreur : unknown type name ‘inline’
static inline value caml_alloc_boxed (value arg) {
^~~~~~
/usr/lib/ocaml/caml/alloc.h:60:21: erreur : expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘caml_alloc_boxed’
static inline value caml_alloc_boxed (value arg) {
^~~~~~~~~~~~~~~~
/usr/lib/ocaml/caml/alloc.h:65:8: erreur : unknown type name ‘inline’
static inline value caml_field_unboxed (value arg) { return arg; }
^~~~~~
/usr/lib/ocaml/caml/alloc.h:65:21: erreur : expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘caml_field_unboxed’
static inline value caml_field_unboxed (value arg) { return arg; }
^~~~~~~~~~~~~~~~~~
/usr/lib/ocaml/caml/alloc.h:66:8: erreur : unknown type name ‘inline’
static inline value caml_field_boxed (value arg) { return Field (arg, 0); }
^~~~~~
/usr/lib/ocaml/caml/alloc.h:66:21: erreur : expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘caml_field_boxed’
static inline value caml_field_boxed (value arg) { return Field (arg, 0); }

sigmundv commented on 2016-07-01 01:00

Thank you for letting me know. I have updated the package.

talex commented on 2016-06-06 21:58

Programs using this (e.g. zeroinstall-injector) failed to build with:

/usr/lib/ocaml/ssl/libssl_threads_stubs.a(ssl_stubs.o): In function `ocaml_ssl_create_context':
ssl_stubs.c:(.text+0x576): undefined reference to `SSLv3_client_method'
ssl_stubs.c:(.text+0x643): undefined reference to `SSLv3_method'
ssl_stubs.c:(.text+0x653): undefined reference to `SSLv3_server_method'
collect2: error: ld returned 1 exit status

According to https://github.com/mirage/ocaml-cohttp/issues/462, this was fixed in ocaml-ssh 0.5.2.