From patchwork Thu Aug 5 15:38:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Xinglu Chen X-Patchwork-Id: 31849 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B2AB527BC78; Thu, 5 Aug 2021 16:40:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 59FF127BC6B for ; Thu, 5 Aug 2021 16:40:17 +0100 (BST) Received: from localhost ([::1]:45304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBfTk-00088t-Cw for patchwork@mira.cbaines.net; Thu, 05 Aug 2021 11:40:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBfSY-00066w-Cw for guix-patches@gnu.org; Thu, 05 Aug 2021 11:39:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBfSY-0005BY-5b for guix-patches@gnu.org; Thu, 05 Aug 2021 11:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mBfSY-0000w5-3E for guix-patches@gnu.org; Thu, 05 Aug 2021 11:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49867] [PATCH 00/29] gnu: Add ocaml-cohttp-lwt-unix. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Aug 2021 15:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49867 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: pukkamustard , 49867@debbugs.gnu.org Cc: pukkamustard Received: via spool by 49867-submit@debbugs.gnu.org id=B49867.16281779143563 (code B ref 49867); Thu, 05 Aug 2021 15:39:02 +0000 Received: (at 49867) by debbugs.gnu.org; 5 Aug 2021 15:38:34 +0000 Received: from localhost ([127.0.0.1]:48129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBfS5-0000vP-NG for submit@debbugs.gnu.org; Thu, 05 Aug 2021 11:38:33 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:34876 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBfS3-0000vA-I8 for 49867@debbugs.gnu.org; Thu, 05 Aug 2021 11:38:32 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1628177902; bh=kgPOVkJ4tjDSZaiUPsd4dg/D+/hsTUgvXQFSCy3CXIg=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=FJbMAUvIjLVJcM4ypGSjJkhbxkgcB0BF+PLORM8j+O1Y8N8UbRVClUUuKL6l2l3OE KODzNqCts+1vx/2+sWqQ03/mFYN7uJ+9NvWLgywBkX1PUiX94rMer/z9oYk/ezRMYh 8pTmWEVH3ubZWY4JI3o9TUiV9KintZ8UmGJ/Q0vw= In-Reply-To: <20210804071015.20848-1-pukkamustard@posteo.net> References: <20210804071015.20848-1-pukkamustard@posteo.net> Date: Thu, 05 Aug 2021 17:38:17 +0200 Message-ID: <87wnozkil2.fsf@yoctocell.xyz> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches On Wed, Aug 04 2021, pukkamustard wrote: > Hi, > > These patches add ocaml-cohttp-lwt-unix - an OCaml HTTP library - and dependencies. > > Some known rough edges: > > - ocaml-eqaf: Tests are disabled for now as I am not able to build > ocaml-afl-persistent which is a dependency for ocaml-crowbar which is > required to run ocaml-eqaf tests. There is ongoing work to port > ocaml-afl-persistent to dune > (https://github.com/stedolan/ocaml-afl-persistent/pull/7) with that it > should be much easier to build it and enable tests for ocaml-eqaf. I managed to package ‘ocaml-afl-persistent’ with the attached patch, but it doesn’t respect the ‘--without-tests’ transformation since the tests are run as part of the build phase. Thanks for working on this! From 49918dee551c9fa9acddfcf1162007d26f0bdff6 Mon Sep 17 00:00:00 2001 Message-Id: <49918dee551c9fa9acddfcf1162007d26f0bdff6.1628177652.git.public@yoctocell.xyz> From: Xinglu Chen Date: Thu, 5 Aug 2021 17:33:51 +0200 Subject: [PATCH] gnu: Add ocaml-afl-persistent. * gnu/packages/ocaml.scm (ocaml-afl-persistent): New variable. --- gnu/packages/ocaml.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index bb42003de2..321908f8ba 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -7183,6 +7183,39 @@ It makes it possible to run pure OCaml programs in JavaScript environment like browsers and Node.js.") (license license:lgpl2.1+))) +(define-public ocaml-afl-persistent + (package + (name "ocaml-afl-persistent") + (version "1.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/stedolan/ocaml-afl-persistent") + (commit (string-append "v" version)))) + (sha256 + (base32 + "06yyds2vcwlfr2nd3gvyrazlijjcrd1abnvkfpkaadgwdw3qam1i")))) + (build-system ocaml-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'build + (lambda _ + (invoke "./build.sh"))) + ;; XXX: The tests are already run in the build.sh script. + (delete 'check)))) + (native-inputs + `(("opam" ,opam))) + (home-page "https://github.com/stedolan/ocaml-afl-persistent") + (synopsis "Use afl-fuzz in persistent mode") + (description + "afl-fuzz normally works by repeatedly forking the program being tested. +Using this package, you can run afl-fuzz in ``persistent mode'', which avoids +repeated forking and is much faster.") + (license license:expat))) + (define-public ocaml-bibtex2html (package (name "ocaml-bibtex2html") base-commit: ead6cc03c66ed31f0ab7300fab11cef3a1e459f0 prerequisite-patch-id: 13039007a822f956c10ede72109a6a74e5bb2b08 -- 2.32.0