From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cJE5AX9CeGDQFAEAgWs5BA (envelope-from ) for ; Thu, 15 Apr 2021 15:41:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +BK0Nn5CeGC5WwAA1q6Kng (envelope-from ) for ; Thu, 15 Apr 2021 13:41:18 +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 9F7572A7C5 for ; Thu, 15 Apr 2021 15:41:18 +0200 (CEST) Received: from localhost ([::1]:53806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lX2FB-00047v-Ea for larch@yhetil.org; Thu, 15 Apr 2021 09:41:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lX2Ex-00047i-Vg for guix-patches@gnu.org; Thu, 15 Apr 2021 09:41:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53560) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lX2Ew-0007lA-PZ for guix-patches@gnu.org; Thu, 15 Apr 2021 09:41:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lX2Ew-000105-Mj for guix-patches@gnu.org; Thu, 15 Apr 2021 09:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47798] [PATCH] gnu: Add collectl. Resent-From: Roel Janssen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Apr 2021 13:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47798 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47798@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16184940573821 (code B ref -1); Thu, 15 Apr 2021 13:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Apr 2021 13:40:57 +0000 Received: from localhost ([127.0.0.1]:36873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lX2Eq-0000zZ-IB for submit@debbugs.gnu.org; Thu, 15 Apr 2021 09:40:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:55408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lX2Eo-0000zR-BK for submit@debbugs.gnu.org; Thu, 15 Apr 2021 09:40:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lX2Eo-00047S-4O for guix-patches@gnu.org; Thu, 15 Apr 2021 09:40:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35977) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lX2En-0007jF-Ly for guix-patches@gnu.org; Thu, 15 Apr 2021 09:40:53 -0400 Received: from [143.121.198.253] (port=55800) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1lX2Em-00063e-Dd for guix-patches@gnu.org; Thu, 15 Apr 2021 09:40:52 -0400 From: Roel Janssen Message-ID: <4270400a-fcf1-aec6-3dd6-9dbccca03cc5@gnu.org> Date: Thu, 15 Apr 2021 15:40:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------476EE951E5011127CBD0EA47" Content-Language: en-US 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=1618494078; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=RxoUa5il4WrpVBeL2VFKwlj5qBksiVwrVIYsagJo/qg=; b=FS3KfB+wrRZ7BsD6oDxC10VyRQHlMsSBEh4zErk2YN7aORHmpaj9t9M513iP2Zkt6whoW2 iD8mcZ/Zv+AAk/Kl/WTzR+5+PIH4kZYihMFlGh1fkJat6Mq/xBF/lQcAz6yBKWoJ4CQVCk UfMvnV/xpp165VkxStdaOFCVfghUEd3LCq9QvVnWzhDilcOjwgrZBMAsuhoBe9Smq7f6Pt tVTXtdulk6CuL6Aw90bJXlbSM0sn0qW3/Z4De2oj3VKAPqCT8SP92U61oEsiMWpVqjBdX5 yjqiYTz0c2dfQS76eYczeP7qmR2WSf+o9a3yRBeYP/JsChLWjgNwlqi+qIpwsA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618494078; a=rsa-sha256; cv=none; b=cRydhHtnI7NEnA7wn/F55J+KGTTwk+B3dYI5eleu1i2HsanaI0CWoPBq6aNCKyqQbWOyzS GJ3ra90q5OdGI/eZP+PG9eusxTuibvnsUt9b2q6rET7EHVJCncIH6Sk5jGGcKknd2XmNpc w5Q7Mj4kRnmJL1sMqIjfSthoZWyweyhGi+F/3P0pP5Cd/qDWD1D4Y39SDAejm4/+NZzgw/ zVAN9I8LDfM2aOpKOgCPQtsKHgdCZWtcP7W4M/XNq6n/ZJdBXxEZB7yNakwdf9e58exlE1 ZkjJs67jjTUN3YbGlDD3FOB1StVMY4RdWgqSVgXRZY/MjbGXEPDAZ2n8oZVZ7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: -2.94 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 9F7572A7C5 X-Spam-Score: -2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: Uu1sQsgAfLlJ This is a multi-part message in MIME format. --------------476EE951E5011127CBD0EA47 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi Guix, Here's a patch to add collectl. Cheers, Roel --------------476EE951E5011127CBD0EA47 Content-Type: text/x-patch; charset=UTF-8; name="0001-gnu-Add-collectl.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0001-gnu-Add-collectl.patch" >From b03d5b84bb8c68b08d25a2e243b405b58ac4c047 Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Thu, 15 Apr 2021 15:38:37 +0200 Subject: [PATCH] gnu: Add collectl. * gnu/packages/admin.scm (collectl): New variable. --- gnu/packages/admin.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 512ac320e6..90b0bd5059 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -40,6 +40,7 @@ ;;; Copyright © 2021 qblade ;;; Copyright © 2021 Hyunseok Kim ;;; Copyright © 2021 David Larsson +;;; Copyright © 2021 Roel Janssen ;;; ;;; This file is part of GNU Guix. ;;; @@ -423,6 +424,47 @@ environments: @end itemize") (license license:gpl3))) +(define-public collectl + (package + (name "collectl") + (version "4.3.1") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://sourceforge/collectl/collectl/collectl-" version + "/collectl-" version ".src.tar.gz")) + (sha256 + (base32 + "1wc9k3rmhqzh6cx5dcpqhlc3xcpadsn2ic54r19scdjbjx6jd1r1")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; There are no tests. + #:phases + (modify-phases %standard-phases + (delete 'build) ; There's nothing to build. + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "INSTALL" + (("DESTDIR:=\"/\"") (format #f "DESTDIR:=~s" + (assoc-ref outputs "out"))) + (("DESTDIR/usr") "DESTDIR")))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "collectl" + (("\\$configFile='';") + (string-append "$configFile='" + (assoc-ref outputs "out") + "/etc';"))) + (invoke "./INSTALL")))))) + (inputs + `(("perl" ,perl))) + (home-page "http://collectl.sourceforge.net") + (synopsis "Performance data collector") + (description "This package provides a program that collects various +performance measurement data like CPU, memory, disk and network performance +numbers.") + (license license:artistic2.0))) + (define-public daemontools (package (name "daemontools") -- 2.30.2 --------------476EE951E5011127CBD0EA47--