FreeBSD Bugzilla – Attachment 249256 Details for
Bug 277773
security/ocaml-cryptokit: Update to 1.19, improve port
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-security-ocaml-cryptokit-Update-to-1.19-improve-port.patch
0001-security-ocaml-cryptokit-Update-to-1.19-improve-port.patch (text/plain), 3.94 KB, created by
Benjamin Jacobs
on 2024-03-18 08:39:34 UTC
(
hide
)
Description:
0001-security-ocaml-cryptokit-Update-to-1.19-improve-port.patch
Filename:
MIME Type:
Creator:
Benjamin Jacobs
Created:
2024-03-18 08:39:34 UTC
Size:
3.94 KB
patch
obsolete
>From 1c20245a4349e780bbe6464d31e2cc6f15c3a1cf Mon Sep 17 00:00:00 2001 >From: Benjamin Jacobs <freebsd@dev.thsi.be> >Date: Mon, 18 Mar 2024 08:23:24 +0000 >Subject: [PATCH] security/ocaml-cryptokit: Update to 1.19, improve port > >- Homepage updated >- Added missing ocaml-zarith to RUN_DEPENDS >- Libraries are stripped >- Static plist >- USES ocaml:dune > >PR: 277773 >--- > security/ocaml-cryptokit/Makefile | 23 +++++++++++------------ > security/ocaml-cryptokit/distinfo | 6 +++--- > security/ocaml-cryptokit/pkg-plist | 21 +++++++++++++++++++++ > 3 files changed, 35 insertions(+), 15 deletions(-) > create mode 100644 security/ocaml-cryptokit/pkg-plist > >diff --git a/security/ocaml-cryptokit/Makefile b/security/ocaml-cryptokit/Makefile >index fd9c49ca02ca..d70a11aff9f8 100644 >--- a/security/ocaml-cryptokit/Makefile >+++ b/security/ocaml-cryptokit/Makefile >@@ -1,34 +1,33 @@ > PORTNAME= cryptokit >-PORTVERSION= 1.11 >-PORTREVISION= 1 >+PORTVERSION= 1.19 > CATEGORIES= security > PKGNAMEPREFIX= ocaml- > > MAINTAINER= danfe@FreeBSD.org > COMMENT= Variety of cryptographic primitives for Objective Caml >-WWW= http://cristal.inria.fr/~xleroy/software.html >+WWW= https://github.com/xavierleroy/cryptokit > >-BUILD_DEPENDS= ocamlbuild:devel/ocaml-ocamlbuild \ >- ${LOCALBASE}/${OCAML_SITELIBDIR}/zarith/META:math/ocaml-zarith >+LICENSE= LGPL20+ # with a special exception to clause 6 >+LICENSE_FILE= ${WRKSRC}/LICENSE > >-DESTDIRNAME= destdir >-HAS_CONFIGURE= yes >-CONFIGURE_ARGS= --docdir ${OCAML_DOCSDIR} >+BUILD_DEPENDS= ${LOCALBASE}/${OCAML_SITELIBDIR}/zarith/META:math/ocaml-zarith >+RUN_DEPENDS= ${LOCALBASE}/${OCAML_SITELIBDIR}/zarith/META:math/ocaml-zarith > >+USES= ocaml:dune > USE_GITHUB= yes > GH_ACCOUNT= xavierleroy > GH_TAGNAME= release${PORTVERSION:S/.//g} >- > USE_OCAML= yes > USE_OCAML_LDCONFIG= yes >-USE_OCAML_FINDLIB= yes >-USE_OCAMLFIND_PLIST= yes > > DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} > PORTDOCS= * > > OPTIONS_DEFINE= DOCS > >-DOCS_ALL_TARGET= doc >+post-install: >+ @${STRIP_CMD} \ >+ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/cryptokit/dllcryptokit_stubs.so \ >+ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/cryptokit/cryptokit.cmxs > > .include <bsd.port.mk> >diff --git a/security/ocaml-cryptokit/distinfo b/security/ocaml-cryptokit/distinfo >index 5ffde3aa0fa0..e4bb92501ed4 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 = 1710749762 >+SHA256 (xavierleroy-cryptokit-1.19-release119_GH0.tar.gz) = a7e203aac7fb86fa26fbcc5e7243c8e0f46f0d084bfaf06767d0b816fc12ccb1 >+SIZE (xavierleroy-cryptokit-1.19-release119_GH0.tar.gz) = 162353 >diff --git a/security/ocaml-cryptokit/pkg-plist b/security/ocaml-cryptokit/pkg-plist >new file mode 100644 >index 000000000000..2f6bb5f5a778 >--- /dev/null >+++ b/security/ocaml-cryptokit/pkg-plist >@@ -0,0 +1,21 @@ >+%%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.cmi >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokitBignum.cmt >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokitBignum.cmti >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokitBignum.cmx >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokitBignum.ml >+%%OCAML_SITELIBDIR%%/cryptokit/cryptokitBignum.mli >+%%OCAML_SITELIBDIR%%/cryptokit/dllcryptokit_stubs.so >+%%OCAML_SITELIBDIR%%/cryptokit/dune-package >+%%OCAML_SITELIBDIR%%/cryptokit/libcryptokit_stubs.a >+%%OCAML_SITELIBDIR%%/cryptokit/opam >-- >2.43.0 >
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 277773
: 249256