pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wakeonlan: Initial import. Wake-on-lan utility.
Module Name: pkgsrc-wip
Committed By: Sijmen J. Mulder <sjmulder%NetBSD.org@localhost>
Pushed By: sjmulder
Date: Sun May 31 21:04:59 2020 +0200
Changeset: 8e803cb5b1ec462168842e64909a092f9fc5c8b2
Added Files:
wakeonlan/DESCR
wakeonlan/Makefile
wakeonlan/PLIST
wakeonlan/distinfo
wakeonlan/patches/patch-wakeonlan
Log Message:
wakeonlan: Initial import. Wake-on-lan utility.
Wake up or turn on one or multiple computers over the network via
wake-on-LAN (WOL) magic packets. The remote computer(s) must support
WOL and have it enabled.
This implementation does not require root privileges.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8e803cb5b1ec462168842e64909a092f9fc5c8b2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
wakeonlan/DESCR | 5 +++++
wakeonlan/Makefile | 28 ++++++++++++++++++++++++++++
wakeonlan/PLIST | 3 +++
wakeonlan/distinfo | 7 +++++++
wakeonlan/patches/patch-wakeonlan | 15 +++++++++++++++
5 files changed, 58 insertions(+)
diffs:
diff --git a/wakeonlan/DESCR b/wakeonlan/DESCR
new file mode 100644
index 0000000000..91d14e3ecb
--- /dev/null
+++ b/wakeonlan/DESCR
@@ -0,0 +1,5 @@
+Wake up or turn on one or multiple computers over the network via
+wake-on-LAN (WOL) magic packets. The remote computer(s) must support
+WOL and have it enabled.
+
+This implementation does not require root privileges.
diff --git a/wakeonlan/Makefile b/wakeonlan/Makefile
new file mode 100644
index 0000000000..d2126cb8e0
--- /dev/null
+++ b/wakeonlan/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD$
+
+DISTNAME= wakeonlan-0.41
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GITHUB:=jpoliv/}
+GITHUB_TAG= wakeonlan-${PKGVERSION_NOREV}
+
+MAINTAINER= sjmulder%NetBSD.org@localhost
+HOMEPAGE= https://github.com/jpoliv/wakeonlan
+COMMENT= Wake up computers via wake-on-LAN magic packets
+LICENSE= artistic-2.0
+
+USE_LANGUAGES= # none
+USE_TOOLS= perl perl:run
+
+REPLACE_PERL+= wakeonlan
+
+INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1
+
+do-configure:
+ cd ${WRKSRC} && ${PERL5} Makefile.PL
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/blib/script/wakeonlan ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/blib/man1/wakeonlan.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/wakeonlan/PLIST b/wakeonlan/PLIST
new file mode 100644
index 0000000000..1b0c750589
--- /dev/null
+++ b/wakeonlan/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/wakeonlan
+man/man1/wakeonlan.1
diff --git a/wakeonlan/distinfo b/wakeonlan/distinfo
new file mode 100644
index 0000000000..5049874dac
--- /dev/null
+++ b/wakeonlan/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (wakeonlan-0.41.tar.gz) = 5937a27e818f4765e3bc8fd6742375240a90d5d1
+RMD160 (wakeonlan-0.41.tar.gz) = 48a4b5c75cb2c8b95dccbd9f5ad46db176c53545
+SHA512 (wakeonlan-0.41.tar.gz) = 8cb6b9accd54cac8561f70c702629ae7f5c25b70d9f0e993caf5600eef6c74903802eabdc4ed5378aafa66e986240d2ced978ab039f82c72302e902b5b181875
+Size (wakeonlan-0.41.tar.gz) = 6099 bytes
+SHA1 (patch-wakeonlan) = 312c4aa71d7b815fbde39e7f6fb1cc7268ffd317
diff --git a/wakeonlan/patches/patch-wakeonlan b/wakeonlan/patches/patch-wakeonlan
new file mode 100644
index 0000000000..06e8968fa7
--- /dev/null
+++ b/wakeonlan/patches/patch-wakeonlan
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Set encoding to fix man page.
+
+--- wakeonlan.orig 2020-05-31 15:20:38.000000000 +0000
++++ wakeonlan
+@@ -137,6 +137,8 @@ __END__
+
+ # Script documentation
+
++=encoding utf8
++
+ =head1 NAME
+
+ wakeonlan - Perl script to wake up computers
Home |
Main Index |
Thread Index |
Old Index