Compare commits
23 Commits
Author | SHA256 | Date | |
---|---|---|---|
c0ee18bd86 | |||
0a020dc33a | |||
|
554ff1fac0 | ||
96eea2f93d | |||
9ecfe90cb1 | |||
9905458b24 | |||
|
1d56a1f4eb | ||
960a7a519c | |||
|
6f5028f617 | ||
|
08917f5714 | ||
|
63a5c6cb37 | ||
|
0a9834658f | ||
|
8ef6092460 | ||
|
8bbc151f48 | ||
|
810139f313 | ||
|
bc6087a779 | ||
538a69e89e | |||
|
38d8289b60 | ||
|
6b79ab4fae | ||
|
6403cdbad2 | ||
|
54e0849086 | ||
|
501d5b60b3 | ||
|
bb26e4be6b |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:09c9d116040a404ad9e29683d855d3e15e8b316e98aed4dd27c57473394c1a48
|
||||
size 25318
|
3
NetPacket-1.7.2.tar.gz
Normal file
3
NetPacket-1.7.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e3af614a1b1ef4cbeaf83db32081d8bcb8d812bb6dbe4660aba3e4081e9f145b
|
||||
size 47544
|
12
README.md
Normal file
12
README.md
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
## Build Results
|
||||
|
||||
Current state of perl in openSUSE:Factory is
|
||||
|
||||

|
||||
|
||||
The current state of perl in the devel project build (devel:languages:perl)
|
||||
|
||||

|
||||
|
||||
|
17
cpanspec.yml
Normal file
17
cpanspec.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: -
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
@@ -1,11 +0,0 @@
|
||||
--- Build.PL.orig 2011-03-23 01:43:44.000000000 +0100
|
||||
+++ Build.PL 2011-03-23 01:44:01.000000000 +0100
|
||||
@@ -2,7 +2,7 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
-use Module::Build 0.3601;
|
||||
+use Module::Build 0;
|
||||
|
||||
|
||||
my %module_build_args = (
|
@@ -1,5 +1,139 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 21 11:45:09 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 1.7.2
|
||||
see /usr/share/doc/packages/perl-NetPacket/Changes
|
||||
|
||||
1.7.2 2019-07-20
|
||||
[ DOCUMENTATION ]
|
||||
- fix typos. (GH#14)
|
||||
|
||||
[ STATISTICS ]
|
||||
- code churn: 7 files changed, 121 insertions(+), 42 deletions(-)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 9 05:19:12 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 1.7.1
|
||||
see /usr/share/doc/packages/perl-NetPacket/Changes
|
||||
|
||||
1.7.1 2019-06-08
|
||||
[ BUG FIXES ]
|
||||
- fixes inverted ethernet ports (reported by sanyacomua)
|
||||
|
||||
[ STATISTICS ]
|
||||
- code churn: 4 files changed, 140 insertions(+), 130 deletions(-)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 31 06:23:55 UTC 2018 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 1.7.0
|
||||
see /usr/share/doc/packages/perl-NetPacket/Changes
|
||||
|
||||
1.7.0 2018-12-30
|
||||
[ ENHANCEMENTS ]
|
||||
- Setup aliases at compile time (Nicolas R, GH#11)
|
||||
- add recommended Net::Pcap{,Utils} from README (Zak B. Elep, GH#12)
|
||||
|
||||
[ NEW FEATURES ]
|
||||
- adds back basic support for IPv6. (Dan Book, GH#10)
|
||||
|
||||
[ STATISTICS ]
|
||||
- code churn: 16 files changed, 1177 insertions(+), 48 deletions(-)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 14 15:38:57 UTC 2015 - coolo@suse.com
|
||||
|
||||
- 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)
|
||||
|
||||
[STATISTICS]
|
||||
- code churn: 3 files changed, 62 insertions(+), 27 deletions(-)
|
||||
|
||||
1.4.2 2013-09-25
|
||||
[BUG FIXES]
|
||||
- Dist::Zilla::Plugin::Test::Compile was causing test to potentially hang
|
||||
on Windows. (reported by Karen Etheridge)
|
||||
|
||||
[MISC]
|
||||
- Tidy up the changelog. (GH#3, Neil Bowers)
|
||||
|
||||
[STATISTICS]
|
||||
- code churn: 2 files changed, 46 insertions(+), 20 deletions(-)
|
||||
- obsoletes perl-NetPacket-backport.patch
|
||||
- remove upstreamed perl-NetPacket-bigendian.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 9 16:30:09 UTC 2013 - schwab@suse.de
|
||||
|
||||
- Extend last change for 32-bit big endian
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 3 13:48:17 UTC 2013 - dvaleev@suse.com
|
||||
|
||||
- USB is little endian, so we need to convert it on BigEndian
|
||||
platforms (perl-NetPacket-bigendian.patch)
|
||||
upstream commit fc0563f746c44387d77e70792628fe2a03628751
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 6 19:35:34 UTC 2013 - Greg.Freemyer@gmail.com
|
||||
|
||||
- update to 1.4.1 2013-09-05
|
||||
[BUG FIXES]
|
||||
- Test was using Errno constant and failing on some platforms.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 27 05:51:21 UTC 2013 - Greg.Freemyer@gmail.com
|
||||
|
||||
- update to 1.4.0
|
||||
- Fixing NetPacked::UDP documentation. (RT#85361, Ben Magistro)
|
||||
- New NetPacket::USBMon. (GH#2, lkundrak)
|
||||
- 'parse_tcp_options()' method added to NetPacket::TCP (patch by Tom
|
||||
Linden) [RT#71320]
|
||||
[BUG FIXES]
|
||||
- Parse SACK option and fix TSecr parsing. (GH#1, Robin Lee)
|
||||
- Fix NetPacket::UDP's strip. (RT#85038, reported by Stan Schwertly)
|
||||
- Use of constant withotu parenthesis made test fail under 5.6.2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 30 16:49:00 EDT 2011 - Greg.Freemyer@opensuse.org
|
||||
|
||||
- Update to 1.2.0
|
||||
[ENHANCEMENTS]
|
||||
- Add support for Ethernet VLAN (thanks to Kai Chan)
|
||||
[BUG FIXES]
|
||||
- Add a INSTALL file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 23 00:35:01 CET 2011 - pascal.bleser@opensuse.org
|
||||
|
||||
|
||||
- initial version (1.1.1)
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-NetPacket
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 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
|
||||
@@ -12,75 +12,64 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: perl-NetPacket
|
||||
Version: 1.1.1
|
||||
Release: 1
|
||||
Version: 1.7.2
|
||||
Release: 0
|
||||
%define cpan_name NetPacket
|
||||
Summary: Assemble/disassemble network packets at the protocol level
|
||||
Source: http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/NetPacket-%{version}.tar.gz
|
||||
Patch1: perl-NetPacket-backport.patch
|
||||
Url: http://search.cpan.org/dist/NetPacket
|
||||
License: Artistic-2.0
|
||||
Group: Development/Libraries/Perl
|
||||
License: Perl License
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl-macros
|
||||
%if 0%{?suse_version} > 1120
|
||||
BuildRequires: perl(Test::More) >= 0.94
|
||||
%endif
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: perl(constant)
|
||||
Requires: perl(vars)
|
||||
Requires: perl(constant)
|
||||
%if 0%{?suse_version} >= 1120
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/Y/YA/YANICK/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
Source100: README.md
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Socket) >= 1.87
|
||||
BuildRequires: perl(parent)
|
||||
Requires: perl(Socket) >= 1.87
|
||||
Requires: perl(parent)
|
||||
Recommends: perl(Net::Pcap)
|
||||
Recommends: perl(Net::PcapUtils)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
"NetPacket" provides a base class for a cluster of modules related to
|
||||
decoding and encoding of network protocols. Each "NetPacket" descendent
|
||||
'NetPacket' provides a base class for a cluster of modules related to
|
||||
decoding and encoding of network protocols. Each 'NetPacket' descendent
|
||||
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.
|
||||
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
|
||||
|
||||
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
|
||||
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
|
||||
%setup -q -n "NetPacket-%{version}"
|
||||
%patch1
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%__perl ./Build.PL
|
||||
./Build
|
||||
|
||||
%install
|
||||
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
|
||||
%perl_process_packlist
|
||||
|
||||
%if 0%{?suse_version} > 1120
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
%endif
|
||||
make test
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes CODE_OF_CONDUCT.md CONTRIBUTORS doap.xml README README.mkdn
|
||||
%license LICENSE
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README LICENSE Changes
|
||||
%{perl_vendorlib}/NetPacket
|
||||
%{perl_vendorlib}/NetPacket.pm
|
||||
%doc %{perl_man3dir}/NetPacket.%{perl_man3ext}%{ext_man}
|
||||
%doc %{perl_man3dir}/NetPacket::*.%{perl_man3ext}%{ext_man}
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user