[egd] use ip neigh instead of arp -a

Tom Callaway spot at fedoraproject.org
Wed Jan 25 16:21:05 UTC 2012


commit aa5d6d073dbde6b821658c03e41d5dce2b079486
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Wed Jan 25 11:21:02 2012 -0500

    use ip neigh instead of arp -a

 egd-0.9-ip-neigh.patch |   11 +++++++++++
 egd.spec               |   17 +++++++++--------
 2 files changed, 20 insertions(+), 8 deletions(-)
---
diff --git a/egd-0.9-ip-neigh.patch b/egd-0.9-ip-neigh.patch
new file mode 100644
index 0000000..d64185f
--- /dev/null
+++ b/egd-0.9-ip-neigh.patch
@@ -0,0 +1,11 @@
+--- egd-0.9/egd.pl.arp	2002-07-25 10:00:17.000000000 +0200
++++ egd-0.9/egd.pl	2012-01-24 18:52:06.046117093 +0100
+@@ -284,7 +284,7 @@ bpb=0.1,filter=0
+ # ICMP ?
+ 
+ bpb=0.1,filter=0
+- arp -a
++ ip neigh
+ 
+ bpb=0.1,filter=0
+  ripquery -nw 1 127.0.0.1
diff --git a/egd.spec b/egd.spec
index d5658ab..aa77291 100644
--- a/egd.spec
+++ b/egd.spec
@@ -1,16 +1,18 @@
 Name:		egd
 Summary: 	Entropy Gathering Daemon
 Version:	0.9
-Release:	6%{?dist}
+Release:	7%{?dist}
 License:	GPL+ or MIT
 Group:		Applications/System
 Source0:	http://download.sourceforge.net/egd/%{name}-%{version}.tar.gz
 URL:		http://egd.sourceforge.net/
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+# https://bugzilla.redhat.com/show_bug.cgi?id=784384
+# https://sourceforge.net/tracker/?func=detail&aid=3479661&group_id=13778&atid=113778
+Patch0:         egd-0.9-ip-neigh.patch
 BuildRequires:	perl(Digest::SHA1), perl(ExtUtils::MakeMaker), perl(FindBin), perl(IO::Socket)
 BuildArch:	noarch
 # These are necessary for egd to do anything useful for entropy.
-Requires:	procps, net-tools, coreutils, util-linux, tcpdump
+Requires:	procps, iproute, coreutils, util-linux, tcpdump
 
 %description
 EGD is an Entropy Gathering Daemon meant to be used on systems that can run GPG 
@@ -24,13 +26,13 @@ and allows other programs to read out random bits from this pool.
 
 %prep
 %setup -q
+%patch0 -p1 -b .neigh
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
@@ -40,15 +42,14 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 # Test doesn't work on F-9 builder. No idea why. Works fine locally.
 # make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc COPYING COPYING.xfree86 README
 %{_bindir}/egd.pl
 
 %changelog
+* Wed Jan 25 2012 Tom Callaway <spot at fedoraproject.org> - 0.9-7
+- add patch from Jiri Popelka to use ip neigh instead of arp -a (bz 784384)
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list