From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 18 18:02:15 2022 Received: (at submit) by debbugs.gnu.org; 18 Dec 2022 23:02:15 +0000 Received: from localhost ([127.0.0.1]:36406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p72fe-00008a-QH for submit@debbugs.gnu.org; Sun, 18 Dec 2022 18:02:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:48208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p72fc-00008U-3v for submit@debbugs.gnu.org; Sun, 18 Dec 2022 18:02:13 -0500 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 1p72fb-0004i1-US for guix-patches@gnu.org; Sun, 18 Dec 2022 18:02:11 -0500 Received: from smtpm5.myservices.hosting ([185.26.105.236]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p72fZ-0004Cz-Sz for guix-patches@gnu.org; Sun, 18 Dec 2022 18:02:11 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.172]) by smtpm5.myservices.hosting (Postfix) with ESMTP id 34D5F20BEF for ; Mon, 19 Dec 2022 00:01:56 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id E2B298009E; Mon, 19 Dec 2022 00:01:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-1.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Do6CanGs4Ezh; Mon, 19 Dec 2022 00:01:55 +0100 (CET) Received: from guix-nuc.home.arpa (bl12-93-156.dsl.telepac.pt [85.245.93.156]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id B9B378009D; Mon, 19 Dec 2022 00:01:54 +0100 (CET) From: mirai@makinata.eu To: guix-patches@gnu.org Subject: [PATCH] gnu: Add nginx-module-vts. Date: Sun, 18 Dec 2022 23:01:41 +0000 Message-Id: X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.105.236; envelope-from=mirai@makinata.eu; helo=smtpm5.myservices.hosting 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Bruno Victal 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.3 (--) From: Bruno Victal Depends on nginx http_stub_status_module. * gnu/packages/web.scm (nginx-module-vts): New variable. (nginx)[arguments]: Add "--with-http_stub_status_module" to #:configure-flags. --- gnu/packages/web.scm | 53 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index dcb7b3872a..2ad53c7627 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -59,6 +59,7 @@ ;;; Copyright © 2022 Pradana Aumars ;;; Copyright © 2022 Petr Hodina ;;; Copyright © 2022 jgart +;;; Copyright © 2022 Bruno Victal ;;; ;;; This file is part of GNU Guix. ;;; @@ -410,6 +411,7 @@ (define-public nginx "--with-debug" "--with-stream" "--with-stream_ssl_module" + "--with-http_stub_status_module" ;; Even when not cross-building, we pass the ;; --crossbuild option to avoid customizing for the ;; kernel version on the build machine. @@ -834,6 +836,57 @@ (define-public nginx-rtmp-module stream. Remote control of the module is possible over HTTP.") (license license:bsd-2))) +(define-public nginx-module-vts + (package + (inherit nginx) + (name "nginx-module-vts") + (version "0.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vozlt/nginx-module-vts") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "017298vpp1ra16xyfdbsczdrz0b0y67x6adkzcc98y6gb3kg52n7")))) + (build-system gnu-build-system) + (inputs + `(("nginx-sources" ,(package-source nginx)) + ,@(package-inputs nginx))) + (arguments + (substitute-keyword-arguments + `(#:make-flags '("modules") ;Only build this module not all of nginx. + ,@(package-arguments nginx)) + ((#:configure-flags flags) + #~(cons "--add-dynamic-module=." #$flags)) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'unpack 'unpack-nginx-sources + (lambda _ + (begin + ;; The nginx source code is part of the module’s source. + (format #t "decompressing nginx source code~%") + (invoke "tar" "xvf" #$(this-package-input "nginx-sources") + ;; This package's LICENSE file would be + ;; overwritten with the one from nginx when + ;; unpacking the nginx source, so rename the nginx + ;; one when unpacking. + "--transform=s,/LICENSE$,/LICENSE.nginx," + "--strip-components=1")))) + (replace 'install + (lambda _ + (let ((modules-dir (string-append #$output + "/etc/nginx/modules"))) + (install-file "objs/ngx_http_vhost_traffic_status_module.so" modules-dir)))) + (delete 'fix-root-dirs) + (delete 'install-man-page))))) + (home-page "https://github.com/vozlt/nginx-module-vts") + (synopsis "NGINX module for monitoring virtual host traffic status") + (description "This NGINX module provides access to virtual host status information, +similar to live activity monitoring provided with NGINX plus.") + (license license:bsd-2))) + (define-public lighttpd (package (name "lighttpd") base-commit: d083809c8048a64f71a40f0657c217c9dd230428 -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 26 04:54:01 2023 Received: (at 60184-done) by debbugs.gnu.org; 26 Jan 2023 09:54:01 +0000 Received: from localhost ([127.0.0.1]:60754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKyxE-00037l-Qg for submit@debbugs.gnu.org; Thu, 26 Jan 2023 04:54:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKyxB-00037V-MK for 60184-done@debbugs.gnu.org; Thu, 26 Jan 2023 04:53:58 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKyx5-0006jT-Du; Thu, 26 Jan 2023 04:53:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=DYAr9a3CL4oYAcSSPpZ9Nqs99JbhY7vCtgYnyRfnnnY=; b=b0iAETInVUg5jUGrMtQm UQKZS4RYz67FF2CjtgH2jDsTZ5PXlpWgScsLePOocPjGW8qVlZLVmk4Ru1GWEUtLn9lzd1hn97W7u DcBy0+3y8yDGjI5/KmnGvZRYT4iqg/4PJWFpR7dBmPMmrhP+gXf3BB3PJYqzD16Zux6CbAldsRqON WvRoHrW8wIZ8INcGk1cQmJBIWtOmgNzT8g0YXDIFXKmQnPYS8mMHs8k/mxb0ZdHfhTatUHx+AC5oe nlQuASocPjtiygKnudsSqF20ve1WBL93PGT8V5na29A5ZSwPU3DvyHtvHtHR9mRsSPae8KYiaU4UZ aAmr19EL1f2Yzg==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKywt-0002I5-BY; Thu, 26 Jan 2023 04:53:40 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: mirai@makinata.eu Subject: Re: bug#60184: [PATCH] gnu: Add nginx-module-vts. References: Date: Thu, 26 Jan 2023 10:53:38 +0100 In-Reply-To: (mirai@makinata.eu's message of "Sun, 18 Dec 2022 23:01:41 +0000") Message-ID: <87cz71r599.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 60184-done Cc: 60184-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: -3.3 (---) mirai@makinata.eu skribis: > From: Bruno Victal > > Depends on nginx http_stub_status_module. > > * gnu/packages/web.scm (nginx-module-vts): New variable. > (nginx)[arguments]: Add "--with-http_stub_status_module" to #:configure-f= lags. Applied, thanks! Ludo=E2=80=99. From unknown Fri Aug 15 21:23:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 23 Feb 2023 12:24:12 +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