SHA256
1
0
forked from pool/horst

Accepting request 416012 from home:mnhauke

initial package

OBS-URL: https://build.opensuse.org/request/show/416012
OBS-URL: https://build.opensuse.org/package/show/network:utilities/horst?expand=0&rev=1
This commit is contained in:
Marcus Meissner 2016-08-04 11:42:47 +00:00 committed by Git OBS Bridge
commit f6c5413a0c
5 changed files with 102 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

5
horst.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Sat Jul 30 08:36:37 UTC 2016 - mardnh@gmx.de
- initial package, version 5.0

70
horst.spec Normal file
View File

@ -0,0 +1,70 @@
#
# spec file for package horst
#
# Copyright (c) 2016, 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 http://bugs.opensuse.org/
#
Name: horst
Version: 5.0
Release: 0
Summary: Lightweight IEEE802.11 wireless LAN analyzer
License: GPL-2.0
Group: Productivity/Networking/Diagnostic
Url: http://br1.einfach.org/tech/horst/
Source: https://github.com/br101/horst/archive/version-%{version}.tar.gz
BuildRequires: ncurses-devel
BuildRequires: pkg-config
BuildRequires: pkgconfig(libnl-3.0)
BuildRequires: pkgconfig(libnl-genl-3.0)
Recommends: iw
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
horst is a small, lightweight IEEE802.11 WLAN analyzer with a text interface.
Its basic function is similar to tcpdump, Wireshark or Kismet, but it's much
smaller and shows different, aggregated information which is not easily
available from other tools. It is made for debugging wireless LANs with a
focus on getting a quick overview instead of deep packet inspection and has
special features for Ad-hoc (IBSS) mode and mesh networks.
It can be useful to get a quick overview of what's going on on all wireless
LAN channels and to identify problems.
%prep
%setup -q -n %{name}-version-%{version}
# Remove build time references so build-compare can do its work
FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S')
sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" *.c
sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" *.c
%build
export CFLAGS="%{optflags}"
make %{?_smp_mflags}
%install
install -Dpm0755 horst %{buildroot}/%{_bindir}/horst
install -Dpm0644 horst.conf %{buildroot}/%{_sysconfdir}/horst.conf
install -Dpm0644 horst.1 %{buildroot}/%{_mandir}/man1/horst.1
install -Dpm0644 horst.conf.5 %{buildroot}/%{_mandir}/man5/horst.conf.5
%files
%defattr(-,root,root)
%doc LICENSE README.md
%{_bindir}/horst
%config %{_sysconfdir}/horst.conf
%{_mandir}/man*/*
%changelog

3
version-5.0.tar.gz Normal file
View File

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