From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0LJFD6J4J2dnigAAqHPOHw:P1 (envelope-from ) for ; Sun, 03 Nov 2024 13:20:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0LJFD6J4J2dnigAAqHPOHw (envelope-from ) for ; Sun, 03 Nov 2024 14:20:34 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=kG+oVUyl; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=KjkMyd5D; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730640034; a=rsa-sha256; cv=none; b=sGzcqWJRpyp+mMUhQJplmOsDfFniCxblEf289asGUkYhugW1lvQIZTnfdT7fjjd4MvxeDu sW54Oik0b+j2wn+3XI4z8SYu8XfPEgPxGw/nA6D7OKBrcUzCc84EAq6zWaF2PmRS3ReOep /GGzRyPC1i56sRsaI3l52Ly9zcTelvOloHp2KdQSL7HvVoZHZrwTrpStMiso4DQatntFdA q85uTiT3Du8263P9LYXYkxITOE+NLjt2oBZd0Ge8g/EcRBZDH+5N+lDqUnb9LyOI6Sxdc3 ChG1VlFSrR5s8D+SAR82ixtdl9JRtc7dyx2oR66bHE0T//WYK5z97ZXv5lFGEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=kG+oVUyl; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=KjkMyd5D; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730640034; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=xLlgQ1TbkHkmJM2nEi0SWuIgetHdpwJo7RVW7HzlVrk=; b=Bi87MXL7InOUQt/aAncHUw3pO71kOxRq29AP0zgU35LokajWjUCX7UNpyXfkKZHqju/flT mdOzNCLeeeodmm9wIBCJln2d3KCDfH6prj1njGJ4D4ep3j3S2q1MtOSg7BxH6KLdFKCgsE xz1/Zrr/fckKShLftMNo3kMAmgSXyeffca3RA9rP4AtaRb2yqJaNJb++QclQofDXPcUaS6 dniJTw4c9ztlw1waHWiHY9rtTX9KmIpL+JISCUcAsTv5okph7cVzIN1fC6qh3MtkA/LCbM 7ULXYStVX+UNSJsc+PcxiBbL+uwU5I13sOq6wDeJ+nwMuCdoEJdaq5M5ym684w== 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 A8ADD6498C for ; Sun, 03 Nov 2024 14:20:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7aWU-0003ZF-PV; Sun, 03 Nov 2024 08:20:06 -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 1t7aWR-0003XN-UT for guix-patches@gnu.org; Sun, 03 Nov 2024 08:20:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t7aWR-0007EI-FA for guix-patches@gnu.org; Sun, 03 Nov 2024 08:20:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=xLlgQ1TbkHkmJM2nEi0SWuIgetHdpwJo7RVW7HzlVrk=; b=kG+oVUylCtRoXT+moZJ5YS/SwlhH1ceBlrfBnZvabL7zTxUWpLkXgBR7fScPWVl+korMyMYVdJ7IJ6HtwPn2OfNBSZCRYWBjpN4UcmEmPBnFrWGjGZrICsN8uwLcTDD0tp19gXcTRGXHQ9UGY/rX45cFR5WmBKqCzrEOdXkpxBiGbl7GiIBenprRu3X5sS4txuB+7t2FTO5p3d7V+fL+vIF4iBY6um8TnjyMEVqR97Zlo5YYNxBx5hEuzfd3CSrCVb1zLO7WZ9yQo+12Y+u31G6WgPDgjFyTRASOuz8pGmXfuNTtiY4arTZymFRp5tdgcWt7JkAWDr/lq3cR/f/b3w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t7aWR-0006nL-3b for guix-patches@gnu.org; Sun, 03 Nov 2024 08:20:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74189] [PATCH] gnu: Add shepherd-run. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 03 Nov 2024 13:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74189 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74189@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173063995426070 (code B ref -1); Sun, 03 Nov 2024 13:20:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Nov 2024 13:19:14 +0000 Received: from localhost ([127.0.0.1]:60401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t7aVd-0006mQ-Ah for submit@debbugs.gnu.org; Sun, 03 Nov 2024 08:19:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:39974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t7aVU-0006mE-03 for submit@debbugs.gnu.org; Sun, 03 Nov 2024 08:19:10 -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 1t7aVT-0003JS-9B for guix-patches@gnu.org; Sun, 03 Nov 2024 08:19:03 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t7aVR-00075O-0j for guix-patches@gnu.org; Sun, 03 Nov 2024 08:19:03 -0500 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-4314f38d274so40733885e9.1 for ; Sun, 03 Nov 2024 05:19:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730639939; x=1731244739; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=xLlgQ1TbkHkmJM2nEi0SWuIgetHdpwJo7RVW7HzlVrk=; b=KjkMyd5Dr+N2jTZwXMYY5lCU6xM87RoCJtWmD6exU5KcwADXeGefH0ApnNns02Cj+r q5yAfUGyKsbpuxkljEU1xRMCq2H/hEmbbeMYAwRSDsOBl3N0yDLFjEjk51TzhfT46GwI x3Ef2D8SXyZUtJS1dJ7OeVWXY8Y7hqC2tyoqruF0sUnu+wwNQscB3fC6G+LgJudQECb4 i+eYfGtCCsu3XAaDNhCXcZCKC7cghLKOYwn3gJFbIC0rtpYaPATij1GhP7rwRxpcDu1g e3kRnAkkvt7Q4wILYU7Est3a9IauB7WF9X3dSlwhQTdlX97oNZBehjrX057zCj+QPWGh ryYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730639939; x=1731244739; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=xLlgQ1TbkHkmJM2nEi0SWuIgetHdpwJo7RVW7HzlVrk=; b=jqBpT67ITBD+RK3rpdAQwoN6sxYj64mema6XOqol5d6uWYRgxkJk5zeLVxQ5XCKsGc lA7kiXv2VmMV3cFCUnUTti2pO1zNEZhlWX9Ev12kpcVriIykrUhJ1ozPcrRCEOx1QgKx rY/PQ16AgORmccplMxZKNQG+H3ucfppk4vUhsVU059LpJuks1d8rHo7rARTzzg0jIkXP rnsOpaH2uaITR5tFQvUIXUxQR5X4uh82M4PBQ82NGgD3txl6ZFNyOSy7Rz6BEATaYbAA 3bs2YzDQ2QZAbXPMe92sERdwszve2yObudqz4ZzFJPm3zMSlm2ulnZ5rY4OcAr+0C0Ib i4cg== X-Gm-Message-State: AOJu0YxUdSFpmq76zfHj4x/ezmRtSQfzZhR0qXtMGWMYmyjQtLGImqdL XCyiRQ0idFC2pi/F8mSkABNhRG4oUiXZTAuG1vezJXxeC8VIte5a3+Qu5IFR X-Google-Smtp-Source: AGHT+IHqgHHTrGM/sVfHJuS/CW3AQ3dfNj+2h6kp6jQZcKn8vJy7yA5IeRwkkW28VI2ajwiN/c38gg== X-Received: by 2002:a05:600c:3b22:b0:42c:a387:6a6f with SMTP id 5b1f17b1804b1-4328325638emr93269765e9.20.1730639939154; Sun, 03 Nov 2024 05:18:59 -0800 (PST) Received: from localhost ([141.226.162.35]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4327d5e8915sm123353715e9.27.2024.11.03.05.18.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Nov 2024 05:18:58 -0800 (PST) From: Efraim Flashner Date: Sun, 3 Nov 2024 15:18:48 +0200 Message-ID: <0987a56039f9626664f89095b292421081daddae.1730639824.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=efraim.flashner@gmail.com; helo=mail-wm1-x32f.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -0.55 X-Spam-Score: -0.55 X-Migadu-Queue-Id: A8ADD6498C X-Migadu-Scanner: mx12.migadu.com X-TUID: UXUSHoPWrIgN * gnu/packages/admin.scm (shepherd-run): New variable. Change-Id: I4b08c84f83bcc588db7a11619321f4c8dee48257 --- gnu/packages/admin.scm | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 88d68a3afcc..575b00736fe 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -9,7 +9,7 @@ ;;; Copyright © 2016, 2017, 2020 Leo Famulari ;;; Copyright © 2016 Pjotr Prins ;;; Copyright © 2016, 2017, 2023 Ricardo Wurmus -;;; Copyright © 2016-2023 Efraim Flashner +;;; Copyright © 2016-2024 Efraim Flashner ;;; Copyright © 2016 Peter Feigl ;;; Copyright © 2016 John J. Foerch ;;; Copyright © 2016, 2017 Nikita @@ -423,6 +423,46 @@ (define-public guile2.2-shepherd (native-inputs (list pkg-config guile-2.2)) (inputs (list guile-2.2 guile2.2-fibers)))) +(define-public shepherd-run + (package + (name "shepherd-run") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~efraim/shepherd-run") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "033l8ignsrr6p2wgwcyqlswpbf58kyl8cf7zwkz028gqfq4arkr8")))) + (build-system gnu-build-system) + (arguments + (list + #:make-flags #~(list (string-append "PREFIX=" #$output)) + #:phases + #~(modify-phases %standard-phases + (delete 'configure) ; No configure script. + ;; First 'check checks the shell script which loads the gawk code. + ;; This 'check checks the installed gawk script. + (add-after 'patch-shebangs 'check-again + (lambda args + (apply (assoc-ref %standard-phases 'check) + (append args + (list #:make-flags + (list (string-append "BINARY=" %output + "/bin/shepherd-run")))))))))) + (native-inputs (list diffutils help2man)) + (inputs (list gawk)) + (synopsis "Create GNU Shepherd services from the command line") + (description + "Shepherd-run is a script which assists in creating one-off shepherd +services from the command line. It is meant to partially fill the void left +by @command{systemd-run}, since GNU Guix uses GNU Shepherd as its system service +manager.") + (home-page "https://git.sr.ht/~efraim/shepherd-run") + (license license:gpl3+))) + (define-public swineherd (package (name "swineherd") base-commit: 8964dfdb84f7d21dbc89c217ca4f4546a15990af -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted