Commit Graph

883 Commits

Author SHA1 Message Date
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
Petr Písař
29d0c0d0ae Update pregenerated XSLoader RPM symbols
XSLoader changed version by Don-t-let-XSLoader-load-relative-paths.patch.
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
ffc2c49122 5.24.0 bump - add source 2016-05-14 09:15:56 +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ř
8dfa8a5d0b Remove unneeded filter-requires.sh file 2016-03-15 16:39:18 +01: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
Jaromir Capik
43ea5a4eb8 Adding STAGE2 bootstrap recipe 2015-11-04 16:25:33 +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