commit c8ae80dbf558d3b576caab44da4a227b942e75cab1c93def21d53830c2c49123 Author: Adrian Schröter Date: Fri May 3 18:42:56 2024 +0200 Sync from SUSE:SLFO:Main perl-Socket6 revision e7a1d488c6ae2b347964057c6a22ffe8 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/Socket6-0.29.tar.gz b/Socket6-0.29.tar.gz new file mode 100644 index 0000000..d9b0227 --- /dev/null +++ b/Socket6-0.29.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:468915fa3a04dcf6574fc957eff495915e24569434970c91ee8e4e1459fc9114 +size 65359 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..7ceb259 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,28 @@ +--- +description_paragraphs: 2 +#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: BSD-3-Clause +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-Socket6.changes b/perl-Socket6.changes new file mode 100644 index 0000000..e18f7a2 --- /dev/null +++ b/perl-Socket6.changes @@ -0,0 +1,135 @@ +------------------------------------------------------------------- +Thu Nov 28 20:22:50 UTC 2019 - + +- Add manual license BSD-3-Clause to cpanspec.yml + Limit description to 2 paragraphs + +------------------------------------------------------------------- +Mon Nov 25 13:05:23 UTC 2019 - + +- updated to 0.29 + see /usr/share/doc/packages/perl-Socket6/ChangeLog + + 2018-09-30 Hajimu UMEMOTO + + * Socket6.pm: Bump version number to 0.29. + + * Socket6.xs: Updates the tests for handling the correct headers + on NetBSD and DragonFly BSD. + + Submitted by: Sevan Janiyan + +------------------------------------------------------------------- +Sat Dec 23 07:00:12 UTC 2017 - avindra@opensuse.org + +- updated to 0.28 + * aclocal.m4 (IPv6_CHECK_INET_NTOP): inet_ntop(3) may returns + IPv4-compatible IPv6 address. [cpan #113950] +- includes fix from 0.27 + * t/use.t: We still support an environment where AF_INET6 is + not defined +- includes changes from 0.26 + * Makefile.PL: Make Socket6 buildable on Android. [cpan #98181] + * system inet_ntop broken in darwin. [cpan #113005] + * gailookup.pl.in: Add -r option to do reverse lookup + * gailookup.pl.in: Add awareness of AI_ALL and AI_V4MAPPED + * gailookup.pl.in: Add -P option to ease to specify port number +- cleanup spec file with spec-cleaner +- split tests into %check section + +------------------------------------------------------------------- +Mon Dec 9 11:17:36 UTC 2013 - coolo@suse.com + +- updated to 0.25 + * Makefile.PL: Install manpage. [cpan #66811] + * Socket6.pm: Fix typo. [cpan #86346] + * Socket6.pm: Fix typo. [cpan #71617] + * Makefile.PL: Fixed [cpan #77665] pass perl cc and ccflags to + configure + * Makefile.PL (configure_mswin32): Fixed [cpan #65710] + undefined ref to inet_ntop,inet_pton on Windows XP. + * t/use.t: Fixed [cpan #75211] test redefinition warnings + +------------------------------------------------------------------- +Thu Jan 12 14:25:53 UTC 2012 - jw@suse.com + +- license update: BSD-3-Clause + was plain wrong for years. + +------------------------------------------------------------------- +Fri Nov 18 11:09:55 UTC 2011 - coolo@suse.com + +- use original .tar.gz + +------------------------------------------------------------------- +Tue Nov 30 19:20:43 UTC 2010 - coolo@novell.com + +- switch to perl_requires macro + +------------------------------------------------------------------- +Mon Nov 29 18:31:04 UTC 2010 - coolo@novell.com + +- remove /var/adm/perl-modules + +------------------------------------------------------------------- +Tue Oct 19 08:39:05 UTC 2010 - coolo@novell.com + +- add perl as explicit buildrequire + +------------------------------------------------------------------- +Mon Feb 8 12:34:10 UTC 2010 - coolo@novell.com + +* update to version 0.23. + * Socket6.pm: Added @EXPORT_OK to export AF_INET6 and PF_INET6 if + requested. This allows the use of the Socke6 module without + having to perform the same conditional check that was added to + avoid conflicts with the Socket module default exports (i.e. use + Socket6 qw(AF_INET6 inet_pton inet_ntop); ) + + * Socket6.pm (AUTOLOAD): Explicitly set $! = 0 before calling + constant(). This should not be required since errno was being set + to 0 in the C function, but Perl 5.10.0 Win32 Vista needed this to + be done or all constants reported unsupported. + +------------------------------------------------------------------- +Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de + +- enable parallel build + +------------------------------------------------------------------- +Wed Oct 29 17:10:39 CET 2008 - mls@suse.de + +- update to Socket6-0.22, fixes bnc#426256 + +------------------------------------------------------------------- +Wed Jan 25 21:39:57 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Fri Jul 29 14:48:32 CEST 2005 - mls@suse.de + +- Update to Socket6-0.18 + +------------------------------------------------------------------- +Mon Aug 16 12:21:25 CEST 2004 - garloff@suse.de + +- Update to Socket6-0.17: + * Build fixes Solaris and Win32. + * Minor bugfixes (compiler warnings, etc.). + +------------------------------------------------------------------- +Mon Feb 16 22:43:44 CET 2004 - garloff@suse.de + +- Update to Socket6-0.14. + +------------------------------------------------------------------- +Fri Aug 22 15:44:42 CEST 2003 - mjancar@suse.cz + +- require the perl version we build with + +------------------------------------------------------------------- +Tue Jul 15 20:50:00 CEST 2003 - garloff@suse.de + +- Initial creation of package. + diff --git a/perl-Socket6.spec b/perl-Socket6.spec new file mode 100644 index 0000000..60d1444 --- /dev/null +++ b/perl-Socket6.spec @@ -0,0 +1,61 @@ +# +# spec file for package perl-Socket6 +# +# 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 +# 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/ +# + + +Name: perl-Socket6 +Version: 0.29 +Release: 0 +#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later) +%define cpan_name Socket6 +Summary: IPv6 related part of the C socket.h defines and structure manipulators +License: BSD-3-Clause +Group: Development/Libraries/Perl +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/U/UM/UMEMOTO/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +%{perl_requires} + +%description +This module provides glue routines to the various IPv6 functions. + +If you use the Socket6 module, be sure to specify "use Socket" as well as +"use Socket6". + +%prep +%setup -q -n %{cpan_name}-%{version} +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 + +%build +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + +%check +make test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%defattr(-,root,root,755) +%doc aclocal.m4 ChangeLog ftpmirror-1.96.diff im-140.diff README + +%changelog