Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Sniffer-HTTP
perl-Sniffer-HTTP.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Sniffer-HTTP.spec of Package perl-Sniffer-HTTP
# # spec file for package perl-Sniffer-HTTP # # Copyright (c) 2022 SUSE LLC # # 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/ # %define cpan_name Sniffer-HTTP Name: perl-Sniffer-HTTP Version: 0.28 Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Multi-connection sniffer driver URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/C/CO/CORION/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Class::Accessor) BuildRequires: perl(Class::Data::Inheritable) BuildRequires: perl(HTTP::Request) >= 6.14 BuildRequires: perl(HTTP::Response) >= 6.14 BuildRequires: perl(Image::Info) BuildRequires: perl(LWP::Simple) BuildRequires: perl(Net::Pcap) >= 0.09 BuildRequires: perl(NetPacket::TCP) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::HTTP::LocalServer) >= 0.61 BuildRequires: perl(URI) BuildRequires: perl(URI::file) BuildRequires: perl(parent) Requires: perl(Class::Accessor) Requires: perl(Class::Data::Inheritable) Requires: perl(HTTP::Request) >= 6.14 Requires: perl(HTTP::Response) >= 6.14 Requires: perl(LWP::Simple) Requires: perl(Net::Pcap) >= 0.09 Requires: perl(NetPacket::TCP) Requires: perl(parent) %{perl_requires} %description multi-connection sniffer driver %prep %autosetup -n %{cpan_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install %perl_make_install %perl_process_packlist # MANUAL BEGIN install -D -m0755 bin/live-http-headers.pl "%{buildroot}%{_bindir}/live-http-headers" # MANUAL END %perl_gen_filelist %files -f %{name}.files %doc Changes README README.mkdn %exclude %{_bindir}/live-http-headers %exclude %dir %{perl_vendorlib}/Net %exclude %dir %{perl_vendorlib}/Net/Pcap %exclude %{perl_vendorlib}/Net/Pcap/FindDevice.pm %exclude %{perl_man3dir}/Net::Pcap::FindDevice.%{perl_man3ext}%{ext_man} %package -n perl-Net-Pcap-FindDevice Summary: Detect packet capture devices %{perl_requires} Requires: perl(Net::Pcap) >= 0.09 # for netstat Requires: net-tools-deprecated %description -n perl-Net-Pcap-FindDevice This module exports only one subroutine, find_device, which employs a dwimish method to find a network device suitable for sniffing with Net::Pcap. %package -n live-http-headers Summary: Multi-connection HTTP header sniffer Requires: %{name} = %{version} %description -n live-http-headers Dump the headers of HTTP connections as they happen. %files -n perl-Net-Pcap-FindDevice %dir %{perl_vendorlib}/Net %dir %{perl_vendorlib}/Net/Pcap %{perl_vendorlib}/Net/Pcap/FindDevice.pm %doc %{perl_man3dir}/Net::Pcap::FindDevice.%{perl_man3ext}%{ext_man} %files -n live-http-headers %{_bindir}/live-http-headers %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