[net-tools] amend ether-wake-interfaces.patch

Jiří Popelka jpopelka at fedoraproject.org
Wed Sep 4 10:35:13 UTC 2013


commit ba1d4f02aa4eac5219f5765de0dce1574e1f4f0b
Author: Jiri Popelka <jpopelka at redhat.com>
Date:   Wed Sep 4 12:25:11 2013 +0200

    amend ether-wake-interfaces.patch

 ether-wake-interfaces.patch |   15 +--------------
 net-tools.spec              |    5 ++++-
 2 files changed, 5 insertions(+), 15 deletions(-)
---
diff --git a/ether-wake-interfaces.patch b/ether-wake-interfaces.patch
index 9c5a1d9..bf26b04 100644
--- a/ether-wake-interfaces.patch
+++ b/ether-wake-interfaces.patch
@@ -1,24 +1,11 @@
 --- a/ether-wake.c	2013-09-03 18:15:13.000000000 +0200
 +++ b/ether-wake.c	2013-09-03 17:39:02.000000000 +0200
-@@ -3,10 +3,10 @@
- static char version_msg[] =
- "ether-wake.c: v1.09 11/12/2003 Donald Becker, http://www.scyld.com/";
- static char brief_usage_msg[] =
--"usage: ether-wake [-i <ifname>] [-p aa:bb:cc:dd[:ee:ff]] 00:11:22:33:44:55\n"
-+"usage: ether-wake -i <ifname> [-p aa:bb:cc:dd[:ee:ff]] 00:11:22:33:44:55\n"
- "   Use '-u' to see the complete set of options.\n";
- static char usage_msg[] =
--"usage: ether-wake [-i <ifname>] [-p aa:bb:cc:dd[:ee:ff]] 00:11:22:33:44:55\n"
-+"usage: ether-wake -i <ifname> [-p aa:bb:cc:dd[:ee:ff]] 00:11:22:33:44:55\n"
- "\n"
- "	This program generates and transmits a Wake-On-LAN (WOL)\n"
- "	\"Magic Packet\", used for restarting machines that have been\n"
 @@ -22,7 +22,7 @@
  "	Options:\n"
  "		-b	Send wake-up packet to the broadcast address.\n"
  "		-D	Increase the debug level.\n"
 -"		-i ifname	Use interface IFNAME instead of the default 'eth0'.\n"
-+"		-i ifname	Use interface IFNAME.\n"
++"		-i ifname	Use interface ifname instead of sending a wake packet to all interfaces.\n"
  "		-p <pw>		Append the four or six byte password PW to the packet.\n"
  "					A password is only required for a few adapter types.\n"
  "					The password may be specified in ethernet hex format\n"
diff --git a/net-tools.spec b/net-tools.spec
index 32c9efa..83db148 100644
--- a/net-tools.spec
+++ b/net-tools.spec
@@ -3,7 +3,7 @@
 Summary: Basic networking tools
 Name: net-tools
 Version: 2.0
-Release: 0.10.%{checkout}%{?dist}
+Release: 0.11.%{checkout}%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 URL: http://sourceforge.net/projects/net-tools/
@@ -170,6 +170,9 @@ install -m 644 %{SOURCE9} %{buildroot}%{_unitdir}
 %attr(0644,root,root)   %{_unitdir}/arp-ethers.service
 
 %changelog
+* Wed Sep 04 2013 Jiri Popelka <jpopelka at redhat.com> - 2.0-0.11.20130607git
+- amend ether-wake-interfaces.patch
+
 * Wed Sep 04 2013 Jaromír Končický <jkoncick at redhat.com> - 2.0-0.10.20130607git
 - use all interfaces instead of default (#1003875)
 - reverted all changes on ether-wake.c and put original file


More information about the scm-commits mailing list