Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 612406

Summary: net-misc/wakeonlan-0.41-r2: /etc/ethers lookup doesn't work for hostnames/fqdn
Product: Gentoo Linux Reporter: Cédric Schieli <cschieli>
Component: Current packagesAssignee: Ian Stakenvicius (RETIRED) <axs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fixed patch

Description Cédric Schieli 2017-03-12 09:33:42 UTC
Created attachment 466800 [details, diff]
fixed patch

A small typo in files/wakeonlan-0.41-ethers-lookup.patch breaks the feature when the /etc/ethers file contains hostnames or fqdn rather than ip addresses.

The attached patch fixes the issue for me. It should be used instead of the original one.
Comment 1 Larry the Git Cow gentoo-dev 2020-03-16 13:41:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=790d0e99059731aaa94ef3bf3ae80837bb17859a

commit 790d0e99059731aaa94ef3bf3ae80837bb17859a
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2020-03-16 13:36:25 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2020-03-16 13:40:44 +0000

    net-misc/wakeonlan: revbump with new homepage & other fixes
    
    Closes: https://bugs.gentoo.org/612406
    Closes: https://bugs.gentoo.org/554366
    Closes: https://bugs.gentoo.org/569900
    Package-Manager: Portage-2.3.94, Repoman-2.3.21
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 .../files/wakeonlan-0.41-ethers-lookup-r1.patch    | 90 ++++++++++++++++++++++
 net-misc/wakeonlan/wakeonlan-0.41-r3.ebuild        | 25 ++++++
 2 files changed, 115 insertions(+)