summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-04-26 16:27:30 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-04-26 16:27:30 +0000
commit1d3a378efaef42332f9071d7f4481062989ccaf4 (patch)
tree3a0ac23b2e8e1e8b25d70581587a12c5747e9a72 /net-misc/etherwake
parentWoops (diff)
downloadgentoo-2-1d3a378efaef42332f9071d7f4481062989ccaf4.tar.gz
gentoo-2-1d3a378efaef42332f9071d7f4481062989ccaf4.tar.bz2
gentoo-2-1d3a378efaef42332f9071d7f4481062989ccaf4.zip
Initial ebuild
Diffstat (limited to 'net-misc/etherwake')
-rw-r--r--net-misc/etherwake/etherwake-1.08.ebuild22
-rw-r--r--net-misc/etherwake/files/digest-etherwake-1.082
-rw-r--r--net-misc/etherwake/files/readme31
3 files changed, 55 insertions, 0 deletions
diff --git a/net-misc/etherwake/etherwake-1.08.ebuild b/net-misc/etherwake/etherwake-1.08.ebuild
new file mode 100644
index 000000000000..7786261599f7
--- /dev/null
+++ b/net-misc/etherwake/etherwake-1.08.ebuild
@@ -0,0 +1,22 @@
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/etherwake/etherwake-1.08.ebuild,v 1.1 2003/04/26 16:27:29 mholzer Exp $
+
+DESCRIPTION="This program generates and transmits a Wake-On-LAN (WOL) \"Magic Packet\", used for restarting machines that have been soft-powered-down (ACPI D3-warm state)."
+SRC_URI="http://www.scyld.com/pub/diag/ether-wake.c
+ http://www.scyld.com/pub/diag/etherwake.8"
+HOMEPAGE="http://www.scyld.com/expert/wake-on-lan.html"
+SLOT="0"
+LICENSE="GPL"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+
+DEPEND="virtual/glibc"
+
+src_compile() {
+ gcc ${CFLAGS} -o etherwake ${DISTDIR}/ether-wake.c
+}
+
+src_install() {
+ dosbin etherwake
+ doman ${DISTDIR}/etherwake.8
+ dodoc ${FILESDIR}/readme
+}
diff --git a/net-misc/etherwake/files/digest-etherwake-1.08 b/net-misc/etherwake/files/digest-etherwake-1.08
new file mode 100644
index 000000000000..a93bee70a885
--- /dev/null
+++ b/net-misc/etherwake/files/digest-etherwake-1.08
@@ -0,0 +1,2 @@
+MD5 9fc9ee358193230ae353f322a16c30c0 ether-wake.c 11032
+MD5 500ac002d661052be65a4b192fdf55fa etherwake.8 2307
diff --git a/net-misc/etherwake/files/readme b/net-misc/etherwake/files/readme
new file mode 100644
index 000000000000..20ebaeb39ea6
--- /dev/null
+++ b/net-misc/etherwake/files/readme
@@ -0,0 +1,31 @@
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/etherwake/files/readme,v 1.1 2003/04/26 16:27:30 mholzer Exp $
+
+ This program generates and transmits a Wake-On-LAN (WOL) "Magic Packet",
+ used for restarting machines that have been soft-powered-down
+ (ACPI D3-warm state). It currently generates the standard AMD Magic Packet
+ format, with an optional password appended.
+
+ This software may be used and distributed according to the terms
+ of the GNU Public License, incorporated herein by reference.
+ Contact the author for use under other terms.
+
+ This source file was originally part of the network tricks package, and
+ is now distributed to support the Scyld Beowulf system.
+ Copyright 1999-2003 Donald Becker and Scyld Computing Corporation.
+
+ The author may be reached as becker@scyld, or C/O
+ Scyld Computing Corporation
+ 410 Severn Ave., Suite 210
+ Annapolis MD 21403
+
+ Notes:
+ On some systems dropping root capability allows the process to be
+ dumped, traced or debugged.
+ If someone traces this program, they get control of a raw socket.
+ Linux handles this safely, but beware when porting this program.
+
+ An alternative to needing 'root' is using a UDP broadcast socket, however
+ doing so only works with adapters configured for unicast+broadcast Rx
+ filter. That configuration consumes more power.
+