Hello community, here is the log from the commit of package perl-Socket-MsgHdr for openSUSE:Factory checked in at 2018-12-12 17:27:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Socket-MsgHdr (Old) and /work/SRC/openSUSE:Factory/.perl-Socket-MsgHdr.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Socket-MsgHdr" Wed Dec 12 17:27:50 2018 rev:20 rq:655842 version:0.05 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Socket-MsgHdr/perl-Socket-MsgHdr.changes 2011-09-23 12:38:43.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Socket-MsgHdr.new.28833/perl-Socket-MsgHdr.changes 2018-12-12 17:27:52.302923512 +0100 @@ -1,0 +2,18 @@ +Thu Dec 6 16:16:27 UTC 2018 - Stephan Kulow <[email protected]> + +- updated to 0.05 + see /usr/share/doc/packages/perl-Socket-MsgHdr/Changes + + 0.05 Fri Nov 30 2018 + - No changes. + + 0.04_03 Fri Nov 30 2018 + - Fix runtime loads. (FG) + + 0.04_02 Mon Jan 11 23:09:10 2010 + - (hints/solaris.pl, MSWin32.pl) Add -D_XOPEN_SOURCE=520 to treat + i86pc-solaris smoke test failures, also force "N/A" on MSWin32. + +- Drop perl-Socket-MsgHdr.diff: integrated upstream + +------------------------------------------------------------------- Old: ---- Socket-MsgHdr-0.04.tar.gz perl-Socket-MsgHdr.diff New: ---- Socket-MsgHdr-0.05.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Socket-MsgHdr.spec ++++++ --- /var/tmp/diff_new_pack.yNc6VU/_old 2018-12-12 17:27:52.818922859 +0100 +++ /var/tmp/diff_new_pack.yNc6VU/_new 2018-12-12 17:27:52.818922859 +0100 @@ -1,7 +1,7 @@ # -# spec file for package perl-Socket-MsgHdr (Version 0.04) +# spec file for package perl-Socket-MsgHdr # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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,59 +12,53 @@ # 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/ # -# norootforbuild - Name: perl-Socket-MsgHdr -Url: http://search.cpan.org/ -License: Artistic-1.0 +Version: 0.05 +Release: 0 +%define cpan_name Socket-MsgHdr +Summary: Sendmsg, Recvmsg and Ancillary Data Operations +License: GPL-1.0-or-later OR Artistic-1.0 Group: Development/Libraries/Perl -#Requires: -AutoReqProv: on -Summary: Perl interface for the sendmsg/recvmsg functions -Version: 0.04 -Release: 7 -Source: Socket-MsgHdr-%{version}.tar.gz -Patch: perl-Socket-MsgHdr.diff +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/F/FE/FELIPE/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros +%{perl_requires} %description -Socket::MsgHdr provides advanced socket messaging operations via -sendmsg and recvmsg. - - - -Authors: --------- - Michael J. Pomraning +Socket::MsgHdr provides advanced socket messaging operations via sendmsg +and recvmsg. Like their C counterparts, these functions accept few +parameters, instead stuffing a lot of information into a complex structure. + +This structure describes the message sent or received (buf), the peer on +the other end of the socket (name), and ancillary or so-called control +information (cmsghdr). This ancillary data may be used for file descriptor +passing, IPv6 operations, and a host of implemenation-specific extensions. %prep -%setup -n Socket-MsgHdr-%{version} -%patch +%setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} + +%check make test %install -make DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_make_install %perl_process_packlist +%perl_gen_filelist -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(-,root,root) -%doc README MANIFEST -%doc %{_mandir}/man3/* -%{perl_vendorarch}/Socket -%{perl_vendorarch}/auto/Socket +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes CONTRIBUTING README +%license LICENSE %changelog ++++++ Socket-MsgHdr-0.04.tar.gz -> Socket-MsgHdr-0.05.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Socket-MsgHdr-0.04/.gitignore new/Socket-MsgHdr-0.05/.gitignore --- old/Socket-MsgHdr-0.04/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/Socket-MsgHdr-0.05/.gitignore 2018-11-30 06:37:14.000000000 +0100 @@ -0,0 +1,38 @@ +!Build/ +.last_cover_stats +/META.yml +/META.json +/MYMETA.* +*.o +*.pm.tdy +*.bs + +# Devel::Cover +cover_db/ + +# Devel::NYTProf +nytprof.out + +# Dizt::Zilla +/.build/ + +# Module::Build +_build/ +Build +Build.bat + +# Module::Install +inc/ + +# ExtUtils::MakeMaker +/blib/ +/_eumm/ +/*.gz +/Makefile +/Makefile.old +/MANIFEST.bak +/pm_to_blib +/*.zip +*.sw* + +MsgHdr.c diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Socket-MsgHdr-0.04/.travis.yml new/Socket-MsgHdr-0.05/.travis.yml --- old/Socket-MsgHdr-0.04/.travis.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/Socket-MsgHdr-0.05/.travis.yml 2018-11-30 03:44:40.000000000 +0100 @@ -0,0 +1,25 @@ +language: perl +os: + - linux +# - osx #doesn’t install the correct perl +perl: + - "5.28" + - "5.26" + - "5.24" + - "5.22" + - "5.20" + - "5.18" + - "5.16" + - "5.14" + - "5.12" + - "5.10" + - "5.8" + - "5.6" +matrix: + include: + - os: osx + perl: system + before_install: + - "curl -L http://cpanmin.us | perl - --self-upgrade" + - export PATH=$PATH:$HOME/perl5/bin + - "cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Socket-MsgHdr-0.04/CONTRIBUTING new/Socket-MsgHdr-0.05/CONTRIBUTING --- old/Socket-MsgHdr-0.04/CONTRIBUTING 1970-01-01 01:00:00.000000000 +0100 +++ new/Socket-MsgHdr-0.05/CONTRIBUTING 2018-11-30 06:51:06.000000000 +0100 @@ -0,0 +1 @@ +https://github.com/FGasper/p5-Socket-MsgHdr diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Socket-MsgHdr-0.04/Changes new/Socket-MsgHdr-0.05/Changes --- old/Socket-MsgHdr-0.04/Changes 2010-01-08 05:58:54.000000000 +0100 +++ new/Socket-MsgHdr-0.05/Changes 2018-12-01 05:15:24.000000000 +0100 @@ -4,6 +4,16 @@ TLB - Troels Liebe Bentsen PE - Paul Evans +0.05 Fri Nov 30 2018 + - No changes. + +0.04_03 Fri Nov 30 2018 + - Fix runtime loads. (FG) + +0.04_02 Mon Jan 11 23:09:10 2010 + - (hints/solaris.pl, MSWin32.pl) Add -D_XOPEN_SOURCE=520 to treat + i86pc-solaris smoke test failures, also force "N/A" on MSWin32. + 0.04 Thu Jan 07 22:50:18 2010 - (MsgHdr.xs) FreeBSD 6.3 / perl-5.8 fix: explicitly NULL "empty" msghdr members. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Socket-MsgHdr-0.04/LICENSE new/Socket-MsgHdr-0.05/LICENSE --- old/Socket-MsgHdr-0.04/LICENSE 1970-01-01 01:00:00.000000000 +0100 +++ new/Socket-MsgHdr-0.05/LICENSE 2018-11-30 05:23:50.000000000 +0100 @@ -0,0 +1,2 @@ +This library is free software; you can redistribute it and/or modify +it under the same terms as Perl itself. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Socket-MsgHdr-0.04/MANIFEST new/Socket-MsgHdr-0.05/MANIFEST --- old/Socket-MsgHdr-0.04/MANIFEST 2010-01-07 04:51:34.000000000 +0100 +++ new/Socket-MsgHdr-0.05/MANIFEST 2018-12-01 05:15:35.000000000 +0100 @@ -1,11 +1,21 @@ +.gitignore +.travis.yml +CONTRIBUTING Changes -Makefile.PL +LICENSE MANIFEST +Makefile.PL MsgHdr.xs -ppport.h README +hints/MSWin32.pl +hints/solaris.pl +lib/Socket/MsgHdr.pm +ppport.h t/10basic.t t/20send.t t/30recv.t -lib/Socket/MsgHdr.pm -META.yml Module meta-data (added by MakeMaker) +t/40runtime.t +t/pod-coverage.t +t/pod.t +META.yml Module YAML meta-data (added by MakeMaker) +META.json Module JSON meta-data (added by MakeMaker) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Socket-MsgHdr-0.04/META.json new/Socket-MsgHdr-0.05/META.json --- old/Socket-MsgHdr-0.04/META.json 1970-01-01 01:00:00.000000000 +0100 +++ new/Socket-MsgHdr-0.05/META.json 2018-12-01 05:15:35.000000000 +0100 @@ -0,0 +1,51 @@ +{ + "abstract" : "sendmsg, recvmsg and ancillary data operations", + "author" : [ + "Mike Pomraning <[email protected]>", + "Felipe Gasper <[email protected]>" + ], + "dynamic_config" : 1, + "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150010", + "license" : [ + "unknown" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "Socket-MsgHdr", + "no_index" : { + "directory" : [ + "t", + "inc" + ] + }, + "prereqs" : { + "build" : { + "requires" : { + "ExtUtils::MakeMaker" : "0" + } + }, + "configure" : { + "requires" : { + "ExtUtils::MakeMaker" : "0" + } + }, + "runtime" : { + "requires" : {} + } + }, + "release_status" : "stable", + "resources" : { + "bugtracker" : { + "web" : "https://github.com/FGasper/p5-Socket-MsgHdr/issues" + }, + "repository" : { + "type" : "git", + "url" : "git://github.com/FGasper/p5-Socket-MsgHdr.git", + "web" : "https://github.com/FGasper/p5-Socket-MsgHdr" + } + }, + "version" : "0.05", + "x_serialization_backend" : "JSON::PP version 2.27400_02" +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Socket-MsgHdr-0.04/META.yml new/Socket-MsgHdr-0.05/META.yml --- old/Socket-MsgHdr-0.04/META.yml 2010-01-08 06:00:10.000000000 +0100 +++ new/Socket-MsgHdr-0.05/META.yml 2018-12-01 05:15:35.000000000 +0100 @@ -1,21 +1,26 @@ ---- #YAML:1.0 -name: Socket-MsgHdr -version: 0.04 -abstract: sendmsg, recvmsg and ancillary data operations +--- +abstract: 'sendmsg, recvmsg and ancillary data operations' author: - - A. U. Thor <mjp@domain_not_set.invalid> -license: unknown -distribution_type: module -configure_requires: - ExtUtils::MakeMaker: 0 + - 'Mike Pomraning <[email protected]>' + - 'Felipe Gasper <[email protected]>' build_requires: - ExtUtils::MakeMaker: 0 -requires: {} -no_index: - directory: - - t - - inc -generated_by: ExtUtils::MakeMaker version 6.55_02 + ExtUtils::MakeMaker: '0' +configure_requires: + ExtUtils::MakeMaker: '0' +dynamic_config: 1 +generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150010' +license: unknown meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: '1.4' +name: Socket-MsgHdr +no_index: + directory: + - t + - inc +requires: {} +resources: + bugtracker: https://github.com/FGasper/p5-Socket-MsgHdr/issues + repository: git://github.com/FGasper/p5-Socket-MsgHdr.git +version: '0.05' +x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Socket-MsgHdr-0.04/Makefile.PL new/Socket-MsgHdr-0.05/Makefile.PL --- old/Socket-MsgHdr-0.04/Makefile.PL 2010-01-07 04:18:16.000000000 +0100 +++ new/Socket-MsgHdr-0.05/Makefile.PL 2018-11-30 06:36:13.000000000 +0100 @@ -2,16 +2,33 @@ use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. + +my $mm_version = eval $ExtUtils::MakeMaker::VERSION; + WriteMakefile( NAME => 'Socket::MsgHdr', VERSION_FROM => 'lib/Socket/MsgHdr.pm', # finds $VERSION PREREQ_PM => {}, # e.g., Module::Name => 1.1 - ($] >= 5.005 ? ## Add these new keywords supported since 5.005 - (ABSTRACT_FROM => 'lib/Socket/MsgHdr.pm', # retrieve abstract from module - AUTHOR => 'A. U. Thor <mjp@domain_not_set.invalid>') : ()), + ABSTRACT_FROM => 'lib/Socket/MsgHdr.pm', + AUTHOR => [ 'Mike Pomraning <[email protected]>', 'Felipe Gasper <[email protected]>' ], + ($mm_ver >= 6.31 ? (LICENSE => 'perl') : ()), LIBS => [''], # e.g., '-lm' DEFINE => '', # e.g., '-DHAVE_SOMETHING' INC => '-I.', # e.g., '-I. -I/usr/include/other' # Un-comment this if you add C files to link with later: # OBJECT => '$(O_FILES)', # link all the C files too + + META_MERGE => { + 'meta-spec' => { version => 2 }, + resources => { + repository => { + type => 'git', + url => 'git://github.com/FGasper/p5-Socket-MsgHdr.git', + web => 'https://github.com/FGasper/p5-Socket-MsgHdr', + }, + bugtracker => { + web => 'https://github.com/FGasper/p5-Socket-MsgHdr/issues', + }, + }, + }, ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Socket-MsgHdr-0.04/hints/MSWin32.pl new/Socket-MsgHdr-0.05/hints/MSWin32.pl --- old/Socket-MsgHdr-0.04/hints/MSWin32.pl 1970-01-01 01:00:00.000000000 +0100 +++ new/Socket-MsgHdr-0.05/hints/MSWin32.pl 2010-01-15 05:53:13.000000000 +0100 @@ -0,0 +1,3 @@ +# Socket::MsgHdr 0.04_02 hints/MSWin32.pl + +die "OS unsupported"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Socket-MsgHdr-0.04/hints/solaris.pl new/Socket-MsgHdr-0.05/hints/solaris.pl --- old/Socket-MsgHdr-0.04/hints/solaris.pl 1970-01-01 01:00:00.000000000 +0100 +++ new/Socket-MsgHdr-0.05/hints/solaris.pl 2010-01-15 05:53:35.000000000 +0100 @@ -0,0 +1,3 @@ +# Socket::MsgHdr 0.04_02 hints/solaris.pl + +$self->{CCFLAGS} = join($Config{ccflags}, '-D_XOPEN_SOURCE=520'); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Socket-MsgHdr-0.04/lib/Socket/MsgHdr.pm new/Socket-MsgHdr-0.05/lib/Socket/MsgHdr.pm --- old/Socket-MsgHdr-0.04/lib/Socket/MsgHdr.pm 2010-01-08 05:58:40.000000000 +0100 +++ new/Socket-MsgHdr-0.05/lib/Socket/MsgHdr.pm 2018-12-01 05:13:12.000000000 +0100 @@ -5,11 +5,11 @@ #use bytes; our @EXPORT = qw( sendmsg recvmsg ); -our @EXPORT_OK = qw( pack_cmsghdr unpack_cmsghdr ); -our $VERSION = '0.04'; +our @EXPORT_OK = qw( pack_cmsghdr unpack_cmsghdr ); # Undocumented! +our $VERSION = '0.05'; # Forcibly export our sendmsg, recvmsg methods -INIT { +BEGIN { *IO::Socket::sendmsg = \&sendmsg; *IO::Socket::recvmsg = \&recvmsg; } @@ -23,7 +23,7 @@ $self->{flags}; } -INIT { +BEGIN { for my $attr (qw|name buf control|) { no strict 'refs'; @@ -280,13 +280,11 @@ =head1 SEE ALSO -L<sendmsg(2)>, L<recvmsg(2)>, L<File::FDpasser>, L<"RFC 2292"> +L<sendmsg(2)>, L<recvmsg(2)>, L<File::FDpasser>, L<RFC 2292|https://tools.ietf.org/html/rfc2292> =head1 AUTHOR -Michael J. Pomraning - -Please report bugs to E<lt>mjp AT cpan DOT org E<gt> +Michael J. Pomraning, co-maintained by Felipe Gasper =head1 COPYRIGHT AND LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Socket-MsgHdr-0.04/t/40runtime.t new/Socket-MsgHdr-0.05/t/40runtime.t --- old/Socket-MsgHdr-0.04/t/40runtime.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Socket-MsgHdr-0.05/t/40runtime.t 2018-11-30 05:28:32.000000000 +0100 @@ -0,0 +1,20 @@ +use Test::More; + +ok( + eval { require Socket::MsgHdr; 1 }, + 'loaded dynamically', +); + +my $send_msg = Socket::MsgHdr->new( + buf => 12345, +); +$send_msg->cmsghdr( 0, 0, "\0" x 24 ); + +my $recv_msg = Socket::MsgHdr->new( + buflen => 1, + controllen => 32, +); + +ok 1, '… and messages can be created'; + +done_testing(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Socket-MsgHdr-0.04/t/pod-coverage.t new/Socket-MsgHdr-0.05/t/pod-coverage.t --- old/Socket-MsgHdr-0.04/t/pod-coverage.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Socket-MsgHdr-0.05/t/pod-coverage.t 2018-11-30 06:19:36.000000000 +0100 @@ -0,0 +1,22 @@ +use Test::More; +no warnings 'void'; # Too late to run INIT block ... + +eval "use Test::Pod::Coverage tests => 1"; + +plan skip_all => "Test::Pod::Coverage required" if $@; + +{ + local $SIG{__WARN__} = sub { + # adapted from Class-Trait-0.07 + return if $_[0] =~ /^Too late to run INIT block/; + goto &CORE::warn; + }; + +pod_coverage_ok("Socket::MsgHdr", + { also_private => [ + qr/^(?:un)?pack_cmsghdr$/, + qr/^control$/, + ] }, + "Socket::MsgHdr OO and default EXPORTs are covered"); + +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Socket-MsgHdr-0.04/t/pod.t new/Socket-MsgHdr-0.05/t/pod.t --- old/Socket-MsgHdr-0.04/t/pod.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Socket-MsgHdr-0.05/t/pod.t 2010-01-15 06:22:34.000000000 +0100 @@ -0,0 +1,5 @@ +use Test::More; + +eval "use Test::Pod 1.00"; +plan skip_all => "Test::Pod 1.00 required for testing POD" if $@; +all_pod_files_ok (); ++++++ cpanspec.yml ++++++ --- #description_paragraphs: 3 #description: |- # override description from CPAN #summary: override summary from CPAN #no_testing: broken upstream #sources: # - source1 # - source2 #patches: # foo.patch: -p1 # bar.patch: #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_build: |- # rm unused.files #post_install: |- # sed on %{name}.files #license: SUSE-NonFree #skip_noarch: 1 #custom_build: |- #./Build build flags=%{?_smp_mflags} --myflag #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module
