Compare commits
15 Commits
Author | SHA256 | Date | |
---|---|---|---|
6029058e74 | |||
083b69443d | |||
c9dffef1e9 | |||
a4ad4caf81 | |||
60c82533f6 | |||
09ffea4bb6 | |||
05d0fea200 | |||
05075c6cb4 | |||
7a7e2eb089 | |||
5c026831d5 | |||
cd84719879 | |||
6c82a7a4bf | |||
bad1b5e27c | |||
a8e78c8c6d | |||
b0fad4bfd5 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d5325300ad267624cb0b7d512cfdfcd74fa7fe00c455c5b51a6bd53e5e199ef9
|
|
||||||
size 13804184
|
|
BIN
perl-5.42.0.tar.xz
(Stored with Git LFS)
Normal file
BIN
perl-5.42.0.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
13
perl-fixed-uname.patch
Normal file
13
perl-fixed-uname.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/Configure b/Configure
|
||||||
|
index 72c3794..7c2edf6 100755
|
||||||
|
--- a/Configure
|
||||||
|
+++ b/Configure
|
||||||
|
@@ -3541,7 +3541,7 @@ EOM
|
||||||
|
;;
|
||||||
|
linux) osname=linux
|
||||||
|
case "$3" in
|
||||||
|
- *) osvers="$3" ;;
|
||||||
|
+ *) osvers="6.14.0" ;;
|
||||||
|
esac
|
||||||
|
$test -f /system/lib/libandroid.so && osname=linux-android
|
||||||
|
;;
|
49
perl.changes
49
perl.changes
@@ -1,3 +1,52 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 11 12:40:31 CEST 2025 - mls@suse.de
|
||||||
|
|
||||||
|
- update to 5.42.0
|
||||||
|
* new pragma "source::encoding"
|
||||||
|
* new ":writer" attribute on field variables
|
||||||
|
* new "any" and "all" operators
|
||||||
|
* lexical method declaration using "my method"
|
||||||
|
* lexical method invocation operator "->&"
|
||||||
|
* switch and Smart Match operator kept, behind a feature
|
||||||
|
* unicode 16.0 supported
|
||||||
|
* assigning logical xor "^^=" operator
|
||||||
|
* many performance enhancements
|
||||||
|
- drop perl-dirdup.diff (included upstream)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 9 12:15:01 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
- Replace usage of %jobs for reproducible builds (boo#1237231)
|
||||||
|
- Add perl-fixed-uname.patch to not store kernel version (boo#1230137)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 5 11:15:53 CEST 2025 - mls@suse.de
|
||||||
|
|
||||||
|
- do not change the current directory when cloning an open
|
||||||
|
directory handle [bnc#1244079] [CVE-2025-40909]
|
||||||
|
new patch: perl-dirdup.diff
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 14 11:17:06 CEST 2025 - mls@suse.de
|
||||||
|
|
||||||
|
- update to 5.40.2
|
||||||
|
* fix heap buffer overflow with tr// [bsc#1241083] [CVE-2024-56406]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 20 12:06:19 CET 2025 - mls@suse.de
|
||||||
|
|
||||||
|
- Drop BerkeleyDB support from core perl [jsc#PED-12413]
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 7 14:54:59 CET 2025 - mls@suse.de
|
||||||
|
|
||||||
|
- update to 5.40.1
|
||||||
|
* fix strftime sometimes crashing if a non-string was used as argument
|
||||||
|
* some functions in the builtin:: package would crash when used after
|
||||||
|
a tail call
|
||||||
|
* fix utf8n_to_uvchr sometimes failing to correctly identify certain
|
||||||
|
invalid UTF-8 sequences as invalid.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 3 07:31:25 UTC 2024 - Dirk Stoecker <opensuse@dstoecker.de>
|
Wed Jul 3 07:31:25 UTC 2024 - Dirk Stoecker <opensuse@dstoecker.de>
|
||||||
|
|
||||||
|
26
perl.spec
26
perl.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -23,11 +23,13 @@
|
|||||||
%define name_suffix %{nil}
|
%define name_suffix %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define pversion 5.40.0
|
%define versionlist_provides() %{lua:for i, n in ipairs(arg) do ; print(" perl(:MODULE_COMPAT_"..n..")") ; end}
|
||||||
|
|
||||||
|
%define pversion 5.42.0
|
||||||
# set to nil when equal to pversion
|
# set to nil when equal to pversion
|
||||||
%global versionlist %{nil}
|
%global versionlist %nil
|
||||||
Name: perl%{?name_suffix}
|
Name: perl%{?name_suffix}
|
||||||
Version: 5.40.0
|
Version: 5.42.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The Perl interpreter
|
Summary: The Perl interpreter
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
@@ -53,7 +55,7 @@ Patch12: perl-reproducible.patch
|
|||||||
Patch13: perl_skip_flaky_tests_powerpc.patch
|
Patch13: perl_skip_flaky_tests_powerpc.patch
|
||||||
# PATCH-FIX-UPSTREAM unmerged https://www.nntp.perl.org/group/perl.perl5.porters/2018/12/msg253240.html
|
# PATCH-FIX-UPSTREAM unmerged https://www.nntp.perl.org/group/perl.perl5.porters/2018/12/msg253240.html
|
||||||
Patch18: perl-reproducible2.patch
|
Patch18: perl-reproducible2.patch
|
||||||
BuildRequires: db-devel
|
Patch20: perl-fixed-uname.patch
|
||||||
BuildRequires: gdbm-devel
|
BuildRequires: gdbm-devel
|
||||||
BuildRequires: libbz2-devel
|
BuildRequires: libbz2-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
@@ -65,7 +67,7 @@ Requires: perl-base = %{version}
|
|||||||
Suggests: perl-doc = %{version}
|
Suggests: perl-doc = %{version}
|
||||||
Provides: perl(:MODULE_COMPAT_%{pversion})
|
Provides: perl(:MODULE_COMPAT_%{pversion})
|
||||||
%if "%{versionlist}" != ""
|
%if "%{versionlist}" != ""
|
||||||
Provides: perl(:MODULE_COMPAT_%{versionlist})
|
Provides: %{versionlist_provides %{versionlist}}
|
||||||
%endif
|
%endif
|
||||||
%if "%{version}" != "%{pversion}"
|
%if "%{version}" != "%{pversion}"
|
||||||
Provides: perl = %{pversion}-%{release}
|
Provides: perl = %{pversion}-%{release}
|
||||||
@@ -135,6 +137,7 @@ cp -p %{SOURCE3} .
|
|||||||
%patch -P 9 -p1
|
%patch -P 9 -p1
|
||||||
%patch -P 12 -p1
|
%patch -P 12 -p1
|
||||||
%patch -P 18
|
%patch -P 18
|
||||||
|
%patch -P20 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%define _lto_cflags %{nil}
|
%define _lto_cflags %{nil}
|
||||||
@@ -160,7 +163,7 @@ test -n "$versionlist" || versionlist=none
|
|||||||
versionlist=${versionlist# }
|
versionlist=${versionlist# }
|
||||||
options="$options -Dotherlibdirs=/usr/lib/perl5/site_perl -Dinc_version_list='$versionlist'"
|
options="$options -Dotherlibdirs=/usr/lib/perl5/site_perl -Dinc_version_list='$versionlist'"
|
||||||
chmod 755 ./configure.gnu
|
chmod 755 ./configure.gnu
|
||||||
./configure.gnu --prefix=%{_prefix} -Dvendorprefix=%{_prefix} -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Dd_dbm_open -Duseshrplib=\'true\' $options
|
./configure.gnu --prefix=%{_prefix} -Dvendorprefix=%{_prefix} -Dinstallusrbinperl -Dusethreads -Di_dbm -Di_ndbm -Di_gdbm -Dd_dbm_open -Duseshrplib=\'true\' $options
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
cp -p libperl.so savelibperl.so
|
cp -p libperl.so savelibperl.so
|
||||||
cp -p lib/Config.pm saveConfig.pm
|
cp -p lib/Config.pm saveConfig.pm
|
||||||
@@ -168,7 +171,7 @@ cp -p lib/Config_heavy.pl saveConfig_heavy.pl
|
|||||||
make -j1 clobber
|
make -j1 clobber
|
||||||
rm -rf lib
|
rm -rf lib
|
||||||
mv savelib lib
|
mv savelib lib
|
||||||
./configure.gnu --prefix=%{_prefix} -Dvendorprefix=%{_prefix} -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Dd_dbm_open $options
|
./configure.gnu --prefix=%{_prefix} -Dvendorprefix=%{_prefix} -Dinstallusrbinperl -Dusethreads -Di_dbm -Di_ndbm -Di_gdbm -Dd_dbm_open $options
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -178,7 +181,8 @@ echo 'print "1..0\n";' > t/op/fork.t
|
|||||||
echo 'print "1..0\n";' > t/op/magic.t
|
echo 'print "1..0\n";' > t/op/magic.t
|
||||||
%endif
|
%endif
|
||||||
%if "%{name}" == "perl-testsuite"
|
%if "%{name}" == "perl-testsuite"
|
||||||
TEST_JOBS="%{jobs}" make %{?_smp_mflags} test
|
export TEST_JOBS="$(echo %{?_smp_mflags} | cut -c 3-)"
|
||||||
|
make %{?_smp_mflags} test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@@ -196,7 +200,7 @@ install -m 444 saveConfig.pm $cpa/Config.pm
|
|||||||
install -m 444 saveConfig_heavy.pl $cpa/Config_heavy.pl
|
install -m 444 saveConfig_heavy.pl $cpa/Config_heavy.pl
|
||||||
# install macros.perl file
|
# install macros.perl file
|
||||||
install -D -m 644 %{SOURCE2} %{buildroot}%{_rpmconfigdir}/macros.d/macros.perl
|
install -D -m 644 %{SOURCE2} %{buildroot}%{_rpmconfigdir}/macros.d/macros.perl
|
||||||
pushd %{_includedir}
|
cd %{_includedir}
|
||||||
( rpm -ql glibc-devel | grep -F '.h'
|
( rpm -ql glibc-devel | grep -F '.h'
|
||||||
find %{_includedir}/asm/ -name \*.h
|
find %{_includedir}/asm/ -name \*.h
|
||||||
find %{_includedir}/asm-generic -name \*.h
|
find %{_includedir}/asm-generic -name \*.h
|
||||||
@@ -204,7 +208,7 @@ pushd %{_includedir}
|
|||||||
) | while read f; do
|
) | while read f; do
|
||||||
%{buildroot}%{_bindir}/perl -I$cp -I$cpa %{buildroot}%{_bindir}/h2ph -d $vpa ${f/\/usr\/include\//} || :
|
%{buildroot}%{_bindir}/perl -I$cp -I$cpa %{buildroot}%{_bindir}/h2ph -d $vpa ${f/\/usr\/include\//} || :
|
||||||
done
|
done
|
||||||
popd
|
cd -
|
||||||
d="`gcc -print-file-name=include`"
|
d="`gcc -print-file-name=include`"
|
||||||
test -f "$d/stdarg.h" && (cd $d ; %{buildroot}%{_bindir}/perl -I$cp -I$cpa %{buildroot}%{_bindir}/h2ph -d $vpa stdarg.h stddef.h float.h)
|
test -f "$d/stdarg.h" && (cd $d ; %{buildroot}%{_bindir}/perl -I$cp -I$cpa %{buildroot}%{_bindir}/h2ph -d $vpa stdarg.h stddef.h float.h)
|
||||||
# remove broken pm - we don't have the module
|
# remove broken pm - we don't have the module
|
||||||
|
Reference in New Issue
Block a user