23 Commits

Author SHA256 Message Date
c0ee18bd86 Add Gitea build results 2025-08-12 18:16:03 +02:00
0a020dc33a Accepting request 717518 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/717518
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-NetPacket?expand=0&rev=17
2019-07-22 15:18:50 +00:00
Lars Vogdt
554ff1fac0 Accepting request 717350 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/717350
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=21
2019-07-22 09:44:44 +00:00
96eea2f93d Accepting request 709123 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/709123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-NetPacket?expand=0&rev=16
2019-06-12 11:17:40 +00:00
9ecfe90cb1 Accepting request 708791 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/708791
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=19
2019-06-11 11:32:49 +00:00
9905458b24 Accepting request 662486 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/662486
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-NetPacket?expand=0&rev=15
2019-01-03 17:09:03 +00:00
Lars Vogdt
1d56a1f4eb Accepting request 662179 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/662179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=17
2019-01-02 15:06:11 +00:00
960a7a519c Accepting request 297181 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/297181
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-NetPacket?expand=0&rev=14
2015-04-18 08:39:11 +00:00
Stephan Kulow
6f5028f617 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
Tomáš Chvátal
08917f5714 Accepting request 204042 from devel:languages:perl
- Extend last change for 32-bit big endian (forwarded request 203766 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/204042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-NetPacket?expand=0&rev=12
2013-10-21 10:32:08 +00:00
Lars Vogdt
63a5c6cb37 Accepting request 203766 from home:Andreas_Schwab:Factory
- Extend last change for 32-bit big endian

OBS-URL: https://build.opensuse.org/request/show/203766
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=13
2013-10-20 16:34:43 +00:00
Tomáš Chvátal
0a9834658f Accepting request 202123 from devel:languages:perl
- USB is little endian, so we need to convert it on BigEndian
  platforms (perl-NetPacket-bigendian.patch)
  upstream commit fc0563f746c44387d77e70792628fe2a03628751 (forwarded request 202119 from k0da)

OBS-URL: https://build.opensuse.org/request/show/202123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-NetPacket?expand=0&rev=11
2013-10-04 14:00:30 +00:00
Stephan Kulow
8ef6092460 Accepting request 202119 from home:k0da:ppc
- USB is little endian, so we need to convert it on BigEndian
  platforms (perl-NetPacket-bigendian.patch)
  upstream commit fc0563f746c44387d77e70792628fe2a03628751

OBS-URL: https://build.opensuse.org/request/show/202119
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=11
2013-10-04 09:09:54 +00:00
Tomáš Chvátal
8bbc151f48 Accepting request 197796 from devel:languages:perl
Update to v1.4.1
One potential bugfix (forwarded request 197795 from gregfreemyer)

OBS-URL: https://build.opensuse.org/request/show/197796
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-NetPacket?expand=0&rev=9
2013-09-08 09:40:58 +00:00
Greg Freemyer
810139f313 Accepting request 197795 from home:gregfreemyer:Tools-for-forensic-boot-cd
Update to v1.4.1
One potential bugfix

OBS-URL: https://build.opensuse.org/request/show/197795
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=9
2013-09-06 19:43:54 +00:00
Stephan Kulow
bc6087a779 Accepting request 196534 from devel:languages:perl
update to v1.4.0, no exciting new features/bug fixes. (forwarded request 196491 from gregfreemyer)

OBS-URL: https://build.opensuse.org/request/show/196534
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-NetPacket?expand=0&rev=8
2013-08-27 19:04:16 +00:00
538a69e89e Accepting request 196491 from home:gregfreemyer:Tools-for-forensic-boot-cd
update to v1.4.0, no exciting new features/bug fixes.

OBS-URL: https://build.opensuse.org/request/show/196491
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=7
2013-08-27 09:14:13 +00:00
Stephan Kulow
38d8289b60 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-NetPacket?expand=0&rev=5
2011-12-06 17:45:18 +00:00
Lars Vogdt
6b79ab4fae Accepting request 82582 from devel:languages:perl
Update license in specfile to Artistic 2.0 as per LICENSE file (forwarded request 82581 from gregfreemyer)

OBS-URL: https://build.opensuse.org/request/show/82582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-NetPacket?expand=0&rev=3
2011-09-19 15:57:25 +00:00
Greg Freemyer
6403cdbad2 Accepting request 82581 from home:gregfreemyer:branches:devel:languages:perl
Update license in specfile to Artistic 2.0 as per LICENSE file

OBS-URL: https://build.opensuse.org/request/show/82581
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=5
2011-09-16 22:37:14 +00:00
Vítězslav Čížek
54e0849086 Accepting request 78251 from home:gregfreemyer:branches:home:gregfreemyer:Tools-for-forensic-boot-cd
One more effort to get the changes file right.

OBS-URL: https://build.opensuse.org/request/show/78251
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=4
2011-08-08 09:08:51 +00:00
OBS User buildservice-autocommit
501d5b60b3 Updating link to change in openSUSE:Factory/perl-NetPacket revision 2.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=3ededc24a8348661b09a847453a89422
2011-06-15 12:18:00 +00:00
Sascha Peilicke
bb26e4be6b Accepting request 73382 from devel:languages:perl
initialized devel package after accepting 73382

OBS-URL: https://build.opensuse.org/request/show/73382
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=3
2011-06-15 12:17:49 +00:00
7 changed files with 206 additions and 65 deletions

View File

@@ -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
View File

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

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-NetPacket/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-NetPacket)

17
cpanspec.yml Normal file
View 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

View File

@@ -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 = (

View File

@@ -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)

View File

@@ -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