|
@@ -11,7 +11,7 @@
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%define perl_version 5.26.2
|
|
%define perl_version 5.26.2
|
|
-%define perlrel 1
|
|
|
|
|
|
+%define perlrel 3
|
|
%define perl_epoch 2
|
|
%define perl_epoch 2
|
|
|
|
|
|
Provides: perl(:WITH_PERLIO)
|
|
Provides: perl(:WITH_PERLIO)
|
|
@@ -45,13 +45,16 @@ Summary: The Perl programming language.
|
|
Summary(ja): Perl プログラミング 言語
|
|
Summary(ja): Perl プログラミング 言語
|
|
|
|
|
|
Name: perl
|
|
Name: perl
|
|
|
|
+Epoch: %{perl_epoch}
|
|
Version: %{perl_version}
|
|
Version: %{perl_version}
|
|
Release: %{perlrel}%{?_dist_release}
|
|
Release: %{perlrel}%{?_dist_release}
|
|
-Epoch: %{perl_epoch}
|
|
|
|
-License: Artistic or GPL
|
|
|
|
Group: Development/Languages
|
|
Group: Development/Languages
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
+
|
|
|
|
+License: Artistic or GPL
|
|
URL: http://www.perl.org/
|
|
URL: http://www.perl.org/
|
|
-Source0: ftp://ftp.perl.org/pub/perl/CPAN/src/perl-%{perl_version}.tar.bz2
|
|
|
|
|
|
+Source0: http://www.cpan.org/src/5.0/perl-%{perl_version}.tar.bz2
|
|
Source10: system-owned-directories
|
|
Source10: system-owned-directories
|
|
Source11: filter-depends.sh
|
|
Source11: filter-depends.sh
|
|
Source12: perl-5.8.0-libnet.cfg
|
|
Source12: perl-5.8.0-libnet.cfg
|
|
@@ -276,6 +279,7 @@ Patch86: perl-5.29.0-Remove-ext-GDBM_File-t-fatal.t.patch
|
|
|
|
|
|
# Fix an integer wrap when allocating memory for an environment variable,
|
|
# Fix an integer wrap when allocating memory for an environment variable,
|
|
# RT#133204, in upstream after 5.29.0
|
|
# RT#133204, in upstream after 5.29.0
|
|
|
|
+# CVE-2018-18311
|
|
Patch87: perl-5.26.2-Perl_my_setenv-handle-integer-wrap.patch
|
|
Patch87: perl-5.26.2-Perl_my_setenv-handle-integer-wrap.patch
|
|
|
|
|
|
# Fix printing a warning about a wide character when matching a regular
|
|
# Fix printing a warning about a wide character when matching a regular
|
|
@@ -295,12 +299,20 @@ Patch200: perl-5.16.3-Link-XS-modules-to-libperl.so-with-EU-CBuilder-on-Li
|
|
# Link XS modules to libperl.so with EU::MM on Linux, bug #960048
|
|
# Link XS modules to libperl.so with EU::MM on Linux, bug #960048
|
|
Patch201: perl-5.16.3-Link-XS-modules-to-libperl.so-with-EU-MM-on-Linux.patch
|
|
Patch201: perl-5.16.3-Link-XS-modules-to-libperl.so-with-EU-MM-on-Linux.patch
|
|
|
|
|
|
|
|
+# patch from openSUSE
|
|
|
|
+Patch1000: perl-fix2020.patch
|
|
|
|
+
|
|
# Vine
|
|
# Vine
|
|
# (nothing)
|
|
# (nothing)
|
|
|
|
|
|
## security
|
|
## security
|
|
-# (nothing)
|
|
|
|
-
|
|
|
|
|
|
+Patch20000: perl-archive-tar-dirtrav.diff
|
|
|
|
+Patch20001: perl-extended-charclass-assert.diff
|
|
|
|
+Patch20002: perl-regcomp-strchr-memchr.diff
|
|
|
|
+Patch20003: perl-reg-node-overrun.diff
|
|
|
|
+Patch20004: 0001-CVE-2020-10543.patch
|
|
|
|
+Patch20005: 0002-CVE-2020-10878.patch
|
|
|
|
+Patch20006: 0003-CVE-2020-12723.patch
|
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: gawk, grep, tcsh, gdbm-devel, libdb-devel
|
|
BuildRequires: gawk, grep, tcsh, gdbm-devel, libdb-devel
|
|
@@ -313,9 +325,6 @@ BuildRequires: libxcrypt-devel, libnsl2-devel, bzip2-devel
|
|
# in Config.pm will be undefined. This BuildPreReq will fix it.
|
|
# in Config.pm will be undefined. This BuildPreReq will fix it.
|
|
BuildRequires: man-db
|
|
BuildRequires: man-db
|
|
|
|
|
|
-Vendor: Project Vine
|
|
|
|
-Distribution: Vine Linux
|
|
|
|
-
|
|
|
|
# The long line of Perl provides.
|
|
# The long line of Perl provides.
|
|
|
|
|
|
# These provides are needed by the perl pkg itself with auto-generated perl.req
|
|
# These provides are needed by the perl pkg itself with auto-generated perl.req
|
|
@@ -323,6 +332,7 @@ Provides: perl(VMS::Filespec)
|
|
Provides: perl(VMS::Stdio)
|
|
Provides: perl(VMS::Stdio)
|
|
|
|
|
|
# Compat provides
|
|
# Compat provides
|
|
|
|
+Provides: perl(:MODULE_COMPAT_5.26.3)
|
|
Provides: perl(:MODULE_COMPAT_5.26.2)
|
|
Provides: perl(:MODULE_COMPAT_5.26.2)
|
|
Provides: perl(:MODULE_COMPAT_5.26.1)
|
|
Provides: perl(:MODULE_COMPAT_5.26.1)
|
|
Provides: perl(:MODULE_COMPAT_5.26.0)
|
|
Provides: perl(:MODULE_COMPAT_5.26.0)
|
|
@@ -415,6 +425,10 @@ Obsoletes: perl < 5.10.0
|
|
%description localdirs
|
|
%description localdirs
|
|
Perl library directories in /usr/local
|
|
Perl library directories in /usr/local
|
|
|
|
|
|
|
|
+
|
|
|
|
+%debug_package
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
@@ -479,8 +493,17 @@ Perl library directories in /usr/local
|
|
%patch200 -p1
|
|
%patch200 -p1
|
|
%patch201 -p1
|
|
%patch201 -p1
|
|
|
|
|
|
|
|
+## patch from openSUSE
|
|
|
|
+%patch1000 -p1
|
|
|
|
+
|
|
## security patch(es)
|
|
## security patch(es)
|
|
-# (nothing)
|
|
|
|
|
|
+%patch20000 -p1
|
|
|
|
+%patch20001 -p1
|
|
|
|
+%patch20002 -p1
|
|
|
|
+%patch20003 -p1
|
|
|
|
+%patch20004 -p1
|
|
|
|
+%patch20005 -p1
|
|
|
|
+%patch20006 -p1
|
|
|
|
|
|
#
|
|
#
|
|
# Candidates for doc recoding (need case by case review):
|
|
# Candidates for doc recoding (need case by case review):
|
|
@@ -753,9 +776,11 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
|
# perl -x patchlevel.h 'Fedora Patch12: Update Module::Load::Conditional to 0.24'
|
|
# perl -x patchlevel.h 'Fedora Patch12: Update Module::Load::Conditional to 0.24'
|
|
# perl -x patchlevel.h 'Fedora Patch13: Upgrade Module::CoreList to 2.14'
|
|
# perl -x patchlevel.h 'Fedora Patch13: Upgrade Module::CoreList to 2.14'
|
|
|
|
|
|
|
|
+
|
|
%clean
|
|
%clean
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
+
|
|
%check
|
|
%check
|
|
%{new_perl} -I./lib regen/lib_cleanup.pl
|
|
%{new_perl} -I./lib regen/lib_cleanup.pl
|
|
pushd t
|
|
pushd t
|
|
@@ -763,13 +788,16 @@ pushd t
|
|
popd
|
|
popd
|
|
LC_ALL=C make test
|
|
LC_ALL=C make test
|
|
|
|
|
|
|
|
+
|
|
%post -p /sbin/ldconfig
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
+
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%doc Artistic AUTHORS Changes* Copying README
|
|
|
|
|
|
+%license Copying
|
|
|
|
+%doc Artistic AUTHORS Changes* README
|
|
%{_mandir}/man1/*.1*
|
|
%{_mandir}/man1/*.1*
|
|
%{_mandir}/man3/*.3*
|
|
%{_mandir}/man3/*.3*
|
|
%{_bindir}/*
|
|
%{_bindir}/*
|
|
@@ -785,7 +813,16 @@ LC_ALL=C make test
|
|
%dir %{_prefix}/local/lib/site_perl/%{perl_version}
|
|
%dir %{_prefix}/local/lib/site_perl/%{perl_version}
|
|
%dir %{_prefix}/local/lib/site_perl/%{perl_version}/%{_arch}-%{_os}%{thread_arch}
|
|
%dir %{_prefix}/local/lib/site_perl/%{perl_version}/%{_arch}-%{_os}%{thread_arch}
|
|
|
|
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Jun 10 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.26.2-3
|
|
|
|
+- added Patch20004-20006 to fix CVE-2020-{10543,10878,12723}.
|
|
|
|
+
|
|
|
|
+* Wed Jun 10 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.26.2-2
|
|
|
|
+- new upstream release.
|
|
|
|
+- imported Patch1000, 20000-20003 from openSUSE.
|
|
|
|
+ - CVE-2018-12015 and CVE-2018-1831{2,3,4}
|
|
|
|
+
|
|
* Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.26.2-1
|
|
* Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.26.2-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
- added BR:libxcrypt-devel,libnsl2-devel,bzip2-devel.
|
|
- added BR:libxcrypt-devel,libnsl2-devel,bzip2-devel.
|