Package Details: wol-systemd 20210121-2

Git Clone URL: https://aur.archlinux.org/wol-systemd.git (read-only, click to copy)
Package Base: wol-systemd
Description: A systemd unit file for enabling Wake-On-LAN automatically
Upstream URL: https://wiki.archlinux.org/index.php/Wake-on-LAN
Licenses: FDL1.3
Submitter: phiresky
Maintainer: blackhole
Last Packager: blackhole
Votes: 16
Popularity: 0.000448
First Submitted: 2015-09-03 15:31 (UTC)
Last Updated: 2021-10-08 09:24 (UTC)

Dependencies (1)

Required by (0)

Sources (2)

Latest Comments

1 2 Next › Last »

blackhole commented on 2021-10-08 09:26 (UTC)

Ok, done!

alerque commented on 2021-10-08 09:20 (UTC)

If the code originated as a contribution on the Arch Wiki, it is probably actually licensed under the FDL, use license=(FDL1.3) (and no license file required).

blackhole commented on 2021-10-08 09:09 (UTC)

This package was not originally mine. I don'y know why the license is MIT, this is only a systemd service.

Maybe I could change to GPL, for which it is not necessary a specific file.

From the wiki:

"If a package is licensed under one of these licenses, the value should be set to the directory name, e.g. license=('GPL')"

alerque commented on 2021-10-08 09:00 (UTC) (edited on 2021-10-08 09:01 (UTC) by alerque)

There are six exception license types that are considered "standard" for the license array but you still need to package the file, see Wiki docs on this issue. You can also get tipped off to mistakes like this by running namcap on a generated package. Note not all of it's lint warnings are always valid (for example it suggests ethtool might not be a dependency, which would be wrong) but it does get this license issue right:

$ namcap wol-systemd-20210121-1-any.pkg.tar.zst
wol-systemd E: Missing custom license directory (usr/share/licenses/wol-systemd)
wol-systemd W: Dependency included and not needed ('ethtool')

blackhole commented on 2021-10-08 07:00 (UTC)

I don't think that is necessary if the licence type is declared in the PKGBUILD:

license=('MIT')

alerque commented on 2021-10-07 21:59 (UTC)

This package is missing the required license directory.

matejdro commented on 2021-01-21 16:07 (UTC)

Awesome, thanks!

blackhole commented on 2021-01-21 15:31 (UTC)

Done!

matejdro commented on 2021-01-21 15:00 (UTC)

Any chance this package is updated with After set to:

After=network-online.target

On my machine it seems like network card (r8169) is initialized AFTER network.target is up, which means this script fails to enable WOL. Moving initialization to network-online.target fixes the issue.

phiresky commented on 2015-11-21 00:39 (UTC)

@bayone Updated with a warning in .install if network manager is present. Also disowning because I use NetworkManager.