From unknown Thu Jun 19 14:31:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#49929] [PATCH] gnu: Add gmid. Resent-From: cage Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Aug 2021 18:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49929 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49929@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162836063717441 (code B ref -1); Sat, 07 Aug 2021 18:24:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Aug 2021 18:23:57 +0000 Received: from localhost ([127.0.0.1]:53130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCQz9-0004X8-Dv for submit@debbugs.gnu.org; Sat, 07 Aug 2021 14:23:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:34414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCQz5-0004Wy-Vp for submit@debbugs.gnu.org; Sat, 07 Aug 2021 14:23:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCQz5-0003If-Cz for guix-patches@gnu.org; Sat, 07 Aug 2021 14:23:47 -0400 Received: from smtpweb147.aruba.it ([62.149.158.147]:42274) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCQz3-0000kw-04 for guix-patches@gnu.org; Sat, 07 Aug 2021 14:23:47 -0400 Received: from kurosawa.casa.net ([78.15.36.212]) by Aruba Outgoing Smtp with ESMTPSA id CQyxmDcjya4UMCQyymq8tv; Sat, 07 Aug 2021 20:23:40 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1628360620; bh=v6eUGFZp+1kac3FHPEDP7T/VhoQUTj+iTZlRFx/uEkk=; h=Date:From:To:Subject:MIME-Version:Content-Type; b=VJhmFzoP2U26SLMeY4PXG5m1MUTP46UtIgZzAq3VOBan1K8ZKN6Kcd0l0l8OPyKM0 nP3PTHHSBJf59Zy77Lot0dDMyj4yOdMo7sQnQ+CrUhnGSYXb+CmyyYw6p9EFnN3GXa paVQDtcV21IvusUyH15RsHodUqo0G0ns0dVLRNCYc93OWe7LG6QiuHn0oQiNaxhKOa DkWUHliwzvrPhddMAk6uCWt6jKRkGUguI2CrPKyvIemLklz150qA74ccedKBVxam1y /pqLrPgkmkE/fGmD4K4A9OP+qBGYFLJRbmLKwp8TQ4fTFUb5H9Wuh1ue3MLhSlVtnf AMPv4UJfaFYHg== Received: by kurosawa.casa.net (Postfix, from userid 1000) id E0D2D1840202; Sat, 7 Aug 2021 20:23:14 +0200 (CEST) Date: Sat, 7 Aug 2021 20:23:14 +0200 From: cage Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfIyq39ZsGvCsoV06vHvuXiPcSe286+4HTFt9qLscmawCuBhWeWwjCbtCfuN01OyRnkZEYTlnRhKjorNyojQ38WH06f4iRT0q4WTq6MBo6HxfnJGi/vxy iT998odW/N1gop4moueP4uIknjUdyuE5h2h41cB9px1Y1+Tmn7j9kbr40vpYT0twSFW31nlVdnssHw== Received-SPF: none client-ip=62.149.158.147; envelope-from=cage-dev@twistfold.it; helo=smtpweb147.aruba.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --- gnu/packages/networking.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 05fd092b23..0ea07f0f15 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -44,6 +44,7 @@ ;;; Copyright © 2021 Hartmut Goebel ;;; Copyright © 2021 Justin Veilleux ;;; Copyright © 2021 Vinicius Monego +;;; Copyright © 2021 cage ;;; ;;; This file is part of GNU Guix. ;;; @@ -4177,3 +4178,38 @@ public key authentication and Kerberos single-sign-on. It also includes command-line @acronym{SFTP} and @acronym{SCP} implementations.") (home-page "https://www.chiark.greenend.org.uk/~sgtatham/putty/") (license license:expat))) + +(define-public gmid + (package + (name "gmid") + (version "1.7.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/omar-polo/gmid/releases/download/" + version "/gmid-" version ".tar.gz")) + (sha256 + (base32 "0ag5zcwnr5vmy13bc9c36hnv9pflks68b0k6w0ng97inrm37klis")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ;no tests + #:phases + (modify-phases %standard-phases + (replace 'configure + ;; The configure script is hand-written, not from GNU autotools. + (lambda* (#:key configure-flags inputs outputs #:allow-other-keys) + (let ((prefix (string-append "PREFIX=" (assoc-ref outputs "out")))) + (setenv "CC" ,(cc-for-target)) + (apply invoke "./configure" (list prefix)) + #t)))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("bison" ,bison) + ("flex" ,flex))) + (inputs + `(("libevent" ,libevent) + ("libressl" ,libressl))) + (home-page "https://git.omarpolo.com/gmid/about/") + (synopsis "Simple and secure Gemini server") + (description "Gmid is a fast Gemini server written with security in mind.") + (license license:x11))) -- 2.32.0 From unknown Thu Jun 19 14:31:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#49929] [PATCH] gnu: Add gmid. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 24 Feb 2022 04:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49929 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: cage Cc: 49929@debbugs.gnu.org Received: via spool by 49929-submit@debbugs.gnu.org id=B49929.164567725513147 (code B ref 49929); Thu, 24 Feb 2022 04:35:02 +0000 Received: (at 49929) by debbugs.gnu.org; 24 Feb 2022 04:34:15 +0000 Received: from localhost ([127.0.0.1]:47109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nN5pR-0003Ps-AR for submit@debbugs.gnu.org; Wed, 23 Feb 2022 23:34:15 -0500 Received: from mail-qk1-f169.google.com ([209.85.222.169]:36711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nN5pP-0003PT-8c for 49929@debbugs.gnu.org; Wed, 23 Feb 2022 23:34:08 -0500 Received: by mail-qk1-f169.google.com with SMTP id g24so911401qkl.3 for <49929@debbugs.gnu.org>; Wed, 23 Feb 2022 20:34:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=MuqfqLDT/2TeP1niFBZfeecz6zhSkS+tNmu88iNo/Jc=; b=hDmhXG32Q81b6mtrSNlwSFjin1qCWeBIZB4t5kxEy4UHSiYd7Ekslf3gHF1CVnwg9y zvvNbYsyi17FmN86uFvJ0lRLspnTY8XhQZMsa4xvQzISzlLLNL928eWGbXX3dT6RmPrB qPx8PwahlablGBroqsPVSIHGtex14FCLZYDVNpu7Kjr18RRcNJXhVVBqkzr6m687CmOT XEunaKmAag2vxj1no6LeBBXpX/VwC9EwVDeGLYO+36ZKS4dw1pzGHST/DfwixlPgXofl IAWvlrAe4u3H6llbtA2mL/P7A9X6kMuO+MnFoul1ojKiqlUDNKKvE+zBtDpDhPo4+T0Y 14mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=MuqfqLDT/2TeP1niFBZfeecz6zhSkS+tNmu88iNo/Jc=; b=ya9SqSpLo/GlazXHl/7DhVERKxXwgJ1QUSVivpyi3VkWYPEF/4WZQcz1nx/J+Wv9n4 GLOt2Il2ucJfIshf4O6vo82nwEIL4a29mtKCo3lgB7Y7z5Vjy8IFyaAIfcKYiaIka2c8 cmLPfRgzzaLUqB0eZRPCZvTLIU4DFul4OYAhZ2IICD/g+j3n5yVLeXr6yAPOsHzx8WAW vzyOvON9zYu6L+RBhgwB8JcK880KRr2FJTmzgyTbh27NI9Ks0XK4qs22I4zUYWtFKeVp bOiIro/L5ZVDcjx/AizLdbVA2uxAWEdgv1xwGXLKQyGRAMoRbVHYCj94jDGOJLB7hoys z3Zw== X-Gm-Message-State: AOAM532jiysDsjM4H2Ix/rZ/907ZNrxKGs7j41piw3KmGxKRMlknDkSA QZb3EVlJSezrJPTwHXPxNd+9xOobNdjCLA== X-Google-Smtp-Source: ABdhPJyQmKoxicI5Amf7i7xQi8p5Wz/7fbht3+/RXbpxidhRu3ltsZFwCXf9QM+2E74jjV8c6NbEEA== X-Received: by 2002:a05:620a:1451:b0:648:e9c1:3f8b with SMTP id i17-20020a05620a145100b00648e9c13f8bmr560791qkl.421.1645677241286; Wed, 23 Feb 2022 20:34:01 -0800 (PST) Received: from hurd (dsl-156-1.b2b2c.ca. [66.158.156.1]) by smtp.gmail.com with ESMTPSA id r18sm1077533qtw.27.2022.02.23.20.34.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Feb 2022 20:34:00 -0800 (PST) From: Maxim Cournoyer References: Date: Wed, 23 Feb 2022 23:33:59 -0500 In-Reply-To: (cage's message of "Sat, 7 Aug 2021 20:23:14 +0200") Message-ID: <875yp4lw7c.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 49929 moreinfo -- Hello! cage writes: > --- > gnu/packages/networking.scm | 36 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 36 insertions(+) > > diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm > index 05fd092b23..0ea07f0f15 100644 > --- a/gnu/packages/networking.scm > +++ b/gnu/packages/networking.scm > @@ -44,6 +44,7 @@ > ;;; Copyright =C2=A9 2021 Hartmut Goebel > ;;; Copyright =C2=A9 2021 Justin Veilleux > ;;; Copyright =C2=A9 2021 Vinicius Monego > +;;; Copyright =C2=A9 2021 cage > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -4177,3 +4178,38 @@ public key authentication and Kerberos single-sign= -on. It also includes > command-line @acronym{SFTP} and @acronym{SCP} implementations.") > (home-page "https://www.chiark.greenend.org.uk/~sgtatham/putty/") > (license license:expat))) > + > +(define-public gmid > + (package > + (name "gmid") > + (version "1.7.2") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://github.com/omar-polo/gmid/releases/d= ownload/" > + version "/gmid-" version ".tar.gz")) > + (sha256 > + (base32 "0ag5zcwnr5vmy13bc9c36hnv9pflks68b0k6w0ng97inrm37klis"))= )) > + (build-system gnu-build-system) > + (arguments > + `(#:tests? #f ;no tests Apparently, the Makefile has a 'regress' target [0] to run a test suite (the project has a CI enabled, in doubt you can refer to their CI recipe). [0] https://github.com/omar-polo/gmid/blob/master/Makefile > + #:phases > + (modify-phases %standard-phases > + (replace 'configure > + ;; The configure script is hand-written, not from GNU autotoo= ls. > + (lambda* (#:key configure-flags inputs outputs #:allow-other-= keys) > + (let ((prefix (string-append "PREFIX=3D" (assoc-ref outputs= "out")))) > + (setenv "CC" ,(cc-for-target)) > + (apply invoke "./configure" (list prefix)) > + #t)))))) Ending phases by #t is obsolete (you can drop it), and you can more simply write (invoke "./configure" (string-append #$output)), as long as you replace the backquoted arguments list by a simple (list ...) and define the phases as a G-exp, e.g.: #~(modify-phases [...]) > + (native-inputs > + `(("pkg-config" ,pkg-config) > + ("bison" ,bison) > + ("flex" ,flex))) > + (inputs > + `(("libevent" ,libevent) > + ("libressl" ,libressl))) You can use the new style for inputs, as explained in this blog post [1] [1] https://guix.gnu.org/en/blog/2021/the-big-change/ > + (home-page "https://git.omarpolo.com/gmid/about/") > + (synopsis "Simple and secure Gemini server") > + (description "Gmid is a fast Gemini server written with security in = mind.") > + (license license:x11))) The rest looks good to me, well done! Could you send an update with changes along these lines? Thank you, Maxim From unknown Thu Jun 19 14:31:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#49929] [PATCH] gnu: Add gmid. Resent-From: cage Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Feb 2022 15:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49929 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 49929@debbugs.gnu.org, cage Received: via spool by 49929-submit@debbugs.gnu.org id=B49929.16458908661814 (code B ref 49929); Sat, 26 Feb 2022 15:55:02 +0000 Received: (at 49929) by debbugs.gnu.org; 26 Feb 2022 15:54:26 +0000 Received: from localhost ([127.0.0.1]:56175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNzOm-0000T4-CK for submit@debbugs.gnu.org; Sat, 26 Feb 2022 10:54:26 -0500 Received: from smtpcmd0871.aruba.it ([62.149.156.71]:55040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNzOk-0000Sq-Ir for 49929@debbugs.gnu.org; Sat, 26 Feb 2022 10:54:19 -0500 Received: from kurosawa.casa.net ([94.39.220.187]) by Aruba Outgoing Smtp with ESMTPSA id NzOdn590pvHpTNzOdnL7X0; Sat, 26 Feb 2022 16:54:11 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1645890851; bh=kGWRe5egLpQhSqWTLw4islRj+TfjSLhrG66o9LzwgtI=; h=Date:From:To:Subject:MIME-Version:Content-Type; b=SVsZ6GOpCPt3oty555ZPR0pkBfFYL9u59EJLGfaYO7knq935YQxcsh2qpx5cyYOoX 6v+hrUaIVTnTW+1lQk+Q/8UH9JTZdQzWYos9JPUwhlaOaWqoYe6pLJa8vxvoXYLA/B sBCoEjlpks7NSkNSEmYukVHU4qjCCYArBmWBfYeFrTY8OZjZv4gkkQIWoT7tg7cpey jqdWPMGiRMiGNCIGOTLSLTWD+o8CJbAaiBRmPctFHMbVtxYJ8bOA9fnv+9Wl8OLfWV 0RIfaSto+Y3hp7S4I71ESctGyVyT3uypjzjw50QhIcnzoOa1q+OM9WgM6nuI3iTWsk Q99VFllsywjOQ== Received: by kurosawa.casa.net (Postfix, from userid 1000) id DE11A18402FC; Sat, 26 Feb 2022 16:53:57 +0100 (CET) Date: Sat, 26 Feb 2022 16:53:57 +0100 From: cage Message-ID: References: <875yp4lw7c.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <875yp4lw7c.fsf@gmail.com> X-CMAE-Envelope: MS4wfPI/kJfMuNUkK55wnOed78CKtTNJxgc4IGZ8ceP4wkhuvepgPXpoYQ9PMakfIMzWtZi5nxUaT+2Pic76NimMU96lOIc8kI2sJu5H0Qxpgxqt8v6wgctc yXM7kuTb5F1pxqVdpp/m3YFZloDbpkYe7tObkGuTzcW0GLaviP6quOdublgDih6Jj1HRnxnRbm18aVA4jeBuE7iHLvzRVYy/1OJS1bCDRBhdcFA6Jq5S76/t ORfQj6RemIIqEwreRvCRtQ== X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Wed, Feb 23, 2022 at 11:33:59PM -0500, Maxim Cournoyer wrote: Hi! Thanks for your feedback! [...] > The rest looks good to me, well done! > Could you send an update with changes along these lines? Here is my best attempt to fix the definition form following your advice; i have enabled the 'check' phase and removed the backtick notation. I was not able to update the call to 'invoke', because -honestly- i was not able to wrap my head around g-expr. I hope the results are acceptable by the way! :) Bye and thanks again! C. --- gnu/packages/networking.scm | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 11f1cad007..49776fd666 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -48,6 +48,7 @@ ;;; Copyright © 2021 Guillaume Le Vaillant ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2022 Simon South +;;; Copyright © 2022 cage ;;; ;;; This file is part of GNU Guix. ;;; @@ -4196,3 +4197,40 @@ (define-public putty implementations.") (home-page "https://www.chiark.greenend.org.uk/~sgtatham/putty/") (license license:expat))) + +(define-public gmid + (package + (name "gmid") + (version "1.7.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/omar-polo/gmid/releases/download/" + version "/gmid-" version ".tar.gz")) + (sha256 + (base32 "0ag5zcwnr5vmy13bc9c36hnv9pflks68b0k6w0ng97inrm37klis")))) + (build-system gnu-build-system) + (arguments + (list #:test-target "regress" + #:phases + #~(modify-phases %standard-phases + (replace 'configure + ;; The configure script is hand-written, not from GNU autotools. + (lambda* (#:key configure-flags inputs outputs #:allow-other-keys) + (let ((prefix (string-append "PREFIX=" (assoc-ref outputs "out")))) + (setenv "CC" #$(cc-for-target)) + (apply invoke "./configure" (list prefix)))))))) + (native-inputs + (list pkg-config + bison + flex + coreutils + which + procps)) + (inputs + (list libevent + libressl)) + (home-page "https://git.omarpolo.com/gmid/about/") + (synopsis "Simple and secure Gemini server") + (description "Gmid is a fast Gemini server written with security in mind.") + (license license:x11))) -- 2.34.0 From unknown Thu Jun 19 14:31:09 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: cage Subject: bug#49929: closed (Re: bug#49929: [PATCH] gnu: Add gmid.) Message-ID: References: <87h78kvrp1.fsf@gmail.com> X-Gnu-PR-Message: they-closed 49929 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 49929@debbugs.gnu.org Date: Sun, 27 Feb 2022 04:51:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1645937461-31188-1" This is a multi-part message in MIME format... ------------=_1645937461-31188-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #49929: [PATCH] gnu: Add gmid. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 49929@debbugs.gnu.org. --=20 49929: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D49929 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1645937461-31188-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 49929-done) by debbugs.gnu.org; 27 Feb 2022 04:50:34 +0000 Received: from localhost ([127.0.0.1]:56676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOBVs-00085q-5Q for submit@debbugs.gnu.org; Sat, 26 Feb 2022 23:50:34 -0500 Received: from mail-qk1-f171.google.com ([209.85.222.171]:42825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOBVq-00085Z-55 for 49929-done@debbugs.gnu.org; Sat, 26 Feb 2022 23:50:27 -0500 Received: by mail-qk1-f171.google.com with SMTP id b20so587694qkn.9 for <49929-done@debbugs.gnu.org>; Sat, 26 Feb 2022 20:50:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=RUd0AmwN7lMSgD4TJve3cbL7HcR/M9oNoLMsBmKm3pE=; b=Qi2WVplx9nG6S9o9OBs4hHJ1DI5hINLJiGqjbHBIZp1yhnCAg/mdEh+rFutZ0zhuUo kAQEVcclK81AWiRIUG/NspYJh3WwLs6fnHXioOxNY2aFRk2O1/Psz3sKQOra+1CwPVfh johcHGMzO7dKUI5q0pw1o/3QLxkBjHAszDE8ObXYp34oEQZGH7zzE5j/gvyBrd6MRP1h fKYV7Zm9m+bFjcQJ/iBameCvnTZny4g8IvG5d8AaBoItx1SNAhn5RUj+606FBKaW16iW yjTV0N2TC3vjXZb/3Ky0DhbP2IahglOi/MNlozbbsOSAyl1RHNYDWOIfA1N4RPEtRZCN hXNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=RUd0AmwN7lMSgD4TJve3cbL7HcR/M9oNoLMsBmKm3pE=; b=mGHm39aLBI6HGYW9+IffrCSDLEPSraRdpDHV/xQrdEExz/cffZfnTFacPEFfP51ICW pd6gLKeumRR9R3SJSah6i4kEEcnNymvr1YUZdneZL+MV26Z3BJR0rEFIEKy3AxY8cM2k Dr3nV9Yg/YHO2+i8gTRdyn9VuX1VzteHev/5vlE6jzuzkd2E7hAcjRE6UZkHdZxFJopN fDYEvZROf/d79VhTqAvyfnQAW+oiChFYY4NCSAXmC6s8m55k81kdWBf/QgLMoy7mWW+L YdjQOxF7jpLWvs9VkNqjp84VXIkiQWkWEBLEWLTl7h8kVZaOweYMLOT1h+/sDGts9VAn bADA== X-Gm-Message-State: AOAM5301g0rzxRtfA8WonhFBygAbXsjnmjkNNkppfs2gj4aRKTAJellU C08SE1jQb6UmyA/uYDUyZ3oUAcQiAEKBlA== X-Google-Smtp-Source: ABdhPJwY7JCKfqOO0nZxmDfZLp2nYGY6kZJNjrgr/7RgBxicqevODxVdS5aLScM1hC5XdRcyEln17A== X-Received: by 2002:a05:620a:f0e:b0:507:d59b:a928 with SMTP id v14-20020a05620a0f0e00b00507d59ba928mr8307396qkl.617.1645937420182; Sat, 26 Feb 2022 20:50:20 -0800 (PST) Received: from hurd (dsl-149-67.b2b2c.ca. [66.158.149.67]) by smtp.gmail.com with ESMTPSA id 20-20020ac84e94000000b002de8f564305sm4731089qtp.1.2022.02.26.20.50.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Feb 2022 20:50:19 -0800 (PST) From: Maxim Cournoyer To: cage Subject: Re: bug#49929: [PATCH] gnu: Add gmid. References: <875yp4lw7c.fsf@gmail.com> Date: Sat, 26 Feb 2022 23:50:18 -0500 In-Reply-To: (cage's message of "Sat, 26 Feb 2022 16:53:57 +0100") Message-ID: <87h78kvrp1.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello! cage writes: > On Wed, Feb 23, 2022 at 11:33:59PM -0500, Maxim Cournoyer wrote: > > Hi! > > Thanks for your feedback! > > [...] > >> The rest looks good to me, well done! >> Could you send an update with changes a [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.222.171 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (maxim.cournoyer[at]gmail.com) -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.222.171 listed in wl.mailspike.net] 1.5 FROM_FMBLA_NEWDOM From domain was registered in last 7 days -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 49929-done Cc: 49929-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) Hello! cage writes: > On Wed, Feb 23, 2022 at 11:33:59PM -0500, Maxim Cournoyer wrote: > > Hi! > > Thanks for your feedback! > > [...] > >> The rest looks good to me, well done! >> Could you send an update with changes along these lines? > > Here is my best attempt to fix the definition form following your > advice; i have enabled the 'check' phase and removed the backtick > notation. I was not able to update the call to 'invoke', because > -honestly- i was not able to wrap my head around g-expr. I hope the > results are acceptable by the way! :) Thank, that's much nicer with the test suite! I moved the package to (gnu packages web), updated it to 1.8.1 (per 'guix lint' recommendation), ordered the inputs, simplified the phase a bit and enumerated some of the supported features in the description. I also fixed the license, which is ISC rather than X11 (see https://directory.fsf.org/wiki/License:ISC). Pushed as 7eb68770efb33c1444f0ba1654334cfe19b3f5c6. Closing; thank you! Maxim > Bye and thanks again! > C. > > --- > gnu/packages/networking.scm | 38 +++++++++++++++++++++++++++++++++++++ > 1 file changed, 38 insertions(+) > > diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm > index 11f1cad007..49776fd666 100644 > --- a/gnu/packages/networking.scm > +++ b/gnu/packages/networking.scm > @@ -48,6 +48,7 @@ > ;;; Copyright =C2=A9 2021 Guillaume Le Vaillant > ;;; Copyright =C2=A9 2021 Maxime Devos > ;;; Copyright =C2=A9 2022 Simon South > +;;; Copyright =C2=A9 2022 cage > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -4196,3 +4197,40 @@ (define-public putty > implementations.") > (home-page "https://www.chiark.greenend.org.uk/~sgtatham/putty/") > (license license:expat))) > + > +(define-public gmid > + (package > + (name "gmid") > + (version "1.7.2") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://github.com/omar-polo/gmid/releases/d= ownload/" > + version "/gmid-" version ".tar.gz")) > + (sha256 > + (base32 "0ag5zcwnr5vmy13bc9c36hnv9pflks68b0k6w0ng97inrm37klis"))= )) > + (build-system gnu-build-system) > + (arguments > + (list #:test-target "regress" > + #:phases > + #~(modify-phases %standard-phases > + (replace 'configure > + ;; The configure script is hand-written, not from GNU a= utotools. > + (lambda* (#:key configure-flags inputs outputs #:allow-= other-keys) > + (let ((prefix (string-append "PREFIX=3D" (assoc-ref o= utputs "out")))) > + (setenv "CC" #$(cc-for-target)) > + (apply invoke "./configure" (list prefix)))))))) > + (native-inputs > + (list pkg-config > + bison > + flex > + coreutils > + which > + procps)) > + (inputs > + (list libevent > + libressl)) > + (home-page "https://git.omarpolo.com/gmid/about/") > + (synopsis "Simple and secure Gemini server") > + (description "Gmid is a fast Gemini server written with security in = mind.") > + (license license:x11))) > -- > 2.34.0 ------------=_1645937461-31188-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Aug 2021 18:23:57 +0000 Received: from localhost ([127.0.0.1]:53130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCQz9-0004X8-Dv for submit@debbugs.gnu.org; Sat, 07 Aug 2021 14:23:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:34414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mCQz5-0004Wy-Vp for submit@debbugs.gnu.org; Sat, 07 Aug 2021 14:23:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCQz5-0003If-Cz for guix-patches@gnu.org; Sat, 07 Aug 2021 14:23:47 -0400 Received: from smtpweb147.aruba.it ([62.149.158.147]:42274) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCQz3-0000kw-04 for guix-patches@gnu.org; Sat, 07 Aug 2021 14:23:47 -0400 Received: from kurosawa.casa.net ([78.15.36.212]) by Aruba Outgoing Smtp with ESMTPSA id CQyxmDcjya4UMCQyymq8tv; Sat, 07 Aug 2021 20:23:40 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1628360620; bh=v6eUGFZp+1kac3FHPEDP7T/VhoQUTj+iTZlRFx/uEkk=; h=Date:From:To:Subject:MIME-Version:Content-Type; b=VJhmFzoP2U26SLMeY4PXG5m1MUTP46UtIgZzAq3VOBan1K8ZKN6Kcd0l0l8OPyKM0 nP3PTHHSBJf59Zy77Lot0dDMyj4yOdMo7sQnQ+CrUhnGSYXb+CmyyYw6p9EFnN3GXa paVQDtcV21IvusUyH15RsHodUqo0G0ns0dVLRNCYc93OWe7LG6QiuHn0oQiNaxhKOa DkWUHliwzvrPhddMAk6uCWt6jKRkGUguI2CrPKyvIemLklz150qA74ccedKBVxam1y /pqLrPgkmkE/fGmD4K4A9OP+qBGYFLJRbmLKwp8TQ4fTFUb5H9Wuh1ue3MLhSlVtnf AMPv4UJfaFYHg== Received: by kurosawa.casa.net (Postfix, from userid 1000) id E0D2D1840202; Sat, 7 Aug 2021 20:23:14 +0200 (CEST) Date: Sat, 7 Aug 2021 20:23:14 +0200 From: cage To: guix-patches@gnu.org Subject: [PATCH] gnu: Add gmid. Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfIyq39ZsGvCsoV06vHvuXiPcSe286+4HTFt9qLscmawCuBhWeWwjCbtCfuN01OyRnkZEYTlnRhKjorNyojQ38WH06f4iRT0q4WTq6MBo6HxfnJGi/vxy iT998odW/N1gop4moueP4uIknjUdyuE5h2h41cB9px1Y1+Tmn7j9kbr40vpYT0twSFW31nlVdnssHw== Received-SPF: none client-ip=62.149.158.147; envelope-from=cage-dev@twistfold.it; helo=smtpweb147.aruba.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --- gnu/packages/networking.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 05fd092b23..0ea07f0f15 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -44,6 +44,7 @@ ;;; Copyright © 2021 Hartmut Goebel ;;; Copyright © 2021 Justin Veilleux ;;; Copyright © 2021 Vinicius Monego +;;; Copyright © 2021 cage ;;; ;;; This file is part of GNU Guix. ;;; @@ -4177,3 +4178,38 @@ public key authentication and Kerberos single-sign-on. It also includes command-line @acronym{SFTP} and @acronym{SCP} implementations.") (home-page "https://www.chiark.greenend.org.uk/~sgtatham/putty/") (license license:expat))) + +(define-public gmid + (package + (name "gmid") + (version "1.7.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/omar-polo/gmid/releases/download/" + version "/gmid-" version ".tar.gz")) + (sha256 + (base32 "0ag5zcwnr5vmy13bc9c36hnv9pflks68b0k6w0ng97inrm37klis")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ;no tests + #:phases + (modify-phases %standard-phases + (replace 'configure + ;; The configure script is hand-written, not from GNU autotools. + (lambda* (#:key configure-flags inputs outputs #:allow-other-keys) + (let ((prefix (string-append "PREFIX=" (assoc-ref outputs "out")))) + (setenv "CC" ,(cc-for-target)) + (apply invoke "./configure" (list prefix)) + #t)))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("bison" ,bison) + ("flex" ,flex))) + (inputs + `(("libevent" ,libevent) + ("libressl" ,libressl))) + (home-page "https://git.omarpolo.com/gmid/about/") + (synopsis "Simple and secure Gemini server") + (description "Gmid is a fast Gemini server written with security in mind.") + (license license:x11))) -- 2.32.0 ------------=_1645937461-31188-1-- From unknown Thu Jun 19 14:31:09 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#49929] [PATCH] gnu: Add gmid. Resent-From: cage Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Feb 2022 12:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49929 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 49929-done@debbugs.gnu.org, cage Received: via spool by 49929-done@debbugs.gnu.org id=D49929.164596361615042 (code D ref 49929); Sun, 27 Feb 2022 12:07:01 +0000 Received: (at 49929-done) by debbugs.gnu.org; 27 Feb 2022 12:06:56 +0000 Received: from localhost ([127.0.0.1]:56958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOIKG-0003uY-2w for submit@debbugs.gnu.org; Sun, 27 Feb 2022 07:06:56 -0500 Received: from smtpcmd0757.aruba.it ([62.149.156.57]:50684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOIKE-0003uH-8Y for 49929-done@debbugs.gnu.org; Sun, 27 Feb 2022 07:06:55 -0500 Received: from kurosawa.casa.net ([94.39.220.187]) by Aruba Outgoing Smtp with ESMTPSA id OIK6noFlb4NL9OIK6n4rAU; Sun, 27 Feb 2022 13:06:46 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1645963606; bh=Q1p7BgH289zuxYmasoSdmtyN2JxpY922Pmio/zVlnLU=; h=Date:From:To:Subject:MIME-Version:Content-Type; b=V4WTSuIElm6Tj+eni+ulhwj4nlWrNVTU2Fj+/qzE1zlf0dEzewjcugke1sFsiYFQu GNXsC7l08XCYCY1T21yZQCKB/Z+ySI9i242rxavrQXyoBDPz+4jiYl6RY64I6ST2AW nWUoEzSPtowRa8WSaN3UTi/1DdZHjDED+/2z6SqxA/qycn5oXAyinzP5bw/7oWOsp8 jpBmtaxAFfqSqO+Ne96oHtnZ+W8hC2Q2SsjTobnWdy7uQjyu5UC6iwN2VQ1UqJ/6Rq qaO6plh4dzXPcdbFgmGnY8bP1HcBlXI/tRSGkrsde/5qbzbDZqOlVkg/hvxFRmv5tJ szQ5dxEzWKG5w== Received: by kurosawa.casa.net (Postfix, from userid 1000) id 0915C1840358; Sun, 27 Feb 2022 13:06:32 +0100 (CET) Date: Sun, 27 Feb 2022 13:06:32 +0100 From: cage Message-ID: References: <875yp4lw7c.fsf@gmail.com> <87h78kvrp1.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87h78kvrp1.fsf@gmail.com> X-CMAE-Envelope: MS4wfCw+CXIwUloNsBTsCtiIonlcXFfwHm72+kg/9/In7rK5fH0xOcqdax52ezn5O2uJ/5h9p/P73PW8dFy0P6I5a6aR51VmmOEjQ93Nem38tSC4iuOYTovB 9sh5WFFxpZ/6N4geaf/96K3rNx479NqvI0F/nMOny1w4PUAHNs4QyuHs99zI74PeXrfDpEZ31kviCiyFih05j670U+4+AuWE6kzTW+Llk8tGdiKdwvL9mMpM 745FRTxxnOOcZfoluKQODg== X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sat, Feb 26, 2022 at 11:50:18PM -0500, Maxim Cournoyer wrote: > Hello! Hi!! [...] > > Here is my best attempt to fix the definition form following your > > advice; [...] > Thank, that's much nicer with the test suite! The upstream developer has spent a lot of time writing a proper test suite, was a pity if was left unused. :) [...] > Closing; thank you! Thanks to you for your suggestions and improving the patch! Also i was able to fix the package's test phase only with the help of people from the IRC channel, thanks to they all! I am going to track the development upstream and upgrade this definition form in the future. Bye! C.