From patchwork Tue Nov 3 19:19:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru-Sergiu Marton X-Patchwork-Id: 24972 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 AE7E627BBF3; Tue, 3 Nov 2020 17:20:42 +0000 (GMT) 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_H4,RCVD_IN_MSPIKE_WL,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 1220327BBF4 for ; Tue, 3 Nov 2020 17:20:42 +0000 (GMT) Received: from localhost ([::1]:45048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZzz7-000654-0N for patchwork@mira.cbaines.net; Tue, 03 Nov 2020 12:20:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZzyU-000645-Vl for guix-patches@gnu.org; Tue, 03 Nov 2020 12:20:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34747) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZzyU-0005bB-M2 for guix-patches@gnu.org; Tue, 03 Nov 2020 12:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZzyU-0006S4-Hs for guix-patches@gnu.org; Tue, 03 Nov 2020 12:20:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44423] [PATCH 1/3] gnu: Add mailcap. Resent-From: Alexandru-Sergiu Marton Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 Nov 2020 17:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44423 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44423@debbugs.gnu.org Cc: Alexandru-Sergiu Marton Received: via spool by 44423-submit@debbugs.gnu.org id=B44423.160442396824720 (code B ref 44423); Tue, 03 Nov 2020 17:20:02 +0000 Received: (at 44423) by debbugs.gnu.org; 3 Nov 2020 17:19:28 +0000 Received: from localhost ([127.0.0.1]:46289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZzxv-0006QY-Sf for submit@debbugs.gnu.org; Tue, 03 Nov 2020 12:19:28 -0500 Received: from mout02.posteo.de ([185.67.36.66]:59387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZzxt-0006QD-MY for 44423@debbugs.gnu.org; Tue, 03 Nov 2020 12:19:26 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 53540240100 for <44423@debbugs.gnu.org>; Tue, 3 Nov 2020 18:19:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1604423959; bh=FoLfRbjuYiMXEMEUQfwGLY7HH7kDLQWEohcs/QpNwsY=; h=From:To:Cc:Subject:Date:From; b=dSAWXpEWlzwMIXb1aBkrIb8Ble5Jv9eCq0+Xc6x+Bdkb8+MEpV+bF4xh9kSZHglWc bb+vdIljnnI/pstpHia4vldcKpHY3x6ITu2FyyWGxH9P5j0LKlXmoNcTgglMxBmuyP v40lmRtW/naQaRbmBhAnLIODk6bghKK9Rsjk6FjfM57IOQ7YR+HW/0I1poZagzZg8I zRZ/Z4nz5VdpGeNHK7yzPZWG/7Vcbk9KmE16ikZdA1grWj1aa0Shs88AGsaYDHiboQ lc1Q1E9MhhP9DdEFJMcoHsWUm9i6tsVxjgfx+9b3Tss5j+lSvp9Ws6Ou4l9W7gao+G wAdi7Ig5beMuA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CQc2t5DDFz9rxk; Tue, 3 Nov 2020 18:19:18 +0100 (CET) From: Alexandru-Sergiu Marton Date: Tue, 3 Nov 2020 21:19:16 +0200 Message-Id: <20201103191918.7944-1-brown121407@posteo.ro> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201103191737.7836-1-brown121407@posteo.ro> References: <20201103191737.7836-1-brown121407@posteo.ro> 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 * gnu/packages/mail.scm (mailcap): New variable. --- gnu/packages/mail.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 44a156fd99..2f4173dc92 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -747,6 +747,43 @@ MIME-encoded email package.") (home-page "https://github.com/inflex/ripMIME") (license license:bsd-3)))) +(define-public mailcap + (let* ((version "2.1.49") + (tag ;; mailcap tags their releases like this: rMajor-minor-patch + (string-append "r" (string-join (string-split version #\.) "-")))) + (package + (name "mailcap") + (version version) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://pagure.io/mailcap.git") + (commit tag))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ck1fw6gqn51phcfakhfpfq1yziv3gnmgjvswzhj9x0p162n6alj")))) + (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (delete 'configure) + (add-before 'install 'set-dest-dir + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (setenv "DESTDIR" out) + (substitute* "Makefile" + (("/usr") "")) ;; This allows the man page to install. + #t)))))) + (native-inputs `(("python" ,python-3.8))) ;; for tests + (synopsis "MIME type associations for file types") + (description "This package provides MIME type associations for file +types.") + (home-page "https://pagure.io/mailcap") + (license (list license:expat ;; mailcap.5 + license:public-domain))))) ;; mailcap and mime.types + (define-public bogofilter (package (name "bogofilter") From patchwork Tue Nov 3 19:19:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru-Sergiu Marton X-Patchwork-Id: 24971 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 2D3EF27BBF6; Tue, 3 Nov 2020 17:20:42 +0000 (GMT) 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_H4,RCVD_IN_MSPIKE_WL,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 D838E27BBF3 for ; Tue, 3 Nov 2020 17:20:41 +0000 (GMT) Received: from localhost ([::1]:45044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZzz6-00064g-Uj for patchwork@mira.cbaines.net; Tue, 03 Nov 2020 12:20:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZzyV-00064D-DV for guix-patches@gnu.org; Tue, 03 Nov 2020 12:20:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34748) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZzyV-0005bH-3o for guix-patches@gnu.org; Tue, 03 Nov 2020 12:20:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZzyU-0006SB-W3 for guix-patches@gnu.org; Tue, 03 Nov 2020 12:20:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44423] [PATCH 2/3] services: gmnisrv: Export types. Resent-From: Alexandru-Sergiu Marton Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 Nov 2020 17:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44423 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44423@debbugs.gnu.org Cc: Alexandru-Sergiu Marton Received: via spool by 44423-submit@debbugs.gnu.org id=B44423.160442396824728 (code B ref 44423); Tue, 03 Nov 2020 17:20:02 +0000 Received: (at 44423) by debbugs.gnu.org; 3 Nov 2020 17:19:28 +0000 Received: from localhost ([127.0.0.1]:46291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZzxw-0006Qf-8T for submit@debbugs.gnu.org; Tue, 03 Nov 2020 12:19:28 -0500 Received: from mout02.posteo.de ([185.67.36.66]:54995) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZzxu-0006QF-IJ for 44423@debbugs.gnu.org; Tue, 03 Nov 2020 12:19:26 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id E36722400FC for <44423@debbugs.gnu.org>; Tue, 3 Nov 2020 18:19:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1604423960; bh=vNRHPZqp5SZRwXI60ujdJOSdeyr1jOCjhfNuDHbmt4A=; h=From:To:Cc:Subject:Date:From; b=MaIvnJyuIJRri9JzzT+gHb6wdE3gLosisOw4wcoXq+fESrcWTAakBzobanTMdhoi4 AVIVGbAuJPtPY3FidpDao2wwffelbP1gMXlNAtaz/deLOAa4WdlDDehtc43DOujjZf CJNTwfnJ0MAMxqQLmyamOlQ25lt6mgwOodzn9cdmcwZX4eUOV267AImfoMx/P0P25u EbjM+SdPgzT7KcY2xIjiUhQNRH5EkjxL3P0UanKa43oDZnHSmMZsQIozUJhJMRsLc0 JW/369Wq9Bhmn9tPhNiKi54b5PwDiJbtU873LOzrNlufKnYkhNtkjkX4T3EGi+oPUp uXurChLpg5PTA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CQc2w3Lpcz9rxb; Tue, 3 Nov 2020 18:19:20 +0100 (CET) From: Alexandru-Sergiu Marton Date: Tue, 3 Nov 2020 21:19:17 +0200 Message-Id: <20201103191918.7944-2-brown121407@posteo.ro> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201103191918.7944-1-brown121407@posteo.ro> References: <20201103191737.7836-1-brown121407@posteo.ro> <20201103191918.7944-1-brown121407@posteo.ro> 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 * gnu/services/web.scm: Export gmnisrv-configuration, gmnisrv-configuration?, gmnisrv-configuration-package, gmnisrv-configuration-config-file, gmnisrv-service-type. --- gnu/services/web.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/services/web.scm b/gnu/services/web.scm index 7e17dac6e2..0f8f09d919 100644 --- a/gnu/services/web.scm +++ b/gnu/services/web.scm @@ -256,7 +256,14 @@ mumi-configuration-sender mumi-configuration-smtp - mumi-service-type)) + mumi-service-type + + gmnisrv-configuration + gmnisrv-configuration? + gmnisrv-configuration-package + gmnisrv-configuration-config-file + + gmnisrv-service-type)) ;;; Commentary: ;;; From patchwork Tue Nov 3 19:19:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru-Sergiu Marton X-Patchwork-Id: 24973 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 E003527BBF3; Tue, 3 Nov 2020 17:20:42 +0000 (GMT) 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_H4,RCVD_IN_MSPIKE_WL,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 199DC27BBF5 for ; Tue, 3 Nov 2020 17:20:42 +0000 (GMT) Received: from localhost ([::1]:45078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZzz7-000664-8d for patchwork@mira.cbaines.net; Tue, 03 Nov 2020 12:20:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZzyX-00064U-23 for guix-patches@gnu.org; Tue, 03 Nov 2020 12:20:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34749) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZzyV-0005bc-JX for guix-patches@gnu.org; Tue, 03 Nov 2020 12:20:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZzyV-0006SJ-FE for guix-patches@gnu.org; Tue, 03 Nov 2020 12:20:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44423] [PATCH 3/3] gnu: Update gmnisrv. Resent-From: Alexandru-Sergiu Marton Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 Nov 2020 17:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44423 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44423@debbugs.gnu.org Cc: Alexandru-Sergiu Marton Received: via spool by 44423-submit@debbugs.gnu.org id=B44423.160442396824734 (code B ref 44423); Tue, 03 Nov 2020 17:20:03 +0000 Received: (at 44423) by debbugs.gnu.org; 3 Nov 2020 17:19:28 +0000 Received: from localhost ([127.0.0.1]:46293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZzxw-0006Qm-GL for submit@debbugs.gnu.org; Tue, 03 Nov 2020 12:19:28 -0500 Received: from mout02.posteo.de ([185.67.36.66]:59451) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZzxv-0006QH-FA for 44423@debbugs.gnu.org; Tue, 03 Nov 2020 12:19:27 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id D9AD92400FC for <44423@debbugs.gnu.org>; Tue, 3 Nov 2020 18:19:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1604423961; bh=4yosCiPOPsehZD2pub4BbdP8LP015vWjIfgfHUNw+NY=; h=From:To:Cc:Subject:Date:From; b=dGoNftUBJBpk2ioLoa1YlPzDUPU3UpHJrBEbykvtUKymvT1fgg159mYOHKrijk3s5 KwO+dRVdBnn10yLRquYch0ENFMujS5lC6m420ljr3JixuYcTWVfi8C9IRype2b7SUR xWneUsiItSwKkN6aTi/R+XltOidWw3F76S8w/VkrX+Uez4Gqt48HA6fjZb97icV6Bu K9X66j/dzRZOwhGBC132LabpZE7USOMBW/QFHLalvry+p8xg01F94jzLw6p/+bWBId IvxQ0Ofk6enoOJB1pMbkQOyweWMRDBe6uApoDsKi+zW0GU2jBZdkPWkVtvhF82y4wp VFiGLYz6tVnmA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CQc2x3Ql4z9rxL; Tue, 3 Nov 2020 18:19:21 +0100 (CET) From: Alexandru-Sergiu Marton Date: Tue, 3 Nov 2020 21:19:18 +0200 Message-Id: <20201103191918.7944-3-brown121407@posteo.ro> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201103191918.7944-1-brown121407@posteo.ro> References: <20201103191737.7836-1-brown121407@posteo.ro> <20201103191918.7944-1-brown121407@posteo.ro> 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 * gnu/packages/web.scm (gmnisrv): Update to commit d484ba0ab0020866535a44be5948c9482b8f2b8d. --- gnu/packages/web.scm | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 93399b3459..0f7c5fe2e9 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -129,6 +129,7 @@ #:use-module (gnu packages lisp-xyz) #:use-module (gnu packages lsof) #:use-module (gnu packages lua) + #:use-module (gnu packages mail) #:use-module (gnu packages man) #:use-module (gnu packages markup) #:use-module (gnu packages ncurses) @@ -7706,10 +7707,11 @@ solution for any project's interface needs: (license license:expat))) (define-public gmnisrv - (let ((commit "a22bec51494a50c044416d469cc33e043480e7fd")) + (let ((commit "d484ba0ab0020866535a44be5948c9482b8f2b8d") + (revision "1")) (package (name "gmnisrv") - (version (git-version "0" "0" commit)) + (version (git-version "0" revision commit)) (home-page "https://git.sr.ht/~sircmpwn/gmnisrv") (source (origin (method git-fetch) @@ -7718,7 +7720,7 @@ solution for any project's interface needs: (commit commit))) (sha256 (base32 - "1k1n7cqd37jgbhxyh231bagdxdxqwpr6n5pk3gax2516w6xbzlb9")) + "11phipixsxx1jgm42agp76p5s68l0zj65kgb41vzaymgwcq79ivn")) (file-name (git-file-name name version)))) (build-system gnu-build-system) (arguments @@ -7728,19 +7730,14 @@ solution for any project's interface needs: (lambda _ (setenv "CC" "gcc") #t)) - (delete 'check) - (add-after 'install 'install-config - (lambda* (#:key outputs #:allow-other-keys) - (let ((etc (string-append (assoc-ref outputs "out") - "/etc"))) - (mkdir-p etc) - (copy-file "config.ini" (string-append etc "/gmnisrv.ini")) - #t)))))) + (delete 'check)))) (inputs `(("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+