From patchwork Tue Mar 17 15:04:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Legoll X-Patchwork-Id: 20735 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 BE04327BBEA; Tue, 17 Mar 2020 15:06:13 +0000 (GMT) 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_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,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 ESMTP id 48E5427BBE4 for ; Tue, 17 Mar 2020 15:06:13 +0000 (GMT) Received: from localhost ([::1]:34274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEDnI-0006We-MQ for patchwork@mira.cbaines.net; Tue, 17 Mar 2020 11:06:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51936) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEDn9-0006UC-OE for guix-patches@gnu.org; Tue, 17 Mar 2020 11:06:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEDn8-0001tD-B4 for guix-patches@gnu.org; Tue, 17 Mar 2020 11:06:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33435) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEDn8-0001sM-5W for guix-patches@gnu.org; Tue, 17 Mar 2020 11:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEDn7-00032Y-W8 for guix-patches@gnu.org; Tue, 17 Mar 2020 11:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40105] [PATCH] gnu: Add wol. Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 Mar 2020 15:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40105 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40105@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158445751211611 (code B ref -1); Tue, 17 Mar 2020 15:06:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Mar 2020 15:05:12 +0000 Received: from localhost ([127.0.0.1]:39408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jEDmJ-00031A-QP for submit@debbugs.gnu.org; Tue, 17 Mar 2020 11:05:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:47128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jEDmG-00030z-DR for submit@debbugs.gnu.org; Tue, 17 Mar 2020 11:05:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50958) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEDmF-0006GJ-4X for guix-patches@gnu.org; Tue, 17 Mar 2020 11:05:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEDmD-00035m-Kq for guix-patches@gnu.org; Tue, 17 Mar 2020 11:05:06 -0400 Received: from mail-il1-x130.google.com ([2607:f8b0:4864:20::130]:34384) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEDmD-0002zd-F4 for guix-patches@gnu.org; Tue, 17 Mar 2020 11:05:05 -0400 Received: by mail-il1-x130.google.com with SMTP id c8so20468869ilm.1 for ; Tue, 17 Mar 2020 08:05:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ak/DXnFwI9HH1c4tpSwhpyhFwaf2RqU7dQ2wPavkVK0=; b=oyNZtTwrq+W5BdOqg2/rF+B6v6tOLsCOFVqO92rpqdebukhaBgzy90xqYLh7B1s+6I jihXnAeabBfU1bY89isVG8pAbOWZEu+q6jQCP6Oiixe46VEjFap+1WSOQ/8FIxKFpFb1 Ceb7TDf9NtG+eXP+fNt5EyoEOHgu/MGVLnpcXuRqWAgrSBNwnrDKxFMRB87naQndzTpG J3N2QGvCHDas/+59JFqi0s2aHGr4x8PXf2WnhZBG2CFv2fh9LcpYDlHaRgVyHJqi7qDm Bh0SfuFM9GV98bDVJJY1jXVeSKxco5YYN8zHz3InGbrjGQ63gryajJ8mfMX1fScdlTse Netw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ak/DXnFwI9HH1c4tpSwhpyhFwaf2RqU7dQ2wPavkVK0=; b=ghYKUyF7IDAXe/IbIidntaiWtUqJOQcOsfgp/7rvul1iROEYlJ2rDB0mvduMhikfEd jQsiSUfTgitCpdM1OzG07058HEnz0cT7AHtKs3prTx88UpfhD8EQqBpoPES9/CMYxYJi gscnEjL7uxBHYVq6sVVuDWU0SgNI5J0JApLnANNWcFTAtgfaDkEOcQ+yIMXO95Pb7tG0 fbtHR3tAqGfrfzp/XXbwJMZqKpOGUhgibz/WO/el0RUEyuM11j9Wbc3TA21qqv9qLTFD una2iU+vqWveul1ypYm9h1vWCsz60NLQFdhl36x4M25lriIrp/TQ9Asj216JHm5gY7OD mG6Q== X-Gm-Message-State: ANhLgQ2c7yDwXCTfW5Bk9cIV+ANDK6Bqev+Pnaz+F2201enXb2fE5FC6 js4axADPjJUeSQ0MtLRl9arbALoFyYZ3gnjUs2wzbmBK X-Google-Smtp-Source: ADFU+vsmMn23zs4tfnt8OZNCrvh6qrCdmU6h3m/M8PyBq90ftvrb4Pm6dmwyJ9fyVRN5fI1bSTt8MSSSZpAgRwTXUcs= X-Received: by 2002:a92:3c99:: with SMTP id j25mr5169737ilf.92.1584457503819; Tue, 17 Mar 2020 08:05:03 -0700 (PDT) MIME-Version: 1.0 From: Vincent Legoll Date: Tue, 17 Mar 2020 16:04:51 +0100 Message-ID: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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 Hello, I don't know if having multiple packages doing the same is OK or not. Nor do I know if there are differences between this "wol" and the already packaged "wakelan"... I initially put it in networking whereas wakelen is in admin... Anyways, I did the work, I tested it works by waking a suspended odroidn2 SBC with it... So here it is, tell me if it is redundant to the point of not being useful. FTR, I packaged this because my initial guix search was with the words wol and wakeonlan, which did not find anything relevant, whereas searching with "wake" would have found it... There are a few packages with WoL capability: etherwake, http://gsd.di.uminho.pt/jpo/software/wakeonlan/ you can do it with netcat, etc... From d31a1ec3deb2ae39b5700af4592399d8a6430932 Mon Sep 17 00:00:00 2001 From: Vincent Legoll Date: Sat, 22 Feb 2020 19:27:07 +0100 Subject: [PATCH] gnu: Add wol. * gnu/packages/networking.scm (wol): New public variable. --- gnu/packages/networking.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 48b2570d9d..a22edd634b 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -2866,6 +2866,25 @@ Such interfaces are useful for VPN software, virtualization, emulation, simulation, and a number of other applications.") (license license:gpl2))) +(define-public wol + (package + (name "wol") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/wake-on-lan/" name "/" + version "/" name "-" version ".tar.gz")) + (sha256 + (base32 "08i6l5lr14mh4n3qbmx6kyx7vjqvzdnh3j9yfvgjppqik2dnq270")))) + (build-system gnu-build-system) + (home-page "https://sourceforge.net/projects/wake-on-lan/") + (synopsis "Implements Wake On LAN functionality in a small program") + (description "Tool to send a @code{magic} packet to wake another host +on the network. This must be enabled on the target host, usually in the +BIOS.") + (license license:gpl2))) + (define-public vde2 (package (name "vde2") -- 2.25.1