File linkloop.spec of Package linkloop

# spec file for package linkloop (Version 1.0.0)
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           linkloop
Summary:        Test network connectivity at link layer (layer-2)
Version:        1.0.0
Release:        2
License:        GPL v2 or later
Group:          Productivity/Networking/Other
Source:         linkloop-%{version}-hp.tar.bz2
Patch:          linkloop-clear-size-fix.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Linkloop is similar to ping, but tests the network connectivity at the
link layer (layer 2) instead of the network layer (layer 3).

    Oron Peled <>
    Dominique Domet de Mont <>

%setup -q -n %{name}-%{version}-hp

autoreconf -fi
make %{?jobs:-j %jobs}

make DESTDIR="$RPM_BUILD_ROOT" install
# remove unneeded binaries (it's already supported in recent kernel)
rm -rf $RPM_BUILD_ROOT/etc/
rm -rf $RPM_BUILD_ROOT%{_bindir}/linkloop_reply


%defattr(-, root, root)

* Mon Aug 11 2008
- initial version: 1.0.0 (FATE#303779)
- fix some bugs in buffer size handling