Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
ngrep
ngrep.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ngrep.spec of Package ngrep
# # spec file for package ngrep # # Copyright (c) 2017 SUSE LINUX 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 http://bugs.opensuse.org/ # %define tarver 1_46_1 Name: ngrep Version: 1.46.1 Release: 0 Summary: Network grep License: BSD-4-Clause Group: Productivity/Networking/Diagnostic Url: https://github.com/jpr5/ngrep Source: https://github.com/jpr5/ngrep/archive/V%{tarver}.tar.gz Patch1: 10_man-fixes.diff %if 0%{?suse_version} > 1210 BuildRequires: libnet-devel %endif BuildRequires: libpcap-devel BuildRequires: pcre-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ngrep strives to provide most of GNU grep's common features, applying them to the network layer. ngrep is a pcap-aware tool that will allow you to specify extended regular or hexadecimal expressions to match against data payloads of packets. It currently recognizes IPv4/6, TCP, UDP, ICMPv4/6, IGMP and Raw across Ethernet, PPP, SLIP, FDDI, Token Ring and null interfaces, and understands BPF filter logic in the same fashion as more common packet sniffing tools, such as tcpdump and snoop. %prep %setup -q -n %{name}-%{tarver} %patch1 -p1 %build %configure \ --enable-pcre \ --enable-ipv6 \ %if 0%{?suse_version} > 1210 --enable-tcpkill \ %endif --with-pcap-includes=%{_includedir}/pcap make %{?_smp_mflags} \ STRIPFLAG="" %install %make_install %files %defattr(-,root,root) %doc doc/CHANGES.txt doc/CREDITS.txt doc/README.txt LICENSE.txt %{_bindir}/%{name} %{_mandir}/man8/%{name}.8.gz %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor