Compare commits

...

11 Commits

Author SHA256 Message Date
47964020da Add Gitea build results 2025-08-12 18:14:47 +02:00
e5efad8042 Fix disabling of __perllib_provides
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO?expand=0&rev=17
2024-03-08 22:33:35 +00:00
8fc9c13d48 Accepting request 1136611 from devel:languages:perl:autoupdate
- updated to 1.55
   see /usr/share/doc/packages/perl-IO/ChangeLog
  IO 1.55
      * XS changes for getline/getlines to support reference counted stacks
      * moved the binmode method from IO::File to IO::Handle, since all types
        of IO handle support layers https://github.com/Perl/perl5/issues/17457
      * IO::Select documentation updates
  IO 1.54
      * fix the blocking() method on Windows https://github.com/Perl/perl5/issues/17455
  IO 1.52
      * Replace "define<tab>" with "define<space>" in poll.h

OBS-URL: https://build.opensuse.org/request/show/1136611
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO?expand=0&rev=16
2024-01-04 15:15:43 +00:00
9c3afc3511 Accepting request 1061402 from devel:languages:perl:autoupdate
- updated to 1.51
   see /usr/share/doc/packages/perl-IO/ChangeLog
  IO 1.51
      * #20201 bump dist/IO to v1.51, due to PR 19663
      * [doc] Update IO::Handle synopsis. Add `my` to examples for better practice.
      * Update IO::File synopsis. Add `my` to examples for better practice.
      * Update IO::Dir synopsis. Add `my` to examples for better practice.
      * IO::Socket::UNIX: Add proper hyperlink in pod
      * IO::Socket::INET: Use proper hyperlink in pod
      * IO::Pipe: Use proper hyperlink in pod
      * IO::Handle: Use proper hyperlink in pod
      * Fix dist/IO/poll.h for mingw-w64 runtimes 9.0 and later

OBS-URL: https://build.opensuse.org/request/show/1061402
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO?expand=0&rev=15
2023-01-31 09:58:17 +00:00
28efa8ba1f Accepting request 975125 from devel:languages:perl:autoupdate
- updated to 1.50
   see /usr/share/doc/packages/perl-IO/ChangeLog
  IO 1.50
     * Bump to 1.50 after cpantesters run.
  IO 1.49_01
     * Update IO.xs to conform to ppport.h 3.68 recommendations
  IO 1.49
     * Send bug reports to https://github.com/perl/perl5/issues
     * dist/IO/IO.xs: Rmv defns that ppport.h supplies

OBS-URL: https://build.opensuse.org/request/show/975125
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO?expand=0&rev=14
2022-05-11 16:34:42 +00:00
33e75a5cd6 Accepting request 917047 from devel:languages:perl:autoupdate
- updated to 1.48
   see /usr/share/doc/packages/perl-IO/ChangeLog
  IO 1.48
     * Fix for undefined warning in GH #18238
  IO 1.47
     * Implement sync() for win32
     * Add missing quotes to IO::Socket::INET example
  IO 1.46
     * style: Detabify indentation of the C code maintained by the core.
     * Update search.cpan.org URLs

OBS-URL: https://build.opensuse.org/request/show/917047
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO?expand=0&rev=13
2021-09-07 16:43:44 +00:00
00124174c1 Accepting request 860688 from devel:languages:perl:autoupdate
- updated to 1.45
   see /usr/share/doc/packages/perl-IO/ChangeLog
  IO 1.45
    * Put IO::Socket constructor error messages in $IO::Socket::errstr as well
      as $@, to encourage better practices
  IO 1.44
    * IO::Handle::error() now checks both the input and output stream
      for error.  This is an issue for sockets and character devices.  GH #6799
    * IO::Handle::clearerr() now clears the error on both input and
      output streams.
  IO 1.43
    * only cache the protocol for sockets when one is supplied,
      otherwise protocol could return an incorrect protocol.  This means
      that on platforms that don't support SO_PROTOCOL (or don't support
      it for some socket types) protocol() can now return undef.

OBS-URL: https://build.opensuse.org/request/show/860688
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO?expand=0&rev=12
2021-01-06 10:59:38 +00:00
4c51fcf823 Accepting request 766028 from devel:languages:perl:autoupdate
- updated to 1.42
   see /usr/share/doc/packages/perl-IO/ChangeLog
  IO 1.42 - Jan 20 2020 - Todd Rinaldo
    * Point IO support to perl/perl5 not dual-life/IO
  
  IO 1.41 - Jan 20 2020 - Todd Rinaldo
    * Switch pre-release testing to github actions.
    * Update MANIFEST with new test.
  
  IO 1.41_50 -- Dec 16 2019 - Ricardo Signes
    * [ TRIAL RELEASE ]
    * Loading IO is now threadsafe, avoiding the core bug reported as GH #14816.
      Implemented by converting getline() and getlines() to XS code.
  
  IO 1.41 -- Dec 12 2019 - Ricardo Signes
    * [ TRIAL RELEASE ]
    * import the latest from blead, so some changes may be in intermediate
      versions found only in releases of perl5
    * (perl #133936) make send() a bit saner
    * (perl #133936) document differences between IO::Socket::* and builtin
    * (perl #133936) ensure TO is honoured for UDP $sock->send()
    * Remove vestiges of mpeix support (removed in 5.17.x)
    * Documentation formatting fixes
    * Improve isolation of tests as they run

OBS-URL: https://build.opensuse.org/request/show/766028
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO?expand=0&rev=11
2020-01-21 14:45:07 +00:00
Stephan Kulow
c7c47e3b64 Accepting request 598854 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/598854
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO?expand=0&rev=10
2018-04-20 13:44:48 +00:00
Stephan Kulow
ad8255dd34 use gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO?expand=0&rev=9
2011-11-17 15:35:45 +00:00
Stephan Kulow
2ac70ffa52 don't use rpm macros
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO?expand=0&rev=7
2011-11-17 14:05:27 +00:00
6 changed files with 324 additions and 40 deletions

View File

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

3
IO-1.55.tar.gz Normal file
View File

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

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-IO/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-IO)

28
cpanspec.yml Normal file
View File

@@ -0,0 +1,28 @@
---
#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

View File

@@ -1,3 +1,245 @@
-------------------------------------------------------------------
Fri Mar 8 22:33:33 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- Fix disabling of __perllib_provides
-------------------------------------------------------------------
Sun Dec 31 03:10:40 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 1.55
see /usr/share/doc/packages/perl-IO/ChangeLog
IO 1.55
* XS changes for getline/getlines to support reference counted stacks
* moved the binmode method from IO::File to IO::Handle, since all types
of IO handle support layers https://github.com/Perl/perl5/issues/17457
* IO::Select documentation updates
IO 1.54
* fix the blocking() method on Windows https://github.com/Perl/perl5/issues/17455
IO 1.52
* Replace "define<tab>" with "define<space>" in poll.h
-------------------------------------------------------------------
Tue Jan 24 03:07:58 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 1.51
see /usr/share/doc/packages/perl-IO/ChangeLog
IO 1.51
* #20201 bump dist/IO to v1.51, due to PR 19663
* [doc] Update IO::Handle synopsis. Add `my` to examples for better practice.
* Update IO::File synopsis. Add `my` to examples for better practice.
* Update IO::Dir synopsis. Add `my` to examples for better practice.
* IO::Socket::UNIX: Add proper hyperlink in pod
* IO::Socket::INET: Use proper hyperlink in pod
* IO::Pipe: Use proper hyperlink in pod
* IO::Handle: Use proper hyperlink in pod
* Fix dist/IO/poll.h for mingw-w64 runtimes 9.0 and later
-------------------------------------------------------------------
Wed May 4 03:07:01 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 1.50
see /usr/share/doc/packages/perl-IO/ChangeLog
IO 1.50
* Bump to 1.50 after cpantesters run.
IO 1.49_01
* Update IO.xs to conform to ppport.h 3.68 recommendations
IO 1.49
* Send bug reports to https://github.com/perl/perl5/issues
* dist/IO/IO.xs: Rmv defns that ppport.h supplies
-------------------------------------------------------------------
Thu Sep 2 03:07:37 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 1.48
see /usr/share/doc/packages/perl-IO/ChangeLog
IO 1.48
* Fix for undefined warning in GH #18238
IO 1.47
* Implement sync() for win32
* Add missing quotes to IO::Socket::INET example
IO 1.46
* style: Detabify indentation of the C code maintained by the core.
* Update search.cpan.org URLs
-------------------------------------------------------------------
Tue Jan 5 03:08:07 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 1.45
see /usr/share/doc/packages/perl-IO/ChangeLog
IO 1.45
* Put IO::Socket constructor error messages in $IO::Socket::errstr as well
as $@, to encourage better practices
IO 1.44
* IO::Handle::error() now checks both the input and output stream
for error. This is an issue for sockets and character devices. GH #6799
* IO::Handle::clearerr() now clears the error on both input and
output streams.
IO 1.43
* only cache the protocol for sockets when one is supplied,
otherwise protocol could return an incorrect protocol. This means
that on platforms that don't support SO_PROTOCOL (or don't support
it for some socket types) protocol() can now return undef.
-------------------------------------------------------------------
Tue Jan 21 03:12:44 UTC 2020 - <timueller+perl@suse.de>
- updated to 1.42
see /usr/share/doc/packages/perl-IO/ChangeLog
IO 1.42 - Jan 20 2020 - Todd Rinaldo
* Point IO support to perl/perl5 not dual-life/IO
IO 1.41 - Jan 20 2020 - Todd Rinaldo
* Switch pre-release testing to github actions.
* Update MANIFEST with new test.
IO 1.41_50 -- Dec 16 2019 - Ricardo Signes
* [ TRIAL RELEASE ]
* Loading IO is now threadsafe, avoiding the core bug reported as GH #14816.
Implemented by converting getline() and getlines() to XS code.
IO 1.41 -- Dec 12 2019 - Ricardo Signes
* [ TRIAL RELEASE ]
* import the latest from blead, so some changes may be in intermediate
versions found only in releases of perl5
* (perl #133936) make send() a bit saner
* (perl #133936) document differences between IO::Socket::* and builtin
* (perl #133936) ensure TO is honoured for UDP $sock->send()
* Remove vestiges of mpeix support (removed in 5.17.x)
* Documentation formatting fixes
* Improve isolation of tests as they run
-------------------------------------------------------------------
Fri Apr 20 05:26:01 UTC 2018 - coolo@suse.com
- updated to 1.39
see /usr/share/doc/packages/perl-IO/ChangeLog
IO 1.38 -- Apr 19 2018 - Todd Rinaldo
* Remove pre 5.8 logic from code base.
* Bump all IO modules to 1.38 and set required Perl to 5.8.1
* Fix for perl #125723
* IO test: adjust require for non CORE perl
* IO::Handle - fix precedence issue
* Document IO::Select error detection
* Rely on C89 <time.h>
* (perl #130856) deal with unpack_sockaddr_un() croaking
* Switch most open() calls to three-argument form.
* (perl #129788) IO::Poll: fix memory leak
* (perl #128095) check pack_sockaddr_un()'s return value
* dist/: remove . from @INC when loading optional modules
* Fix IO::Handle documentation mangled by a manually applied patch
* Make IO::Poll->poll call _poll even with an empty fd array
* Fix assertion when calling IO::Poll::_poll() with an empty fd array
* Some BSD implementations might have <sys/poll.h> instead of <poll.h>.
IO 1.36 -- Jun 26 2015 (Not released to CPAN)
* dist/IO/t/io_utf8argv.t: Generalize for non-ASCII platforms.
* VMS does have fsync, so configure accordingly.
* Skip obsolete skip in io_xs.t.
* Label conditionally unused.
* Use <sys/poll.h> if available before going select().
* Fix assertion when calling IO::Poll::_poll() with an empty fd array
* Make IO::Poll->poll call _poll even with an empty fd array
IO 1.35 -- Dec 7 2014 (Not released to CPAN)
* Change OP_SIBLING to OpSIBLING
* Improve connected() doc
* IRIX: fsync documented to fail on read-only filehandles.
* Convert all use of Test.pm to Test::More
IO 1.34 -- Sep 10 2014 (Not released to CPAN)
* Add dual life support for use of op_sibling in IO.xs
IO 1.33 -- Jun 10 2014 (Not released to CPAN)
* wrap op_sibling field access in OP_SIBLING* macros
* Make like() and unlike() in t/test.pl refuse non-qr// arguments
* Further simplify the sockatmark(). (And do not assign the fd in PREINIT.)
IO 1.32 -- May 29 2014 (Not released to CPAN)
* fcntl receiving -1 from fileno, fcntl failing.
* Also very few spots of negative numgroups for getgroups(), and fgetc() return, but almost all checking is for fcntl.
* merged fix for perl #121743 and perl #121745: hopefully picked up all the fixes-to-fixes from the ticket.
* Fix for Coverity perl5 CIDs 28990..29003,29005..29011,29013,45354,45363,49926
* Argument cannot be negative (NEGATIVE_RETURNS) fd is passed to a parameter that cannot be negative.
* CIDs 29004, 29012: Argument cannot be negative (NEGATIVE_RETURNS) num_groups is passed to a parameter that cannot be negative and because of CIDs 29005 and 29006 also CID 28924.
* In the first set of issues a fd is retrieved from PerlIO_fileno, and that is then used in places like fstat(), fchown(), dup(), etc., without checking whether the fd is valid (>=0).
* In the second set of issues a potentially negative number is potentially passed to getgroups().
* The CIDs 29005 and 29006 were a bit messy: fixing them needed also resolving CID 28924 where the return value of fstat() was ignored, and for completeness adding two croak calls (with perldiag updates): a bit of a waste since it's suidperl code.
IO 1.31 -- Mar 4 2014 (Not released to CPAN)
* dist/IO: Allow to be dual-lived - This dual-lived module has not been able to be compiled on releases earlier than 5.10.1.
* IO::Socket::INET: Handle getprotobyn{ame,umber} not being available
* dist/IO/t/io_pipe.t: Work around android only having an inbuilt echo
* Add examples for IO::Socket::UNIX.
* Remove an old note about autoflush from the POD.
* ioctl on perlhost platforms take a char*, not void*
IO 1.30 -- Nov 13 2013 (Not released to CPAN)
* IO.xs: fix compiler warning
* [perl #75156] fix the return value and bits for removing a closed fh
* [perl #75156] tests for deleting a closed handle from IO::Select
* Fix IO::Socket::connect() in the light of $! changes
IO 1.29 -- Mar 15 2013 (Not released to CPAN)
* Use separate macros for byte vs uv Unicode
* IO::Socket::INET's documentation for its Listen parameter was somewhat misleading, and the documentation for IO::Socket::Unix even more so.
* Address [perl #117999] for now by skipping known bad test on AIX
* [perl #117791] Clarify that write does not match the C 'write' semantics
* fix dist/IO/t/cachepropagate-unix.t
IO 1.28 -- Feb 2 2013 (Not released to CPAN)
* dist/IO/IO.xs: Silence compiler warning. This variable is unused, doesn't need to be declared.
IO 1.27 -- Feb 17 2013 (Not released to CPAN)
* [perl #116322]: getc() and ungetc() with unicode failure (ungetc() had no knowledge of UTF-8. )
IO 1.26 -- May 13 2009 - Jan 16 2013 (Not released to CPAN)
* portability to Haiku-OS for the cachepropagate-*.t tests
* sync() on a read-only file handle doesn't work on cygwin either
* [rt.cpan.org #61577] VMS doesn't support UNIX sockets
* add Test::More as a prereq to Makefile.PL
* document the limitations of protocol(), sockdomain(), socktype()
* [rt.cpan.org #61577] try to populate socket info when not cached
* [rt.cpan.org #61577] propagate socket details on accept
* [rt.cpan.org #61577] sockdomain and socktype undef on newly accepted sockets
* [perl #64772] check both input and output file handles for sync (This allows sync() to be called on directory handles.)
* [perl #64772] TODO test for sync on read only handle
* Convert some tests to Test::More
* Correct bug report email in docs from perl5-porters@perl.org to perlbug@perl.org
* Remove use File::Spec from IO::File (It is not using it any more.)
* [RT #36079] Convert ` to '.
* use :raw to avoid interference from PERL_UNICODE when creating test data
* Make IO::Handle::getline(s) respect the open pragma (RT 66474)
* Fix setting sockets nonblocking in Win32
* Use the exception set in select (connect()) to early return when remote end is busy or in non existing port
* Keep verbatim pod within 79 cols
* Keep verbatim pod in IO.pm within 80 cols
* [perl #88486] IO::File does not always export SEEK*
* Explicitly force the load of IO::File in IO::Handle (see the discussion in [perl #87940]).
* Remove various indirect method calls in IO's docs
* IO::Select: allow removal of IO::Handle objects without fileno
* Actuall excise 'Apollo DomainOS' support. We officially killed it in 5.11.0. It hadn't worked for years before that.
* fix various compiler warnings from XS code (void return value)
* Only bind to localhost in tests: "in general, tests shouldn't be listening on all interfaces."
* Document IO::Socket getsockopt and setsockopt
* Convert sv_2mortal(newSVpvn()) to newSVpvn_flags(), for 5.11.0 and later. (
* Minor documentation and typo fixes.
* Move IO from ext to dist in core perl
-------------------------------------------------------------------
Wed Dec 1 13:33:03 UTC 2010 - coolo@novell.com

View File

@@ -1,8 +1,8 @@
#
# spec file for package perl-IO
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# Copyright (c) 2024 SUSE LLC
#
# 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
@@ -12,35 +12,41 @@
# 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
#Distribution: %dist
#Packager: %packager
#Vendor: %vendor
%define cpan_name IO
Name: perl-IO
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Load various IO modules
Version: 1.25
Release: 1
License: Artistic
Group: Development/Libraries/Perl
URL: http://search.cpan.org/dist/IO/
Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
Version: 1.550.0
Release: 0
%define cpan_version 1.55
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Perl core IO modules
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildRequires: perl
BuildRequires: perl-macros
#Provides: %{cpan_name}
Provides: perl(IO) = %{version}
Provides: perl(IO::Dir) = %{version}
Provides: perl(IO::File) = %{version}
Provides: perl(IO::Handle) = %{version}
Provides: perl(IO::Pipe) = %{version}
Provides: perl(IO::Pipe::End)
Provides: perl(IO::Poll) = %{version}
Provides: perl(IO::Seekable) = %{version}
Provides: perl(IO::Select) = %{version}
Provides: perl(IO::Socket) = %{version}
Provides: perl(IO::Socket::INET) = %{version}
Provides: perl(IO::Socket::UNIX) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
%{cpan_name} module for perl
IO provides a simple mechanism to load several of the IO modules in one go.
The IO modules belonging to the core are:
'IO' provides a simple mechanism to load several of the IO modules in one
go. The IO modules belonging to the core are:
IO::Handle
IO::Seekable
@@ -51,33 +57,29 @@ BuildRequires: perl-macros
IO::Select
IO::Poll
Authors: Graham Barr <gbarr@pobox.com>
Some other IO modules don't belong to the perl core but can be loaded as
well if they have been installed from CPAN. You can discover which ones
exist with this query: https://metacpan.org/search?q=IO%3A%3A.
For more information on any of these modules, please see its respective
documentation.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%{__make}
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root)
%doc ChangeLog README
%changelog
* Sun Jan 19 2008 - gerrit.beine@googlemail.com
- moved to openSUSE Build Service
* Thu Dec 06 2007 - gerrit@beine-computer.de
- first release 1.2301