From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MFuwFGfM/WBoeQAAgWs5BA (envelope-from ) for ; Sun, 25 Jul 2021 22:41:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WGOOEGfM/WCyEgAA1q6Kng (envelope-from ) for ; Sun, 25 Jul 2021 20:41:11 +0000 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 043E7B2D0 for ; Sun, 25 Jul 2021 22:41:11 +0200 (CEST) Received: from localhost ([::1]:40330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7kvt-0004ML-VJ for larch@yhetil.org; Sun, 25 Jul 2021 16:41:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7kvn-0004LV-0v for guix-patches@gnu.org; Sun, 25 Jul 2021 16:41:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37925) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m7kvm-0006ST-OK for guix-patches@gnu.org; Sun, 25 Jul 2021 16:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m7kvm-0006iJ-Mk for guix-patches@gnu.org; Sun, 25 Jul 2021 16:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49705] [PATCH v2 3/4] gnu: gmnisrv: Remove dependency on /etc/mime.types. Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 25 Jul 2021 20:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49705 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49705@debbugs.gnu.org Cc: Arun Isaac Received: via spool by 49705-submit@debbugs.gnu.org id=B49705.162724560925680 (code B ref 49705); Sun, 25 Jul 2021 20:41:02 +0000 Received: (at 49705) by debbugs.gnu.org; 25 Jul 2021 20:40:09 +0000 Received: from localhost ([127.0.0.1]:49468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7kuu-0006fz-CF for submit@debbugs.gnu.org; Sun, 25 Jul 2021 16:40:09 -0400 Received: from out2.migadu.com ([188.165.223.204]:56922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m7kup-0006fJ-6K for 49705@debbugs.gnu.org; Sun, 25 Jul 2021 16:40:03 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1627245602; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dr7Y8UR3JgwiOsPFgv358EQiNR/I7dsnWs+gYPntPH0=; b=d9iJvtNBF3F62Cx6lJAOsk9F2q4OtIsIzpLv07gMNafctSc9z0weyrfKXk6xoAuVPwDjKi oMwfJIcaNs2iXfzvygmnu+O825A80U87bGqgetg6m2JMN1wjxEX/75NQ73qNQt+LHDbJ9L 5wlnkXOBgdBvUm22Vx1muMoN1piYUqA= From: Sarah Morgensen Date: Sun, 25 Jul 2021 13:39:54 -0700 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Auth-User: iskarian@mgsn.dev 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627245671; h=from:from:sender:sender: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:dkim-signature; bh=dr7Y8UR3JgwiOsPFgv358EQiNR/I7dsnWs+gYPntPH0=; b=muoQMvWONOY4L7K2TGlQWG6L2SzM7unIOULICBTqKxmV7Sitc8a6rvAfz01dsS2eN0A6SY EVpI7U+JGYkEJZgSLq+ZIRjD1X5vJmzX3OGO4r8GzHQl/hu9sIZRBmxRTPh6zMH5Vemnph TDqq2afyBhbaY2Eo5iqrOcW8nSTxmLdky4cBpku5Ul+gHM4Ck1tPJPky/82BVUb2BMkO5C N/AR0JTxjMHhqz/CHIM8u/xX1Na3NvgikH2vZPs2LoDFMOgLd9Ji+EImxS3cPtHaqr1J8r UBtLCHikxe3tFxtcyZiKP9qq6bE/UnN8bPIugXdLUQVW3u5kyhNXy8+f8RBscQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627245671; a=rsa-sha256; cv=none; b=ftQcR7hvtHCqPzb6FzAMqpJW64hITElMn500l4d+dD0KGkbUscAK6EPUjs++Ivn84c/2+K V9Yv/CiXh526ugBXp4hoqn10q8lWODzlWOTgDJunyKXxj9k8IHQXg/9HZKtbCj29myhsbe f9XhobmE15YaK0pEa8ONzEQVGYafBlrZ7kka5labzHJBRoAL/jYreRGSaNyuezDVeFEgN/ SUXXjkarurYUzIolTBtWUbtWfFI2NjNEQmrbV6Ut4xFx8j7xjHIvQfiPkPSSRkwbbr0p2R moMor16MNJZwajqxDseVPNIlei5r40Gk1mUMSgxjnSWOoFx/jZ9p47m+pMoYZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=d9iJvtNB; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=d9iJvtNB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 043E7B2D0 X-Spam-Score: 3.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: gpH/ycMnhZEq Remove the dependency on /etc/mime.types (fixes #49233). gnu/packages/web.scm (gmnisrv)[arguments]<#:configure-flags>: Set --with-mimedb to directly use mime.types from mailcap. [propagated-inputs]: Move mailcap to... [inputs]: ...here (/etc/mime.types no longer need in profiles). --- gnu/packages/web.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index b106e7c8b6..61465c5d44 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -7984,15 +7984,18 @@ solution for any project's interface needs: (build-system gnu-build-system) (arguments `(#:tests? #f ; no check target + #:configure-flags + (list (string-append "--with-mimedb=" + (assoc-ref %build-inputs "mailcap") + "/etc/mime.types")) #:make-flags (list (string-append "CC=" ,(cc-for-target))))) (inputs - `(("openssl" ,openssl))) + `(("mailcap" ,mailcap) + ("openssl" ,openssl))) (native-inputs `(("pkg-config" ,pkg-config) ("scdoc" ,scdoc))) - (propagated-inputs - `(("mailcap" ,mailcap))) (synopsis "Simple Gemini protocol server") (description "gmnisrv is a simple Gemini protocol server written in C.") (license (list license:gpl3+ -- 2.31.1