packages: iputils/iputils.spec, iputils/iputils-bcast.patch (NEW) - arping ...
gotar
gotar at pld-linux.org
Thu Aug 19 11:54:35 CEST 2010
Author: gotar Date: Thu Aug 19 09:54:35 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- arping patch: fixed broadcast calculation, rel. 3
---- Files affected:
packages/iputils:
iputils.spec (1.88 -> 1.89) , iputils-bcast.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/iputils/iputils.spec
diff -u packages/iputils/iputils.spec:1.88 packages/iputils/iputils.spec:1.89
--- packages/iputils/iputils.spec:1.88 Mon Aug 16 15:15:10 2010
+++ packages/iputils/iputils.spec Thu Aug 19 11:54:29 2010
@@ -9,7 +9,7 @@
Summary(uk.UTF-8): Набір базових мережевих утиліт (ping, tracepath etc.)
Name: iputils
Version: s20100418
-Release: 2
+Release: 3
Epoch: 2
License: BSD
Group: Networking/Admin
@@ -19,6 +19,7 @@
Patch1: %{name}-pf.patch
Patch2: %{name}-bindnow.patch
Patch3: %{name}-build.patch
+Patch4: %{name}-bcast.patch
URL: http://linux-net.osdl.org/index.php/Iputils
%if %{with doc}
BuildRequires: docbook-dtd31-sgml
@@ -92,6 +93,7 @@
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
# empty LDLIBS - don't link with -lresolv, it's not necessary
@@ -170,6 +172,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.89 2010/08/19 09:54:29 gotar
+- arping patch: fixed broadcast calculation, rel. 3
+
Revision 1.88 2010/08/16 13:15:10 arekm
- BR gnome-doc-tools
================================================================
Index: packages/iputils/iputils-bcast.patch
diff -u /dev/null packages/iputils/iputils-bcast.patch:1.1
--- /dev/null Thu Aug 19 11:54:35 2010
+++ packages/iputils/iputils-bcast.patch Thu Aug 19 11:54:29 2010
@@ -0,0 +1,12 @@
+diff -urNp iputils-s20100418/arping.c iputils-s20100418.bcast/arping.c
+--- iputils-s20100418/arping.c 2010-04-18 06:45:45.000000000 +0200
++++ iputils-s20100418.bcast/arping.c 2010-08-19 11:52:13.000000000 +0200
+@@ -336,7 +336,7 @@ void set_device_broadcast(char *device,
+ }
+
+ for (p = ba, ch = 0; p < ba + balen; p++, ch += 3)
+- *p++ = strtoul(brdcast->value + ch * 3, NULL, 16);
++ *p = strtoul(brdcast->value + ch, NULL, 16);
+
+ return;
+ }
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/iputils/iputils.spec?r1=1.88&r2=1.89&f=u
More information about the pld-cvs-commit
mailing list