From patchwork Thu Apr 1 13:11:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: david larsson X-Patchwork-Id: 28270 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 80E0827BC6A; Thu, 1 Apr 2021 14:23:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1A71527BC65 for ; Thu, 1 Apr 2021 14:23:06 +0100 (BST) Received: from localhost ([::1]:37690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRxHt-0005Rf-A6 for patchwork@mira.cbaines.net; Thu, 01 Apr 2021 09:23:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRx8B-0002Vo-6y for guix-patches@gnu.org; Thu, 01 Apr 2021 09:13:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45051) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRx8A-0004e9-St for guix-patches@gnu.org; Thu, 01 Apr 2021 09:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRx8A-0001OV-NR for guix-patches@gnu.org; Thu, 01 Apr 2021 09:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47540] [PATCH] gnu: Add prips. Resent-From: david larsson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 Apr 2021 13:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47540 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47540@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16172827415297 (code B ref -1); Thu, 01 Apr 2021 13:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Apr 2021 13:12:21 +0000 Received: from localhost ([127.0.0.1]:56597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRx7R-0001NK-HL for submit@debbugs.gnu.org; Thu, 01 Apr 2021 09:12:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:38498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRx7P-0001NC-LC for submit@debbugs.gnu.org; Thu, 01 Apr 2021 09:12:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRx7P-0001ak-GW for guix-patches@gnu.org; Thu, 01 Apr 2021 09:12:15 -0400 Received: from server0.selfhosted.xyz ([217.64.149.7]:50828) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRx7M-00045Y-B6 for guix-patches@gnu.org; Thu, 01 Apr 2021 09:12:15 -0400 Received: from server0.selfhosted.xyz (localhost [127.0.0.1]) by server0.selfhosted.xyz (Postfix) with ESMTP id 203821CCFA57 for ; Thu, 1 Apr 2021 15:11:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfhosted.xyz; s=dkim; t=1617282722; bh=0KYnXFLOn9TP7CDJ3hVvWPBJMR8LeYF/7VRW1qzM1Iw=; h=Date:From:To:Subject; b=08mQpirlRWqmy5Uk+SrnalSaYjqMtUcJzymylXzo7VM1MoGzmeeDOTTe0lCOMTapC WDK3gaXK4ij+6yhYrqBMsMNL9jEzs8qfc359lfEPxZWbXkKqKy9f3cjpxJiBbHUtwX /YUdUjX88DRIw99DnU8CRmFSRwgNsxgp0QnvHzxHSdNlZeR/xsoEvGbmDQyQEAc3Pj sYpI0qaSC4v4MeLtthtbkQQiSRetuF+ozO4Evr6Hb70YtKIgrFBpM18hWx9xESrksy fkiJPmVGsHNgsv8G0xZQEMWPQTHhoEhbrtBlpYJ5FTNa5NpJCBendfgJUTjsE8cjOW NNz7i9n1xypmA== X-Fuglu-Suspect: 0d9931dcd0394f47991aacfe23a58f3a X-Fuglu-Spamstatus: NO Received: from webmail.selfhosted.xyz (office.selfhosted.xyz [192.168.1.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mail@selfhosted.xyz) by server0.selfhosted.xyz (Postfix) with ESMTPSA for ; Thu, 1 Apr 2021 15:11:57 +0200 (CEST) MIME-Version: 1.0 Date: Thu, 01 Apr 2021 15:11:56 +0200 From: david larsson Message-ID: X-Sender: david.larsson@selfhosted.xyz Received-SPF: pass client-ip=217.64.149.7; envelope-from=david.larsson@selfhosted.xyz; helo=server0.selfhosted.xyz 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=0.001, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From 22cc953d3e663bb842d5a0b970577a3d54f6fef1 Mon Sep 17 00:00:00 2001 From: methuselah-0 Date: Thu, 1 Apr 2021 15:10:45 +0200 Subject: [PATCH] gnu: Add prips. * gnu/packages/admin.scm (prips): New variable. --- gnu/packages/admin.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (package (name "alive") From 22cc953d3e663bb842d5a0b970577a3d54f6fef1 Mon Sep 17 00:00:00 2001 From: methuselah-0 Date: Thu, 1 Apr 2021 15:10:45 +0200 Subject: [PATCH] gnu: Add prips. * gnu/packages/admin.scm (prips): New variable. --- gnu/packages/admin.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index df7973395d..f6cb62a568 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -39,6 +39,7 @@ ;;; Copyright © 2021 Stefan Reichör ;;; Copyright © 2021 qblade ;;; Copyright © 2021 Hyunseok Kim +;;; Copyright © 2021 David Larsson ;;; ;;; This file is part of GNU Guix. ;;; @@ -1019,6 +1020,39 @@ recursive runs on the generated subnets. (also IPv6) @end itemize\n") (license license:bsd-3))) +(define-public prips + (package + (name "prips") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://devel.ringlet.net/files/sys/" + name "/" name "-" version ".tar.xz")) + (sha256 + (base32 "1a33vbl4w603mk6mm5r3vhk87fy3dfk5wdpch0yd3ncbkg3fmvqn")))) + (build-system gnu-build-system) + (arguments + '(#:make-flags (list "CC=gcc") + #:phases (modify-phases + %standard-phases + (delete 'configure) + (delete 'check) + (replace 'install + (lambda _ + (let* + ((bin-dir (string-append %output "/bin")) + (bin-file (string-append bin-dir "/prips"))) + (mkdir-p bin-dir) + (copy-file "prips" bin-file) + (chmod bin-file #o700))))))) + (synopsis "Tool that prints the IP addresses in a given range") + (description "Prips can be used to print all of the IP addresses in + a given range. This allows the enhancement of tools only work + on one host at a time (e.g. whois).") + (home-page "https://devel.ringlet.net/sysutils/prips/") + (license license:gpl2))) + (define-public alive (package (name "alive") -- 2.30.2