SHA256
1
0
forked from pool/inarpd

Accepting request 857846 from home:mnhauke

Initial package for inarpd

OBS-URL: https://build.opensuse.org/request/show/857846
OBS-URL: https://build.opensuse.org/package/show/network/inarpd?expand=0&rev=1
This commit is contained in:
Marcus Meissner 2020-12-29 10:55:12 +00:00 committed by Git OBS Bridge
commit 342c65bf56
8 changed files with 154 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
inarpd-0.17.c.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3f659fe7aa3bffd7d0eb355a098298948bb8054363bd175f342ead0118971ce1
size 5607

14
inarpd-0.17.c.sign Normal file
View File

@ -0,0 +1,14 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
iQGcBAABAgAGBQJSA/9/AAoJEA07NTfEeQ+dVZML/0n7g/PHkhvkNDjhfjdWSAEd
7yf69G1pmYSdrCmYlkRIHE5miY86QzJXbIHpVJLo3eXrle8/AHsIkdyhNAnYSfXK
eYiVPtM7q6bPiFDkWGkHL2P9gP61TdH2w5/cAIofcxU++C7ySBD0L/yTTh/gbG3M
vigiHB1JSOGcE32PE4hsreYd2wWim5MYgqehLZ4iAXeaWxe1pLk4c0OousS9+l+W
a6KiZxC2AjYSntxXOdmYre0eebZzE902P+elCVpwl+Oo9T3wEmMYQLdBdlT+oIc2
TIPIdUKii1bdlOuebd56Qh2/9VQkS1Iz2B36Hw6E1/Fq4ggfF9tmDLbAmrFmY4Ln
hJdrWkfGRHlFCLvIAWbxl7i4AnumoaqyleFfdxcqnvah3Ba2cMDTNKmQMhh04ZGe
fMEK9qGmO6CYB0qQpw3VaOxzpcI8u9Tv63UMhE8kfaUJu46S/tGVtm84EAw4aP0Y
EB/QzxDu5hdfVmKi8Vq3W68LzVMQxBDVCWPsxMb/nQ==
=vvpJ
-----END PGP SIGNATURE-----

32
inarpd.8 Normal file
View File

@ -0,0 +1,32 @@
.TH inarpd "8" "December 2020" "inarpd" "Linux"
.SH NAME
inarpd \- Inverse ARP daemon for Linux
.SH SYNOPSIS
.B inarpd
[\fI\,-r\/\fR] [\fI\,+r\/\fR] [\fI\,-r\/\fR] [\fI\,+r\/\fR] [\fI\,-v\/\fR] \fI\,interface \/\fR...
.SH DESCRIPTION
An Inverse ARP (InARP) daemon for Linux.
.SH OPTIONS
.TP
\fB\-r\fR
do not add host IP route for neighbours (default)
.TP
+r
add host IP route for neighbours
.TP
\fB\-v\fR
print info messages
.TP
\fB\-v\fR \fB\-v\fR
print network packets
.HP
\fB\-v\fR \fB\-v\fR \fB\-v\fR print debug messages
.SH AUTHORS
Krzysztof Halasa <khc@pm.waw.pl>
.SH COPYRIGHT
Copyright \(co 2003 Krzysztof Halasa <khc@pm.waw.pl>.
License: GPL-2.0-only

5
inarpd.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Mon Dec 21 10:42:53 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- Initial package, version 0.17
- Create and package manpage (inarpd.8)

24
inarpd.keyring Normal file
View File

@ -0,0 +1,24 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBFIDvp8BDAC5A/SU02vlOZGLBneC8cFP2hT7xXsk5IBNG3K4/QzypBAlD7mB
g59cfqSFpz5leldWEgBPl6gUYa7qYfU/SQ1nA5RljkCnn0rwfUuLV703rBSE37xm
VAxAnTLLevGpxKsUTDSvCGkmkogNy61RK5zpQnN4dM3TMtIVgfacCCKdhRN0Ei1c
SnStsrfD6qciBp2a93XL4JuPWjkaPDn3+LxBbWWnR9u+LAc121hZfaw8qIozA8im
7bO/8xSaC2tMeBvaF+vLjXuojMtja+z/9qFaHM+EHQIyx/PaK3/kWYEeAB/yIoxr
N/bpia418+6PuLE68TM1/GZeP4I3Nw361vJGFw8V2arIcm/XcoZ6qtkHj0ZvFuDn
VqchVqjJ/oMEElU6oofftq+NRv4bnwB+VQfO2nOU+hql+DRnUMRP2CEMjlKWC//7
2eUmRVFSuzlG3hHQol1o/8O1gkChI683YFlbWpRHNW0z927khnWf+J9bmcWiJEfa
LLJ7SghOkEiRdGsAEQEAAbRgTGludXggS2VybmVsIEFyY2hpdmVzIFZlcmlmaWNh
dGlvbiBLZXkgKE9uZS1vZmYgcmVzaWduaW5nIG9mIG9sZCByZWxlYXNlcykgPGZ0
cGFkbWluQGtlcm5lbC5vcmc+iQG4BBMBAgAiBQJSA76fAhsDBgsJCAcDAgYVCAIJ
CgsEFgIDAQIeAQIXgAAKCRANOzU3xHkPnf/iC/sFMz+IxukPMULJ8DGFt5vtlqz2
swbuYuTCw9zQ7WpnDm/E5RqKQn16No/XlnWk0ueeOMKeGFGWLq6VpcqTLEu9tlDH
2zEDQ5DOdbbfJongAFe8G7E7fs+nfhk98jfgM1wsId/J/mOJ67oralk73xAU+CHL
ElDJWS8hlh+Br7VyDDjx1LMNWyuAToRQWWOS5M0F4XYsUtees8Y3eKsvRP/3Le1q
NsYI24FlX7zHkaF08rE0vl/FWBebMtuPmsliKhbqLYZ4ucpvfTjaF2lajOYfk0Qf
cL2TV56runsQ4CxHu2H2QINzR2E1fsDmsUMAmyG4V6i25RSBTkWId8GGrQjIgFo8
FxO55xd086+mBNmTR5fpiXZvbkwrjIel6cBrnz15jx5VpxAcUNeGpC6qA4UVCv24
TZMys1m2IqPXttOffy7K21WArtqmLTcrnQucrl4jDKXvADaomXOiRSf+1XZUBdbb
jSKesQsecoi5jStxnMvKIYJxUiqcPUhBNtfZJO8=
=Srwy
-----END PGP PUBLIC KEY BLOCK-----

52
inarpd.spec Normal file
View File

@ -0,0 +1,52 @@
#
# spec file for package inarpd
#
# Copyright (c) 2020, Martin Hauke <mardnh@gmx.de>
#
# 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 https://bugs.opensuse.org/
#
Name: inarpd
Version: 0.17
Release: 0
Summary: Inverse ARP daemon for Linux
# GPL-2.0-only as stated in the header of inarpd-0.17.c
License: GPL-2.0-only
Group: Productivity/Networking/Other
URL: https://www.kernel.org/doc/Documentation/networking/generic-hdlc.txt
Source: https://kernel.org/pub/linux/utils/net/hdlc/%{name}-%{version}.c.gz
Source1: https://kernel.org/pub/linux/utils/net/hdlc/%{name}-%{version}.c.sign
Source2: inarpd.8
Source99: %name.keyring
BuildRequires: gcc
BuildRequires: gzip
%description
Inverse ARP (InARP) daemon for Linux.
%prep
%setup -q -c -T
gunzip -c %{SOURCE0} > %{name}-%{version}.c
%build
gcc %{optflags} %{name}-%{version}.c -o %{name}
%install
install -D -m0755 inarpd %{buildroot}/%{_sbindir}/inarpd
install -D -m0644 %{SOURCE2} %{buildroot}/%{_mandir}/man8/inarpd.8
%files
%{_sbindir}/inarpd
%{_mandir}/man8/inarpd.8%{?ext_man}
%changelog