From mboxrd@z Thu Jan 1 00:00:00 1970 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 Subject: [bug#40105] [PATCH] gnu: Add wol. Resent-Message-ID: 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) MIME-Version: 1.0 From: Vincent Legoll Date: Tue, 17 Mar 2020 16:04:51 +0100 Message-ID: Content-Type: multipart/mixed; boundary="000000000000adad0f05a10e421f" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40105@debbugs.gnu.org --000000000000adad0f05a10e421f Content-Type: text/plain; charset="UTF-8" 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... -- Vincent Legoll --000000000000adad0f05a10e421f Content-Type: text/x-patch; charset="US-ASCII"; name="0001-gnu-Add-wol-v3.patch" Content-Disposition: attachment; filename="0001-gnu-Add-wol-v3.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_k7w0flqe0 RnJvbSBkMzFhMWVjM2RlYjJhZTM5YjU3MDBhZjQ1OTIzOTlkOGE2NDMwOTMyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBWaW5jZW50IExlZ29sbCA8dmluY2VudC5sZWdvbGxAZ21haWwu Y29tPgpEYXRlOiBTYXQsIDIyIEZlYiAyMDIwIDE5OjI3OjA3ICswMTAwClN1YmplY3Q6IFtQQVRD SF0gZ251OiBBZGQgd29sLgoKKiBnbnUvcGFja2FnZXMvbmV0d29ya2luZy5zY20gKHdvbCk6IE5l dyBwdWJsaWMgdmFyaWFibGUuCi0tLQogZ251L3BhY2thZ2VzL25ldHdvcmtpbmcuc2NtIHwgMTkg KysrKysrKysrKysrKysrKysrKwogMSBmaWxlIGNoYW5nZWQsIDE5IGluc2VydGlvbnMoKykKCmRp ZmYgLS1naXQgYS9nbnUvcGFja2FnZXMvbmV0d29ya2luZy5zY20gYi9nbnU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gaW4gYSBzbWFsbCBwcm9ncmFtIikKKyAgICAoZGVzY3JpcHRpb24gIlRvb2wg dG8gc2VuZCBhIEBjb2Rle21hZ2ljfSBwYWNrZXQgdG8gd2FrZSBhbm90aGVyIGhvc3QKK29uIHRo ZSBuZXR3b3JrLiAgVGhpcyBtdXN0IGJlIGVuYWJsZWQgb24gdGhlIHRhcmdldCBob3N0LCB1c3Vh bGx5IGluIHRoZQorQklPUy4iKQorICAgIChsaWNlbnNlIGxpY2Vuc2U6Z3BsMikpKQorCiAoZGVm aW5lLXB1YmxpYyB2ZGUyCiAgIChwYWNrYWdlCiAgICAgKG5hbWUgInZkZTIiKQotLSAKMi4yNS4x Cgo= --000000000000adad0f05a10e421f--