From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gN/hGOpMzmTzmwAASxT56A (envelope-from ) for ; Sat, 05 Aug 2023 15:21:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KEqiGOpMzmRq8gAAauVa8A (envelope-from ) for ; Sat, 05 Aug 2023 15:21:46 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 082B141B3A for ; Sat, 5 Aug 2023 15:21:46 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691241706; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=9VDgMWaGmA9MsfMvmeOYEOe2CZQMfXgGf5ogu8KEmJw=; b=Ojq1SmChAw1k2z8kWQvh9FlXjb5qdK0Zj5MsoahYtIkdo1DmM/H4JtxqJJL9QqDRiNTaPQ aWtIimSv8DgXmuUmLTG0muKtbwM78DqhyIEh3AHqaZyt01tllQtmjMwDbnJIBjW9SsFhU3 fPB5RAF2hnR/b0qDYgubKvJ/QqpdyqCsAd3SulzfADPRnbsbxgxQeUajEgiUNXzazcb6+b 4LIRwLCQTEVAzWsEpThXocBn2cpKyvHQGAmWNM7NPAJ882V49/cNO5LIN9ytPFvzseMkZO jtS/InDYGVWegT53rI5a0TKn1Dv/yHrVnc3fFHd1sTKB1u7P/4QlMaR3dISumg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691241706; a=rsa-sha256; cv=none; b=hBVb6CDXRAIEb4IH5WWroit7yH9VFSDq7A6okp2F2wiwHIeqRw0wCSJgLTymo/D31tDf4C hLXCQH84K8glUWbYDBWzf/XkojCIOWoyb31BiBQd4IwbUsqX0IZy3GwJ1BdELmjOF8yZlq tT5D/IC0r/Pkx4txzzSSaJt9earbPhqBuNyE7XblcjHkR2GG9szPHmoJ8XKAz4bJZTAnj3 dyO4DFp+qxeaxC7AaKfSp17ulURgy0K8XNaSVbo54xXWrmiSmDPouHqe1/g/zOsXviyG0B 6+DjOoswMAyvS2D3vnDA1Rqwmzci6KQqENWtZTdJCT7BWjYsDSQgQBMjrJEzTQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSHDT-0003Qh-Dv; Sat, 05 Aug 2023 09:21:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSHDN-0003P4-So for guix-patches@gnu.org; Sat, 05 Aug 2023 09:21:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSHDN-0003Z9-Jy for guix-patches@gnu.org; Sat, 05 Aug 2023 09:21:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSHDN-00067d-G0 for guix-patches@gnu.org; Sat, 05 Aug 2023 09:21:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63765] [PATCH v6 08/10] gnu: Add melkor. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Aug 2023 13:21:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63765 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63765@debbugs.gnu.org Cc: Hilton Chain Received: via spool by 63765-submit@debbugs.gnu.org id=B63765.169124166023445 (code B ref 63765); Sat, 05 Aug 2023 13:21:05 +0000 Received: (at 63765) by debbugs.gnu.org; 5 Aug 2023 13:21:00 +0000 Received: from localhost ([127.0.0.1]:56145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSHDI-000665-ES for submit@debbugs.gnu.org; Sat, 05 Aug 2023 09:21:00 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:57236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSHDG-00065w-8Z for 63765@debbugs.gnu.org; Sat, 05 Aug 2023 09:20:58 -0400 Date: Sat, 5 Aug 2023 21:19:04 +0800 Message-ID: <5156b60a34961e48e9cba8fa9ba86990eb35cfa4.1691240736.git.hako@ultrarare.space> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: -- 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: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 082B141B3A X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: -6.15 X-Migadu-Spam-Score: -6.15 X-TUID: wR2oD9L7beCA * gnu/packages/elf.scm (melkor): New variable. --- gnu/packages/elf.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm index a100038f14..3ddb6c4064 100644 --- a/gnu/packages/elf.scm +++ b/gnu/packages/elf.scm @@ -28,6 +28,7 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages elf) + #:use-module (guix gexp) #:use-module (guix utils) #:use-module (guix packages) #:use-module (guix download) @@ -340,3 +341,39 @@ (define-public libdwarf debugging information format.") ;; See https://www.prevanders.net/dwarflicense.html: (license (list lgpl2.1 gpl2 bsd-2)))) + +(define-public melkor + (let ((commit "ac2495bef2a744e7931537e023b1129229b001c4") + (revision "8")) + (package + (name "melkor") + (version (git-version "1.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/romainthomas/elf_fuzzer") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1czg0dgvzxcsi04myjvvdcl3vcf59d5l328ydmm01lh892wdf4dy")))) + (build-system gnu-build-system) + (arguments + (list #:tests? #f ;No tests. + #:make-flags + #~(list (string-append "CC=" #$(cc-for-target)) + (format #f "INSTALLPATH=~a/bin/" #$output)) + #:phases + #~(modify-phases %standard-phases + ;; No configure script. + (delete 'configure) + (add-before 'install 'create-/bin + (lambda _ + (mkdir-p (string-append #$output "/bin"))))))) + ;; Fork of + (home-page "https://github.com/romainthomas/elf_fuzzer") + (synopsis "ELF File Format Fuzzer") + (description + "Melkor is an intuitive and easy-to-use ELF file format fuzzer for +finding functional and security bugs in ELF parsers.") + (license gpl3+)))) -- 2.41.0