FreeBSD Bugzilla – Attachment 233131 Details for
Bug 263204
security/ocaml-cryptokit: upgrade to 1.16.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Upgrade to 1.16.1
security_ocaml-cryptokit.diff (text/plain), 4.37 KB, created by
Thierry Thomas
on 2022-04-10 18:25:59 UTC
(
hide
)
Description:
Upgrade to 1.16.1
Filename:
MIME Type:
Creator:
Thierry Thomas
Created:
2022-04-10 18:25:59 UTC
Size:
4.37 KB
patch
obsolete
>From f1041d7f4cf436f4c7fb0a68a9f53ceb72d0a564 Mon Sep 17 00:00:00 2001 >From: Thierry Thomas <thierry@FreeBSD.org> >Date: Sun, 10 Apr 2022 15:12:51 +0200 >Subject: [PATCH] security/ocaml-cryptokit: upgrade to 1.16.1 > >This is needed to fix security/sks against a recent OCaml. >--- > security/ocaml-cryptokit/Makefile | 28 ++++++++++++++++++---------- > security/ocaml-cryptokit/distinfo | 6 +++--- > security/ocaml-cryptokit/pkg-plist | 27 +++++++++++++++++++++++++++ > 3 files changed, 48 insertions(+), 13 deletions(-) > create mode 100644 security/ocaml-cryptokit/pkg-plist > >diff --git a/security/ocaml-cryptokit/Makefile b/security/ocaml-cryptokit/Makefile >index 5f99c2576744..634eb2f031e3 100644 >--- a/security/ocaml-cryptokit/Makefile >+++ b/security/ocaml-cryptokit/Makefile >@@ -1,19 +1,20 @@ > # Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> > > PORTNAME= cryptokit >-PORTVERSION= 1.11 >+PORTVERSION= 1.16.1 > CATEGORIES= security > PKGNAMEPREFIX= ocaml- > > MAINTAINER= danfe@FreeBSD.org > COMMENT= Variety of cryptographic primitives for Objective Caml > >-BUILD_DEPENDS= ocamlbuild:devel/ocaml-ocamlbuild \ >- ${LOCALBASE}/${OCAML_SITELIBDIR}/zarith/META:math/ocaml-zarith >+LICENSE= LGPL20 > >-DESTDIRNAME= destdir >-HAS_CONFIGURE= yes >-CONFIGURE_ARGS= --docdir ${OCAML_DOCSDIR} >+BUILD_DEPENDS= dune:devel/ocaml-dune \ >+ ocaml-zarith>0:math/ocaml-zarith \ >+ ocaml-dune-configurator>0:devel/ocaml-dune-configurator >+RUN_DEPENDS= ocaml-zarith>0:math/ocaml-zarith \ >+ ocaml-dune-configurator>0:devel/ocaml-dune-configurator > > USE_GITHUB= yes > GH_ACCOUNT= xavierleroy >@@ -21,14 +22,21 @@ GH_TAGNAME= release${PORTVERSION:S/.//g} > > USE_OCAML= yes > USE_OCAML_LDCONFIG= yes >-USE_OCAML_FINDLIB= yes >-USE_OCAMLFIND_PLIST= yes >+OCAML_LDLIBS= ${OCAML_SITELIBDIR}/stublibs > >+INSTALL_ARGS= --destdir=${STAGEDIR} --libdir=${OCAML_SITELIBDIR} > DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} >-PORTDOCS= * > > OPTIONS_DEFINE= DOCS > >-DOCS_ALL_TARGET= doc >+do-build: >+ (cd ${WRKSRC} && ${LOCALBASE}/bin/dune build) >+ >+do-install: >+ (cd ${WRKSRC} && ${LOCALBASE}/bin/dune install ${INSTALL_ARGS}) >+ >+post-install: >+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/${PORTNAME}.cmxs >+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/stublibs/dllcryptokit_stubs.so > > .include <bsd.port.mk> >diff --git a/security/ocaml-cryptokit/distinfo b/security/ocaml-cryptokit/distinfo >index 5ffde3aa0fa0..505171062ef7 100644 >--- a/security/ocaml-cryptokit/distinfo >+++ b/security/ocaml-cryptokit/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1468831896 >-SHA256 (xavierleroy-cryptokit-1.11-release111_GH0.tar.gz) = 8fb4c7f315cd554c53897db412731dc2288ed0cfd6d5dda6f76796aced8d23fd >-SIZE (xavierleroy-cryptokit-1.11-release111_GH0.tar.gz) = 150687 >+TIMESTAMP = 1649595138 >+SHA256 (xavierleroy-cryptokit-1.16.1-release1161_GH0.tar.gz) = 2c183579f7edbc18f5b3ec8d60e2dfe566d032988a475c22b6c9d450c89cf84f >+SIZE (xavierleroy-cryptokit-1.16.1-release1161_GH0.tar.gz) = 120607 >diff --git a/security/ocaml-cryptokit/pkg-plist b/security/ocaml-cryptokit/pkg-plist >new file mode 100644 >index 000000000000..84a43bd02a91 >--- /dev/null >+++ b/security/ocaml-cryptokit/pkg-plist >@@ -0,0 +1,27 @@ >+%%OCAML_SITELIBDIR%%/cryptokit/META >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokit.a >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokit.cma >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokit.cmi >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokit.cmt >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokit.cmti >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokit.cmx >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokit.cmxa >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokit.cmxs >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokit.ml >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokit.mli >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokitBignum.ml >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokitBignum.mli >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokit__.cmi >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokit__.cmt >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokit__.cmx >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokit__.ml >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokit__CryptokitBignum.cmi >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokit__CryptokitBignum.cmt >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokit__CryptokitBignum.cmti >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokit__CryptokitBignum.cmx >+%%OCAML_SITELIBDIR%%/cryptokit/dune-package >+%%OCAML_SITELIBDIR%%/cryptokit/libcryptokit_stubs.a >+%%OCAML_SITELIBDIR%%/cryptokit/opam >+%%OCAML_SITELIBDIR%%/stublibs/dllcryptokit_stubs.so >+%%PORTDOCS%%%%DOCSDIR%%/LICENSE >+%%PORTDOCS%%%%DOCSDIR%%/README.md >-- >2.35.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 263204
: 233131