SHA256
1
0
forked from pool/perl

15 Commits

Author SHA256 Message Date
6029058e74 Accepting request 1291949 from devel:languages:perl
- update to 5.42.0

OBS-URL: https://build.opensuse.org/request/show/1291949
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl?expand=0&rev=142
2025-07-15 14:41:18 +00:00
083b69443d - update to 5.42.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=267
2025-07-11 10:46:23 +00:00
c9dffef1e9 Accepting request 1287018 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1287018
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl?expand=0&rev=141
2025-06-23 12:50:36 +00:00
a4ad4caf81 Accepting request 1284187 from home:bmwiedemann:branches:devel:languages:perl
* Replace usage of %jobs for reproducible builds (boo#1237231)
* Add perl-fixed-uname.patch to not store kernel version (boo#1230137)

OBS-URL: https://build.opensuse.org/request/show/1284187
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=265
2025-06-19 19:07:15 +00:00
60c82533f6 Accepting request 1283341 from devel:languages:perl
do not change the current directory when cloning an open directory handle

OBS-URL: https://build.opensuse.org/request/show/1283341
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl?expand=0&rev=140
2025-06-10 06:59:13 +00:00
09ffea4bb6 do not change the current directory when cloning an open dir handle
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=263
2025-06-05 10:44:08 +00:00
05d0fea200 Accepting request 1269212 from devel:languages:perl
update to 5.40.2

OBS-URL: https://build.opensuse.org/request/show/1269212
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl?expand=0&rev=139
2025-04-16 18:37:01 +00:00
05075c6cb4 - update to 5.40.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=261
2025-04-14 09:19:52 +00:00
7a7e2eb089 Accepting request 1255245 from devel:languages:perl
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1255245
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl?expand=0&rev=138
2025-03-27 21:31:28 +00:00
5c026831d5 Drop BerkeleyDB support from core perl [jsc#PED-12413]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=259
2025-03-20 11:16:56 +00:00
cd84719879 Accepting request 1251215 from devel:languages:perl
update to 5.40.1

OBS-URL: https://build.opensuse.org/request/show/1251215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl?expand=0&rev=137
2025-03-10 16:57:25 +00:00
6c82a7a4bf - update to 5.40.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=257
2025-03-07 14:00:10 +00:00
bad1b5e27c osc copypac from project:devel:languages:perl package:perl revision:253
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=256
2024-10-07 11:11:17 +00:00
a8e78c8c6d Make the perl interpreter size independent of the time_t size
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=255
2024-10-02 11:09:47 +00:00
b0fad4bfd5 build with 64bit time_t on 32bit architectures [bnc#1230673]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=254
2024-10-01 13:19:55 +00:00
5 changed files with 80 additions and 14 deletions

View File

@@ -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

Binary file not shown.

13
perl-fixed-uname.patch Normal file
View 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
;;

View File

@@ -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>

View File

@@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,11 +23,13 @@
%define name_suffix %{nil}
%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
%global versionlist %{nil}
%global versionlist %nil
Name: perl%{?name_suffix}
Version: 5.40.0
Version: 5.42.0
Release: 0
Summary: The Perl interpreter
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
# PATCH-FIX-UPSTREAM unmerged https://www.nntp.perl.org/group/perl.perl5.porters/2018/12/msg253240.html
Patch18: perl-reproducible2.patch
BuildRequires: db-devel
Patch20: perl-fixed-uname.patch
BuildRequires: gdbm-devel
BuildRequires: libbz2-devel
BuildRequires: ncurses-devel
@@ -65,7 +67,7 @@ Requires: perl-base = %{version}
Suggests: perl-doc = %{version}
Provides: perl(:MODULE_COMPAT_%{pversion})
%if "%{versionlist}" != ""
Provides: perl(:MODULE_COMPAT_%{versionlist})
Provides: %{versionlist_provides %{versionlist}}
%endif
%if "%{version}" != "%{pversion}"
Provides: perl = %{pversion}-%{release}
@@ -135,6 +137,7 @@ cp -p %{SOURCE3} .
%patch -P 9 -p1
%patch -P 12 -p1
%patch -P 18
%patch -P20 -p1
%build
%define _lto_cflags %{nil}
@@ -160,7 +163,7 @@ test -n "$versionlist" || versionlist=none
versionlist=${versionlist# }
options="$options -Dotherlibdirs=/usr/lib/perl5/site_perl -Dinc_version_list='$versionlist'"
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}
cp -p libperl.so savelibperl.so
cp -p lib/Config.pm saveConfig.pm
@@ -168,7 +171,7 @@ cp -p lib/Config_heavy.pl saveConfig_heavy.pl
make -j1 clobber
rm -rf 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}
%check
@@ -178,7 +181,8 @@ echo 'print "1..0\n";' > t/op/fork.t
echo 'print "1..0\n";' > t/op/magic.t
%endif
%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
%install
@@ -196,7 +200,7 @@ install -m 444 saveConfig.pm $cpa/Config.pm
install -m 444 saveConfig_heavy.pl $cpa/Config_heavy.pl
# install macros.perl file
install -D -m 644 %{SOURCE2} %{buildroot}%{_rpmconfigdir}/macros.d/macros.perl
pushd %{_includedir}
cd %{_includedir}
( rpm -ql glibc-devel | grep -F '.h'
find %{_includedir}/asm/ -name \*.h
find %{_includedir}/asm-generic -name \*.h
@@ -204,7 +208,7 @@ pushd %{_includedir}
) | while read f; do
%{buildroot}%{_bindir}/perl -I$cp -I$cpa %{buildroot}%{_bindir}/h2ph -d $vpa ${f/\/usr\/include\//} || :
done
popd
cd -
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)
# remove broken pm - we don't have the module