From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4MmhDoeZrGYG1AAA62LTzQ:P1 (envelope-from ) for ; Fri, 02 Aug 2024 08:32:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 4MmhDoeZrGYG1AAA62LTzQ (envelope-from ) for ; Fri, 02 Aug 2024 10:32:07 +0200 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=Lrky6sVp; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722587527; 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:dkim-signature; bh=9jf0yFuygrxkl32U4Sk9X4WHJ+ywFRj0gDY9HnWq0Ok=; b=p5uqfXeUXZo8LkL7Atxc2kRHT68CJBW4CZT3GpU5pER9xmY7UytHVJTM6lO0aK1B/PleN8 Czpf8UOGAqeUvZIDI/jBopBfRnDEO1xa3NVrbrh/UJ1tUSwGGqzszX9rDprEq5vtJdEjND ia3lX3qutfk00qbODF0EVYKr5UJ/xSLwSl5sbGpmrlz5cxj2Ce2ULi8SVm7igfWBaOO8lM fcu1Yhr3M+6dvZeS5/1lwYKp1TncKOxvHwHafB9gZQY1iP49Teaq4fYuyAGsmWy9RKpNpw 7lrYvgwbPI/MANCg5kS7DTBq9gRcEz6w5o19Y9gf9UT67dYAEkiGRjZMhEWNlA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Lrky6sVp; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722587527; a=rsa-sha256; cv=none; b=HnK+04J7+19dFIlYrp0UrPSwlKyZss+BwCkl+tmcGr4mWpdCngqhN1ApbidjobLn30tD3I NSXvKolZVi14R9POAhejjOS9EJ92glfbVm2cm80W1jzLd8NmaHncDsQe8bprCLnObLUFU+ swZcelsj1DrhoaXM8Xd3H2FpBiShg1/a8T+0I0xWvxevn1NyVJ6LdAaeqzghYPN6QCyNNU j4DbEmkIp7xpbLnigZNVjYUKdC6IPEY60p7kqfx2fPi8KeOWEGAryc0ZGDNsR/gnwwessR UsDLqCez/mH3oQQvKIuq0JTi/rpgW5i/AO5A1k8lGnpqdD46J8yKcFE2Wjzchw== 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 A91EB7220D for ; Fri, 2 Aug 2024 10:32:06 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZnhV-00027q-34; Fri, 02 Aug 2024 04:31:49 -0400 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 1sZnhR-00027X-8Z for guix-patches@gnu.org; Fri, 02 Aug 2024 04:31:46 -0400 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 1sZnhQ-00062k-Vp for guix-patches@gnu.org; Fri, 02 Aug 2024 04:31:45 -0400 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=9jf0yFuygrxkl32U4Sk9X4WHJ+ywFRj0gDY9HnWq0Ok=; b=Lrky6sVpojcNrtPgL/nd4ZjM3KLU5RvQDn5a7tHJ6YelpX8Y+Fkj7/48H4L4PEYHxCOX7e+MOiJ/ZNBzfWQpuVu/2KKi1xTblj0RyLDtt64zzfOVRzFHpTmMKdwER9ZU36h/uMPkAJ2u/5eRtRRAVfxxoCAifeBXdHbTbqJ9SjP/teKAGuIBtPKYjyZ/pKayuuM3Wm3znzZTlVEqSl+pOQDb24par5PRL9xzNB4qII5xEgLCV4VUBoInSfxVHF4ar6yCy2WiaY7o8ohL+xzBKLoZz5nihO1X6fPkMy+Na8t7KQvOXp02JjDNmLwyrjim/8dOzOvujttePzHkBCaZ3A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sZnhi-0000m3-Cx for guix-patches@gnu.org; Fri, 02 Aug 2024 04:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72416] [PATCH] gnu: usbrelay: Update to 1.2.1. Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 02 Aug 2024 08:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72416 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72416@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17225874722912 (code B ref -1); Fri, 02 Aug 2024 08:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Aug 2024 08:31:12 +0000 Received: from localhost ([127.0.0.1]:52435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZngu-0000ku-0K for submit@debbugs.gnu.org; Fri, 02 Aug 2024 04:31:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:52646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZngr-0000kl-FX for submit@debbugs.gnu.org; Fri, 02 Aug 2024 04:31:10 -0400 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 1sZngZ-0001x1-21 for guix-patches@gnu.org; Fri, 02 Aug 2024 04:30:51 -0400 Received: from roxy-shared.hosting.energy ([137.74.182.160] helo=roxy.hosting.energy) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZngX-0005x4-3o for guix-patches@gnu.org; Fri, 02 Aug 2024 04:30:50 -0400 Received: from [45.137.112.91] (helo=laptop) by roxy.hosting.energy with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1sZngH-000000002Az-1WVN for guix-patches@gnu.org; Fri, 02 Aug 2024 11:30:33 +0300 From: Evgeny Pisemsky Date: Fri, 02 Aug 2024 11:30:29 +0300 Message-ID: <87v80jjpi2.fsf@pisemsky.site> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-usbrelay-Update-to-1.2.1.patch Received-SPF: pass client-ip=137.74.182.160; envelope-from=mail@pisemsky.site; helo=roxy.hosting.energy 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_FAIL=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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -10.67 X-Migadu-Queue-Id: A91EB7220D X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -10.67 X-TUID: yL4WKFN+5WgP >From 523d0096745e8e649b966101f528b402ec06fc48 Mon Sep 17 00:00:00 2001 Message-ID: <523d0096745e8e649b966101f528b402ec06fc48.1722586951.git.mail@pisemsky.site> From: Evgeny Pisemsky Date: Fri, 2 Aug 2024 11:00:11 +0300 Subject: [PATCH] gnu: usbrelay: Update to 1.2.1. * gnu/packages/hardware.scm (usbrelay): Update to 1.2.1. Change-Id: I5b889889c528d5526c8cfcc66d56b2b9d8d60437 --- gnu/packages/hardware.scm | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 468e2adc3b..349b928713 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -1580,28 +1580,36 @@ (define-public lxi-tools (define-public usbrelay (package (name "usbrelay") - (version "1.2") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/darrylb123/usbrelay") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0fr3wglr2c6myg4k6ai2p5z38prclcnk2ngik15sq16fnp6qg750")))) + (version "1.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/darrylb123/usbrelay") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1xw2fqx4drmkvv587vkz3aicp6pw1mzxr8bjz8wad9j4c0r24cgn")))) (build-system gnu-build-system) (arguments (list #:phases #~(modify-phases %standard-phases - (delete 'configure)) ;no configure script - #:make-flags #~(list (string-append "CC=" #$(cc-for-target)) - (string-append "PREFIX=" #$output) + ;; No configure script. + (delete 'configure) + (add-after 'install 'install-manpage + (lambda _ + (install-file "usbrelay.1" + (string-append #$output "/share/man/man1"))))) + #:make-flags #~(list (string-append "PREFIX=" #$output) + (string-append "CC=" #$(cc-for-target)) (string-append "LDFLAGS=-Wl,-rpath=" (string-append #$output "/lib")) "LDCONFIG=true" - "USBMAJOR=$(USBLIBVER)") - #:tests? #f)) ;no test suite + (string-append "USBMAJOR=" #$version) + (string-append "USBLIBVER=" #$version) + (string-append "VERSION=" #$version)) + ;; No test suite. + #:tests? #f)) (inputs (list hidapi)) (home-page "https://github.com/darrylb123/usbrelay") (synopsis "Control USB relay modules") base-commit: b20956651a53a8f23828fdeb6945e1a31e6997a8 -- 2.45.2