2011-06-15 12:18:00 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-NetPacket
|
|
|
|
#
|
2019-06-11 11:32:49 +00:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-06-15 12:18:00 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-01-02 15:06:11 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-06-15 12:18:00 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2011-03-23 00:35:14 +00:00
|
|
|
Name: perl-NetPacket
|
2019-07-22 09:44:44 +00:00
|
|
|
Version: 1.7.2
|
2013-08-27 09:14:13 +00:00
|
|
|
Release: 0
|
Accepting request 297179 from devel:languages:perl:autoupdate
- updated to 1.6.0
see /usr/share/doc/packages/perl-NetPacket/Changes
1.6.0 2015-03-13
[ENHANCEMENTS]
- Clean up inheritance code (Philip Prindeville).
- Add a truckload of constants (Philip Prindeville).
[STATISTICS]
- code churn: 12 files changed, 343 insertions(+), 220 deletions(-)
1.5.0 2014-06-15
[ENHANCEMENTS]
- Addition of NetPacket::IPX. (Daniel Collins)
- NetPacket::Ethernet implements 'encode'. (RT#93928, Guido Hungerbuehler)
[STATISTICS]
- code churn: 7 files changed, 337 insertions(+), 13 deletions(-)
1.4.4 2013-11-30
[BUG FIXES]
- NetPacket::USBMon: also handle big endian perl without quad type.
(GH#5, Andreas Schwab)
- Typo fix in comments. (GH#6, fschlich)
[STATISTICS]
- code churn: 3 files changed, 13 insertions(+), 4 deletions(-)
1.4.3 2013-10-03
[BUG FIXES]
- Unpack data in LittleEndian format. (GH#4, k0da)
OBS-URL: https://build.opensuse.org/request/show/297179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=15
2015-04-16 13:43:34 +00:00
|
|
|
%define cpan_name NetPacket
|
2019-06-11 11:32:49 +00:00
|
|
|
Summary: Assemble/disassemble network packets at the protocol level
|
2013-08-27 09:14:13 +00:00
|
|
|
License: Artistic-2.0
|
|
|
|
Group: Development/Libraries/Perl
|
2019-01-02 15:06:11 +00:00
|
|
|
Url: https://metacpan.org/release/%{cpan_name}
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/Y/YA/YANICK/%{cpan_name}-%{version}.tar.gz
|
Accepting request 297179 from devel:languages:perl:autoupdate
- updated to 1.6.0
see /usr/share/doc/packages/perl-NetPacket/Changes
1.6.0 2015-03-13
[ENHANCEMENTS]
- Clean up inheritance code (Philip Prindeville).
- Add a truckload of constants (Philip Prindeville).
[STATISTICS]
- code churn: 12 files changed, 343 insertions(+), 220 deletions(-)
1.5.0 2014-06-15
[ENHANCEMENTS]
- Addition of NetPacket::IPX. (Daniel Collins)
- NetPacket::Ethernet implements 'encode'. (RT#93928, Guido Hungerbuehler)
[STATISTICS]
- code churn: 7 files changed, 337 insertions(+), 13 deletions(-)
1.4.4 2013-11-30
[BUG FIXES]
- NetPacket::USBMon: also handle big endian perl without quad type.
(GH#5, Andreas Schwab)
- Typo fix in comments. (GH#6, fschlich)
[STATISTICS]
- code churn: 3 files changed, 13 insertions(+), 4 deletions(-)
1.4.3 2013-10-03
[BUG FIXES]
- Unpack data in LittleEndian format. (GH#4, k0da)
OBS-URL: https://build.opensuse.org/request/show/297179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=15
2015-04-16 13:43:34 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:16:03 +02:00
|
|
|
Source100: README.md
|
Accepting request 297179 from devel:languages:perl:autoupdate
- updated to 1.6.0
see /usr/share/doc/packages/perl-NetPacket/Changes
1.6.0 2015-03-13
[ENHANCEMENTS]
- Clean up inheritance code (Philip Prindeville).
- Add a truckload of constants (Philip Prindeville).
[STATISTICS]
- code churn: 12 files changed, 343 insertions(+), 220 deletions(-)
1.5.0 2014-06-15
[ENHANCEMENTS]
- Addition of NetPacket::IPX. (Daniel Collins)
- NetPacket::Ethernet implements 'encode'. (RT#93928, Guido Hungerbuehler)
[STATISTICS]
- code churn: 7 files changed, 337 insertions(+), 13 deletions(-)
1.4.4 2013-11-30
[BUG FIXES]
- NetPacket::USBMon: also handle big endian perl without quad type.
(GH#5, Andreas Schwab)
- Typo fix in comments. (GH#6, fschlich)
[STATISTICS]
- code churn: 3 files changed, 13 insertions(+), 4 deletions(-)
1.4.3 2013-10-03
[BUG FIXES]
- Unpack data in LittleEndian format. (GH#4, k0da)
OBS-URL: https://build.opensuse.org/request/show/297179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=15
2015-04-16 13:43:34 +00:00
|
|
|
BuildArch: noarch
|
2011-06-15 12:18:00 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Accepting request 297179 from devel:languages:perl:autoupdate
- updated to 1.6.0
see /usr/share/doc/packages/perl-NetPacket/Changes
1.6.0 2015-03-13
[ENHANCEMENTS]
- Clean up inheritance code (Philip Prindeville).
- Add a truckload of constants (Philip Prindeville).
[STATISTICS]
- code churn: 12 files changed, 343 insertions(+), 220 deletions(-)
1.5.0 2014-06-15
[ENHANCEMENTS]
- Addition of NetPacket::IPX. (Daniel Collins)
- NetPacket::Ethernet implements 'encode'. (RT#93928, Guido Hungerbuehler)
[STATISTICS]
- code churn: 7 files changed, 337 insertions(+), 13 deletions(-)
1.4.4 2013-11-30
[BUG FIXES]
- NetPacket::USBMon: also handle big endian perl without quad type.
(GH#5, Andreas Schwab)
- Typo fix in comments. (GH#6, fschlich)
[STATISTICS]
- code churn: 3 files changed, 13 insertions(+), 4 deletions(-)
1.4.3 2013-10-03
[BUG FIXES]
- Unpack data in LittleEndian format. (GH#4, k0da)
OBS-URL: https://build.opensuse.org/request/show/297179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=15
2015-04-16 13:43:34 +00:00
|
|
|
BuildRequires: perl
|
2011-03-23 00:35:14 +00:00
|
|
|
BuildRequires: perl-macros
|
2019-01-02 15:06:11 +00:00
|
|
|
BuildRequires: perl(Socket) >= 1.87
|
Accepting request 297179 from devel:languages:perl:autoupdate
- updated to 1.6.0
see /usr/share/doc/packages/perl-NetPacket/Changes
1.6.0 2015-03-13
[ENHANCEMENTS]
- Clean up inheritance code (Philip Prindeville).
- Add a truckload of constants (Philip Prindeville).
[STATISTICS]
- code churn: 12 files changed, 343 insertions(+), 220 deletions(-)
1.5.0 2014-06-15
[ENHANCEMENTS]
- Addition of NetPacket::IPX. (Daniel Collins)
- NetPacket::Ethernet implements 'encode'. (RT#93928, Guido Hungerbuehler)
[STATISTICS]
- code churn: 7 files changed, 337 insertions(+), 13 deletions(-)
1.4.4 2013-11-30
[BUG FIXES]
- NetPacket::USBMon: also handle big endian perl without quad type.
(GH#5, Andreas Schwab)
- Typo fix in comments. (GH#6, fschlich)
[STATISTICS]
- code churn: 3 files changed, 13 insertions(+), 4 deletions(-)
1.4.3 2013-10-03
[BUG FIXES]
- Unpack data in LittleEndian format. (GH#4, k0da)
OBS-URL: https://build.opensuse.org/request/show/297179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=15
2015-04-16 13:43:34 +00:00
|
|
|
BuildRequires: perl(parent)
|
2019-01-02 15:06:11 +00:00
|
|
|
Requires: perl(Socket) >= 1.87
|
Accepting request 297179 from devel:languages:perl:autoupdate
- updated to 1.6.0
see /usr/share/doc/packages/perl-NetPacket/Changes
1.6.0 2015-03-13
[ENHANCEMENTS]
- Clean up inheritance code (Philip Prindeville).
- Add a truckload of constants (Philip Prindeville).
[STATISTICS]
- code churn: 12 files changed, 343 insertions(+), 220 deletions(-)
1.5.0 2014-06-15
[ENHANCEMENTS]
- Addition of NetPacket::IPX. (Daniel Collins)
- NetPacket::Ethernet implements 'encode'. (RT#93928, Guido Hungerbuehler)
[STATISTICS]
- code churn: 7 files changed, 337 insertions(+), 13 deletions(-)
1.4.4 2013-11-30
[BUG FIXES]
- NetPacket::USBMon: also handle big endian perl without quad type.
(GH#5, Andreas Schwab)
- Typo fix in comments. (GH#6, fschlich)
[STATISTICS]
- code churn: 3 files changed, 13 insertions(+), 4 deletions(-)
1.4.3 2013-10-03
[BUG FIXES]
- Unpack data in LittleEndian format. (GH#4, k0da)
OBS-URL: https://build.opensuse.org/request/show/297179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=15
2015-04-16 13:43:34 +00:00
|
|
|
Requires: perl(parent)
|
2019-01-02 15:06:11 +00:00
|
|
|
Recommends: perl(Net::Pcap)
|
|
|
|
Recommends: perl(Net::PcapUtils)
|
Accepting request 297179 from devel:languages:perl:autoupdate
- updated to 1.6.0
see /usr/share/doc/packages/perl-NetPacket/Changes
1.6.0 2015-03-13
[ENHANCEMENTS]
- Clean up inheritance code (Philip Prindeville).
- Add a truckload of constants (Philip Prindeville).
[STATISTICS]
- code churn: 12 files changed, 343 insertions(+), 220 deletions(-)
1.5.0 2014-06-15
[ENHANCEMENTS]
- Addition of NetPacket::IPX. (Daniel Collins)
- NetPacket::Ethernet implements 'encode'. (RT#93928, Guido Hungerbuehler)
[STATISTICS]
- code churn: 7 files changed, 337 insertions(+), 13 deletions(-)
1.4.4 2013-11-30
[BUG FIXES]
- NetPacket::USBMon: also handle big endian perl without quad type.
(GH#5, Andreas Schwab)
- Typo fix in comments. (GH#6, fschlich)
[STATISTICS]
- code churn: 3 files changed, 13 insertions(+), 4 deletions(-)
1.4.3 2013-10-03
[BUG FIXES]
- Unpack data in LittleEndian format. (GH#4, k0da)
OBS-URL: https://build.opensuse.org/request/show/297179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=15
2015-04-16 13:43:34 +00:00
|
|
|
%{perl_requires}
|
2011-03-23 00:35:14 +00:00
|
|
|
|
|
|
|
%description
|
Accepting request 297179 from devel:languages:perl:autoupdate
- updated to 1.6.0
see /usr/share/doc/packages/perl-NetPacket/Changes
1.6.0 2015-03-13
[ENHANCEMENTS]
- Clean up inheritance code (Philip Prindeville).
- Add a truckload of constants (Philip Prindeville).
[STATISTICS]
- code churn: 12 files changed, 343 insertions(+), 220 deletions(-)
1.5.0 2014-06-15
[ENHANCEMENTS]
- Addition of NetPacket::IPX. (Daniel Collins)
- NetPacket::Ethernet implements 'encode'. (RT#93928, Guido Hungerbuehler)
[STATISTICS]
- code churn: 7 files changed, 337 insertions(+), 13 deletions(-)
1.4.4 2013-11-30
[BUG FIXES]
- NetPacket::USBMon: also handle big endian perl without quad type.
(GH#5, Andreas Schwab)
- Typo fix in comments. (GH#6, fschlich)
[STATISTICS]
- code churn: 3 files changed, 13 insertions(+), 4 deletions(-)
1.4.3 2013-10-03
[BUG FIXES]
- Unpack data in LittleEndian format. (GH#4, k0da)
OBS-URL: https://build.opensuse.org/request/show/297179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=15
2015-04-16 13:43:34 +00:00
|
|
|
'NetPacket' provides a base class for a cluster of modules related to
|
|
|
|
decoding and encoding of network protocols. Each 'NetPacket' descendent
|
2011-03-23 00:35:14 +00:00
|
|
|
module knows how to encode and decode packets for the network protocol it
|
|
|
|
implements. Consult the documentation for the module in question for
|
|
|
|
protocol-specific implementation.
|
Accepting request 297179 from devel:languages:perl:autoupdate
- updated to 1.6.0
see /usr/share/doc/packages/perl-NetPacket/Changes
1.6.0 2015-03-13
[ENHANCEMENTS]
- Clean up inheritance code (Philip Prindeville).
- Add a truckload of constants (Philip Prindeville).
[STATISTICS]
- code churn: 12 files changed, 343 insertions(+), 220 deletions(-)
1.5.0 2014-06-15
[ENHANCEMENTS]
- Addition of NetPacket::IPX. (Daniel Collins)
- NetPacket::Ethernet implements 'encode'. (RT#93928, Guido Hungerbuehler)
[STATISTICS]
- code churn: 7 files changed, 337 insertions(+), 13 deletions(-)
1.4.4 2013-11-30
[BUG FIXES]
- NetPacket::USBMon: also handle big endian perl without quad type.
(GH#5, Andreas Schwab)
- Typo fix in comments. (GH#6, fschlich)
[STATISTICS]
- code churn: 3 files changed, 13 insertions(+), 4 deletions(-)
1.4.3 2013-10-03
[BUG FIXES]
- Unpack data in LittleEndian format. (GH#4, k0da)
OBS-URL: https://build.opensuse.org/request/show/297179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=15
2015-04-16 13:43:34 +00:00
|
|
|
|
|
|
|
Note that there is no inheritance in the 'NetPacket::' cluster of modules
|
|
|
|
other than each protocol module being a 'NetPacket'. This was seen to be
|
2011-03-23 00:35:14 +00:00
|
|
|
too restrictive as imposing inheritance relationships (for example between
|
|
|
|
the IP, UDP and TCP protocols) would make things like tunneling or other
|
|
|
|
unusual situations difficult.
|
|
|
|
|
|
|
|
%prep
|
Accepting request 297179 from devel:languages:perl:autoupdate
- updated to 1.6.0
see /usr/share/doc/packages/perl-NetPacket/Changes
1.6.0 2015-03-13
[ENHANCEMENTS]
- Clean up inheritance code (Philip Prindeville).
- Add a truckload of constants (Philip Prindeville).
[STATISTICS]
- code churn: 12 files changed, 343 insertions(+), 220 deletions(-)
1.5.0 2014-06-15
[ENHANCEMENTS]
- Addition of NetPacket::IPX. (Daniel Collins)
- NetPacket::Ethernet implements 'encode'. (RT#93928, Guido Hungerbuehler)
[STATISTICS]
- code churn: 7 files changed, 337 insertions(+), 13 deletions(-)
1.4.4 2013-11-30
[BUG FIXES]
- NetPacket::USBMon: also handle big endian perl without quad type.
(GH#5, Andreas Schwab)
- Typo fix in comments. (GH#6, fschlich)
[STATISTICS]
- code churn: 3 files changed, 13 insertions(+), 4 deletions(-)
1.4.3 2013-10-03
[BUG FIXES]
- Unpack data in LittleEndian format. (GH#4, k0da)
OBS-URL: https://build.opensuse.org/request/show/297179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=15
2015-04-16 13:43:34 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2011-03-23 00:35:14 +00:00
|
|
|
|
|
|
|
%build
|
2019-01-02 15:06:11 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
2011-06-15 12:18:00 +00:00
|
|
|
|
2011-03-23 00:35:14 +00:00
|
|
|
%check
|
2019-01-02 15:06:11 +00:00
|
|
|
make test
|
2011-03-23 00:35:14 +00:00
|
|
|
|
Accepting request 297179 from devel:languages:perl:autoupdate
- updated to 1.6.0
see /usr/share/doc/packages/perl-NetPacket/Changes
1.6.0 2015-03-13
[ENHANCEMENTS]
- Clean up inheritance code (Philip Prindeville).
- Add a truckload of constants (Philip Prindeville).
[STATISTICS]
- code churn: 12 files changed, 343 insertions(+), 220 deletions(-)
1.5.0 2014-06-15
[ENHANCEMENTS]
- Addition of NetPacket::IPX. (Daniel Collins)
- NetPacket::Ethernet implements 'encode'. (RT#93928, Guido Hungerbuehler)
[STATISTICS]
- code churn: 7 files changed, 337 insertions(+), 13 deletions(-)
1.4.4 2013-11-30
[BUG FIXES]
- NetPacket::USBMon: also handle big endian perl without quad type.
(GH#5, Andreas Schwab)
- Typo fix in comments. (GH#6, fschlich)
[STATISTICS]
- code churn: 3 files changed, 13 insertions(+), 4 deletions(-)
1.4.3 2013-10-03
[BUG FIXES]
- Unpack data in LittleEndian format. (GH#4, k0da)
OBS-URL: https://build.opensuse.org/request/show/297179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=15
2015-04-16 13:43:34 +00:00
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
2011-03-23 00:35:14 +00:00
|
|
|
|
Accepting request 297179 from devel:languages:perl:autoupdate
- updated to 1.6.0
see /usr/share/doc/packages/perl-NetPacket/Changes
1.6.0 2015-03-13
[ENHANCEMENTS]
- Clean up inheritance code (Philip Prindeville).
- Add a truckload of constants (Philip Prindeville).
[STATISTICS]
- code churn: 12 files changed, 343 insertions(+), 220 deletions(-)
1.5.0 2014-06-15
[ENHANCEMENTS]
- Addition of NetPacket::IPX. (Daniel Collins)
- NetPacket::Ethernet implements 'encode'. (RT#93928, Guido Hungerbuehler)
[STATISTICS]
- code churn: 7 files changed, 337 insertions(+), 13 deletions(-)
1.4.4 2013-11-30
[BUG FIXES]
- NetPacket::USBMon: also handle big endian perl without quad type.
(GH#5, Andreas Schwab)
- Typo fix in comments. (GH#6, fschlich)
[STATISTICS]
- code churn: 3 files changed, 13 insertions(+), 4 deletions(-)
1.4.3 2013-10-03
[BUG FIXES]
- Unpack data in LittleEndian format. (GH#4, k0da)
OBS-URL: https://build.opensuse.org/request/show/297179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=15
2015-04-16 13:43:34 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
2019-01-02 15:06:11 +00:00
|
|
|
%doc Changes CODE_OF_CONDUCT.md CONTRIBUTORS doap.xml README README.mkdn
|
|
|
|
%license LICENSE
|
2011-09-16 22:37:14 +00:00
|
|
|
|
2011-06-15 12:18:00 +00:00
|
|
|
%changelog
|