           SPELL=wakeonlan
         VERSION=0.41
          SOURCE=$SPELL-$VERSION.tar.gz
      SOURCE_URL=https://github.com/jpoliv/wakeonlan/archive/$SOURCE
SOURCE_HASH=sha512:8cb6b9accd54cac8561f70c702629ae7f5c25b70d9f0e993caf5600eef6c74903802eabdc4ed5378aafa66e986240d2ced978ab039f82c72302e902b5b181875
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$SPELL-$VERSION
        WEB_SITE=https://github.com/jpoliv/wakeonlan
         ENTERED=20080525
         LICENSE=ART
        KEYWORDS="perl"
           SHORT="Wakeonlan is a Perl script that sends 'magic packets' to wake-on-LAN enabled ethernet adapters and motherboards, in order to switch on remote computers."
cat << EOF
WOL is based on the following principle:

When the PC shuts down, the NIC still gets power, and keeps listening on
the network for a 'magic' packet to arrive. This packet must contain a
certain byte-sequence, but can be encapsulated in any kind of packet (IPX,
IP, anything). Take a look at the code for the magic sequence.

This program uses UDP for sending the packet. The complete UDP packet,
sent over an ethernet interface, looks something like this:

[ethernet header][IP header][UDP header][Magic sequence][CRCS]

The only goal of the script is to send this packet over the network. It expects
no returning data, since the NIC only listens, and does not reply anything.
EOF
