From nobody Wed Oct 27 11:42:00 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 42EB3182A0F8; Wed, 27 Oct 2021 11:42:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HfRcT1SfDz3F1p; Wed, 27 Oct 2021 11:42:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 135B977B7; Wed, 27 Oct 2021 11:42:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19RBg0Pw089597; Wed, 27 Oct 2021 11:42:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19RBg0m8089596; Wed, 27 Oct 2021 11:42:00 GMT (envelope-from git) Date: Wed, 27 Oct 2021 11:42:00 GMT Message-Id: <202110271142.19RBg0m8089596@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 1cc02bea843e - main - security/ocaml-ssl: update to version 0.5.9, assume maintainership List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1cc02bea843e1ac98fdde7aa33a2d986a6a36291 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=1cc02bea843e1ac98fdde7aa33a2d986a6a36291 commit 1cc02bea843e1ac98fdde7aa33a2d986a6a36291 Author: Alexey Dokuchaev AuthorDate: 2021-10-27 11:40:42 +0000 Commit: Alexey Dokuchaev CommitDate: 2021-10-27 11:40:43 +0000 security/ocaml-ssl: update to version 0.5.9, assume maintainership Now builds itself using `devel/ocaml-dune', so drop most of the old USE_OCAML_* knobs. This also makes the build parallel-safe. While here, convert to static pkg-plist and install some examples. --- security/ocaml-ssl/Makefile | 40 +++++++++++++++++----------------------- security/ocaml-ssl/distinfo | 6 +++--- security/ocaml-ssl/pkg-descr | 4 ++-- security/ocaml-ssl/pkg-plist | 27 +++++++++++++++++++++++++++ 4 files changed, 49 insertions(+), 28 deletions(-) diff --git a/security/ocaml-ssl/Makefile b/security/ocaml-ssl/Makefile index f06516ebd1d4..150b4ec8c09f 100644 --- a/security/ocaml-ssl/Makefile +++ b/security/ocaml-ssl/Makefile @@ -1,44 +1,38 @@ # Created by: Jaap Boender PORTNAME= ssl -PORTVERSION= 0.5.3 +PORTVERSION= 0.5.9 CATEGORIES= security devel PKGNAMEPREFIX= ocaml- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= danfe@FreeBSD.org COMMENT= OpenSSL bindings for OCaml LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING +BUILD_DEPENDS= dune:devel/ocaml-dune + +USES= ssl USE_GITHUB= yes GH_ACCOUNT= savonet GH_PROJECT= ocaml-ssl +USE_OCAML= yes -USES= autoreconf gmake ssl -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --docdir=${DOCSDIR} -MAKE_ENV= OCAMLFIND_INSTFLAGS="-ldconf ignore" -MAKE_JOBS_UNSAFE= yes - -USE_OCAML= yes -USE_OCAML_FINDLIB= yes -USE_OCAML_LDCONFIG= yes -USE_OCAMLFIND_PLIST= yes - -ALL_TARGET= all doc +DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} +EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME} -CPPFLAGS+= -I${OPENSSLINC} -CFLAGS+= -I${OPENSSLINC} -LDFLAGS+= -L${OPENSSLLIB} +OPTIONS_DEFINE= DOCS EXAMPLES -DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} -PORTDOCS= * +do-build: + cd ${BUILD_WRKSRC} && dune build -p ${PORTNAME} -j ${MAKE_JOBS_NUMBER} -OPTIONS_DEFINE= DOCS +do-install: + cd ${INSTALL_WRKSRC} && dune install --destdir=${STAGEDIR} \ + --libdir=${OCAML_SITELIBDIR} -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR}/html - ${INSTALL_DATA} ${WRKSRC}/doc/html/* ${STAGEDIR}${DOCSDIR}/html +do-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/security/ocaml-ssl/distinfo b/security/ocaml-ssl/distinfo index b127fa694f46..12c9a3995701 100644 --- a/security/ocaml-ssl/distinfo +++ b/security/ocaml-ssl/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1479242545 -SHA256 (savonet-ocaml-ssl-0.5.3_GH0.tar.gz) = e8dde6ccde94657b9458057825506620a577289db23640e0b1fcb1fbfd7f45b7 -SIZE (savonet-ocaml-ssl-0.5.3_GH0.tar.gz) = 47011 +TIMESTAMP = 1563180443 +SHA256 (savonet-ocaml-ssl-0.5.9_GH0.tar.gz) = 1f3d66aaf9af5cc9c1fceb8e4bc00ad022035fb44416f6d7cebbad2c963161ea +SIZE (savonet-ocaml-ssl-0.5.9_GH0.tar.gz) = 32721 diff --git a/security/ocaml-ssl/pkg-descr b/security/ocaml-ssl/pkg-descr index 5d577254a5f6..7dac2cbb6604 100644 --- a/security/ocaml-ssl/pkg-descr +++ b/security/ocaml-ssl/pkg-descr @@ -1,3 +1,3 @@ -ocaml-ssl is a set of OCaml bindings for openssl. +This package installs a set of OCaml bindings for OpenSSL. -WWW: http://savonet.sourceforge.net/wiki/OCamlLibs +WWW: https://github.com/savonet/ocaml-ssl diff --git a/security/ocaml-ssl/pkg-plist b/security/ocaml-ssl/pkg-plist new file mode 100644 index 000000000000..9a0cb8472a91 --- /dev/null +++ b/security/ocaml-ssl/pkg-plist @@ -0,0 +1,27 @@ +%%OCAML_SITELIBDIR%%/ssl/META +%%OCAML_SITELIBDIR%%/ssl/dune-package +%%OCAML_SITELIBDIR%%/ssl/libssl_stubs.a +%%OCAML_SITELIBDIR%%/ssl/opam +%%OCAML_SITELIBDIR%%/ssl/ssl.a +%%OCAML_SITELIBDIR%%/ssl/ssl.cma +%%OCAML_SITELIBDIR%%/ssl/ssl.cmi +%%OCAML_SITELIBDIR%%/ssl/ssl.cmt +%%OCAML_SITELIBDIR%%/ssl/ssl.cmti +%%OCAML_SITELIBDIR%%/ssl/ssl.cmx +%%OCAML_SITELIBDIR%%/ssl/ssl.cmxa +%%OCAML_SITELIBDIR%%/ssl/ssl.cmxs +%%OCAML_SITELIBDIR%%/ssl/ssl.ml +%%OCAML_SITELIBDIR%%/ssl/ssl.mli +%%OCAML_SITELIBDIR%%/ssl/ssl_threads.cmi +%%OCAML_SITELIBDIR%%/ssl/ssl_threads.cmt +%%OCAML_SITELIBDIR%%/ssl/ssl_threads.cmti +%%OCAML_SITELIBDIR%%/ssl/ssl_threads.cmx +%%OCAML_SITELIBDIR%%/ssl/ssl_threads.ml +%%OCAML_SITELIBDIR%%/ssl/ssl_threads.mli +%%OCAML_SITELIBDIR%%/stublibs/dllssl_stubs.so +%%PORTDOCS%%%%DOCSDIR%%/CHANGES +%%PORTDOCS%%%%DOCSDIR%%/README.md +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alpn.ml +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dune +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stalkd.ml +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stelnet.ml