From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 03 06:27:49 2020 Received: (at submit) by debbugs.gnu.org; 3 Jan 2020 11:27:49 +0000 Received: from localhost ([127.0.0.1]:40452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inL7I-0005fQ-RS for submit@debbugs.gnu.org; Fri, 03 Jan 2020 06:27:49 -0500 Received: from lists.gnu.org ([209.51.188.17]:40906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inL7H-0005fI-1y for submit@debbugs.gnu.org; Fri, 03 Jan 2020 06:27:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40106) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inL7F-0004Sd-K9 for guix-patches@gnu.org; Fri, 03 Jan 2020 06:27:42 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inL7E-00038z-5M for guix-patches@gnu.org; Fri, 03 Jan 2020 06:27:41 -0500 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:53401) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1inL7D-00033k-T5 for guix-patches@gnu.org; Fri, 03 Jan 2020 06:27:40 -0500 Received: by mail-wm1-x341.google.com with SMTP id m24so8102341wmc.3 for ; Fri, 03 Jan 2020 03:27:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=alpvfjEhSbJLsgQvH4XzTUROHesZx9Oz/RXNGYyjteY=; b=tyxERJMvAn3LkW+A7DaiMreKDoRc2AuKiTlt6L2kgsezYjFblFr/UNpFiF2mNlAni+ p2tZzp0K2fmC38HjGYi+zUPwZXz20g0bLGwde+YmqKcKYcIDgDCqo44Og+X83YXH/a+F /wRJyuwrqB+WW6O/SrD86KdLIZ4BlpX951lBCFrOa0geGQvuF3SDADxxA1m1Snc+mWJZ 8c00BzUFRIYti3IkVlqfMuhHT7K/9XXGppM+2baPKEDUh96LBaKxxl3B++uwJyyZwwm6 UUorpbLE8GP+3w6j8lf3aq3ZZ1S5JjGORlz35THzaLipYtCIDrFgdg/6M0Cp3aT636sk 58tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=alpvfjEhSbJLsgQvH4XzTUROHesZx9Oz/RXNGYyjteY=; b=ZHbd/7r+6xtH1YRxUqJSFsrl5mi71kIk0y3FcUWxS5QvFlwGs1BIFLMEReoCN0bL8D CFieUYqzOTVVxjC1ifuETRh6IXZg8BYm5IyX22pJ3LDLQSmatU58A6fCrLvJx6UFHnZf Ko85fME5i5l/P2XadGvMcHI9z/3bCHB3pd8sM+L8bHWFE0r+VDvi1CHQpA8suN2+zUrn nLujtbWKRIZf7/ATmqo/qfCh4gWVQdz6TzlhTYilpF6AJ/3Bxtf2LsGnWWSTAZ+oeQp0 Er0RUTHe93xhIJlEn6tNNRSRnNuIxjHsMhO+YlGkZ3jX49oBOgRiZVtKfAJnBKEX7yky rpEQ== X-Gm-Message-State: APjAAAWTXX59b+teWhQQMCcIzEYjnKV8xMbFOEukLb6tASYSt6nG9/sP yY4BYLS9QHcvp+xcBc1SDWrPM5c0DRc= X-Google-Smtp-Source: APXvYqxDnny1Tb69CEiAyL3vm+GNLq59w6rN4dFR6a80MFAzRB69Ac0BYLbaIyRjm2MqebKe0K3r7w== X-Received: by 2002:a7b:cb86:: with SMTP id m6mr19089140wmi.51.1578050858502; Fri, 03 Jan 2020 03:27:38 -0800 (PST) Received: from localhost.localdomain ([86.107.75.45]) by smtp.gmail.com with ESMTPSA id n8sm60434049wrx.42.2020.01.03.03.27.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jan 2020 03:27:38 -0800 (PST) From: Alexandru-Sergiu Marton X-Google-Original-From: Alexandru-Sergiu Marton To: guix-patches@gnu.org Subject: [PATCH] gnu: Add ghc-http-reverse-proxy. Date: Fri, 3 Jan 2020 13:28:00 +0200 Message-Id: <20200103112800.18791-1-brown121407@member.fsf.org> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::341 X-Spam-Score: 3.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: * gnu/packages/haskell-web.scm (ghc-http-reverse-proxy): New variable. --- gnu/packages/haskell-web.scm | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 5888e8542e..f0dd72cdcf 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -7,6 +7,7 @@ ;;; C [...] Content analysis details: (3.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: haskell.org] 2.6 RCVD_IN_SBL RBL: Received via a relay in Spamhaus SBL [86.107.75.45 listed in zen.spamhaus.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (brown121407[at]gmail.com) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (brown121407[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 2.0 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: submit Cc: Alexandru-Sergiu Marton 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: 2.8 (++) 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: * gnu/packages/haskell-web.scm (ghc-http-reverse-proxy): New variable. --- gnu/packages/haskell-web.scm | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 5888e8542e..f0dd72cdcf 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -7,6 +7,7 @@ ;;; C [...] Content analysis details: (2.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: haskell.org] 2.6 RCVD_IN_SBL RBL: Received via a relay in Spamhaus SBL [86.107.75.45 listed in zen.spamhaus.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (brown121407[at]gmail.com) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (brown121407[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * gnu/packages/haskell-web.scm (ghc-http-reverse-proxy): New variable. --- gnu/packages/haskell-web.scm | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 5888e8542e..f0dd72cdcf 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2017 Tobias Geerinckx-Rice ;;; Copyright © 2019 Robert Vollmert ;;; Copyright © 2019 John Soo +;;; Copyright © 2020 Alexandru-Sergiu Marton ;;; ;;; This file is part of GNU Guix. ;;; @@ -377,6 +378,48 @@ contents of the HTTP connection. It also provides higher-level functions which allow you to avoid direct usage of conduits.") (license license:bsd-3))) +(define-public ghc-http-reverse-proxy + (package + (name "ghc-http-reverse-proxy") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/http-reverse-proxy/" + "http-reverse-proxy-" version ".tar.gz")) + (sha256 + (base32 + "1a6i5njf85b2lhg8m83njagcf09wih5q2irnyb2890s724qr277v")))) + (build-system haskell-build-system) + (inputs + `(("ghc-case-insensitive" ,ghc-case-insensitive) + ("ghc-http-types" ,ghc-http-types) + ("ghc-word8" ,ghc-word8) + ("ghc-blaze-builder" ,ghc-blaze-builder) + ("ghc-http-client" ,ghc-http-client) + ("ghc-wai" ,ghc-wai) + ("ghc-network" ,ghc-network) + ("ghc-conduit" ,ghc-conduit) + ("ghc-conduit-extra" ,ghc-conduit-extra) + ("ghc-wai-logger" ,ghc-wai-logger) + ("ghc-resourcet" ,ghc-resourcet) + ("ghc-unliftio" ,ghc-unliftio) + ("ghc-streaming-commons" ,ghc-streaming-commons))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-warp" ,ghc-warp) + ("ghc-http-conduit" ,ghc-http-conduit))) + (home-page + "https://github.com/fpco/http-reverse-proxy") + (synopsis + "Reverse proxy HTTP requests, either over raw sockets or with WAI") + (description + "Provides a simple means of reverse-proxying HTTP requests. The raw +approach uses the same technique as leveraged by keter, whereas the WAI +approach performs full request/response parsing via WAI and http-conduit.") + (license license:bsd-3))) + (define-public ghc-wai (package (name "ghc-wai") -- 2.24.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 03 23:29:09 2020 Received: (at 38891) by debbugs.gnu.org; 4 Jan 2020 04:29:09 +0000 Received: from localhost ([127.0.0.1]:42338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inb3g-0000vf-To for submit@debbugs.gnu.org; Fri, 03 Jan 2020 23:29:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inb3a-0000ux-4P for 38891@debbugs.gnu.org; Fri, 03 Jan 2020 23:29:02 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47267) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1inb3U-00044L-Ux; Fri, 03 Jan 2020 23:28:53 -0500 Received: from [2605:6000:1a0d:4c95::3d] (port=48868 helo=oryx) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1inb3U-00057C-8P; Fri, 03 Jan 2020 23:28:52 -0500 From: Brett Gilio To: Alexandru-Sergiu Marton Subject: Re: [bug#38891] [PATCH] gnu: Add ghc-http-reverse-proxy. References: <20200103112800.18791-1-brown121407@member.fsf.org> Date: Fri, 03 Jan 2020 22:29:03 -0600 In-Reply-To: <20200103112800.18791-1-brown121407@member.fsf.org> (Alexandru-Sergiu Marton's message of "Fri, 3 Jan 2020 13:28:00 +0200") Message-ID: <87mub3zvxs.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38891 Cc: Alexandru-Sergiu Marton , 38891@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: -3.3 (---) Alexandru-Sergiu Marton writes: > * gnu/packages/haskell-web.scm (ghc-http-reverse-proxy): New variable. > --- > gnu/packages/haskell-web.scm | 43 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 43 insertions(+) > > diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm > index 5888e8542e..f0dd72cdcf 100644 > --- a/gnu/packages/haskell-web.scm > +++ b/gnu/packages/haskell-web.scm > @@ -7,6 +7,7 @@ > ;;; Copyright =C2=A9 2017 Tobias Geerinckx-Rice > ;;; Copyright =C2=A9 2019 Robert Vollmert > ;;; Copyright =C2=A9 2019 John Soo > +;;; Copyright =C2=A9 2020 Alexandru-Sergiu Marton > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -377,6 +378,48 @@ contents of the HTTP connection. It also provides h= igher-level functions > which allow you to avoid direct usage of conduits.") > (license license:bsd-3))) >=20=20 > +(define-public ghc-http-reverse-proxy > + (package > + (name "ghc-http-reverse-proxy") > + (version "0.6.0") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "https://hackage.haskell.org/package/http-reverse-proxy/" > + "http-reverse-proxy-" version ".tar.gz")) > + (sha256 > + (base32 > + "1a6i5njf85b2lhg8m83njagcf09wih5q2irnyb2890s724qr277v")))) > + (build-system haskell-build-system) > + (inputs > + `(("ghc-case-insensitive" ,ghc-case-insensitive) > + ("ghc-http-types" ,ghc-http-types) > + ("ghc-word8" ,ghc-word8) > + ("ghc-blaze-builder" ,ghc-blaze-builder) > + ("ghc-http-client" ,ghc-http-client) > + ("ghc-wai" ,ghc-wai) > + ("ghc-network" ,ghc-network) > + ("ghc-conduit" ,ghc-conduit) > + ("ghc-conduit-extra" ,ghc-conduit-extra) > + ("ghc-wai-logger" ,ghc-wai-logger) > + ("ghc-resourcet" ,ghc-resourcet) > + ("ghc-unliftio" ,ghc-unliftio) > + ("ghc-streaming-commons" ,ghc-streaming-commons))) > + (native-inputs > + `(("ghc-hspec" ,ghc-hspec) > + ("ghc-warp" ,ghc-warp) > + ("ghc-http-conduit" ,ghc-http-conduit))) > + (home-page > + "https://github.com/fpco/http-reverse-proxy") > + (synopsis > + "Reverse proxy HTTP requests, either over raw sockets or with WAI") > + (description > + "Provides a simple means of reverse-proxying HTTP requests. The raw > +approach uses the same technique as leveraged by keter, whereas the WAI > +approach performs full request/response parsing via WAI and http-conduit= .") > + (license license:bsd-3))) > + > (define-public ghc-wai > (package > (name "ghc-wai") Hey again! Similarly with this one, we need to ensure that we are double spacing after each punctuation in the description. :) Thanks for dealing with our pickiness! --=20 Brett M. Gilio GNU Guix, Contributor | GNU Project, Webmaster [DFC0 C7F7 9EE6 0CA7 AE55 5E19 6722 43C4 A03F 0EEE] From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 04 03:51:59 2020 Received: (at 38891) by debbugs.gnu.org; 4 Jan 2020 08:51:59 +0000 Received: from localhost ([127.0.0.1]:42439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1infA3-0007hG-KW for submit@debbugs.gnu.org; Sat, 04 Jan 2020 03:51:59 -0500 Received: from mail-wm1-f48.google.com ([209.85.128.48]:38896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1infA0-0007h2-5H for 38891@debbugs.gnu.org; Sat, 04 Jan 2020 03:51:53 -0500 Received: by mail-wm1-f48.google.com with SMTP id u2so10481779wmc.3 for <38891@debbugs.gnu.org>; Sat, 04 Jan 2020 00:51:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fESrA8XQC+BPKAO8TrWLpdU5XiP0aoWhLZ+AxtnvAMM=; b=pUk3yMXc0aD/dZ0+NwFBFxcXbV91zNzIh4DZ3RXXI8fvQWhqMs6+TIzJizCc7Kbfvx y6Fn4P96N0z/bWCFIYPeOdUCbVlvwh4PgGJ06U3NPI2VtY7sBY4kFFxu5U2Fo51Udt26 nSFApvMSajyRtdlK75QPk9/+RLiD4Em3LYP0C6z94d2uOzQw/U9ypyUWyx6l/sDwANj4 JCIxrgTII/OfbJ9f05yCg7llerKKfrKphhioeEVyiS89nUO3xgpAt2xZltGB8aMopka4 Sp9dQT6iIKu3VoXz82dw1lAJ1/xokIsDb4JZ/M8k5adeZRKGibIWIi+01M8roOR1XchQ G1pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fESrA8XQC+BPKAO8TrWLpdU5XiP0aoWhLZ+AxtnvAMM=; b=bZlCGu4jCfW82IxoYZ//gt895AQUa839bXBEn5xymIzD92g9HKOS3MNZzbV1RQ6/XV r1wk2qrW/XjAYlUTx7d1X+Ud4GnoN7KMzgNAqxo7ATiNYKuwR4Rw/FW4OTBGb6vJrITk 067/j+mJCyRE54FwCML60WoIP6EuHEQVjCHMK07g9SELTX7tOggb/4bkrsgyVVJeMgaD cFmOejyOVKPIOxR/FsmTREGAJJbEG5S1WVrADHR9He2BtONgTZwhB1BtMPWAhviQAEun tb5sQOBzm4K2C58ZpnaXT2nqUTXu6fI8mejh8eRE2fPp2sLacNoHBUR9V1tVr7lyV5GY 2geA== X-Gm-Message-State: APjAAAWqtEV0VJxtG6p41zmhDkR3op96bvg6e1/uFCiambdvNOfmLtcw +R1Br03EyCGtVFI760azkTrmJynWunJlBw== X-Google-Smtp-Source: APXvYqyJCQcNCOF44scQYA/albSs7kc2kgWT+avt9Lx/krxwCH+ZoK06gpU+xgyc5s9QAMFE0vTCzg== X-Received: by 2002:a1c:3c89:: with SMTP id j131mr23882766wma.34.1578127905911; Sat, 04 Jan 2020 00:51:45 -0800 (PST) Received: from localhost.localdomain ([86.107.75.45]) by smtp.gmail.com with ESMTPSA id i11sm63811605wrs.10.2020.01.04.00.51.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Jan 2020 00:51:45 -0800 (PST) From: Alexandru-Sergiu Marton X-Google-Original-From: Alexandru-Sergiu Marton To: 38891@debbugs.gnu.org Subject: [PATCH v2] gnu: Add ghc-http-reverse-proxy. Date: Sat, 4 Jan 2020 10:52:06 +0200 Message-Id: <20200104085206.5425-1-brown121407@member.fsf.org> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.8 (++) 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: * gnu/packages/haskell-web.scm (ghc-http-reverse-proxy): New variable. --- Fix linter errors. gnu/packages/haskell-web.scm | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 5888e8542e..bf96ca88ca 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -7,6 +7,7 @@ ;;; C [...] Content analysis details: (2.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: vllmrt.net] 2.6 RCVD_IN_SBL RBL: Received via a relay in Spamhaus SBL [86.107.75.45 listed in zen.spamhaus.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (brown121407[at]gmail.com) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (brown121407[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.48 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.48 listed in list.dnswl.org] X-Debbugs-Envelope-To: 38891 Cc: Alexandru-Sergiu Marton 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.8 (+) 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: * gnu/packages/haskell-web.scm (ghc-http-reverse-proxy): New variable. --- Fix linter errors. gnu/packages/haskell-web.scm | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 5888e8542e..bf96ca88ca 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -7,6 +7,7 @@ ;;; C [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: tobias.gr] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.48 listed in list.dnswl.org] 2.6 RCVD_IN_SBL RBL: Received via a relay in Spamhaus SBL [86.107.75.45 listed in zen.spamhaus.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (brown121407[at]gmail.com) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (brown121407[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * gnu/packages/haskell-web.scm (ghc-http-reverse-proxy): New variable. --- Fix linter errors. gnu/packages/haskell-web.scm | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm index 5888e8542e..bf96ca88ca 100644 --- a/gnu/packages/haskell-web.scm +++ b/gnu/packages/haskell-web.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2017 Tobias Geerinckx-Rice ;;; Copyright © 2019 Robert Vollmert ;;; Copyright © 2019 John Soo +;;; Copyright © 2020 Alexandru-Sergiu Marton ;;; ;;; This file is part of GNU Guix. ;;; @@ -377,6 +378,48 @@ contents of the HTTP connection. It also provides higher-level functions which allow you to avoid direct usage of conduits.") (license license:bsd-3))) +(define-public ghc-http-reverse-proxy + (package + (name "ghc-http-reverse-proxy") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/http-reverse-proxy/" + "http-reverse-proxy-" version ".tar.gz")) + (sha256 + (base32 + "1a6i5njf85b2lhg8m83njagcf09wih5q2irnyb2890s724qr277v")))) + (build-system haskell-build-system) + (inputs + `(("ghc-case-insensitive" ,ghc-case-insensitive) + ("ghc-http-types" ,ghc-http-types) + ("ghc-word8" ,ghc-word8) + ("ghc-blaze-builder" ,ghc-blaze-builder) + ("ghc-http-client" ,ghc-http-client) + ("ghc-wai" ,ghc-wai) + ("ghc-network" ,ghc-network) + ("ghc-conduit" ,ghc-conduit) + ("ghc-conduit-extra" ,ghc-conduit-extra) + ("ghc-wai-logger" ,ghc-wai-logger) + ("ghc-resourcet" ,ghc-resourcet) + ("ghc-unliftio" ,ghc-unliftio) + ("ghc-streaming-commons" ,ghc-streaming-commons))) + (native-inputs + `(("ghc-hspec" ,ghc-hspec) + ("ghc-warp" ,ghc-warp) + ("ghc-http-conduit" ,ghc-http-conduit))) + (home-page + "https://github.com/fpco/http-reverse-proxy") + (synopsis + "Reverse proxy HTTP requests, either over raw sockets or with WAI") + (description + "Provides a simple means of reverse-proxying HTTP requests. The raw +approach uses the same technique as leveraged by keter, whereas the WAI +approach performs full request/response parsing via WAI and http-conduit.") + (license license:bsd-3))) + (define-public ghc-wai (package (name "ghc-wai") -- 2.24.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 20 15:34:27 2020 Received: (at 38891-done) by debbugs.gnu.org; 20 Nov 2020 20:34:27 +0000 Received: from localhost ([127.0.0.1]:44379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kgD6m-0005kB-Dg for submit@debbugs.gnu.org; Fri, 20 Nov 2020 15:34:27 -0500 Received: from mira.cbaines.net ([212.71.252.8]:37806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kgD6l-0005k3-3i for 38891-done@debbugs.gnu.org; Fri, 20 Nov 2020 15:34:15 -0500 Received: from localhost (188.30.135.14.threembb.co.uk [188.30.135.14]) by mira.cbaines.net (Postfix) with ESMTPSA id 242AA27BBF5; Fri, 20 Nov 2020 20:34:14 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 5c60ab6e; Fri, 20 Nov 2020 20:34:11 +0000 (UTC) References: <20200103112800.18791-1-brown121407@member.fsf.org> <20200104085206.5425-1-brown121407@member.fsf.org> User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Baines To: Alexandru-Sergiu Marton Subject: Re: [bug#38891] [PATCH v2] gnu: Add ghc-http-reverse-proxy. In-reply-to: <20200104085206.5425-1-brown121407@member.fsf.org> Date: Fri, 20 Nov 2020 20:34:09 +0000 Message-ID: <87mtzbkbsu.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 38891-done Cc: 38891-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: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Alexandru-Sergiu Marton writes: > * gnu/packages/haskell-web.scm (ghc-http-reverse-proxy): New variable. > --- > Fix linter errors. > > gnu/packages/haskell-web.scm | 43 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 43 insertions(+) > > diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm > index 5888e8542e..bf96ca88ca 100644 > --- a/gnu/packages/haskell-web.scm > +++ b/gnu/packages/haskell-web.scm > @@ -7,6 +7,7 @@ > ;;; Copyright =C2=A9 2017 Tobias Geerinckx-Rice > ;;; Copyright =C2=A9 2019 Robert Vollmert > ;;; Copyright =C2=A9 2019 John Soo > +;;; Copyright =C2=A9 2020 Alexandru-Sergiu Marton > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -377,6 +378,48 @@ contents of the HTTP connection. It also provides h= igher-level functions > which allow you to avoid direct usage of conduits.") > (license license:bsd-3))) >=20=20 > +(define-public ghc-http-reverse-proxy > + (package > + (name "ghc-http-reverse-proxy") > + (version "0.6.0") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "https://hackage.haskell.org/package/http-reverse-proxy/" > + "http-reverse-proxy-" version ".tar.gz")) > + (sha256 > + (base32 > + "1a6i5njf85b2lhg8m83njagcf09wih5q2irnyb2890s724qr277v")))) > + (build-system haskell-build-system) > + (inputs > + `(("ghc-case-insensitive" ,ghc-case-insensitive) > + ("ghc-http-types" ,ghc-http-types) > + ("ghc-word8" ,ghc-word8) > + ("ghc-blaze-builder" ,ghc-blaze-builder) > + ("ghc-http-client" ,ghc-http-client) > + ("ghc-wai" ,ghc-wai) > + ("ghc-network" ,ghc-network) > + ("ghc-conduit" ,ghc-conduit) > + ("ghc-conduit-extra" ,ghc-conduit-extra) > + ("ghc-wai-logger" ,ghc-wai-logger) > + ("ghc-resourcet" ,ghc-resourcet) > + ("ghc-unliftio" ,ghc-unliftio) > + ("ghc-streaming-commons" ,ghc-streaming-commons))) > + (native-inputs > + `(("ghc-hspec" ,ghc-hspec) > + ("ghc-warp" ,ghc-warp) > + ("ghc-http-conduit" ,ghc-http-conduit))) > + (home-page > + "https://github.com/fpco/http-reverse-proxy") > + (synopsis > + "Reverse proxy HTTP requests, either over raw sockets or with WAI") > + (description > + "Provides a simple means of reverse-proxying HTTP requests. The raw > +approach uses the same technique as leveraged by keter, whereas the WAI > +approach performs full request/response parsing via WAI and http-conduit= .") > + (license license:bsd-3))) > + > (define-public ghc-wai > (package > (name "ghc-wai") Looks good to me, sorry for the long delay! I've gone ahead and pushed to master as 7e5580bd81ca6586268fe49fcf4aec0153d160d4. Thanks, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl+4KEFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xe/eRAAsDt97oWOHzKI+qtUul89x9EsWHlP/iFQ vjhyeDScBERrrHC4UCrB4zNro8FeLqg69dpj8D5UuL9wDQZ+Z6tmrXwvxSIbZDqw cBw0JkAsLDNFIB6H4EZbGn32+oNuX21xax6DAPCBj3HbePt+2crLxbZGARdlMCkU n0QpPDWYv8XslTWL4eCf4t5TilBX8XpyJyNQi1PRW5OqmmioZAtwFWD6pelEhJsX FMmSoUA3KKKXqwTOpVOPqRD+KsvBWdG1pF8SFMspzG51UNGKSQTVbDt884LRjk7y ruFwdjbRPQy2f2BWasLTsFwWLZosZo11/Fv+Fo6IyKxzggpWjjfjxvuVjJMG4ADy zcEu+l+ute000WJx4sxAZ7/KG9mv5qT8E4xUm93i8WSxtk4/z2xJnAqWbfBNsQMR 88RSeRVHMHwizIEWyPxx9PFyBU83K1HX/lp31w5yzk5iACwy5cw0i8KE8KwUDA7z X1RtrUNYTn3mTnYVWo0hSXUhJH+TJKBgt9Kab6DiLxcBrhSW1Nri3ALPlq+bPifl bPD2is/MmdUENbOujNH0+SGZLMsE50nrIaLMX9om8gujNkMTojufyZ15a5KVyx07 hcFe8YpLXeejqkINdPu+M0CprEe1kO46eolHFcUk4+qWqphuoX7X6RTQKHZA8yA/ 04aXFaDHwGI= =G8rX -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Aug 18 14:24:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 19 Dec 2020 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator