Commit Graph

1178 Commits

Author SHA1 Message Date
Petr Písař
634fb4080c Fix reporting a line number for non-terminated prototypes 2019-01-15 10:33:18 +01:00
Petr Písař
ba7b23759d Do not close an IPC pipe that already has a desired descriptor 2019-01-15 10:33:18 +01:00
Petr Písař
539a03b8cf Adjust tests to gdbm-1.15 using an upstream fix 2019-01-15 10:33:18 +01:00
Björn Esser
fb37340d0b
Rebuilt for libcrypt.so.2 (#1666033) 2019-01-14 18:51:57 +01:00
Petr Písař
c7bc1da47b Conditionalize and document a build time dependency on gcc-c++ 2019-01-14 10:52:47 +01:00
Björn Esser
7b8e501a69
Add BuildRequires: gcc-c++ for tests 2019-01-13 09:29:33 +01:00
Petr Písař
bfd9d6a2ae Fix compiling regular expressions that contain both compile- and run-time compiled code blocks 2018-11-30 14:49:41 +01:00
Petr Písař
45b1f54fc1 Fix in-place edit to replace files on a successful perl exit status 2018-11-30 14:49:41 +01:00
Petr Písař
85f1254ef4 Fix an undefined behaviour in S_hv_delete_common() 2018-11-30 14:49:41 +01:00
Petr Písař
e3cdc90d65 Fix PathTools tests to cope with ESTALE error 2018-11-30 14:49:41 +01:00
Petr Písař
a23ff061c5 Fix script run matching to allow ASCII digits in scripts that use their own in addition 2018-11-30 14:49:41 +01:00
Jitka Plesnikova
14476b059d 5.28.1 bump 2018-11-30 08:40:18 +01:00
Petr Písař
07823bf7b4 Install Encode developmental files when installing complete Perl 2018-11-02 10:10:33 +01:00
Jitka Plesnikova
0bfee4c79e Fix annocheck failure by passing CFLAGS to dtrace 2018-10-25 14:47:32 +02:00
Petr Písař
8cf9a28c2e Fix upack "u" of invalid data 2018-09-24 11:18:00 +02:00
Petr Písař
28506e03c6 Revert a fix for a buffer overrun in deprecated S_is_utf8_common() 2018-09-10 14:25:40 +02:00
Petr Písař
ceb01be0f0 Require Devel::PPPort by perl-devel for h2xs script 2018-09-05 16:53:37 +02:00
Petr Písař
312df55ba1 Fix a spurious warning about uninitialized value in warn 2018-09-05 16:40:58 +02:00
Petr Písař
e7c58147e0 Fix an assignment to a lexical variable in multiconcatenation expressions 2018-09-05 16:35:47 +02:00
Petr Písař
8401a631d8 Fix Time::Piece to handle objects in overloaded methods correctly 2018-09-05 16:19:53 +02:00
Petr Písař
e82b9306ac Fix matching an ASCII digit followed by a non-ASCII digit using a script run 2018-09-05 16:01:51 +02:00
Petr Písař
e039a7964c Fix a time race in Time-HiRes/t/itimer.t test 2018-09-05 15:35:49 +02:00
Petr Písař
e7f6de4785 Fix a buffer overrun in deprecated utf8_to_uvchr 2018-09-05 12:27:28 +02:00
Petr Písař
a2d9fa158f Fix a buffer overrun in deprecated S_is_utf8_common() 2018-09-05 10:52:28 +02:00
Petr Písař
2d2ad79937 Fix a file descriptor leak in in-place edits 2018-08-01 10:37:41 +02:00
Petr Písař
1f538b3dc4 Annotate two patched that they are in the upstream 2018-07-27 10:39:01 +02:00
Petr Písař
55125798c5 Update perl-macros description 2018-07-17 10:51:42 +02:00
Petr Písař
5259eef42a Fix build conditions in locale.c 2018-07-17 10:24:05 +02:00
Petr Písař
c5a47bb005 Fix index() and rindex() optimization in given-when boolean context 2018-07-17 10:19:04 +02:00
Fedora Release Engineering
b7449d9d90 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 15:41:15 +00:00
Petr Písař
49edffea3d Fix spelling mistakes in descriptions 2018-07-09 17:52:35 +02:00
Petr Písař
ac56956257 Fix invoking a check for wide characters while ISO-8859-1 locale is in effect 2018-07-09 17:29:38 +02:00
Petr Písař
5500dbbbad Fix printing a warning about a wide character when matching a regular expression while ISO-8859-1 locale is in effect 2018-07-09 17:19:56 +02:00
Petr Písař
9710c0391a Fix an integer wrap when allocating memory for an environment variable 2018-07-09 17:06:15 +02:00
Petr Písař
81b715af2e Use %{_rpmmacrodir} instead of %{_rpmconfigdir}/macros.d
Guidelines prescribe %{_rpmmacrodir}.
2018-07-09 16:54:53 +02:00
Petr Písař
f6df8518cf Adjust tests to gdbm-1.15 2018-07-09 16:49:21 +02:00
Jitka Plesnikova
b56c905745 Stop providing old perl(MODULE_COMPAT_5.26.*) 2018-06-30 19:43:37 +02:00
Jitka Plesnikova
70d930113d 5.28.0 bump 2018-06-26 23:26:07 +02:00
Petr Písař
004cea3a67 Fix an infinite loop in the regular expression compiler 2018-05-25 15:35:38 +02:00
Petr Písař
9bfbe0e8c9 Bug 1536752 is known as RT#133184 2018-05-25 14:24:41 +02:00
Jitka Plesnikova
7123165115 Correct license tags of perl-libs (bug #1579524) 2018-05-18 13:22:27 +02:00
Petr Písař
b09154addd Fix a possibly unitialized memory read in the Perl parser 2018-04-20 12:25:22 +02:00
Petr Písař
7d51eee368 Fix parsing extended bracketed character classes 2018-04-20 12:24:42 +02:00
Petr Písař
b8e600698b Fix line numbers in multi-line s/// 2018-04-20 11:19:16 +02:00
Petr Písař
0c45015a3b Do not clobber file bytes in :encoding layer 2018-04-19 18:14:53 +02:00
Petr Písař
150a309e82 perl-devel requires redhat-rpm-config because of hardened compiler profiles
$Config{ccflags} inherits
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 from perl.spec build
time. That breaks building XS modules if redhat-rpm-config is not
installed.
2018-04-19 17:04:47 +02:00
Petr Písař
8ee4862e56 5.26.2 bump 2018-04-16 13:28:09 +02:00
Petr Písař
3abe685779 5.26.2-RC1 bump 2018-03-26 15:36:10 +02:00
Petr Písař
89b92bf4f0 Move gcc dependency from ExtUtils::MakeMaker to ExtUtils::CBuilder
To benefit from a build root without a GCC, perl-ExtUtils-MakeMaker
cannot depend on gcc because a compiler is not needed for pure-Perl
packages.

bug #1547165
2018-03-02 15:22:42 +01:00
Florian Weimer
f56d3d5593 Rebuild to pick up new build flags from redhat-rpm-config 2018-03-01 14:07:18 +01:00
Petr Písař
01965013b5 Update licenses found in the sources
TODO: Remove cpan/libnet/lib/Net/libnetFAQ.pod from the source
tar ball.
2018-02-16 15:28:19 +01:00
Igor Gnatenko
77a70b87de
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:05:26 +01:00
Petr Písař
71b4399055 Correct ldconfig_scriptlets invocation 2018-02-06 14:31:21 +01:00
Petr Písař
7317c1ba6c Call ldconfig scriptlets using a macro 2018-02-06 14:14:23 +01:00
Petr Písař
d0978d513a Fix a heap use after free when moving a stack 2018-02-06 14:14:18 +01:00
Petr Písař
b6f638978c Fix parsing braced subscript after parentheses 2018-02-06 13:34:41 +01:00
Petr Písař
43a7eb2791 Correct shell bangs in tests
Again we cannot do it in prep because the tests would execute perl
from the system during check phase.
2018-02-01 09:22:09 +01:00
Petr Písař
b96bb0d875 Link XS modules to pthread library to fix linking with -z defs
This changes lddlflags. Maybe we should change ExtUtils::CBuilder etc.
instead as we do in Link-XS-modules-to-libperl.so patches to link to
libperl.so explictly.
2018-01-30 08:03:58 +01:00
Petr Písař
06e71ce390 Move guard_old_libcrypt_fix patch 2018-01-29 16:53:11 +01:00
Björn Esser
6ce0d0b76e
Add patch to conditionalize a fix for an old and long fixed bug
in libcrypt / glibc (rhbz#1536752)
2018-01-20 20:47:44 +01:00
Petr Písař
794e8e0c66 Rebuild against glibc without nsl library
Perl opportunistically links against nsl library because some
platforms provide gethostbyname() in it. This is not the case of GNU
libc. Yet the "-lnsl" gets into $Config{perllibs} and
ExtUtils::Embed enforces it. This breaks with glibc-2.26.9000-40 that
removed the library.

Simple rebuild against the new glibc fixes it.
2018-01-15 16:55:26 +01:00
Petr Písař
6a620bdc9d Avoid undefined behavior when copying memory in Glob and pp_caller (RT#131746) 2018-01-10 14:07:13 +01:00
Petr Písař
ef39cf486c Expand system() arguments before a fork 2018-01-10 14:07:13 +01:00
Petr Písař
4440ffe366 Fix tainting of s/// with overloaded replacement 2018-01-10 14:07:13 +01:00
Petr Písař
f9337f705b Fix setting $! when statting a closed filehandle 2018-01-10 14:07:10 +01:00
Petr Písař
acce317536 Fix stack manipulation when a lexical subroutine is defined in a do block in as a member of an iteration list 2018-01-10 14:06:28 +01:00
Petr Písař
04fb749292 Fix error reporting on do() on a directory 2018-01-10 14:03:42 +01:00
Petr Písař
1a6038ddc1 Fix deparsing of transliterations with unprintable characters 2018-01-09 15:54:15 +01:00
Petr Písař
304000db79 Fix a crash when untying an object witout a stash 2018-01-09 15:46:55 +01:00
Petr Písař
1f7cdc64d9 Fix an overflow when parsing a character range with no preceding character 2018-01-09 15:35:16 +01:00
Petr Písař
0f64d90212 Fix walking symbol table for ISA in Carp 2018-01-09 15:03:45 +01:00
Petr Písař
948d6b9daf Fix an overflow when parsing a character range with no preceding character 2018-01-09 14:56:47 +01:00
Petr Písař
f46fc910fa Fix a crash when a match for inversely repeated group fails 2018-01-09 13:56:59 +01:00
Petr Písař
bc8f6a5d83 Fix Term::ReadLine not to create spurious &STDERR files 2018-01-09 13:38:07 +01:00
Petr Písař
88dd9e56b3 Fix an overflow in the lexer when reading a new line 2018-01-09 13:22:15 +01:00
Petr Písař
fca4148414 Remove invalid macro definitions from macros.perl
From: Panu Matilainen <pmatilai@redhat.com>

These two lines are trying to redefine macro named "global", which is
obviously wrong, but additionally the thing they're *trying* to do is also
wrong in rpm >= 4.9 world, so best just remove them.
2018-01-09 12:52:29 +01:00
Jitka Plesnikova
927bf01f13 Change version of JSON-PP to not beat dual-life package 2017-10-04 16:54:58 +02:00
Jitka Plesnikova
e0341ff757 Update perl(:MODULE_COMPAT) 2017-09-25 16:05:10 +02:00
Jitka Plesnikova
b9ca5b6ecc 5.26.1 bump 2017-09-25 13:01:39 +02:00
Petr Písař
5fbdf1697c Do not require $Config{libs} providers by perl-devel package
This reverts:

commit f2346c8746
Author: Petr Písař <ppisar@redhat.com>
Date:   Thu Jun 6 16:17:26 2013 +0200

    Require $Config{libs} providers

$Config{libs} and $Config{perlibs} documents how perl was built. Not how
another XS modules should be built
<https://www.nntp.perl.org/group/perl.perl5.porters/2017/08/msg245959.html>.
2017-08-22 10:01:03 +02:00
Petr Písař
2510e877e6 Fix unreliable Time-HiRes tests 2017-08-22 09:54:15 +02:00
Petr Písař
b2681c6578 Link libresolv.patch to a bug report 2017-08-17 08:07:10 +02:00
Petr Písař
724df1cb5a Fix GCC version detection for -D_FORTIFY_SOURCE override 2017-08-09 16:18:34 +02:00
Petr Písař
0721cd5f0e Fix compiler warnings in code generated by ExtUtils::Constant 2017-08-09 16:10:08 +02:00
Petr Písař
a0ea65ae26 Fix splitting non-ASCII strings if unicode_strings feature is enabled 2017-08-09 15:23:51 +02:00
Petr Písař
2d9a38d99f Fix handling attribute specification on our variables 2017-08-09 14:39:31 +02:00
Petr Písař
f5d76e71ba Fix executing arybase::_tie_it() in Safe compartement 2017-08-09 14:24:13 +02:00
Petr Písař
5530822d05 Provide perl(:WITH_64BIT)
We build perl with 64-bit integeres since 5.26.0. This provide can be
used as a dependency for this feature. Some packages (e.g. perl-Mango)
require this feature.
2017-08-09 13:55:58 +02:00
Petr Písař
b8bcb94470 Fix error message for "our sub foo::bar" 2017-08-09 13:52:25 +02:00
Petr Písař
30fdce8a32 Fix select called with a repeated magical variable 2017-08-09 13:44:53 +02:00
Petr Písař
efc8e989ed Do not display too many bytes when reporting malformed UTF-8 character 2017-08-09 13:30:33 +02:00
Petr Písař
a501e07f4e Parse caret variables with subscripts as normal variables inside ${...} escaping 2017-08-08 15:57:20 +02:00
Petr Písař
fdecf9dd4a Fix t/op/hash.t test random failures 2017-08-08 15:55:16 +02:00
Petr Písař
4a2738185b Fix File::Glob rt131211.t test random failures 2017-08-08 15:38:04 +02:00
Petr Písař
e0456df3dc Fix reporting malformed UTF-8 character 2017-08-08 15:07:13 +02:00
Petr Písař
603cb80068 Move all comments from /sbin/ldconfig %postun script
rpmbuild passes all lines between %postun and next section (%files) to
script body. Including comments. And /sbin/ldconfig does not skip
comments and complains when upgrading perl-libs package:

/sbin/ldconfig: relative path `1' used to build cache
warning: %postun(perl-libs-4:5.26.0-397.fc27.x86_64) scriptlet failed, exit status 1

We must keep the lines literally empty.
2017-08-08 14:12:40 +02:00
Igor Gnatenko
cb5a1964be Enable separate debuginfo back
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-07-29 10:36:03 +02:00
Fedora Release Engineering
687ba4ca25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 02:23:17 +00:00
Igor Gnatenko
04b4431b98 Disable debuginfo-per-subpackage generation for now due to RPM bug
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-07-25 23:58:56 +02:00
Petr Písař
3f7d1e5123 Remove obsolete Group tags 2017-07-14 10:46:40 +02:00
Petr Písař
5d2d98f2b2 perl package installs all core modules
This commit renames perl to perl-interprer and perl-core to perl.
2017-07-14 10:46:40 +02:00
Petr Písař
b359f737be perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> 2017-07-12 14:55:23 +02:00
Petr Písař
d3e98ce204 Provide perl-interpreter RPM dependency symbol
The perl-interpreter will turn into a normal package in the future.
2017-06-19 14:49:34 +02:00
Petr Písař
85a4c68d18 Fix spurious "Assuming NOT a POSIX class" warning 2017-06-19 14:03:21 +02:00
Petr Písař
f7e5d464be Fix a conditional jump on uninitilized memory in re_intuit_start() 2017-06-19 13:54:45 +02:00
Petr Písař
4b937ffd49 Fix handling backslashes in PATH environment variable when executing "perl -S" 2017-06-16 15:32:59 +02:00
Petr Písař
938de5960e Fix a buffer overflow in my_atof2() 2017-06-16 15:24:31 +02:00
Petr Písař
73bead49db Fix UTF-8 flag on a glob reassignment 2017-06-16 15:23:50 +02:00
Petr Písař
f5f43f18f9 Fix cloning :via handles on thread creation 2017-06-16 14:48:27 +02:00
Petr Písař
1e8061ae22 Fix improper casting of a negative interger to unsigned eith-bit type 2017-06-16 14:36:30 +02:00
Petr Písař
9900371245 Fix a crash when calling a subroutine from a stash 2017-06-16 14:14:17 +02:00
Petr Písař
034407d342 Make File::Glob more resistant against degenerative matching 2017-06-16 13:46:55 +02:00
Jitka Plesnikova
1ad8b2225f Stop providing old perl(MODULE_COMPAT_5.24.*) 2017-06-07 13:57:15 +02:00
Jitka Plesnikova
59397e34d7 5.26.0 bump; Update sub-packages; Update or remove patches 2017-06-02 08:17:46 +02:00
Petr Písař
b14a87313b Introduce build-conditions for groff, systemtap, syslog tests, and tcsh
This allows to build perl without need of groff etc.

groff and systemtap are enabled by default. syslog tests are disabled
by default because they only polute system log. tcsh is disabled by
default because it seems unneeded (and might be removed completely).
2017-04-03 10:06:46 +02:00
Petr Písař
7cb6cbb4a7 Fix a heap-use-after-free in four-arguments substr call 2017-03-08 15:23:08 +01:00
Petr Písař
c63d747d11 Fix an invalid memory read when parsing a loop variable 2017-03-08 15:23:08 +01:00
Petr Písař
d61d60edb3 Fix a memory leak leak in Perl_reg_named_buff_fetch() 2017-03-08 15:23:08 +01:00
Petr Písař
32d6785b6d Fix an use-after-free in substr() that modifies a magic variable 2017-03-08 15:23:08 +01:00
Petr Písař
2f5d87ed75 Fix a null-pointer dereference on malformed code 2017-03-08 15:23:00 +01:00
Petr Písař
b39bdfd34d Fix a memory leak in list assignment from or to magic values 2017-02-17 13:47:29 +01:00
Petr Písař
044da6a72d Fix a heap buffer overflow when evaluating regexps with embedded code blocks from more than one source 2017-02-17 13:47:22 +01:00
Petr Písař
25eec2bc83 Adapt Compress::Raw::Zlib to zlib-1.2.11 2017-02-17 12:24:05 +01:00
Petr Písař
2fa0b0b374 Fix a buffer overflow when studying some regexps repeatedly 2017-02-10 11:44:16 +01:00
Petr Písař
b79329e9cf Fix a buffer overrun with format and "use bytes" 2017-02-10 11:44:11 +01:00
Petr Písař
83a50fdcff Fix a crash when compiling a regexp with impossible quantifiers 2017-02-10 11:43:35 +01:00
Petr Písař
ccd8d520b4 Adapt tests to zlib-1.2.11 2017-02-10 09:55:36 +01:00
Petr Písař
4890b78564 Fix a heap overlow in parsing $# 2017-01-26 14:16:42 +01:00
Petr Písař
affaa4c7f0 Fix parsing goto statements in multicalled subroutine 2017-01-26 13:34:02 +01:00
Petr Písař
d1db9a0791 Fix a memory leak in B::RHE->HASH method 2017-01-26 13:16:39 +01:00
Petr Písař
de55dc7e45 Fix recreation of *:: 2017-01-26 13:08:18 +01:00
Petr Písař
4175dcd036 Fix UTF-8 string handling in & operator 2017-01-26 12:04:32 +01:00
Petr Písař
7123c928a4 Fix out-of-bound read in case of unmatched regexp backreference 2017-01-20 10:42:00 +01:00
Petr Písař
abd9ed8e7e Fix a heap overflow if invalid octal or hexadecimal number is used in transliteration expression 2017-01-20 10:26:26 +01:00
Petr Písař
64c060a679 Fix a use-after-free when processing scalar variables in forms 2017-01-20 10:19:41 +01:00
Petr Písař
96616c59c9 Fix a heap overflow with pack "W" 2017-01-20 09:52:23 +01:00
Petr Písař
c33285d987 Fix a buffer overflow in split in scalar context 2017-01-20 09:42:13 +01:00
Petr Písař
2d983c0871 Normalize perl-File-Temp version 2017-01-19 15:34:13 +01:00
Jitka Plesnikova
bd9339be54 5.24.1 bump 2017-01-16 12:28:00 +01:00
Igor Gnatenko
a5af0c2d4e Rebuild for readline 7.x
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:36 +01:00
Petr Písař
98fe061fe3 Remove bundled bignum 2017-01-06 10:36:37 +01:00
Petr Písař
9338edd126 Remove bundled Math-BigRat 2017-01-06 10:27:13 +01:00
Petr Písař
260c5ba45c Remove bundled Math-BigInt-FastCalc 2017-01-06 10:15:16 +01:00
Petr Písař
7b8c12cb92 Fix regular expression matching 2016-12-19 13:18:52 +01:00
Petr Písař
0b127f245a Fix a memory leak in IO::Poll 2016-12-19 13:15:01 +01:00
Petr Písař
4599430ffb Fix a crash in optimized evaluation of "or ((0) x 0))" 2016-12-19 12:43:58 +01:00
Petr Písař
bfea7ab5df Fix const correctness in hv_func.h 2016-12-01 08:03:27 +01:00
Petr Písař
8fcd2745c8 Fix assigning split() return values to an array 2016-12-01 07:57:58 +01:00
Petr Písař
8da6077616 Tighten dependencies between architecture specific sub-packages to ISA 2016-11-28 14:54:45 +01:00
Petr Písař
41b63f7330 Fix crash on explicit return from regular expression substitution 2016-11-28 14:29:12 +01:00
Petr Písař
2a293b3799 Fix crash in Storable when deserializing malformed code reference 2016-11-28 14:19:41 +01:00
Petr Písař
592810058a Document perl-129130-make-chdir-allocate-the-stack-it-needs.patch patch 2016-11-28 14:19:02 +01:00
Petr Písař
468152e799 Tie perl-Errno release to interpreter build because of kernel version check
If user updates the his system only partially so that perl-Errno does
not match perl-libs and the two were built on different kernel, using
Errno will fail:

Errno architecture (x86_64-linux-thread-multi-4.7.9-200.fc24.x86_64) does not match executable architecture (x86_64-linux-thread-multi-4.6.4-301.fc24.x86_64) at /usr/lib64/perl5/Errno.pm line 11.
2016-11-09 15:46:37 +01:00
Petr Písař
97b9d9c092 Fix stack handling when calling chdir without an argument 2016-11-03 15:02:06 +01:00
Petr Písař
62440eed42 Avoid infinite loop in h2xs tool if enum and type have the same name 2016-11-03 14:49:51 +01:00
Petr Písař
281d2faaad Fix firstchar bitmap under UTF-8 with prefix optimization 2016-11-03 14:06:55 +01:00
Petr Písař
dee7e92b27 Fix parsing perl options in shell bang line 2016-11-03 13:15:32 +01:00
Petr Písař
20d4f3847b Fix crash when matching UTF-8 string with non-UTF-8 substrings 2016-11-03 13:04:02 +01:00
Petr Písař
50a3de5ad0 Fix string overrun in Perl_gv_fetchmethod_pvn_flags 2016-11-03 11:04:46 +01:00
Petr Písař
e947d78f10 Fix crash in splice 2016-11-03 11:04:39 +01:00
Petr Písař
896d33a2d0 Fix crash in "evalbytes S" 2016-11-03 11:03:13 +01:00
Petr Písař
cce220c20d Document licenses more 2016-09-21 17:42:28 +02:00
Petr Písař
cc339b5039 perl-podlators license corrected to (GPL+ or Artistic) and MIT
podlators.pod file has MIT licesne.
2016-09-20 14:00:49 +02:00
Petr Písař
c85c10ff8a perl-Unicode-Collate license corrected to ((GPL+ or Artistic) and Unicode)
The file links to <http://www.unicode.org/terms_of_use.html> that
mathcces "Unicode" license (except the (c) paragraph).
2016-09-19 16:18:29 +02:00
Petr Písař
871546c7c7 Add Artistic 2.0 into perl-Encode license tag because of encguess tool 2016-09-16 11:09:09 +02:00
Petr Písař
7032c6382a Remove old obsoleting perl-ExtUtils-Typemaps
Last perl-ExtUtils-Typemaps build existed in Fedora 17.
2016-09-13 18:02:33 +02:00
Petr Písař
8d980065c5 perl-core depends on Parse::CPAN::Meta module instead of package name to allow upgrading perl-CPAN-Meta to 2.150010 2016-09-02 08:43:38 +02:00
Jitka Plesnikova
6358a13680 Avoid loading of modules from current directory, CVE-2016-1238, (bug #1360425) 2016-08-03 14:15:46 +02:00
Petr Písař
765c6152c1 Fix handling \N{} in tr for characters in range 128--255 2016-07-28 10:41:47 +02:00
Petr Písař
eaff35bbf5 Own systemtap directories by perl-devel 2016-07-26 16:57:52 +02:00
Petr Písař
ff4454a8d5 Fix building without perl in the build root
After building extensions, Makefile builds documentation by executing
the new perl. Because we version libperl.so soname, we need to
precreate a symlink from the soname to ./libperl.so so that the new
perl can be executed. Otherwise this happens:

LD_LIBRARY_PATH=/builddir/build/BUILD/perl-5.24.0  ./perl -Ilib -f pod/buildtoc -q
./perl: error while loading shared libraries: libperl.so.5.24: cannot open shared object file: No such file or directory

This did not appear on upgrade from previous perl version because perl
build script sets LD_PRELOAD in addition if libperl.so exists in the system.
2016-07-26 16:28:50 +02:00
Jitka Plesnikova
fed53a9005 Add missing BR perl(version) to ExtUtils-MakeMaker 2016-07-14 10:36:13 +02:00
Petr Písař
c00f4b6eff Fix a crash in lexical scope warnings 2016-07-12 12:51:29 +02:00
Petr Písař
9906eb1f4e RT#115808 is known as CVE-2016-6185 2016-07-11 12:30:17 +02:00
Petr Písař
f5cb3d39f8 Fix a crash in "Subroutine redefined" warning 2016-07-08 15:09:17 +02:00
Petr Písař
5d9c04077a Fix a crash when vivifying a stub in a deleted package 2016-07-07 16:06:21 +02:00
Jitka Plesnikova
6901833981 Do not let XSLoader load relative paths (bz #1353238) 2016-07-07 13:30:02 +02:00
Petr Písař
b3a20db42c Fix line numbers with perl -x 2016-07-04 12:32:23 +02:00
Petr Písař
754a66c1ac Do not crash when inserting a non-stash into a stash 2016-06-24 08:30:03 +02:00
Petr Písař
751d6acb17 Do not treat %: as a stash 2016-06-22 10:29:52 +02:00
Petr Písař
59d5062095 Fix precedence in hv_ename_delete 2016-06-22 10:26:37 +02:00
Petr Písař
2bfd83c795 Do not use unitialized memory in $h{\const} warnings 2016-06-22 10:06:51 +02:00
Petr Písař
3d99c91349 Fix compiling regular expressions like /\X*(?0)/ 2016-06-20 13:46:56 +02:00
Petr Písař
7a5e4d3a40 Fix perl-threads dependency on the interpreter API
There was an one-line mistake in the following comit. The dependency
on perl's name-version without release number could never been
satisfied.

commit fde8b38ed3
Author: Marcela Mašláňová <mmaslano@redhat.com>
Date:   Mon Aug 13 14:05:08 2012 +0200

    Define perl_compat by macro for rebuilds.

    Sub-packages depend on compat rather than on nvr.
2016-06-16 11:03:26 +02:00
Petr Písař
4d5370a5e8 Fix spec file indentation 2016-06-16 09:24:35 +02:00
Petr Písař
cfbeeaff35 Do not mangle errno from failed socket call 2016-06-16 09:24:26 +02:00
Petr Písař
7f1876649d Fix a memory leak when compiling a regular expression with a POSIX class 2016-06-14 14:50:42 +02:00
Petr Písař
0ef001711b Specify more build-time dependencies 2016-06-02 16:06:57 +02:00
Petr Písař
c1d0a96581 Use pregenerated dependencies on bootstrapping
The dependencies are stored in gendep.macros file. The file be
regenerated from an RPM build log by ./generatedependencies tool.

The intended work flow is to build a new perl with RPM Perl dependency
generator available locally. Then use this ./generatedependencies tool to
convert the discovered dependencies into the gendep.macro file. Then it's
possible to build the new perl even without the RPM Perl dependency
generator available in the build root while the resulting binary
packages will still posses all dependencies.

The reason is standard perl-genererators is written in the Perl thus
perl-generators must run-require perl. Therefore there is
a build cycle. One could rewrite perl-generators.spec so that it did
not need perl for building, but the run-time dependency would still be
there.

One could claim the one run-time dependency can be satisfied by older
perl. And that's true and it has been done so until now. But that
would not solve the problem when bootrapping perl to a new architecture
or as an excercise the perl can be built without any prior perl
available (required by paranoid users). With pregenerated
dependencies, one can implement real bootstrap.

(Ultimate solution would be reimplement RPM Perl generators in C.)
2016-06-02 16:03:52 +02:00
Petr Písař
16def76c8a Remove reflexive dependencies
We still keep perl-generators.
2016-05-20 12:55:47 +02:00
Jitka Plesnikova
af27d46be2 Stop providing old perl(MODULE_COMPAT_5.22.*) 2016-05-18 13:20:22 +02:00
Petr Písař
ced846cb81 Update license tags 2016-05-18 12:27:43 +02:00
Jitka Plesnikova
b991faf2f5 5.24.0 bump; Update sub-packages; Update or remove patches 2016-05-14 09:14:43 +02:00
Jitka Plesnikova
a4b737109b 5.22.2 bump 2016-05-02 09:34:12 +02:00
Petr Písař
3bf2f454d6 Remove perl-ExtUtils-Manifest dependency on perl-devel 2016-04-20 10:38:16 +02:00
Petr Písař
3eb2222dea Remove perl-ExtUtils-Install dependency on perl-devel 2016-04-20 10:38:16 +02:00
Petr Písař
bfe7dfc21d Replace ExtUtils::MakeMaker dependency with ExtUtils::MM::Utils in IPC::Cmd 2016-04-20 10:38:16 +02:00
Petr Písař
df7d75b0c2 Provide MM::maybe_command independently
We do not insert perl-ExtUtils-MM-Utils into perl-core because this is
not a core module. It's a Fedora extension.

Run regen/lib_cleanup.pl to regenerate Makefile.SH and other scripts
to pass porting/regen.t because of addedd ExtUtils/MakeMaker/MM/Utils.pm file.
2016-04-20 10:38:07 +02:00
Petr Písař
1eda1fc7e8 Remove perl-ExtUtils-ParseXS dependency on perl-devel
But we add perl-ExtUtils-MakeMaker dependency on perl-devel beacuse
many XS package would fail to build. The dependency will be weaken
after proper announcement.
2016-04-19 16:21:49 +02:00
Petr Písař
a1f2a99a9f Weak perl-Encode-devel dependency on perl-devel to Recommends level 2016-04-18 16:16:32 +02:00
Petr Písař
995c2b0ddc Do not filter FCGI dependency, CGI is non-core now 2016-03-15 16:14:31 +01:00
Petr Písař
212efc6f49 Remove bundled perl-IPC-SysV 2016-03-04 15:53:18 +01:00
Petr Písař
e55807fcfb Fix CVE-2016-2381 (ambiguous environment variables handling) 2016-03-02 12:50:42 +01:00
Petr Písař
760b95c162 Correct a typo in perl-IPC-SysV description 2016-02-15 13:55:09 +01:00
Fedora Release Engineering
241985936b - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 12:07:03 +00:00
Petr Písař
fcf2c1fd99 Remove bundled Math-BigInt 2015-12-15 09:30:01 +01:00
Jitka Plesnikova
9c5135ce08 5.22.1 bump 2015-12-14 10:09:57 +01:00
Petr Písař
70368ba2cf Rebuild to utilize perl(:VERSION) dependency symbol 2015-10-20 17:40:36 +02:00
Petr Písař
c142b40126 Do not own IO::Socket::IP manual page by perl-IO 2015-10-13 12:19:24 +02:00
Petr Písař
93c55e6eff Provide perl version in perl(:VERSION) dependency symbol
Expressing minimal Perl version as "perl >= 1:5.006" is insufficient:

The Perl version is defined by perl-libs, not perl.
Modules requiring specific Perl but no perl interpreter should not
pull in the perl package.
The epoch numbers are tedious to synchronize.
The auto-generated value is not normalized (1:5.006001).

After this change we will update perl-generators to produce
perl(:VERSION) dependency instead and we will rebuild perl and
perl-Exporter again to leverage this capability.
2015-10-13 10:29:00 +02:00
Petr Písař
bfe1e476f7 Sub-package utilities (splain) into perl-utils 2015-10-07 17:36:00 +02:00
Petr Písař
2a76cfd7c2 Sub-package Test 2015-10-07 17:36:00 +02:00
Petr Písař
4cb12c140d Sub-package IPC-SysV 2015-10-07 17:36:00 +02:00
Petr Písař
c2af999d38 Correct perl-devel and perl-CPAN dependencies
CPAN requires make for building distributions with Makefile.PL,
perl-devel as any developmental package must require the same library
package.
2015-10-07 17:36:00 +02:00
Petr Písař
5228887d65 Move utf8 and dependencies to perl-libs
Unicode properties in regular expressions causes loading utf8 and
unicore files. E.g. perl -e '/\pN/'.
2015-10-07 17:35:54 +02:00
Petr Písař
3b41959454 Correct perl-Pod-Perldoc dependencies 2015-09-21 14:25:42 +02:00
Petr Písař
0dc5e282d3 Correct perl-Digest-SHA dependencies 2015-09-21 13:01:38 +02:00
Petr Písař
711ed412e9 Sub-package Errno 2015-08-31 18:34:27 +02:00
Petr Písař
2b8215aa55 Sub-package IO 2015-08-31 18:06:26 +02:00
Petr Písař
6aac0d5eb6 Sub-package SelfLoader 2015-08-31 18:06:20 +02:00
Petr Písař
5b10b9ac8a Sub-package Devel-SelfStubber 2015-08-31 17:49:29 +02:00
Petr Písař
bed6466254 Sub-package Devel-Peek 2015-08-31 17:49:23 +02:00
Petr Písař
adcf36932f Sub-package Attribute-Handlers 2015-08-31 17:37:59 +02:00
Petr Písař
19f039c9fc Sub-package Pod-Html 2015-08-07 15:28:46 +02:00
Petr Písař
ee5de90686 Sub-package Net-Ping 2015-08-07 15:13:26 +02:00
Petr Písař
9eec10908e Sub-package Memoize 2015-08-07 14:20:27 +02:00
Petr Písař
db2ff067b3 Specify all perl-JSON-PP's dependencies 2015-07-21 10:50:50 +02:00
Petr Písař
4bfb6f9c93 Disable hardening due to some run-time failures
This is a temporary hack until we find the real cause. /usr/bin/perl
linked with -pie causes failures to:

perl-smartmatch-engine-core
perl-Algorithm-CurveFit
perl-B-Utils
perl-PDL-Graphics-PLplot

One could blame poor XS modules, but perl-Algorithm-CurveFit is
pure perl code with no XS modules. So the bug is somewhere in the
perl.
2015-07-16 16:28:27 +02:00
Petr Písař
674f166ec8 Remove bundled perl-Unicode-Collate 2015-07-15 12:38:44 +02:00
Petr Písař
a6a72ee7a1 Remove bundled perl-Unicode-Normalize 2015-07-15 12:37:28 +02:00
Petr Písař
7fbed2c8e3 Remove bundled perl-perlfaq 2015-07-15 12:36:39 +02:00
Petr Písař
e0f454ea52 Remove bundled perl-libnet 2015-07-15 12:35:31 +02:00
Petr Písař
c6bda31ec3 Remove bundled perl-Text-Balanced 2015-07-15 12:34:22 +02:00
Petr Písař
95856e811d Remove bundled perl-Term-Cap 2015-07-15 12:33:09 +02:00
Petr Písař
0f71e3ad4d Remove bundled perl-Pod-Escapes 2015-07-15 12:32:13 +02:00
Petr Písař
0aaf377e1a Remove bundled perl-PerlIO-via-QuotedPrint 2015-07-15 12:31:15 +02:00
Petr Písař
963fd0c67e Remove bundled perl-MIME-Base64 2015-07-15 12:29:43 +02:00
Petr Písař
69de8f640d Remove bundled perl-Config-Perl-V 2015-07-15 12:28:29 +02:00
Petr Písař
1b598383b1 Sub-package Math-Complex 2015-07-15 12:23:16 +02:00
Petr Písař
f0270eb6c6 Sub-package Math-BigInt-FastCalc 2015-07-15 11:32:19 +02:00
Petr Písař
226a2decfc Sub-package Math-BigRat 2015-07-15 11:32:19 +02:00
Petr Písař
00b27cba82 Sub-package bignum 2015-07-15 11:32:16 +02:00
Petr Písař
16113d4049 Remove dangling empty directory after sub-packaging Test-Simple 2015-07-09 16:37:48 +02:00
Petr Písař
74fe0d284d Move libnetcfg tool from perl-devel into perl-libnetcfg sub-package 2015-07-09 16:21:06 +02:00
Petr Písař
47534716d4 Revert downstream change in Net::Config default configuration
This is not needed since upstream commit:

commit adeb94125ab7de8d20c129a905a5159972ad9fd1
Author: Ricardo SIGNES <rjbs@cpan.org>
Date:   Mon Oct 22 05:01:09 2007 -0400

    hostname.t busted
    Message-ID: <20071022130109.GA16748@knight>

    p4raw-id: //depot/perl@32180

Also fixed in CPAN's libnet since 1.22_02.
2015-07-09 16:21:06 +02:00
Petr Písař
cb7a91ee21 Do not provide Net/libnet.cfg 2015-07-09 16:21:06 +02:00
Petr Písař
f71ede153f Sub-package Math-BigInt 2015-07-09 16:21:06 +02:00
Petr Písař
1a4a9cb906 Sub-package Unicode-Collate 2015-07-09 16:20:59 +02:00
Petr Písař
a66a3442bd Sub-package Unicode-Normalize 2015-07-09 10:23:58 +02:00
Petr Písař
c3186889b3 Sub-package perlfaq 2015-07-09 10:23:58 +02:00
Petr Písař
21b162dfcb Sub-package libnet
Net::FTP::dataconn(3pm) does not exist for uknown reason.
2015-07-09 10:23:58 +02:00
Petr Písař
f5eea8f4b1 Sub-package Text-Balanced 2015-07-09 10:23:58 +02:00
Petr Písař
c4ead65220 Sub-package Term-Cap 2015-07-09 10:23:58 +02:00
Petr Písař
de8475d44b Update Pod-Escapes metadata 2015-07-09 10:23:58 +02:00
Petr Písař
032a8a7929 Sub-package PerlIO-via-QuotedPrint 2015-07-09 10:23:58 +02:00
Petr Písař
6093910963 Sub-package MIME-Base64 2015-07-09 10:23:47 +02:00
Petr Písař
219ce2317e Sub-package Config-Perl-V 2015-07-08 16:56:38 +02:00
Petr Písař
b3c6b36d56 Store distribution's linker and compiler flags to more Config's options
We want all programs and libraries produced by perl.spec and other
Perl packages to respect distribution's CFLAGS and LDFLAGS.

This change ensures it. Especially for /usr/bin/perl as well as
non-installed miniperl. The only drawback is /usr/bin/perl gets the
flags twice.

We could poke upstream to fix ExtUtils::MakeMaker and
ExtUtils::CBuilder to respect ldflags what does not happen now. They
use lddlflags only. But we cannot patch them not to diverge from the
world.

Also we disable optimize because optimize is not used everywhere.

This change makes other Perl packages' Makefile.PL's OPTIMIZE argument
redundant. Please note the Build.PL's optimize argument is completly
ignored by Build.PL.
2015-07-08 14:39:47 +02:00
Petr Písař
85faa01eeb Explain file break-down into RPM packages in perl package description 2015-06-18 14:45:06 +02:00
Petr Písař
017295877c Make magic vtable writable as a work-around for Coro 2015-06-18 14:45:06 +02:00
Petr Písař
b60e1a2e9f Make PadlistNAMES() lvalue again 2015-06-18 14:45:06 +02:00
Petr Písař
22f92e77a2 Control building dual-lived sub-packages by perl_bootstrap macro 2015-06-18 14:45:06 +02:00
Petr Písař
0be6137aa8 Subpackage "open" module in order to keep deprecated "encoding" module optional 2015-06-18 14:44:59 +02:00
Dennis Gilmore
9ad5b7e8d4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 01:00:04 +00:00
Jitka Plesnikova
c9dcffbbd1 Stop providing old perl(MODULE_COMPAT_5.20.*) 2015-06-10 10:31:12 +02:00
Jitka Plesnikova
6ac69ebb94 Move ok and Test::Use::ok to perl-Test-Simple 2015-06-04 15:28:56 +02:00
Jitka Plesnikova
d9c9f2dcd5 Move bin/encguess to perl-Encode 2015-06-03 16:37:24 +02:00
Jitka Plesnikova
fb0d177f72 Remove or update patches 2015-06-02 13:07:02 +02:00
Jitka Plesnikova
6071c95c73 Update to Perl 5.22.0; Updated sub-packages and erased the removed modules 2015-06-02 12:14:18 +02:00
Jitka Plesnikova
9d331e06fd Add missing files for Module-Build-Deprecated 2015-04-15 13:07:19 +02:00
Jitka Plesnikova
8952555a87 Sub-package perl-CGI-Fast and perl-Module-Build-Deprecated; Add missing dual-life modules to perl-core 2015-04-15 12:42:12 +02:00
Petr Šabata
49eaf9f2c8 Bump to make koji happy 2015-04-02 16:04:51 +02:00
Petr Šabata
6fbf8c4828 Disable the Text-Tabs+Wrap subpackage 2015-04-02 15:02:52 +02:00
Petr Šabata
64c0b35948 Correct license tags
Correct license tags of the main package, CGI, Compress-Raw-Zlib,
Digest-MD5, Test-Simple and Time-Piece and package a Pod-Html license
clarification email from Tom.
2015-04-02 13:46:20 +02:00
Petr Písař
5516d6aa30 Use perl_version macro for libperl.so mangling
%{version} changes with each sub-package definition. Use
%{perl_version} for renaming and symlinking libperl.so.
2015-03-25 17:01:09 +01:00
Petr Písař
683e60edc6 Sort dual-lived sub-packages 2015-03-25 14:42:04 +01:00
Petr Písař
c59d9bc0e6 Sub-package Text-Tabs+Wrap 2015-03-25 14:41:56 +01:00
Lubomir Rintel
6f6f8fdb06 Add systemtap probes for new DTrace markers 2015-03-20 12:27:35 +01:00
Petr Písař
a14dcbc31c Move perl(:MODULE_COMPAT_*) symbol and include directories to perl-libs
Move license and documentation to perl-libs. perl-libs is now the base
package which everbody needs.
2015-03-16 16:44:22 +01:00
Petr Písař
d0d9aabf0d Correct Encode and Encode-devel license 2015-03-04 14:32:44 +01:00
Petr Písař
6f293aae89 lib-h2ph.t-to-test-generated-t-_h2ph_pre.ph-instead-.patch accepted by upstream 2015-02-25 09:50:17 +01:00
Till Maas
7b7da7f9c9 Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
2015-02-21 22:17:46 +01:00
Jitka Plesnikova
d233c6780e Provide 5.20.2 MODULE_COMPAT; Clean up list of provided files 2015-02-18 10:02:43 +01:00
Jitka Plesnikova
844f0cc11d 5.20.2 bump; Resolved BZ#1177672 2015-02-17 17:49:25 +01:00
Petr Písař
ff964ebffa Improve h2ph fix for GCC 5.0 2015-02-17 13:32:57 +01:00
Petr Písař
59e25a2163 Fix regressions with GCC 5.0
Upstream proposed different fix for the Errno by modifying global CPP
flags. I think this an overkill preventing people from using the new
GCC features. So I roll in now the fix local to the Errno module for
now.
2015-02-12 10:15:48 +01:00
Jitka Plesnikova
c57f53cd02 Update Conflicts for inc-latest 2015-02-03 14:49:59 +01:00
Jitka Plesnikova
9a44bd25c8 Sub-package perl-inc-latest 2015-02-03 14:38:11 +01:00
Petr Písař
b73d9b5e25 Delete dual-living programs clashing on debuginfo files 2015-01-23 15:07:27 +01:00
Petr Písař
ccfb5e9832 Use plain subpackage subname instead of full name
It will be consistent with other subpackages and it will not harm SCL
prefixing.
2015-01-08 13:21:18 +01:00
Petr Písař
232540c992 Synchronize dependencies with perl-Archive-Tar 2014-12-10 13:21:51 +01:00
Petr Písař
a32aa430ca t-op-taint.t-Perform-SHA-256-algorithm-by-crypt-if-d.patch accepted 2014-12-02 08:27:20 +01:00
Petr Písař
55d8c0d4e2 Use stronger algorithm needed for FIPS in t/op/taint.t 2014-12-01 16:14:00 +01:00
Petr Písař
aa05a418d0 Report inaccesible file on failed require 2014-12-01 16:09:44 +01:00
Petr Písař
46308c06eb Own upper directories by each package and remove empty directories
Standard @INC directories are exceptions.
"machine" directory has unknown origin but comes from upstream. Lets
keep it there now.
2014-11-20 15:57:29 +01:00
Petr Písař
298a167499 Sub-package encoding module 2014-11-19 10:41:19 +01:00
Petr Písař
4d3284e898 Fix a comment 2014-11-13 15:00:54 +01:00
Petr Písař
48b627d133 Remove bundled perl-ExtUtils-Command and perl-Filter-Simple 2014-11-13 14:51:01 +01:00
Petr Písař
db22d83f94 Freeze epoch at perl-Pod-Checker and perl-Pod-Usage 2014-11-13 14:45:56 +01:00
Petr Písař
9f8b5700af Build-require groff-base instead of big groff 2014-11-12 15:12:59 +01:00