auto spec version bump up: perl_specs

- perl: bump up to 5.36.0
- perl-CGI: bump up to 4.54
- perl-DBD-SQLite: bump up to 1.72
- perl-Data-Validate-IP: bump up to 0.30
- perl-File-HomeDir: bump up to 1.006
- perl-File-Which: bump up to 1.27
- perl-IO-Socket-SSL: bump up to 2.075
- perl-IPC-Run: bump up to 20220807.0
- perl-JSON-XS: bump up to 4.03
- perl-List-MoreUtils: bump up to 0.430
- perl-Module-ScanDeps: bump up to 1.31
- perl-Net-SSLeay: bump up to 1.92
- perl-Try-Tiny: bump up to 0.31
- perl-Types-Serialiser: bump up to 1.01
- perl-URI: bump up to 5.17
- perl-libintl: bump up to 1.32
- perl-Exporter-Tiny: bump up to 1.004004

Change-Id: Ida56c226346e0ae10bea84251b0b4764edf1849e
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/17358
Reviewed-by: Tapas Kundu <tkundu@vmware.com>
Tested-by: Tapas Kundu <tkundu@vmware.com>
This commit is contained in:
gerrit-photon 2022-08-17 20:53:26 -07:00 committed by Tapas Kundu
parent a0a2929bcd
commit be77db16d8
58 changed files with 524 additions and 901 deletions

View File

@ -1,11 +1,11 @@
Summary: XML-Parser perl module
Name: XML-Parser
Version: 2.46
Release: 2%{?dist}
Release: 3%{?dist}
License: GPL+
URL: http://search.cpan.org/~toddr/%{name}-%{version}/
Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/%{name}-%{version}.tar.gz
%define sha1 XML-Parser=40cba8a10847b71804684e5c72a410277f47f8ce
%define sha512 XML-Parser=c4609495cc5ca34952f61876a690ef76d42eee6689d1bedb8036c9eab918525ec5213f1639c7178c029ee0f8765a2ca5eb0197f6e39b8be6d5dbc3f3c1d0b389
Group: Development/Tools
Vendor: VMware, Inc.
Distribution: Photon
@ -13,10 +13,13 @@ BuildRequires: expat-devel
BuildRequires: perl
Requires: expat
Requires: perl
%description
The XML::Parser module is a Perl extension interface to James Clark's XML parser, expat
%prep
%setup -q
%autosetup
%build
perl Makefile.PL
if [ %{_host} != %{_build} ]; then
@ -31,10 +34,11 @@ if [ %{_host} != %{_build} ]; then
ln -sf %{_arch}-linux-gnu-ar /usr/bin/ar
fi
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
%define __perl_version 5.30.1
%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
%define __perl_version 5.36.0
rm %{buildroot}/%{_libdir}/perl5/%{__perl_version}/*/perllocal.pod
%check
@ -44,26 +48,29 @@ make %{?_smp_mflags} test
%defattr(-,root,root)
%{_libdir}/perl5/*
%{_mandir}/man3/*
%changelog
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 2.46-2
- Rebuild for perl version upgrade to 5.30.1
* Thu Jun 25 2020 Gerrit Photon <photon-checkins@vmware.com> 2.46-1
- Automatic Version Bump
* Thu Nov 15 2018 Alexey Makhalov <amakhalov@vmware.com> 2.44-6
- Cross compilation support
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 2.44-5
- Consuming perl version upgrade of 5.28.0
* Tue Nov 14 2017 Alexey Makhalov <amakhalov@vmware.com> 2.44-4
- Aarch64 support
* Tue Apr 4 2017 Robert Qi <qij@vmware.com> 2.44-3
- Update to version 2.44-3 since perl version updated.
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.44-2
- GA - Bump release of all rpms
* Tue Feb 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2.44-1
- Upgraded to version 2.44
* Mon Feb 01 2016 Anish Swaminathan <anishs@vmware.com> 2.41-3
- Fix for multithreaded perl
* Wed Jan 13 2016 Anish Swaminathan <anishs@vmware.com> 2.41-2
- Fix for new perl
* Thu Oct 23 2014 Divya Thaluru <dthaluru@vmware.com> 2.41-1
- Initial build. First version
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 2.46-3
- Perl version upgrade to 5.36.0
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 2.46-2
- Rebuild for perl version upgrade to 5.30.1
* Thu Jun 25 2020 Gerrit Photon <photon-checkins@vmware.com> 2.46-1
- Automatic Version Bump
* Thu Nov 15 2018 Alexey Makhalov <amakhalov@vmware.com> 2.44-6
- Cross compilation support
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 2.44-5
- Consuming perl version upgrade of 5.28.0
* Tue Nov 14 2017 Alexey Makhalov <amakhalov@vmware.com> 2.44-4
- Aarch64 support
* Tue Apr 4 2017 Robert Qi <qij@vmware.com> 2.44-3
- Update to version 2.44-3 since perl version updated.
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.44-2
- GA - Bump release of all rpms
* Tue Feb 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 2.44-1
- Upgraded to version 2.44
* Mon Feb 01 2016 Anish Swaminathan <anishs@vmware.com> 2.41-3
- Fix for multithreaded perl
* Wed Jan 13 2016 Anish Swaminathan <anishs@vmware.com> 2.41-2
- Fix for new perl
* Thu Oct 23 2014 Divya Thaluru <dthaluru@vmware.com> 2.41-1
- Initial build. First version

View File

@ -1,6 +1,6 @@
Name: apparmor
Version: 3.1.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: AppArmor is an effective and easy-to-use Linux application security system.
License: GNU LGPL v2.1
URL: https://launchpad.net/apparmor
@ -373,6 +373,8 @@ cd ../../profiles
%exclude %{perl_archlib}/perllocal.pod
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 3.1.1-2
- Perl version upgrade to 5.36.0
* Thu Nov 03 2022 Nitesh Kumar <kunitesh@vmware.com> 3.1.1-1
- Version upgrade to v3.1.1
* Sun Aug 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 3.0.4-3

View File

@ -1,28 +1,27 @@
Summary: The package automatically configure source code
Name: autoconf
Version: 2.13
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2
URL: http://www.gnu.org/software/autoconf
Group: System Environment/Base
Vendor: VMware, Inc.
Distribution: Photon
Source0: http://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.gz
%define sha1 autoconf=e4826c8bd85325067818f19b2b2ad2b625da66fc
%define sha512 autoconf=602584f4c77b7a554aaa068eda5409b68eb0b3229e9c224bffb91c83c4314d25de15bd560a323626ff78f6df339c79e1ef8938c54b78ecadf4dc75c5241290ad
Patch0: autoconf-2.13-consolidated_fixes-1.patch
BuildRequires: m4 texinfo
Requires: m4
Requires: perl-Perl4-CoreLibs
BuildArch: noarch
Obsoletes: autoconf213
Obsoletes: autoconf213 <= 2.13
%description
The package contains programs for producing shell scripts that can
automatically configure source code.
%prep
%setup -q -n autoconf-%{version}
%patch0 -p1
%autosetup -n autoconf-%{version} -p1
mv -v autoconf.texi autoconf213.texi
rm -v autoconf.info
@ -31,7 +30,7 @@ rm -v autoconf.info
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
install -v -m644 autoconf213.info %{buildroot}/usr/share/info
%check
@ -44,6 +43,8 @@ make -k check %{?_smp_mflags} TESTSUITEFLAGS="1-500"
%{_datadir}/info
%changelog
* Thu Nov 10 2022 Dweep Advani <amakhalov@vmware.com> 2.13-3
- Rebuild for upgraded perl version 5.36.0
* Thu Feb 11 2021 Alexey Makhalov <amakhalov@vmware.com> 2.13-2
- Add explicit texinfo build dependency to avoid using preinstalled one.
* Sat Oct 26 2019 Ankit Jain <ankitja@vmware.com> 2.13-1

View File

@ -1,7 +1,7 @@
Summary: The package automatically configure source code
Name: autoconf
Version: 2.71
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2
URL: http://www.gnu.org/software/autoconf
Group: System Environment/Base
@ -43,6 +43,8 @@ make -k check %{?_smp_mflags} TESTSUITEFLAGS="1-500"
%{_datarootdir}/autoconf/*
%changelog
* Thu Nov 10 2022 Dweep Advani <dadvani@vmware.com> 2.71-2
- Rebuild with perl 5.36.0
* Mon Apr 12 2021 Gerrit Photon <photon-checkins@vmware.com> 2.71-1
- Automatic Version Bump
* Sun Nov 15 2020 Prashant Singh Chauhan <psinghchauha@vmware.com> 2.69-9

View File

@ -1,7 +1,7 @@
Name: help2man
Summary: Create simple man pages from --help output
Version: 1.48.5
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv3+
URL: https://www.gnu.org/software/help2man
Group: System Environment/Base
@ -47,5 +47,7 @@ make install_l10n DESTDIR=%{buildroot} %{?_smp_mflags}
%{_mandir}/man1/*
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 1.48.5-2
- Rebuild for perl version upgrade to 5.36.0
* Fri Dec 10 2021 Shreenidhi Shedi <sshedi@vmware.com> 1.48.5-1
- Intial version. Needed for rpm-4.17.0

View File

@ -5,7 +5,7 @@
Summary: iPXE open source boot firmware
Name: ipxe
Version: 1.21.1
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2
URL: http://ipxe.org
Group: System Environment/Daemons
@ -66,6 +66,8 @@ install -vDm 644 src/bin/*.{rom,mrom} %{buildroot}%{_datadir}/%{name}/
%{_datadir}/%{name}/rtl8139.rom
%changelog
* Thu Nov 10 2022 Dweep Advani <dadvani@vmware.com> 1.21.1-3
- Rebuild for perl version upgrade to 5.36.0
* Sun Sep 18 2022 Vamsi Krishna Brahmajosyula <vbrahmajosyula@vmware.com> 1.21.1-2
- Fix build with latest tool chain
* Thu Apr 29 2021 Gerrit Photon <photon-checkins@vmware.com> 1.21.1-1

View File

@ -1,10 +0,0 @@
diff --git a/tools/perf/util/scripting-engines/Build b/tools/perf/util/scripting-engines/Build
index 7b342ce..2ad0ea9 100644
--- a/tools/perf/util/scripting-engines/Build
+++ b/tools/perf/util/scripting-engines/Build
@@ -3,4 +3,4 @@ perf-$(CONFIG_LIBPYTHON) += trace-event-python.o
CFLAGS_trace-event-perl.o += $(PERL_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-shadow -Wno-nested-externs -Wno-undef -Wno-switch-default
-CFLAGS_trace-event-python.o += $(PYTHON_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-shadow
+CFLAGS_trace-event-python.o += $(PYTHON_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-shadow -Wno-deprecated-declarations

View File

@ -0,0 +1,24 @@
diff --git a/tools/perf/scripts/perl/Perf-Trace-Util/Build b/tools/perf/scripts/perl/Perf-Trace-Util/Build
index db0036129..79b43b98d 100644
--- a/tools/perf/scripts/perl/Perf-Trace-Util/Build
+++ b/tools/perf/scripts/perl/Perf-Trace-Util/Build
@@ -1,5 +1,5 @@
perf-y += Context.o
-CFLAGS_Context.o += $(PERL_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes
+CFLAGS_Context.o += $(PERL_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes -Wno-bad-function-cast -Wno-declaration-after-statement -Wno-switch-enum
CFLAGS_Context.o += -Wno-unused-parameter -Wno-nested-externs -Wno-undef
CFLAGS_Context.o += -Wno-switch-default -Wno-shadow
diff --git a/tools/perf/util/scripting-engines/Build b/tools/perf/util/scripting-engines/Build
index 7b342ce38..0f5ba2833 100644
--- a/tools/perf/util/scripting-engines/Build
+++ b/tools/perf/util/scripting-engines/Build
@@ -1,6 +1,6 @@
perf-$(CONFIG_LIBPERL) += trace-event-perl.o
perf-$(CONFIG_LIBPYTHON) += trace-event-python.o
-CFLAGS_trace-event-perl.o += $(PERL_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-shadow -Wno-nested-externs -Wno-undef -Wno-switch-default
+CFLAGS_trace-event-perl.o += $(PERL_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-shadow -Wno-nested-externs -Wno-undef -Wno-switch-default -Wno-bad-function-cast -Wno-declaration-after-statement -Wno-switch-enum
-CFLAGS_trace-event-python.o += $(PYTHON_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-shadow
+CFLAGS_trace-event-python.o += $(PYTHON_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-shadow -Wno-deprecated-declarations

View File

@ -23,7 +23,7 @@
Summary: Kernel
Name: linux
Version: 5.10.142
Release: 4%{?kat_build:.kat}%{?dist}
Release: 5%{?kat_build:.kat}%{?dist}
License: GPLv2
URL: http://www.kernel.org/
Group: System Environment/Kernel
@ -84,8 +84,8 @@ Patch5: vsock-delay-detach-of-QP-with-outgoing-data-59.patch
Patch6: hwrng-rdrand-Add-RNG-driver-based-on-x86-rdrand-inst.patch
Patch7: 0001-cgroup-v1-cgroup_stat-support.patch
# To support compilation with py 3.11
Patch8: do-not-throw-error-for-py311-deprecated-modules.patch
# To support compilation with Python 3.11 and Perl 5.36.0
Patch8: do-not-throw-errors-for-building-tools.patch
# To support GCC v12
Patch9: 0003-perf_machine_Use_path__join_to_compose_a_path_instead_of_snprintf.patch
@ -786,6 +786,8 @@ getent group sgx_prv >/dev/null || groupadd -r sgx_prv
%{_datadir}/bash-completion/completions/bpftool
%changelog
* Mon Dec 19 2022 Dweep Advani <dadvani@vmware.com> 5.10.142-5
- Ignore warnings to keep building tools
* Mon Oct 31 2022 Prashant S Chauhan <psinghchauha@vmware.com> 5.10.142-4
- Dont throw error for supported deprecated modules of py311
* Thu Oct 20 2022 Vamsi Krishna Brahmajosyula <vbrahmajosyula@vmware.com> 5.10.142-3

View File

@ -1,6 +1,6 @@
Name: memcached
Version: 1.6.15
Release: 1%{?dist}
Release: 2%{?dist}
Summary: High Performance, Distributed Memory Object Cache
License: BSD
Group: Applications/System
@ -80,5 +80,7 @@ useradd -r -g %{name} -d /run/%{name} -s /sbin/nologin -c "Memcached daemon" %{n
%{_includedir}/%{name}/*
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 1.6.15-2
- Rebuild for perl version upgrade to 5.36.0
* Tue Jun 07 2022 Piyush Gupta <gpiyush@vmware.com> 1.6.15-1
- Initial packaging for Photon OS.

View File

@ -1,12 +1,12 @@
Summary: Monitoring plugins are used to monitor status of hosts and services on the network
Name: monitoring-plugins
Version: 2.3.1
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL-3.0
Group: Development/Tools
URL: https://github.com/%{name}
Source0: https://github.com/%{name}/%{name}/archive/refs/tags/%{name}-%{version}
%define sha1 monitoring-plugins=dbc4c6601c3afe246a13da836d541a315950dde4
%define sha512 monitoring-plugins=6cf51c86d72e49b6ff5e7de65ecf20fff546870ee24469c37a08bfc2f5461ebcfb69af2d84ff7e15d5590ae107ebba3ee2d32c5bab9895033bba3f1689209f0c
Vendor: VMware, Inc.
Distribution: Photon
BuildRequires: autoconf
@ -25,7 +25,7 @@ current status of hosts and services on your network. Each plugin is a
stand alone command line tool that provides a specific type to check.
%prep
%setup -q -n %{name}-%{version}
%autosetup -n %{name}-%{version}
bash tools/setup
%configure
@ -33,7 +33,7 @@ bash tools/setup
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
make %{?_smp_mflags} install DESTDIR=%{buildroot}
%clean
rm -rf %{buildroot}
@ -44,7 +44,8 @@ rm -rf %{buildroot}
%{_prefix}/share/locale/fr
%{_prefix}/share/locale/de
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 2.3.1-2
- Rebuild for perl version upgrade to 5.36.0
* Tue May 11 2021 Sharan Turlapati <sturlapati@vmware.com> 2.3.1-1
- Initial version of monitoring-plugins for Photon

View File

@ -129,7 +129,7 @@ rm -rf %{buildroot}/*
%exclude %{_libdir}/perl5/*/*/perllocal.pod
%changelog
* Mon Jul 11 2022 Gerrit Photon <photon-checkins@vmware.com> 5.9.3-1
* Thu Dec 08 2022 Gerrit Photon <photon-checkins@vmware.com> 5.9.3-1
- Automatic Version Bump
* Mon Feb 28 2022 Shreenidhi Shedi <sshedi@vmware.com> 5.9-4
- Fix binary path

View File

@ -1,7 +1,7 @@
Summary: A shared library implementation of IPMI and the basic tools
Name: openipmi
Version: 2.0.33
Release: 2%{?dist}
Release: 3%{?dist}
URL: https://sourceforge.net/projects/openipmi/
License: LGPLv2+ and GPLv2+ or BSD
Group: System Environment/Base
@ -186,6 +186,8 @@ echo "disable ipmi.service" > %{buildroot}%{_libdir}/systemd/system-preset/50-ip
%{_mandir}/man5/ipmi_sim_cmd.5.gz
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 2.0.33-3
- Perl versiion upgraded to 5.36.0
* Fri Dec 02 2022 Prashant S Chauhan <psinghchauha@vmware.com> 2.0.33-2
- Update release to compile with python 3.11
* Wed Sep 28 2022 Gerrit Photon <photon-checkins@vmware.com> 2.0.33-1

View File

@ -10,7 +10,7 @@
Summary: A Fast and Scalable Web Platform by Extending NGINX with Lua
Name: openresty
Version: 1.21.4.1
Release: 1%{?dist}
Release: 2%{?dist}
License: BSD
URL: https://openresty.org/en
Group: Applications/System
@ -221,5 +221,7 @@ rm -rf %{buildroot}
%{orprefix}/resty.index
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 1.21.4.1-2
- Rebuild for perl version upgrade to 5.36.0
* Thu Jul 14 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.21.4.1-1
- Initial version.

View File

@ -2,13 +2,13 @@
Summary: Handle Common Gateway Interface requests and responses
Name: perl-CGI
Version: 4.50
Version: 4.54
Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0: https://cpan.metacpan.org/authors/id/L/LE/LEEJO/CGI-%{version}.tar.gz
URL: http://search.cpan.org/dist/CGI
%define sha1 CGI=a048f3489267384d9b015b6d112c7f15509e98c7
%define sha512 CGI=be7ecdd9eab81ad95d527aac2f10ef7a15322675fe002558c6ab4951f496a8964025b7d0426241fb3f61aba103964a40f99acc05a39c84a2434f70d90ac47be6
Vendor: VMware, Inc.
Distribution: Photon
BuildArch: noarch
@ -38,7 +38,7 @@ CGI.pm performs very well in in a vanilla CGI.pm environment and also comes
with built-in support for mod_perl and mod_perl2 as well as FastCGI.
%prep
%setup -q -n CGI-%{version}
%autosetup -n CGI-%{version}
iconv -f iso8859-1 -t utf-8 < Changes > Changes.1
mv Changes.1 Changes
sed -i 's?usr/bin perl?usr/bin/perl?' t/init.t
@ -49,7 +49,7 @@ perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
make %{?_smp_mflags} pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} %{buildroot}/*
@ -69,6 +69,8 @@ make %{?_smp_mflags} test
%{_mandir}/man3/*.3*
%changelog
* Thu Dec 08 2022 Gerrit Photon <photon-checkins@vmware.com> 4.54-1
- Automatic Version Bump
* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 4.50-1
- Automatic Version Bump
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 4.40-1

View File

@ -1,12 +1,12 @@
Summary: Canary to check perl compatibility for Schmorp's modules
Name: perl-Canary-Stability
Version: 2013
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Canary-Stability/
Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Canary-Stability-%{version}.tar.gz
%define sha1 Canary-Stability=b20e8478a0658634e12d2cbc33b449450760af19
%define sha512 Canary-Stability=9dfb0e6d136048050aac7c29e1fc79dc2a7703c8800582aa837c5d9b9934c48bfcb0a9ef1c6b5bb7e71a10a709e7f7431b3c79ea12b8d9f374b33bfd4a3e468d
Vendor: VMware, Inc.
Distribution: Photon
BuildArch: noarch
@ -18,7 +18,7 @@ This module is used by Schmorp's modules during configuration stage to test
the installed perl for compatibility with his modules.
%prep
%setup -q -n Canary-Stability-%{version}
%autosetup -n Canary-Stability-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
@ -26,11 +26,11 @@ make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
make %{?_smp_mflags} pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
make test
make %{?_smp_mflags} test
%clean
rm -rf %{buildroot}
@ -40,6 +40,8 @@ rm -rf %{buildroot}
%{_mandir}/man3/*
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 2013-2
- Perl version upgrade to 5.36.0
* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 2013-1
- Automatic Version Bump
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 2012-2

View File

@ -2,12 +2,12 @@
Summary: A module for reading .ini-style configuration files
Name: perl-Config-IniFiles
Version: 3.000003
Release: 1%{?dist}
Release: 2%{?dist}
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Config-IniFiles/
Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Config-IniFiles-%{version}.tar.gz
%define sha1 Config-IniFiles=7d355140bcd4cb21ef48a3a6cd861bb60cbbc3b3
%define sha512 Config-IniFiles=29278b7f6aaf9ffcc0cd8b48ca0e1f1084b10278e50764b2b93e3e9b156ef13d6e54f779f41d0a6cbf6e0b23da1b73a3bb83fbf873add0a604693a41312b91f5
Vendor: VMware, Inc.
Distribution: Photon
BuildArch: noarch
@ -24,14 +24,14 @@ stacked,...), sections can be grouped, and settings can be accessed
from a tied hash.
%prep
%setup -q -n Config-IniFiles-%{version}
%autosetup -n Config-IniFiles-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=%{buildroot}
make %{?_smp_mflags} pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*
@ -43,28 +43,30 @@ chmod -R u+w %{buildroot}/*
if [ "$(stat -c %d:%i /)" != "$(stat -c %d:%i /proc/1/root/.)" ]; then
rm t/34trailing-comments-double-delimeter.t t/35section-iterators.t
fi
make test
make %{?_smp_mflags} test
%files
%{perl_vendorlib}/Config/
%{_mandir}/man3/*
%changelog
* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 3.000003-1
- Automatic Version Bump
* Mon Dec 03 2018 Dweep Advani <dadvani@vmware.com> 3.000000-2
- Fix makecheck tests
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 3.000000-1
- Update to version 3.000000
* Tue Aug 8 2017 Chang Lee <changlee@vmware.com> 2.94-2
- Remove 34trailing-comments-double-delimeter test in a chrooted environment
* Mon Apr 3 2017 Robert Qi <qij@vmware.com> 2.94-1
- Updated to 2.94
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.88-2
- GA - Bump release of all rpms
* Tue Feb 23 2016 Xiaolin Li <xiaolinl@vmware.com> 2.88-1
- Updated to version 2.88
* Wed Jan 13 2016 Anish Swaminathan <anishs@vmware.com> 2.83-2
- Add build requirement
* Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 2.83-1
- Initial version.
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 3.000003-2
- Perl version upgrade to 5.36.0
* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 3.000003-1
- Automatic Version Bump
* Mon Dec 03 2018 Dweep Advani <dadvani@vmware.com> 3.000000-2
- Fix makecheck tests
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 3.000000-1
- Update to version 3.000000
* Tue Aug 8 2017 Chang Lee <changlee@vmware.com> 2.94-2
- Remove 34trailing-comments-double-delimeter test in a chrooted environment
* Mon Apr 3 2017 Robert Qi <qij@vmware.com> 2.94-1
- Updated to 2.94
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.88-2
- GA - Bump release of all rpms
* Tue Feb 23 2016 Xiaolin Li <xiaolinl@vmware.com> 2.88-1
- Updated to version 2.88
* Wed Jan 13 2016 Anish Swaminathan <anishs@vmware.com> 2.83-2
- Add build requirement
* Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 2.83-1
- Initial version.

View File

@ -1,14 +1,14 @@
Summary: Crypt::SSLeay - OpenSSL support for LWP
Name: perl-Crypt-SSLeay
Version: 0.72
Release: 7%{?dist}
Release: 8%{?dist}
URL: http://search.cpan.org/dist/Crypt-SSLeay/
License: Perl Artistic License 2.0
Group: Development/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source: http://search.cpan.org/CPAN/authors/id/N/NA/NANIS/Crypt-SSLeay-%{version}.tar.gz
%define sha1 Crypt-SSLeay=1b39920947c33a88b19a9c8e61ccb135b56091f8
%define sha512 Crypt-SSLeay=af7a2878df94e116e9aad9a0f028f2e4f89074aaf31672915162f86e55211632d65c1cb00f3ebd25644d77adf8eecdd244dba6a004d93ab90289ab34fe4caaf4
Requires: perl
Requires: openssl
@ -50,19 +50,21 @@ make test %{?_smp_mflags}
%{_mandir}/man?/*
%changelog
* Wed Aug 04 2021 Satya Naga Vasamsetty <svasamsetty@vmware.com> 0.72-7
- Bump up release for openssl
* Tue Sep 29 2020 Satya Naga Vasamsetty <svasamsetty@vmware.com> 0.72-6
- openssl 1.1.1
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 0.72-5
- Rebuilding for perl 5.30.1
* Tue Nov 20 2018 Dweep Advani <dadvani@vmware.com> 0.72-4
- Reverting to 0.72 as 0.73_06 is still a DEV version
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 0.73_06-1
- Update version to 0.73_06
* Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 0.72-3
- Remove BuildArch
* Tue Apr 25 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.72-2
- Fix arch
* Wed Apr 19 2017 Xiaolin Li <xiaolinl@vmware.com> 0.72-1
- Initial version.
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 0.72-8
- Perl version upgrade to 5.36.0
* Wed Aug 04 2021 Satya Naga Vasamsetty <svasamsetty@vmware.com> 0.72-7
- Bump up release for openssl
* Tue Sep 29 2020 Satya Naga Vasamsetty <svasamsetty@vmware.com> 0.72-6
- openssl 1.1.1
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 0.72-5
- Rebuilding for perl 5.30.1
* Tue Nov 20 2018 Dweep Advani <dadvani@vmware.com> 0.72-4
- Reverting to 0.72 as 0.73_06 is still a DEV version
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 0.73_06-1
- Update version to 0.73_06
* Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 0.72-3
- Remove BuildArch
* Tue Apr 25 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.72-2
- Fix arch
* Wed Apr 19 2017 Xiaolin Li <xiaolinl@vmware.com> 0.72-1
- Initial version.

View File

@ -2,13 +2,13 @@
Summary: SQLite DBI Driver
Name: perl-DBD-SQLite
Version: 1.66
Version: 1.72
Release: 1%{?dist}
Group: Development/Libraries
License: (GPL+ or Artistic) and Public Domain
URL: http://search.cpan.org/dist/DBD-SQLite/
Source0: https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/DBD-SQLite-%{version}.tar.gz
%define sha1 DBD-SQLite=524dc89cc330ee7372fe04de4a6048881cc543e4
%define sha512 DBD-SQLite=67a90c618a3626b3ae0b333b5eb4d4d0c8c13712bbcd50c135bf74e83dc252301664089803597c1bcbebf7f1eda040673d4438e70e2dae0aef3b8ebeeecd2f79
Vendor: VMware, Inc.
Distribution: Photon
Patch0: use-system-sqlite.patch
@ -27,8 +27,7 @@ This module provides a SQLite RDBMS module that uses the system SQLite
libraries.
%prep
%setup -q -n DBD-SQLite-%{version}
%patch0 -p1
%autosetup -n DBD-SQLite-%{version}
rm sqlite*
%build
@ -41,13 +40,13 @@ fi
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
make %{?_smp_mflags} pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f \( -name .packlist -o \
-name '*.bs' -size 0 \) -exec rm -f {} ';'
%{_fixperms} %{buildroot}/*
%check
make test
make %{?_smp_mflags} test
%files
%{perl_vendorarchdir}/auto/*
@ -55,6 +54,8 @@ make test
%{_mandir}/man3/*
%changelog
* Thu Dec 08 2022 Gerrit Photon <photon-checkins@vmware.com> 1.72-1
- Automatic Version Bump
* Wed Sep 23 2020 Piyush Gupta <gpiyush@vmware.com> 1.66-1
- Upgrade to version 1.66.
* Thu May 14 2020 Ankit Jain <ankitja@vmware.com> 1.64-1

View File

@ -13,14 +13,14 @@
Summary: A database access API for perl
Name: perl-DBI
Version: 1.643
Release: 1%{?dist}
Release: 2%{?dist}
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://dbi.perl.org/
# The source tarball must be repackaged to remove the DBI/FAQ.pm, since the
# license is not a FSF free license.
Source0: https://cpan.metacpan.org/authors/id/T/TI/TIMB/DBI-%{version}.tar.gz
%define sha1 DBI=fdbe7a86873eed196be5f9753aabed5c1e22f2cb
%define sha512 DBI=03812f3eb1e43c8290dadb8cb14bbced9ec6e237228ea2a2ba91f22e52143906a91a7e82945dab30b1d1b9fc925073721111adafd9a09fac070808ab88f908b8
Vendor: VMware, Inc.
Distribution: Photon
BuildRequires: perl
@ -33,7 +33,7 @@ functions, variables and conventions that provide a consistent
database interface independent of the actual database being used.
%prep
%setup -q -n DBI-%{version}
%autosetup -n DBI-%{version}
for F in lib/DBD/Gofer.pm; do
iconv -f ISO-8859-1 -t UTF-8 < "$F" > "${F}.utf8"
touch -r "$F" "${F}.utf8"
@ -75,13 +75,13 @@ fi
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
make %{?_smp_mflags} pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
%{_fixperms} '%{buildroot}'/*
%check
make test
make %{?_smp_mflags} test
%files
%{_bindir}/dbipro*
@ -94,6 +94,8 @@ make test
%{_mandir}/man3/*.3*
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 1.643-2
- Perl version uprade to 5.36.0
* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 1.643-1
- Automatic Version Bump
* Fri Nov 09 2018 Alexey Makhalov <amakhalov@vmware.com> 1.641-2

View File

@ -2,12 +2,12 @@
Summary: Easy-to-use OO interface to DBI
Name: perl-DBIx-Simple
Version: 1.37
Release: 3%{?dist}
Release: 4%{?dist}
License: Public Domain
Group: Development/Libraries
Source0: https://cpan.metacpan.org/authors/id/J/JU/JUERD/DBIx-Simple-%{version}.tar.gz
%define sha1 DBIx-Simple=7ca4c4ed5c1b6a8f32734e7d5692750b4e01aa17
%define sha512 DBIx-Simple=f79b26bf52db33629950bc95f6c17dd13a2af135deeaf6ff5b0570ad852911fd0d27196636e605a93e9b3d740699110f2ece7abc24fcbbfd08a2f3ddce5d65b0
URL: http://search.cpan.org/dist/DBIx-Simple/
Vendor: VMware, Inc.
@ -49,6 +49,8 @@ rm -rf %{buildroot}
%{_mandir}/man3/*
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 1.37-4
- Perl version upgrade to 5.36.0
* Wed Apr 14 2021 Shreenidhi Shedi <sshedi@vmware.com> 1.37-3
- Fixed build issues after upgrading rpm version
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 1.37-2

View File

@ -1,12 +1,12 @@
Summary: IPv4 and IPv6 validation methods
Name: perl-Data-Validate-IP
Version: 0.27
Release: 3%{?dist}
Version: 0.30
Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: https://metacpan.org/release/Data-Validate-IP
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Data-Validate-IP-%{version}.tar.gz
%define sha1 Data-Validate-IP=da24fd6404359e475f65d35cb4341db74c48f48a
%define sha512 Data-Validate-IP=ac556445f1eec0440be17263bcffce46d0c3b719d3c64022bcb3fc6d1191ed9de94c0e4d6b2c3c5c1704dc7945b14a5c87abfcf2b7dc43ec4f10a4cc6629b761
Vendor: VMware, Inc.
Distribution: Photon
BuildArch: noarch
@ -23,14 +23,14 @@ address belongs to a specific network or whether an address is public
or private (reserved).
%prep
%setup -q -n Data-Validate-IP-%{version}
%autosetup -n Data-Validate-IP-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
make %{?_smp_mflags} install DESTDIR=%{buildroot}
find %{buildroot} -name 'perllocal.pod' -delete
%check
@ -38,16 +38,18 @@ find %{buildroot} -name 'perllocal.pod' -delete
export PERL_MM_USE_DEFAULT=1
echo "yes" | cpan -a
cpan -i Test::Requires
make test
make %{?_smp_mflags} test
%files
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 0.27-3
- Rebuilding for perl version 5.30.1
* Mon Dec 03 2018 Dweep Advani <dadvani@vmware.com> 0.27-2
- Fixing the makecheck tests
* Thu Sep 27 2018 Srivatsa S. Bhat <srivatsa@csail.mit.edu> 0.27-1
- Initial version.
* Thu Dec 08 2022 Gerrit Photon <photon-checkins@vmware.com> 0.30-1
- Automatic Version Bump
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 0.27-3
- Rebuilding for perl version 5.30.1
* Mon Dec 03 2018 Dweep Advani <dadvani@vmware.com> 0.27-2
- Fixing the makecheck tests
* Thu Sep 27 2018 Srivatsa S. Bhat <srivatsa@csail.mit.edu> 0.27-1
- Initial version.

View File

@ -1,13 +1,13 @@
# Got the intial spec from Fedora and modified it
Summary: An exporter with the features of Sub::Exporter but only core dependencies
Name: perl-Exporter-Tiny
Version: 1.002002
Version: 1.004004
Release: 1%{?dist}
License: (GPL+ or Artistic) and Public Domain and (GPL+ or Artistic or CC-BY-SA)
Group: Development/Libraries
URL: http://search.cpan.org/dist/Exporter-Tiny/
Source0: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Exporter-Tiny-%{version}.tar.gz
%define sha1 Exporter-Tiny=bf258f1068c80b48f63b2a925fb2a588b365ce24
%define sha512 Exporter-Tiny=491f7bb86d6a53e8f2553fcff8c612124692562ddacd0cb67774cd28777fbc709961a0ca64fa374a4bc331fd4c1dd60f71010ae0e24bc50b38afb92317a0e221
Vendor: VMware, Inc.
Distribution: Photon
BuildArch: noarch
@ -30,7 +30,7 @@ of coderefs into the target package) as method calls, which means they can be
overridden to provide interesting behavior.
%prep
%setup -q -n Exporter-Tiny-%{version}
%autosetup -n Exporter-Tiny-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
@ -38,12 +38,12 @@ make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
make %{?_smp_mflags} pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}
%check
make test
make %{?_smp_mflags} test
%clean
rm -rf %{buildroot}
@ -55,6 +55,8 @@ rm -rf %{buildroot}
%{_mandir}/man3/Exporter::Tiny::Manual*
%changelog
* Thu Dec 08 2022 Gerrit Photon <photon-checkins@vmware.com> 1.004004-1
- Automatic Version Bump
* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 1.002002-1
- Automatic Version Bump
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 1.002001-1

View File

@ -1,12 +1,12 @@
Summary: File-HomeDir
Name: perl-File-HomeDir
Version: 1.004
Release: 2%{?dist}
Version: 1.006
Release: 1%{?dist}
License: The Perl 5 License (Artistic 1 & GPL 1)
Group: Development/Libraries
URL: http://search.cpan.org/dist/File-HomeDir/
Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/File-HomeDir-%{version}.tar.gz
%define sha1 File-HomeDir=7d2ceddfd2f331cc1ac0dc160b0d4a91302ee418
%define sha512 File-HomeDir=1ea90d68ed059ef5e890f6afb1280673dd5a597956f282c4ae8b4471c1751aa3cb2fcbe9caa6b2976937d11fd7233aa85a2dea611f87c79e0ddd1a501ceb890d
Vendor: VMware, Inc.
Distribution: Photon
BuildArch: noarch
@ -21,18 +21,18 @@ Requires: perl-File-Which
File::HomeDir is a module for locating the directories that are "owned" by a user (typicaly your user) and to solve the various issues that arise trying to find them consistently across a wide variety of platforms.
%prep
%setup -q -n File-HomeDir-%{version}
%autosetup -n File-HomeDir-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
make %{?_smp_mflags} install DESTDIR=%{buildroot}
find %{buildroot} -name 'perllocal.pod' -delete
%check
make test
make %{?_smp_mflags} test
%files
%{perl_vendorlib}/File/HomeDir.pm
@ -58,13 +58,15 @@ make test
%{_mandir}/man3/File::HomeDir::Windows.3.gz
%changelog
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 1.004-2
- Rebuilding for perl 5.30.1
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 1.004-1
- Update to version 1.004
* Tue Aug 08 2017 Chang Lee <changlee@vmware.com> 1.00-3
- Add perl-File-Which for make check
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.00-2
- GA - Bump release of all rpms
* Thu Mar 3 2016 Xiaolin Li <xiaolinl@vmware.com> 1.00-1
- Initial version.
* Thu Dec 08 2022 Gerrit Photon <photon-checkins@vmware.com> 1.006-1
- Automatic Version Bump
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 1.004-2
- Rebuilding for perl 5.30.1
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 1.004-1
- Update to version 1.004
* Tue Aug 08 2017 Chang Lee <changlee@vmware.com> 1.00-3
- Add perl-File-Which for make check
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.00-2
- GA - Bump release of all rpms
* Thu Mar 3 2016 Xiaolin Li <xiaolinl@vmware.com> 1.00-1
- Initial version.

View File

@ -1,12 +1,12 @@
Summary: File-Which
Name: perl-File-Which
Version: 1.23
Version: 1.27
Release: 1%{?dist}
License: The Perl 5 License (Artistic 1 & GPL 1)
Group: Development/Libraries
URL: http://search.cpan.org/dist/File-Which/
Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/File-Which-%{version}.tar.gz
%define sha1 File-Which=3a1b54e0a4e470e62958749cffcf87bad027bfb4
%define sha512 File-Which=8a6164c4af915e93924b1d62864e492b1c5067856e505c50b9a5cce0600d73bdcda5f7e35a9f37134d9e89949b45bbd0a5426cb56121604aea1a3cfe48d55e5c
Vendor: VMware, Inc.
Distribution: Photon
BuildArch: noarch
@ -32,31 +32,32 @@ File::Which finds the full or relative paths to executable programs on
does not provide it, install App::pwhich which provides a command line
interface to this API.
%prep
%setup -q -n File-Which-%{version}
%autosetup -n File-Which-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
make %{?_smp_mflags} install DESTDIR=%{buildroot}
find %{buildroot} -name 'perllocal.pod' -delete
%check
make test
make %{?_smp_mflags} test
%files
%{perl_vendorlib}/*
%{perl_vendorlib}/File/Which.pm
%{_mandir}/man3/File::Which.3.gz
%changelog
* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 1.23-1
- Automatic Version Bump
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 1.22-1
- Update to version 1.22
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.21-2
- GA - Bump release of all rpms
* Thu Mar 3 2016 Xiaolin Li <xiaolinl@vmware.com> 1.21-1
- Initial version.
* Thu Dec 08 2022 Gerrit Photon <photon-checkins@vmware.com> 1.27-1
- Automatic Version Bump
* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 1.23-1
- Automatic Version Bump
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 1.22-1
- Update to version 1.22
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.21-2
- GA - Bump release of all rpms
* Thu Mar 3 2016 Xiaolin Li <xiaolinl@vmware.com> 1.21-1
- Initial version.

View File

@ -1,15 +1,15 @@
Summary: SSL sockets with IO::Socket interface
Name: perl-IO-Socket-SSL
Version: 2.068
Release: 2%{?dist}
Version: 2.075
Release: 1%{?dist}
License: Perl Artistic License 2.0
Group: Development/Libraries
URL: http://search.cpan.org/~sullr/IO-Socket-SSL-2.024/lib/IO/Socket/SSL.pod
Vendor: VMware, Inc.
Distribution: Photon
Source0: https://cpan.metacpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-%{version}.tar.gz
%define sha512 IO-Socket-SSL=9bccce1a85d24a4e06394a7a0eb8c1c834a71d1fecf99e3a7c0fea1828dcad0da24768bfe0db996d70f3e153135fc958d85ae65fab300ebfd8b520441aa27cfa
Source: https://cpan.metacpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-%{version}.tar.gz
%define sha512 IO-Socket-SSL=ed693aa360e669401d5d2b81d988d6d2bd39f042452d7194cc8a7ec2dccf1dfa213ecb29572178a3abfdd20af999217d19a3d9a4c7978207a2edaac5148c9853
BuildArch: noarch
@ -46,6 +46,8 @@ make test %{?_smp_mflags}
%{_mandir}/man?/*
%changelog
* Thu Dec 08 2022 Gerrit Photon <photon-checkins@vmware.com> 2.075-1
- Automatic Version Bump
* Fri Jan 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 2.068-2
- Bump version as a part of perl-Net-SSLeay version upgrade
* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 2.068-1

View File

@ -1,6 +1,6 @@
Summary: system() and background procs w/ piping, redirs, ptys (Unix, Win32)
Name: perl-IPC-Run
Version: 20200505.0
Version: 20220807.0
Release: 1%{?dist}
URL: https://metacpan.org/pod/IPC::Run
License: The Perl 5 License (Artistic 1 & GPL 1)
@ -8,7 +8,7 @@ Group: Development/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source: https://cpan.metacpan.org/authors/id/T/TO/TODDR/IPC-Run-%{version}.tar.gz
%define sha1 IPC-Run=297d6410a91f6dc466543476bea743a9b21df2e9
%define sha512 IPC-Run=ddfd0ceb78bd56c8c95a0a293a59d605959ba8d1b161a2c5959ac185c18fffa5cf047c3448d3b83a2733aa1372550f93d74d86eb05d49748f789fa46282694aa
BuildArch: noarch
Requires: perl
@ -21,21 +21,21 @@ supported and may be mixed. Likewise, functional and OO API styles are
both supported and may be mixed.
%prep
%setup -q -n IPC-Run-%{version}
%autosetup -n IPC-Run-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
make %{?_smp_mflags} install DESTDIR=%{buildroot}
find %{buildroot} -name 'perllocal.pod' -delete
# Remove anything related to Win32. Note that there are required for the
# tests.
find %{buildroot} -name '*Win32*' -delete
%check
make test
make %{?_smp_mflags} test
%files
%{perl_vendorlib}/IPC/Run.pm
@ -48,5 +48,7 @@ make test
%{_mandir}/man3/IPC::Run::Timer.3.gz
%changelog
* Thu Feb 25 2021 Michael Paquier <mpaquier@vmware.com> 20200505.0-1
- Initial version
* Thu Dec 08 2022 Gerrit Photon <photon-checkins@vmware.com> 20220807.0-1
- Automatic Version Bump
* Thu Feb 25 2021 Michael Paquier <mpaquier@vmware.com> 20200505.0-1
- Initial version

View File

@ -1,12 +1,12 @@
Summary: Wrapper Class for the various JSON classes
Name: perl-JSON-Any
Version: 1.39
Release: 5%{?dist}
Release: 6%{?dist}
License: Perl Artistic License 2.0
Group: Development/Libraries
URL: http://search.cpan.org/~ether/JSON-Any-1.39/lib/JSON/Any.pm
Source: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/JSON-Any-%{version}.tar.gz
%define sha1 JSON-Any=2c7e404fc4a398359693d62e9c74994f9273dd4c
%define sha512 JSON-Any=a4e9494ef650fe6f0144fddad49962e717470390b5783ab7bed6ef1c34fa7aa3d4f8699b9967ec8ca8813f43ee8c1d594e5af4d4962929791aa95b470104cd9b
Vendor: VMware, Inc.
Distribution: Photon
BuildArch: noarch
@ -17,14 +17,14 @@ BuildRequires: perl
This module tries to provide a coherent API to bring together the various JSON modules currently on CPAN. This module will allow you to code to any JSON API and have it work regardless of which JSON module is actually installed.
%prep
%setup -q -n JSON-Any-%{version}
%autosetup -n JSON-Any-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
make %{?_smp_mflags} pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f \( -name .packlist -o \
-name '*.bs' -size 0 \) -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
@ -32,20 +32,22 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%check
export PERL_MM_USE_DEFAULT=1
cpan Test::Fatal Test::Requires Test::Warnings Test::Without::Module
make test
make %{?_smp_mflags} test
%files
%{perl_vendorlib}/*
%{_mandir}/man?/*
%changelog
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 1.39-5
- Rebuilding for perl 5.30.1
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 1.39-4
- Consuming perl version upgrade of 5.28.0
* Tue Aug 08 2017 Chang Lee <Chang Lee@vmware.com> 1.39-3
- Adding dependencies for %check
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.39-2
- GA - Bump release of all rpms
* Mon Mar 28 2016 Mahmoud Bassiouny <mbassiounu@vmware.com> 1.39-1
- Initial version.
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 1.39-6
- Perl version upgrade to 5.36.0
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 1.39-5
- Rebuilding for perl 5.30.1
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 1.39-4
- Consuming perl version upgrade of 5.28.0
* Tue Aug 08 2017 Chang Lee <Chang Lee@vmware.com> 1.39-3
- Adding dependencies for %check
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.39-2
- GA - Bump release of all rpms
* Mon Mar 28 2016 Mahmoud Bassiouny <mbassiounu@vmware.com> 1.39-1
- Initial version.

View File

@ -2,13 +2,13 @@
Summary: JSON serializing/deserializing, done correctly and fast
Name: perl-JSON-XS
Epoch: 1
Version: 4.02
Version: 4.03
Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/JSON-XS/
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-%{version}.tar.gz
%define sha1 JSON-XS=bba1939f8f402a110c80e19e068ffb3f980e23df
%define sha512 JSON-XS=7d2c20302b0f98bd69e692b61d272b58c13a79741f3e2e44ee0530e21dd239526477f8b02e4afbfe41ee83cb69ab1c5247bf0be355f3f09e9cfe31b2ea4a5155
Vendor: VMware, Inc.
Distribution: Photon
BuildRequires: perl
@ -26,7 +26,7 @@ primary goal is to be correct and its secondary goal is to be fast. To
reach the latter goal it was written in C.
%prep
%setup -q -n JSON-XS-%{version}
%autosetup -n JSON-XS-%{version}
sed -i 's/\r//' t/*
perl -pi -e 's|^#!/opt/bin/perl|#!%{__perl}|' eg/*
@ -38,11 +38,11 @@ perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
make %{?_smp_mflags} pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
make test
make %{?_smp_mflags} test
%files
%{perl_vendorarch}/*
@ -51,13 +51,15 @@ make test
%{_mandir}/man[13]/*
%changelog
* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 4.02-1
- Automatic Version Bump
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 3.04-1
- Update to version 3.04
* Wed Apr 05 2017 Robert Qi <qij@vmware.com> 3.03-1
- Add build requires for perl-Canary-Stability, and pass NO_PACKLIST to Makefile.PL.
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.01-2
- GA - Bump release of all rpms
* Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 3.01-1
- Initial version.
* Thu Dec 08 2022 Gerrit Photon <photon-checkins@vmware.com> 4.03-1
- Automatic Version Bump
* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 4.02-1
- Automatic Version Bump
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 3.04-1
- Update to version 3.04
* Wed Apr 05 2017 Robert Qi <qij@vmware.com> 3.03-1
- Add build requires for perl-Canary-Stability, and pass NO_PACKLIST to Makefile.PL.
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.01-2
- GA - Bump release of all rpms
* Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 3.01-1
- Initial version.

View File

@ -1,13 +1,13 @@
# Got the intial spec from Fedora and modified it
Summary: Provide the stuff missing in List::Util
Name: perl-List-MoreUtils
Version: 0.428
Release: 3%{?dist}
Version: 0.430
Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/List-MoreUtils/
Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-%{version}.tar.gz
%define sha1 List-MoreUtils=fe63dcadb0e2a6ae3ce981d6913a19e96fc56a98
%define sha512 List-MoreUtils=bc9ff033c12251a6f0899a96da0ec8fc314ddb8d6cdf18c37fe1fdcfc38a4c95ed6f8e006bb124e77d07241ae6754f429bc2041f7772b4acfce9378a21283469
Vendor: VMware, Inc.
Distribution: Photon
BuildArch: noarch
@ -21,14 +21,14 @@ List::MoreUtils provides some trivial but commonly needed functionality
on lists that is not going to go into List::Util.
%prep
%setup -q -n List-MoreUtils-%{version}
%autosetup -n List-MoreUtils-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
make %{?_smp_mflags} install DESTDIR=%{buildroot}
find %{buildroot} -name 'perllocal.pod' -delete
%{_fixperms} -c %{buildroot}
@ -37,7 +37,7 @@ find %{buildroot} -name 'perllocal.pod' -delete
export PERL_MM_USE_DEFAULT=1
echo "yes" | cpan -a
cpan -i List::MoreUtils::XS
make test
make %{?_smp_mflags} test
%files
%{perl_vendorlib}/List/
@ -46,17 +46,19 @@ make test
%{_mandir}/man3/List::MoreUtils::Contributing.3.gz
%changelog
* Mon Aug 31 2020 Dweep Advani <dadvani@vmware.com> 0.428-3
- Rebuild for perl 5.30.1
* Mon Dec 03 2018 Dweep Advani <dadvani@vmware.com> 0.428-2
- Fix makecheck tests
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 0.428-1
- Update to version 0.428
* Wed Apr 05 2017 Robert Qi <qij@vmware.com> 0.418-1
- Update version to 0.418
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.413-2
- GA - Bump release of all rpms
* Tue Feb 23 2016 Xiaolin Li <xiaolinl@vmware.com> 0.413-1
- Updated to version 0.413
* Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 0.410-1
- Initial version.
* Thu Dec 08 2022 Gerrit Photon <photon-checkins@vmware.com> 0.430-1
- Automatic Version Bump
* Mon Aug 31 2020 Dweep Advani <dadvani@vmware.com> 0.428-3
- Rebuild for perl 5.30.1
* Mon Dec 03 2018 Dweep Advani <dadvani@vmware.com> 0.428-2
- Fix makecheck tests
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 0.428-1
- Update to version 0.428
* Wed Apr 05 2017 Robert Qi <qij@vmware.com> 0.418-1
- Update version to 0.418
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.413-2
- GA - Bump release of all rpms
* Tue Feb 23 2016 Xiaolin Li <xiaolinl@vmware.com> 0.413-1
- Updated to version 0.413
* Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 0.410-1
- Initial version.

View File

@ -6,12 +6,12 @@
Summary: Build and install Perl modules
Name: perl-Module-Build
Version: 0.4231
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Module-Build/
Source0: https://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-%{version}.tar.gz
%define sha1 Module-Build=7ab592964c75c59603f2ea0009c785b8f16a61e8
%define sha512 Module-Build=ee1dc18a7df3fe67e7f954d5e1e071aa0a6f5bce6783b768bceb01f071e64ac8be63f410c932c7c16764e5d4f52fc664ce11a12f26f6afc75a26f79883efad70
Vendor: VMware, Inc.
Distribution: Photon
BuildArch: noarch
@ -23,7 +23,7 @@ Module::Build is a system for building, testing, and installing Perl
modules. It is meant to be an alternative to ExtUtils::MakeMaker.
%prep
%setup -q -n Module-Build-%{version}
%autosetup -n Module-Build-%{version}
%build
perl Build.PL installdirs=vendor
@ -45,6 +45,8 @@ LANG=C TEST_SIGNATURE=1 MB_TEST_EXPERIMENTAL=1 ./Build test
%{_mandir}/man3/*
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 0.4231-2
- Perl upgrade to 5.36.0
* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 0.4231-1
- Automatic Version Bump
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 0.4224-1
@ -57,4 +59,3 @@ LANG=C TEST_SIGNATURE=1 MB_TEST_EXPERIMENTAL=1 ./Build test
- Upgraded to version 0.4216
* Wed Jan 13 2016 Anish Swaminathan <anishs@vmware.com> 0.4214-1
- Initial version.

View File

@ -5,12 +5,12 @@
Summary: Standalone, extensible Perl module installer
Name: perl-Module-Install
Version: 1.19
Release: 2%{?dist}
Release: 3%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Module-Install/
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Module-Install-%{version}.tar.gz
%define sha1 Module-Install=6c77b2ec0cd84e07d7c7ae03d1cfa5c21d758f81
%define sha512 Module-Install=68a255402c98955cfcb5a8a99555fe511b89d5fccf96ee1c498cab347c8945f3abe53485ea936f7419420d9c7beb52c861516f4cfd299812cebf80eab50fa5ba
Vendor: VMware, Inc.
Distribution: Photon
BuildArch: noarch
@ -26,14 +26,14 @@ manner with ExtUtils::MakeMaker, and will run on any Perl installation
version 5.005 or newer.
%prep
%setup -q -n Module-Install-%{version}
%autosetup -n Module-Install-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
make %{?_smp_mflags} pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
rm -rf %{buildroot}/blib/lib/auto/share/dist/Module-Install/dist_file.txt
%{_fixperms} %{buildroot}/*
@ -49,6 +49,8 @@ make %{?_smp_mflags} test AUTOMATED_TESTING=1
%{_mandir}/man3/*
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 1.19-3
- Perl version upgrade to 5.36.0
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 1.19-2
- Rebuilding for perl 5.30.1
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 1.19-1
@ -63,4 +65,3 @@ make %{?_smp_mflags} test AUTOMATED_TESTING=1
- Upgrade version to 1.16
* Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 1.14-1
- Initial version.

View File

@ -1,12 +1,12 @@
# Got the intial spec from Fedora and modified it
Summary: Recursively scan Perl code for dependencies
Name: perl-Module-ScanDeps
Version: 1.28
Version: 1.31
Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0: https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/Module-ScanDeps-%{version}.tar.gz
%define sha1 Module-ScanDeps=d44fa0e4dde3db9424349e9a8844ad0fba2daa28
%define sha512 Module-ScanDeps=c7164d768b6401a0d01516f5a09ddf2a0399355738ff17d04757aeb235b47f8d973083d0425ca53757588916c7fb2959d8c042361055a0e8eab7bf6d4c31d6fd
URL: http://search.cpan.org/dist/Module-ScanDeps/
Vendor: VMware, Inc.
Distribution: Photon
@ -20,14 +20,14 @@ hash reference. Its keys are the module names as they appear in %%INC (e.g.
Test/More.pm). The values are hash references.
%prep
%setup -q -n Module-ScanDeps-%{version}
%autosetup -n Module-ScanDeps-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
make %{?_smp_mflags} pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} +
%{_fixperms} %{buildroot}
@ -44,15 +44,17 @@ make %{?_smp_mflags} test
%{_mandir}/man3/*
%changelog
* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 1.28-1
- Automatic Version Bump
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 1.25-1
- Update to version 1.25
* Wed Apr 05 2017 Robert Qi <qij@vmware.com> 1.23-1
- Update version to 1.23
* Wed Oct 05 2016 ChangLee <changlee@vmware.com> 1.18-3
- Modified %check
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.18-2
- GA - Bump release of all rpms
* Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 1.18-1
- Initial version.
* Thu Dec 08 2022 Gerrit Photon <photon-checkins@vmware.com> 1.31-1
- Automatic Version Bump
* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 1.28-1
- Automatic Version Bump
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 1.25-1
- Update to version 1.25
* Wed Apr 05 2017 Robert Qi <qij@vmware.com> 1.23-1
- Update version to 1.23
* Wed Oct 05 2016 ChangLee <changlee@vmware.com> 1.18-3
- Modified %check
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.18-2
- GA - Bump release of all rpms
* Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 1.18-1
- Initial version.

View File

@ -1,6 +1,6 @@
Summary: Perl extension for using OpenSSL
Name: perl-Net-SSLeay
Version: 1.90
Version: 1.92
Release: 1%{?dist}
License: Perl Artistic License 2.0
Group: Development/Libraries
@ -8,8 +8,8 @@ URL: https://metacpan.org/pod/Net::SSLeay
Vendor: VMware, Inc.
Distribution: Photon
Source0: https://cpan.metacpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-%{version}.tar.gz
%define sha512 Net-SSLeay=8a5f251b5ef1d8c2d619d984594a7a22ddeed2e5e726fe683a45f299d7878f4ca8ffab00480ebf5ef7a94ae1fcf6be05dfdaa68b8bfe2ad68443150765adb891
Source0: https://cpan.metacpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-%{version}.tar.gz
%define sha512 Net-SSLeay=e9d9161ebeb7be90f4c7a0ea98f1034892ce6d33aa72872683177b19daa1f4c5819f85ea9a052a076ec8d7c21705f6c344aef64680bc881bf3218d38e8b7b173
Requires: perl
Requires: openssl
@ -53,6 +53,8 @@ make test %{?_smp_mflags}
%{_mandir}/man?/*
%changelog
* Thu Dec 08 2022 Gerrit Photon <photon-checkins@vmware.com> 1.92-1
- Automatic Version Bump
* Fri Jan 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 1.90-1
- Upgrade to v1.90 & remove fips related instructions from spec
* Wed Aug 04 2021 Satya Naga Vasamsetty <svasamsetty@vmware.com> 1.88-3

View File

@ -1,12 +1,12 @@
Summary: Manages IPv4 and IPv6 addresses and subnets
Name: perl-NetAddr-IP
Version: 4.079
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2+ or Artistic
Group: Development/Libraries
URL: https://metacpan.org/release/NetAddr-IP
Source0: https://cpan.metacpan.org/authors/id/M/MI/MIKER/NetAddr-IP-%{version}.tar.gz
%define sha1 NetAddr-IP=41f0048dccf016077e65b93a681e40b4f6b28336
%define sha512 NetAddr-IP=8ebc8ffb914cf72c041441f96de0e9c982eebdb8c26dbf15f885d0113b3634e4851d81f13f555c14d1fdf0ab95ae2ce880ed124e6c200e391adae3b1d6d3eb65
Vendor: VMware, Inc.
Distribution: Photon
BuildRequires: perl
@ -17,24 +17,26 @@ This module provides an object-oriented abstraction on top of IP
addresses or IP subnets, that allows for easy manipulations.
%prep
%setup -q -n NetAddr-IP-%{version}
%autosetup -n NetAddr-IP-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
make %{?_smp_mflags} install DESTDIR=%{buildroot}
find %{buildroot} -name 'perllocal.pod' -delete
%check
make test
make %{?_smp_mflags} test
%files
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 4.079-3
- Perl version upgrade to 5.36.0
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 4.079-2
- Rebuilding for perl version 5.30.1
* Thu Sep 27 2018 Srivatsa S. Bhat <srivatsa@csail.mit.edu> 4.079-1

View File

@ -3,12 +3,12 @@
Summary: Interface to create per object accessors
Name: perl-Object-Accessor
Version: 0.48
Release: 4%{?dist}
Release: 5%{?dist}
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Object-Accessor/
Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Object-Accessor-%{version}.tar.gz
%define sha1 Object-Accessor=0b97227252a0551c946b9f112a577b9d59ffd4ae
%define sha512 Object-Accessor=fbce10e8db2cfb360cdc093355a95c9d49909069beb725fca9812ee6e6b77e0648d63d56db9fbdcdf03f885b3954a67c516fa066229280279940704231d48448
Vendor: VMware, Inc.
Distribution: Photon
BuildArch: noarch
@ -20,19 +20,19 @@ Object::Accessor provides an interface to create per object accessors (as
opposed to per Class accessors, as, for example, Class::Accessor provides).
%prep
%setup -q -n Object-Accessor-%{version}
%autosetup -n Object-Accessor-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*
make %{?_smp_mflags} pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}/*
%check
make test
make %{?_smp_mflags} test
%files
%doc CHANGES README
@ -40,11 +40,13 @@ make test
%{_mandir}/man3/*
%changelog
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 0.48-4
- Rebuilding for perl version 5.30.1
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 0.48-3
- Consuming perl version upgrade of 5.28.0
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.48-2
- GA - Bump release of all rpms
* Wed Jan 13 2016 Anish Swaminathan <anishs@vmware.com> 0.48-1
- Initial version.
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 0.48-5
- Perl version upgrade to 5.36.0
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 0.48-4
- Rebuilding for perl version 5.30.1
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 0.48-3
- Consuming perl version upgrade of 5.28.0
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.48-2
- GA - Bump release of all rpms
* Wed Jan 13 2016 Anish Swaminathan <anishs@vmware.com> 0.48-1
- Initial version.

View File

@ -1,14 +1,14 @@
Summary: Perl extension for generating and using LALR parsers
Name: perl-Parse-Yapp
Version: 1.21
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL+ or Artistic
URL: https://metacpan.org/release/Parse-Yapp
Group: Development/Libraries/Perl
Vendor: VMware, Inc.
Distribution: Photon
Source0: https://www.cpan.org/authors/id/W/WB/WBRASWELL/Parse-Yapp-%{version}.tar.gz
%define sha1 Parse-Yapp=dad25e0e73a4873ef021308b23d51bb2ccdc7ce4
%define sha512 Parse-Yapp=dbf6182d4813ff7e355ea1713c748bfdf8290040a93f123acec645c7a1733fe457ab6e0ab51c4ec83cf82bc43d7fb35cbf89875df7b5c2ffc9635e85458cfeee
BuildArch: noarch
BuildRequires: coreutils
@ -24,7 +24,7 @@ object oriented interface. The script yapp is a front-end to the Parse::Yapp
module and let you easily create a Perl OO parser from an input grammar file.
%prep
%setup -q -n Parse-Yapp-%{version}
%autosetup -n Parse-Yapp-%{version}
chmod 644 README lib/Parse/{*.pm,Yapp/*.pm}
%build
@ -46,7 +46,8 @@ make test %{?_smp_mflags}
%{_mandir}/man1/*.1*
%{_mandir}/man3/*.3*
%changelog
* Fri Mar 13 2020 Shreyas B. <shreyasb@vmware.com> 1.21-1
- Initial version.
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 1.21-2
- Perl versioin upgrade to 5.36.0
* Fri Mar 13 2020 Shreyas B. <shreyasb@vmware.com> 1.21-1
- Initial version.

View File

@ -1,14 +1,14 @@
Summary: Cross-platform path specification manipulation for Perl
Name: perl-Path-Class
Version: 0.37
Release: 4%{?dist}
Release: 5%{?dist}
URL: http://search.cpan.org/~kwilliams/Path-Class-0.37/
License: The Perl 5 License (Artistic 1 & GPL 1)
Group: Development/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source: http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Path-Class-%{version}.tar.gz
%define sha1 Path-Class=448cc1089add95d6a616a8e22adbde83dcb8f562
%define sha512 Path-Class=044d86f85eebff96bdff8fc11e97884eb4e06d56ecd2d3bfdc045135da6f08c40e644e0e5c1a779a8ef5d6c7c04e159e47721b4e637a92fed7d298b5f798ef83
BuildArch: noarch
Requires: perl
@ -20,29 +20,31 @@ Path::Class is a module for manipulation of file and directory specifications (s
The well-known module File::Spec also provides this service, but it's sort of awkward to use well, so people sometimes avoid it, or use it in a way that won't actually work properly on platforms significantly different than the ones they've tested their code on.
%prep
%setup -q -n Path-Class-%{version}
%autosetup -n Path-Class-%{version}
%build
env PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
make %{?_smp_mflags} install DESTDIR=%{buildroot}
find %{buildroot} -name 'perllocal.pod' -delete
%check
make test
make %{?_smp_mflags} test
%files
%{perl_vendorlib}/*
%{_mandir}/man?/*
%changelog
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 0.37-4
- Rebuilding for perl 5.30.1
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 0.37-3
- Consuming perl version upgrade of 5.28.0
* Tue Apr 25 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.37-2
- Fix arch
* Wed Apr 19 2017 Xiaolin Li <xiaolinl@vmware.com> 0.37-1
- Initial version.
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 0.37-5
- Perl version upgrade to 5.36.0
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 0.37-4
- Rebuilding for perl 5.30.1
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 0.37-3
- Consuming perl version upgrade of 5.28.0
* Tue Apr 25 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.37-2
- Fix arch
* Wed Apr 19 2017 Xiaolin Li <xiaolinl@vmware.com> 0.37-1
- Initial version.

View File

@ -2,14 +2,14 @@
Summary: Core Perl4 Libs
Name: perl-Perl4-CoreLibs
Version: 0.004
Release: 2%{?dist}
Release: 3%{?dist}
License: GPL-1.0+ or Artistic
Group: Development/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Url: http://search.cpan.org/dist/Perl4-CoreLibs/
Source0: https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/%{cpan_name}-%{version}.tar.gz
%define sha1 %{cpan_name}=2f510e41e5c216f1379e35d808de9d5151e49331
%define sha512 %{cpan_name}=71083f1640e95559ee4bc5a7f1bbe6beacec048a073e211ab7f6ee4de26463f6ae3d87e99e00a41ea8f2f93a5e96367bafe907ef3367e400de35123c22eb7b88
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-Module-Build
@ -57,7 +57,7 @@ core versions of these libraries emit a deprecation warning when loaded.
The CPAN version does not emit such a warning.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version}
%build
perl Build.PL installdirs=vendor
@ -74,6 +74,8 @@ perl Build.PL installdirs=vendor
%{_mandir}/man3/*
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 0.004-3
- Perl version upgrade to 5.36.0
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 0.004-2
- Rebuilding for perl 5.30.1
* Sat Oct 26 2019 Ankit Jain <ankitja@vmware.com> 0.004-1

View File

@ -1,6 +1,6 @@
Name: perl-TermReadKey
Version: 2.38
Release: 1%{?dist}
Release: 2%{?dist}
Summary: TermReadKey Perl module
License: GPL+ or Artistic
Group: Development/Perl
@ -36,5 +36,7 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{_mandir}/man3/*
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 2.38-2
- Perl version upgrade to 5.36.0
* Tue May 24 2022 Satya Naga Vasamsetty <svasamsetty@vmware.com> 2.38-1
- perl-TermReadKey initial build

View File

@ -1,14 +1,14 @@
Summary: Minimal try/catch with proper preservation of $@
Name: perl-Try-Tiny
Version: 0.30
Release: 2%{?dist}
Version: 0.31
Release: 1%{?dist}
URL: http://search.cpan.org/~ether/Try-Tiny-0.28/
License: The MIT (X11) License
Group: Development/Libraries
Vendor: VMware, Inc.
Distribution: Photon
Source: https://cpan.metacpan.org/authors/id/E/ET/ETHER/Try-Tiny-%{version}.tar.gz
%define sha1 Try-Tiny=4f0edb634a2b4c032c55ef9ab90dd8bbe7780afd
%define sha512 Try-Tiny=1a3c852e56797d81da60a4f4887cb70fc575eca83d10b8cd12fe5d5d0008a967801218f3a5277a2f1347ade95b9515c1f237333e491742d06614c0beecf44768
BuildArch: noarch
Requires: perl
@ -20,29 +20,31 @@ This module provides bare bones try/catch/finally statements that are designed t
This is unlike TryCatch which provides a nice syntax and avoids adding another call stack layer, and supports calling return from the try block to return from the parent subroutine. These extra features come at a cost of a few dependencies, namely Devel::Declare and Scope::Upper which are occasionally problematic, and the additional catch filtering uses Moose type constraints which may not be desirable either.
%prep
%setup -q -n Try-Tiny-%{version}
%autosetup -n Try-Tiny-%{version}
%build
env PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
make %{?_smp_mflags} install DESTDIR=%{buildroot}
find %{buildroot} -name 'perllocal.pod' -delete
%check
make test
make %{?_smp_mflags} test
%files
%{perl_vendorlib}/*
%{_mandir}/man?/*
%changelog
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 0.30-2
- Rebuilding for perl 5.30.1
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 0.30-1
- Update to version 0.30
* Wed Apr 26 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.28-2
- Fix arch
* Wed Apr 19 2017 Xiaolin Li <xiaolinl@vmware.com> 0.28-1
- Initial version.
* Thu Dec 08 2022 Gerrit Photon <photon-checkins@vmware.com> 0.31-1
- Automatic Version Bump
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 0.30-2
- Rebuilding for perl 5.30.1
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 0.30-1
- Update to version 0.30
* Wed Apr 26 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 0.28-2
- Fix arch
* Wed Apr 19 2017 Xiaolin Li <xiaolinl@vmware.com> 0.28-1
- Initial version.

View File

@ -1,13 +1,13 @@
# Got the intial spec from Fedora and modified it
Summary: Simple data types for common serialization formats
Name: perl-Types-Serialiser
Version: 1.0
Release: 4%{?dist}
Version: 1.01
Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Types-Serialiser/
Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Types-Serialiser-%{version}.tar.gz
%define sha1 Types-Serialiser=72ba9d1d97bb582360c79bcbdb158e73573adb70
%define sha512 Types-Serialiser=419b24cae85fba045de2f4593e1d17784f2016d5f9cd9ea96d23bbeaa86c1c6b866875871a787cacba1299616d371cc8806760e4c53e4f635deec4bc28fa81b5
Vendor: VMware, Inc.
Distribution: Photon
BuildArch: noarch
@ -26,7 +26,7 @@ simple/small constants and containers that can be shared by different
implementations so they become interoperable between each other.
%prep
%setup -q -n Types-Serialiser-%{version}
%autosetup -n Types-Serialiser-%{version}
# Filter bogus provide of JSON::PP::Boolean (for rpm < 4.9)
%global provfilt /bin/sh -c "%{__perl_provides} | grep -v '^perl(JSON::PP::Boolean)'"
@ -38,12 +38,12 @@ make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
make %{?_smp_mflags} pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}
%check
make test
make %{?_smp_mflags} test
%clean
rm -rf %{buildroot}
@ -53,11 +53,13 @@ rm -rf %{buildroot}
%{_mandir}/man3/*
%changelog
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 1.0-4
- Rebuilding for perl 5.30.1
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 1.0-3
- Consuming perl version upgrade of 5.28.0
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.0-2
- GA - Bump release of all rpms
* Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 1.0-1
- Initial version.
* Thu Dec 08 2022 Gerrit Photon <photon-checkins@vmware.com> 1.01-1
- Automatic Version Bump
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 1.0-4
- Rebuilding for perl 5.30.1
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 1.0-3
- Consuming perl version upgrade of 5.28.0
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.0-2
- GA - Bump release of all rpms
* Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 1.0-1
- Initial version.

View File

@ -1,12 +1,12 @@
Summary: A Perl module implementing URI parsing and manipulation
Name: perl-URI
Version: 5.09
Version: 5.17
Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: https://metacpan.org/release/URI
Source0: https://cpan.metacpan.org/modules/by-module/URI/perl-URI-%{version}.tar.gz
%define sha1 perl-URI=ee3a28661467ea086c69edaece4746002b380d6d
%define sha512 perl-URI=52171e16137bfaa77ab31007245a561614c5c42336473022ebbe370b395d3052d3de80da0b42754ca2e0b09f47520ef96afdbdb72fe5c25cab87441eda03ec12
Vendor: VMware, Inc.
Distribution: Photon
@ -24,7 +24,7 @@ This module implements the URI class. Objects of this class represent
%global debug_package %{nil}
%prep
%setup -q -n URI-%{version}
%autosetup -n URI-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=true NO_PERLLOCAL=true
@ -32,8 +32,9 @@ make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
make %{?_smp_mflags} pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%files
%license LICENSE
%doc Changes CONTRIBUTING.md README uri-test
@ -41,6 +42,7 @@ make pure_install DESTDIR=%{buildroot}
%{_mandir}/man3/*
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 5.17-1
- Version upgrade to 5.17
* Fri Apr 30 2021 Susant Sahani <ssahani@vmware.com> 5.09-1
- Initial version.

View File

@ -7,12 +7,12 @@
Summary: Perl extension interface for libcurl
Name: perl-WWW-Curl
Version: 4.17
Release: 7%{?dist}
Release: 8%{?dist}
License: MIT
Group: Development/Libraries
URL: http://search.cpan.org/dist/WWW-Curl/
Source0: http://search.cpan.org/CPAN/authors/id/S/SZ/SZBALINT/WWW-Curl-%{version}.tar.gz
%define sha1 WWW-Curl=8ec7b7b39bd653539671fb02fbb7d0ff4863e636
%define sha512 WWW-Curl=bc7a75d0e23f5a77578fd7244b56a1e1b81d814993b90ac7132926f0d571232c4c95875bc615cb6239e424ae1d5481d27796efc5376bb0845d1da0ff1137c0d6
Vendor: VMware, Inc.
Distribution: Photon
# Fix Build issue with curl-7.72 version
@ -30,19 +30,15 @@ Requires: curl
WWW::Curl is a Perl extension interface for libcurl.
%prep
%setup -q -n WWW-Curl-%{version}
%autosetup -n WWW-Curl-%{version}
rm -rf inc && sed -i -e '/^inc\//d' MANIFEST
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
make %{?_smp_mflags} pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
%{_fixperms} %{buildroot}/*
@ -60,7 +56,7 @@ find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
%{?!_with_network_tests: rm t/18twinhandles.t }
%{?!_with_network_tests: rm t/19multi.t }
%{?!_with_network_tests: rm t/21write-to-scalar.t }
make test
make %{?_smp_mflags} test
%files
%{perl_vendorarch}/auto/*
@ -68,18 +64,19 @@ make test
%{_mandir}/man3/*
%changelog
* Mon Sep 21 2020 Dweep Advani <dadvani@vmware.com> 4.17-7
- Rebuilding for perl 5.30.1
* Wed Sep 02 2020 Ankit Jain <ankitja@vmware.com> 4.17-6
- Fix Build issue with curl-7.72.0 version
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 4.17-5
- Consuming perl version upgrade of 5.28.0
* Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 4.17-4
- BuildRequires curl-devel.
* Thu Sep 15 2016 Xiaolin Li <xiaolinl@vmware.com> 4.17-3
- Build WWW-Curl with curl 7.50.3
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 4.17-2
- GA - Bump release of all rpms
* Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 4.17-1
- Initial version.
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 4.17-8
- Perl version upgrade to 5.36.0
* Mon Sep 21 2020 Dweep Advani <dadvani@vmware.com> 4.17-7
- Rebuilding for perl 5.30.1
* Wed Sep 02 2020 Ankit Jain <ankitja@vmware.com> 4.17-6
- Fix Build issue with curl-7.72.0 version
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 4.17-5
- Consuming perl version upgrade of 5.28.0
* Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 4.17-4
- BuildRequires curl-devel.
* Thu Sep 15 2016 Xiaolin Li <xiaolinl@vmware.com> 4.17-3
- Build WWW-Curl with curl 7.50.3
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 4.17-2
- GA - Bump release of all rpms
* Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 4.17-1
- Initial version.

View File

@ -2,12 +2,12 @@
Summary: Read/Write YAML files with as little code as possible
Name: perl-YAML-Tiny
Version: 1.73
Release: 2%{?dist}
Release: 3%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/YAML-Tiny/
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/YAML-Tiny-%{version}.tar.gz
%define sha1 YAML-Tiny=32ee7a7d499c7d8c2b4672f9735901fb4de1ab88
%define sha512 YAML-Tiny=5999e220025aa8076e5e0e9e73e80c2da21660e77f6744d73e8e29962221d02d33a36e9829c44abf7d4f45abae069d8e121c8019bd1600b7e64db5e54efd9987
Vendor: VMware, Inc.
Distribution: Photon
BuildArch: noarch
@ -19,34 +19,36 @@ written with as little code as possible, reducing load time and
memory overhead.
%prep
%setup -q -n YAML-Tiny-%{version}
%autosetup -n YAML-Tiny-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
make %{?_smp_mflags} pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}
%check
make test
make %{?_smp_mflags} test
%files
%{perl_vendorlib}/YAML/
%{_mandir}/man3/YAML::Tiny.3*
%changelog
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 1.73-2
- Rebuilding for perl 5.30.1
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 1.73-1
- Update to version 1.73
* Wed Apr 05 2017 Robert Qi <qij@vmware.com> 1.70-1
- Update version to 1.70
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.69-2
- GA - Bump release of all rpms
* Tue Feb 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.69-1
- Upgraded to version 1.69
* Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 1.66-1
- Initial version.
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 1.73-3
- Perl version upgrade to 5.36.0
* Thu Aug 20 2020 Dweep Advani <dadvani@vmware.com> 1.73-2
- Rebuilding for perl 5.30.1
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 1.73-1
- Update to version 1.73
* Wed Apr 05 2017 Robert Qi <qij@vmware.com> 1.70-1
- Update version to 1.70
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.69-2
- GA - Bump release of all rpms
* Tue Feb 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.69-1
- Upgraded to version 1.69
* Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 1.66-1
- Initial version.

View File

@ -2,12 +2,12 @@
Summary: YAML Ain't Markup Language (tm)
Name: perl-YAML
Version: 1.30
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/YAML/
Source0: https://cpan.metacpan.org/authors/id/T/TI/TINITA/YAML-%{version}.tar.gz
%define sha1 YAML=c26817f95201c98bbd07f497e7ccc0ad9e0cc67d
%define sha512 YAML=f73f2d9f3cd96edeb05ec098c859755dd6b80bf1a00049f8de2889ebbf4f41df9fcc1540116afa8648e965a0b780d993f256af2c5ffc03a9f1ba7df1f0cc8941
Vendor: VMware, Inc.
Distribution: Photon
BuildArch: noarch
@ -28,14 +28,14 @@ For information on the YAML syntax, please refer to the YAML
specification.
%prep
%setup -q -n YAML-%{version}
%autosetup -n YAML-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
make %{?_smp_mflags} install DESTDIR=%{buildroot}
find %{buildroot} -name 'perllocal.pod' -delete
%check
@ -83,6 +83,8 @@ make %{?_smp_mflags} test
%{_mandir}/man3/YAML::Types.3*
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 1.30-2
- Perl version upgrade to 5.36.0
* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 1.30-1
- Automatic Version Bump
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 1.26-1

View File

@ -5,12 +5,12 @@
Summary: "Common sense" Perl defaults
Name: perl-common-sense
Version: 3.75
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/common-sense
Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-%{version}.tar.gz
%define sha1 common-sense=4657dab4ffaae0bdafb9f4ec71f9b73e0c746da0
%define sha512 common-sense=cb6034d9ff721a4122e0215db8ad5279ec4b189c3364593d427d70a1e84a1583a0e1447e276aa9a4fcaeb2f9d47a465a5bc4c0f842c803d3ddf91755311f4af4
Vendor: VMware, Inc.
Distribution: Photon
BuildRequires: perl
@ -37,10 +37,7 @@ It's supposed to be mostly the same, with much lower memory usage, as:
no warnings qw(exec newline unopened);
%prep
%setup -q -n common-sense-%{version}
# Specify POD encoding
%patch1
%autosetup -n common-sense-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
@ -48,7 +45,7 @@ make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
make %{?_smp_mflags} pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}
@ -56,7 +53,7 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} \;
pod2man sense.pod > %{buildroot}%{_mandir}/man3/common::sense.3pm
%check
make test
make %{?_smp_mflags} test
%clean
rm -rf %{buildroot}
@ -68,14 +65,15 @@ rm -rf %{buildroot}
%{_mandir}/man3/common::sense.3*
%changelog
* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 3.75-1
- Automatic Version Bump
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 3.74-3
- Consuming perl version upgrade of 5.28.0
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.74-2
- GA - Bump release of all rpms
* Tue Feb 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.74-1
- Upgraded to version 3.74
* Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 3.73-1
- Initial version.
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 3.75-2
- Perl version upgrade to 5.36.0
* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 3.75-1
- Automatic Version Bump
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 3.74-3
- Consuming perl version upgrade of 5.28.0
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.74-2
- GA - Bump release of all rpms
* Tue Feb 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.74-1
- Upgraded to version 3.74
* Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 3.73-1
- Initial version.

View File

@ -1,13 +1,13 @@
# Got the intial spec from Fedora and modified it
Summary: Internationalization library for Perl, compatible with gettext
Name: perl-libintl
Version: 1.31
Release: 1%{?dist}
Version: 1.32
Release: 2%{?dist}
License: LGPLv2+
Group: Development/Libraries
URL: http://search.cpan.org/dist/libintl-perl/
Source: https://cpan.metacpan.org/authors/id/G/GU/GUIDO/libintl-perl-%{version}.tar.gz
%define sha1 libintl-perl=de7b5c21bd95189769c113d34f5b1a1a72c3a71e
%define sha512 libintl-perl=fca6c8863dfd36c7604bc80a401e825eb707bc75016521c09006c34c170a41b009d30ec93d7e2a7f61caa1dbdf0333511c3d515d4fdc0fea32242eca68a7e35d
Vendor: VMware, Inc.
Distribution: Photon
Requires: perl
@ -19,9 +19,8 @@ The package libintl-perl is an internationalization library for Perl that
aims to be compatible with the Uniforum message translations system as
implemented for example in GNU gettext.
%prep
%setup -q -n libintl-perl-%{version}
%autosetup -n libintl-perl-%{version}
find -type f -exec chmod -x {} \;
find lib/Locale gettext_xs \( -name '*.pm' -o -name '*.pod' \) \
-exec sed -i -e '/^#! \/bin\/false/d' {} \;
@ -31,13 +30,13 @@ perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
make %{?_smp_mflags} pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f \( -name .packlist -o \
-name '*.bs' -size 0 \) -exec rm -f {} ';'
chmod -R u+w %{buildroot}/*
%check
make test
make %{?_smp_mflags} test
%files
%{perl_vendorlib}/Locale/
@ -45,6 +44,10 @@ make test
%{_mandir}/man?/*
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 1.32-2
- Rebuild for perl version upgrade to 5.36.0
* Wed Aug 17 2022 Gerrit Photon <photon-checkins@vmware.com> 1.32-1
- Automatic Version Bump
* Thu Aug 20 2020 Gerrit Photon <photon-checkins@vmware.com> 1.31-1
- Automatic Version Bump
* Fri Sep 21 2018 Dweep Advani <dadvani@vmware.com> 1.29-1
@ -57,4 +60,3 @@ make test
- Upgraded to version 1.24
* Fri Apr 3 2015 Divya Thaluru <dthaluru@vmware.com> 1.23-1
- Initial version.

View File

@ -1,148 +0,0 @@
From 0a320d753fe7fca03df259a4dfd8e641e51edaa8 Mon Sep 17 00:00:00 2001
From: Hugo van der Sanden <hv@crypt.org>
Date: Tue, 18 Feb 2020 13:51:16 +0000
Subject: [PATCH] study_chunk: extract rck_elide_nothing
(CVE-2020-10878)
(cherry picked from commit 93dee06613d4e1428fb10905ce1c3c96f53113dc)
---
embed.fnc | 1 +
embed.h | 1 +
proto.h | 3 +++
regcomp.c | 70 ++++++++++++++++++++++++++++++++++---------------------
4 files changed, 48 insertions(+), 27 deletions(-)
diff --git a/embed.fnc b/embed.fnc
index aedb4baef19..d7cd04d3fc3 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -2481,6 +2481,7 @@ Es |SSize_t|study_chunk |NN RExC_state_t *pRExC_state \
|I32 stopparen|U32 recursed_depth \
|NULLOK regnode_ssc *and_withp \
|U32 flags|U32 depth
+Es |void |rck_elide_nothing|NN regnode *node
EsR |SV * |get_ANYOFM_contents|NN const regnode * n
EsRn |U32 |add_data |NN RExC_state_t* const pRExC_state \
|NN const char* const s|const U32 n
diff --git a/embed.h b/embed.h
index 75c91f77f45..356a8b98d96 100644
--- a/embed.h
+++ b/embed.h
@@ -1208,6 +1208,7 @@
#define parse_lparen_question_flags(a) S_parse_lparen_question_flags(aTHX_ a)
#define parse_uniprop_string(a,b,c,d,e,f,g,h,i) Perl_parse_uniprop_string(aTHX_ a,b,c,d,e,f,g,h,i)
#define populate_ANYOF_from_invlist(a,b) S_populate_ANYOF_from_invlist(aTHX_ a,b)
+#define rck_elide_nothing(a) S_rck_elide_nothing(aTHX_ a)
#define reg(a,b,c,d) S_reg(aTHX_ a,b,c,d)
#define reg2Lanode(a,b,c,d) S_reg2Lanode(aTHX_ a,b,c,d)
#define reg_node(a,b) S_reg_node(aTHX_ a,b)
diff --git a/proto.h b/proto.h
index 141ddbaee6d..f316fe134e1 100644
--- a/proto.h
+++ b/proto.h
@@ -5543,6 +5543,9 @@ PERL_CALLCONV SV * Perl_parse_uniprop_string(pTHX_ const char * const name, cons
STATIC void S_populate_ANYOF_from_invlist(pTHX_ regnode *node, SV** invlist_ptr);
#define PERL_ARGS_ASSERT_POPULATE_ANYOF_FROM_INVLIST \
assert(node); assert(invlist_ptr)
+STATIC void S_rck_elide_nothing(pTHX_ regnode *node);
+#define PERL_ARGS_ASSERT_RCK_ELIDE_NOTHING \
+ assert(node)
PERL_STATIC_NO_RET void S_re_croak2(pTHX_ bool utf8, const char* pat1, const char* pat2, ...)
__attribute__noreturn__;
#define PERL_ARGS_ASSERT_RE_CROAK2 \
diff --git a/regcomp.c b/regcomp.c
index 5f86be8086d..4ba2980db66 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -4450,6 +4450,44 @@ S_unwind_scan_frames(pTHX_ const void *p)
} while (f);
}
+/* Follow the next-chain of the current node and optimize away
+ all the NOTHINGs from it.
+ */
+STATIC void
+S_rck_elide_nothing(pTHX_ regnode *node)
+{
+ dVAR;
+
+ PERL_ARGS_ASSERT_RCK_ELIDE_NOTHING;
+
+ if (OP(node) != CURLYX) {
+ const int max = (reg_off_by_arg[OP(node)]
+ ? I32_MAX
+ /* I32 may be smaller than U16 on CRAYs! */
+ : (I32_MAX < U16_MAX ? I32_MAX : U16_MAX));
+ int off = (reg_off_by_arg[OP(node)] ? ARG(node) : NEXT_OFF(node));
+ int noff;
+ regnode *n = node;
+
+ /* Skip NOTHING and LONGJMP. */
+ while (
+ (n = regnext(n))
+ && (
+ (PL_regkind[OP(n)] == NOTHING && (noff = NEXT_OFF(n)))
+ || ((OP(n) == LONGJMP) && (noff = ARG(n)))
+ )
+ && off + noff < max
+ ) {
+ off += noff;
+ }
+ if (reg_off_by_arg[OP(node)])
+ ARG(node) = off;
+ else
+ NEXT_OFF(node) = off;
+ }
+ return;
+}
+
/* the return from this sub is the minimum length that could possibly match */
STATIC SSize_t
S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp,
@@ -4550,28 +4588,10 @@ S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp,
*/
JOIN_EXACT(scan,&min_subtract, &unfolded_multi_char, 0);
- /* Follow the next-chain of the current node and optimize
- away all the NOTHINGs from it. */
- if (OP(scan) != CURLYX) {
- const int max = (reg_off_by_arg[OP(scan)]
- ? I32_MAX
- /* I32 may be smaller than U16 on CRAYs! */
- : (I32_MAX < U16_MAX ? I32_MAX : U16_MAX));
- int off = (reg_off_by_arg[OP(scan)] ? ARG(scan) : NEXT_OFF(scan));
- int noff;
- regnode *n = scan;
-
- /* Skip NOTHING and LONGJMP. */
- while ((n = regnext(n))
- && ((PL_regkind[OP(n)] == NOTHING && (noff = NEXT_OFF(n)))
- || ((OP(n) == LONGJMP) && (noff = ARG(n))))
- && off + noff < max)
- off += noff;
- if (reg_off_by_arg[OP(scan)])
- ARG(scan) = off;
- else
- NEXT_OFF(scan) = off;
- }
+ /* Follow the next-chain of the current node and optimize
+ away all the NOTHINGs from it.
+ */
+ rck_elide_nothing(scan);
/* The principal pseudo-switch. Cannot be a switch, since we
look into several different things. */
@@ -5745,11 +5765,7 @@ Perl_re_printf( aTHX_ "LHS=%" UVuf " RHS=%" UVuf "\n",
if (data && (fl & SF_HAS_EVAL))
data->flags |= SF_HAS_EVAL;
optimize_curly_tail:
- if (OP(oscan) != CURLYX) {
- while (PL_regkind[OP(next = regnext(oscan))] == NOTHING
- && NEXT_OFF(next))
- NEXT_OFF(oscan) += NEXT_OFF(next);
- }
+ rck_elide_nothing(oscan);
continue;
default:

View File

@ -1,32 +0,0 @@
From 3295b48defa0f8570114877b063fe546dd348b3c Mon Sep 17 00:00:00 2001
From: Karl Williamson <khw@cpan.org>
Date: Thu, 20 Feb 2020 17:49:36 +0000
Subject: [PATCH] regcomp: use long jumps if there is any possibility of
overflow
(CVE-2020-10878) Be conservative for backporting, we'll aim to do
something more aggressive for bleadperl.
(cherry picked from commit 9d7759db46f3b31b1d3f79c44266b6ba42a47fc6)
---
regcomp.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/regcomp.c b/regcomp.c
index 4ba2980db66..73c35a67020 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -7762,6 +7762,13 @@ Perl_re_op_compile(pTHX_ SV ** const patternp, int pat_count,
/* We have that number in RExC_npar */
RExC_total_parens = RExC_npar;
+
+ /* XXX For backporting, use long jumps if there is any possibility of
+ * overflow */
+ if (RExC_size > U16_MAX && ! RExC_use_BRANCHJ) {
+ RExC_use_BRANCHJ = TRUE;
+ flags |= RESTART_PARSE;
+ }
}
else if (! MUST_RESTART(flags)) {
ReREFCNT_dec(Rx);

View File

@ -1,298 +0,0 @@
From 66bbb51b93253a3f87d11c2695cfb7bdb782184a Mon Sep 17 00:00:00 2001
From: Hugo van der Sanden <hv@crypt.org>
Date: Sat, 11 Apr 2020 14:10:24 +0100
Subject: [PATCH] study_chunk: avoid mutating regexp program within GOSUB
gh16947 and gh17743: studying GOSUB may restudy in an inner call
(via a mix of recursion and enframing) something that an outer call
is in the middle of looking at. Let the outer frame deal with it.
(CVE-2020-12723)
(cherry picked from commit c4033e740bd18d9fbe3456a9db2ec2053cdc5271)
---
embed.fnc | 2 +-
embed.h | 2 +-
proto.h | 2 +-
regcomp.c | 54 +++++++++++++++++++++++++++++++++++-------------------
t/re/pat.t | 26 +++++++++++++++++++++++++-
5 files changed, 63 insertions(+), 23 deletions(-)
diff --git a/embed.fnc b/embed.fnc
index d7cd04d3fc3..0a61018b8df 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -2480,7 +2480,7 @@ Es |SSize_t|study_chunk |NN RExC_state_t *pRExC_state \
|NULLOK struct scan_data_t *data \
|I32 stopparen|U32 recursed_depth \
|NULLOK regnode_ssc *and_withp \
- |U32 flags|U32 depth
+ |U32 flags|U32 depth|bool was_mutate_ok
Es |void |rck_elide_nothing|NN regnode *node
EsR |SV * |get_ANYOFM_contents|NN const regnode * n
EsRn |U32 |add_data |NN RExC_state_t* const pRExC_state \
diff --git a/embed.h b/embed.h
index 356a8b98d96..5346ec58613 100644
--- a/embed.h
+++ b/embed.h
@@ -1239,7 +1239,7 @@
#define ssc_is_cp_posixl_init S_ssc_is_cp_posixl_init
#define ssc_or(a,b,c) S_ssc_or(aTHX_ a,b,c)
#define ssc_union(a,b,c) S_ssc_union(aTHX_ a,b,c)
-#define study_chunk(a,b,c,d,e,f,g,h,i,j,k) S_study_chunk(aTHX_ a,b,c,d,e,f,g,h,i,j,k)
+#define study_chunk(a,b,c,d,e,f,g,h,i,j,k,l) S_study_chunk(aTHX_ a,b,c,d,e,f,g,h,i,j,k,l)
# endif
# if defined(PERL_IN_REGCOMP_C) || defined (PERL_IN_DUMP_C)
#define _invlist_dump(a,b,c,d) Perl__invlist_dump(aTHX_ a,b,c,d)
diff --git a/proto.h b/proto.h
index f316fe134e1..d3fecc05d1b 100644
--- a/proto.h
+++ b/proto.h
@@ -5659,7 +5659,7 @@ PERL_STATIC_INLINE void S_ssc_union(pTHX_ regnode_ssc *ssc, SV* const invlist, c
#define PERL_ARGS_ASSERT_SSC_UNION \
assert(ssc); assert(invlist)
#endif
-STATIC SSize_t S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp, SSize_t *minlenp, SSize_t *deltap, regnode *last, struct scan_data_t *data, I32 stopparen, U32 recursed_depth, regnode_ssc *and_withp, U32 flags, U32 depth);
+STATIC SSize_t S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp, SSize_t *minlenp, SSize_t *deltap, regnode *last, struct scan_data_t *data, I32 stopparen, U32 recursed_depth, regnode_ssc *and_withp, U32 flags, U32 depth, bool was_mutate_ok);
#define PERL_ARGS_ASSERT_STUDY_CHUNK \
assert(pRExC_state); assert(scanp); assert(minlenp); assert(deltap); assert(last)
#endif
diff --git a/regcomp.c b/regcomp.c
index 73c35a67020..b07191dbade 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -106,6 +106,7 @@ typedef struct scan_frame {
regnode *next_regnode; /* next node to process when last is reached */
U32 prev_recursed_depth;
I32 stopparen; /* what stopparen do we use */
+ bool in_gosub; /* this or an outer frame is for GOSUB */
struct scan_frame *this_prev_frame; /* this previous frame */
struct scan_frame *prev_frame; /* previous frame */
@@ -4497,7 +4498,7 @@ S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp,
I32 stopparen,
U32 recursed_depth,
regnode_ssc *and_withp,
- U32 flags, U32 depth)
+ U32 flags, U32 depth, bool was_mutate_ok)
/* scanp: Start here (read-write). */
/* deltap: Write maxlen-minlen here. */
/* last: Stop before this one. */
@@ -4576,6 +4577,10 @@ S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp,
node length to get a real minimum (because
the folded version may be shorter) */
bool unfolded_multi_char = FALSE;
+ /* avoid mutating ops if we are anywhere within the recursed or
+ * enframed handling for a GOSUB: the outermost level will handle it.
+ */
+ bool mutate_ok = was_mutate_ok && !(frame && frame->in_gosub);
/* Peephole optimizer: */
DEBUG_STUDYDATA("Peep", data, depth, is_inf);
DEBUG_PEEP("Peep", scan, depth, flags);
@@ -4586,7 +4591,8 @@ S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp,
* parsing code, as each (?:..) is handled by a different invocation of
* reg() -- Yves
*/
- JOIN_EXACT(scan,&min_subtract, &unfolded_multi_char, 0);
+ if (mutate_ok)
+ JOIN_EXACT(scan,&min_subtract, &unfolded_multi_char, 0);
/* Follow the next-chain of the current node and optimize
away all the NOTHINGs from it.
@@ -4618,7 +4624,7 @@ S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp,
/* DEFINEP study_chunk() recursion */
(void)study_chunk(pRExC_state, &scan, &minlen,
&deltanext, next, &data_fake, stopparen,
- recursed_depth, NULL, f, depth+1);
+ recursed_depth, NULL, f, depth+1, mutate_ok);
scan = next;
} else
@@ -4686,7 +4692,8 @@ S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp,
/* recurse study_chunk() for each BRANCH in an alternation */
minnext = study_chunk(pRExC_state, &scan, minlenp,
&deltanext, next, &data_fake, stopparen,
- recursed_depth, NULL, f, depth+1);
+ recursed_depth, NULL, f, depth+1,
+ mutate_ok);
if (min1 > minnext)
min1 = minnext;
@@ -4753,9 +4760,10 @@ S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp,
}
}
- if (PERL_ENABLE_TRIE_OPTIMISATION &&
- OP( startbranch ) == BRANCH )
- {
+ if (PERL_ENABLE_TRIE_OPTIMISATION
+ && OP(startbranch) == BRANCH
+ && mutate_ok
+ ) {
/* demq.
Assuming this was/is a branch we are dealing with: 'scan'
@@ -5210,6 +5218,9 @@ S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp,
newframe->stopparen = stopparen;
newframe->prev_recursed_depth = recursed_depth;
newframe->this_prev_frame= frame;
+ newframe->in_gosub = (
+ (frame && frame->in_gosub) || OP(scan) == GOSUB
+ );
DEBUG_STUDYDATA("frame-new", data, depth, is_inf);
DEBUG_PEEP("fnew", scan, depth, flags);
@@ -5367,7 +5378,7 @@ S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp,
/* This temporary node can now be turned into EXACTFU, and
* must, as regexec.c doesn't handle it */
- if (OP(next) == EXACTFU_S_EDGE) {
+ if (OP(next) == EXACTFU_S_EDGE && mutate_ok) {
OP(next) = EXACTFU;
}
@@ -5375,8 +5386,9 @@ S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp,
&& isALPHA_A(* STRING(next))
&& ( OP(next) == EXACTFAA
|| ( OP(next) == EXACTFU
- && ! HAS_NONLATIN1_SIMPLE_FOLD_CLOSURE(* STRING(next)))))
- {
+ && ! HAS_NONLATIN1_SIMPLE_FOLD_CLOSURE(* STRING(next))))
+ && mutate_ok
+ ) {
/* These differ in just one bit */
U8 mask = ~ ('A' ^ 'a');
@@ -5463,7 +5475,7 @@ S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp,
(mincount == 0
? (f & ~SCF_DO_SUBSTR)
: f)
- ,depth+1);
+ , depth+1, mutate_ok);
if (flags & SCF_DO_STCLASS)
data->start_class = oclass;
@@ -5529,7 +5541,9 @@ S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp,
if ( OP(oscan) == CURLYX && data
&& data->flags & SF_IN_PAR
&& !(data->flags & SF_HAS_EVAL)
- && !deltanext && minnext == 1 ) {
+ && !deltanext && minnext == 1
+ && mutate_ok
+ ) {
/* Try to optimize to CURLYN. */
regnode *nxt = NEXTOPER(oscan) + EXTRA_STEP_2ARGS;
regnode * const nxt1 = nxt;
@@ -5579,10 +5593,10 @@ S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp,
&& !(data->flags & SF_HAS_EVAL)
&& !deltanext /* atom is fixed width */
&& minnext != 0 /* CURLYM can't handle zero width */
-
/* Nor characters whose fold at run-time may be
* multi-character */
&& ! (RExC_seen & REG_UNFOLDED_MULTI_SEEN)
+ && mutate_ok
) {
/* XXXX How to optimize if data == 0? */
/* Optimize to a simpler form. */
@@ -5635,7 +5649,7 @@ S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp,
/* recurse study_chunk() on optimised CURLYX => CURLYM */
study_chunk(pRExC_state, &nxt1, minlenp, &deltanext, nxt,
NULL, stopparen, recursed_depth, NULL, 0,
- depth+1);
+ depth+1, mutate_ok);
}
else
oscan->flags = 0;
@@ -6040,7 +6054,8 @@ Perl_re_printf( aTHX_ "LHS=%" UVuf " RHS=%" UVuf "\n",
/* recurse study_chunk() for lookahead body */
minnext = study_chunk(pRExC_state, &nscan, minlenp, &deltanext,
last, &data_fake, stopparen,
- recursed_depth, NULL, f, depth+1);
+ recursed_depth, NULL, f, depth+1,
+ mutate_ok);
if (scan->flags) {
if ( deltanext < 0
|| deltanext > (I32) U8_MAX
@@ -6145,7 +6160,7 @@ Perl_re_printf( aTHX_ "LHS=%" UVuf " RHS=%" UVuf "\n",
*minnextp = study_chunk(pRExC_state, &nscan, minnextp,
&deltanext, last, &data_fake,
stopparen, recursed_depth, NULL,
- f, depth+1);
+ f, depth+1, mutate_ok);
if (scan->flags) {
assert(0); /* This code has never been tested since this
is normally not compiled */
@@ -6313,7 +6328,8 @@ Perl_re_printf( aTHX_ "LHS=%" UVuf " RHS=%" UVuf "\n",
/* optimise study_chunk() for TRIE */
minnext = study_chunk(pRExC_state, &scan, minlenp,
&deltanext, (regnode *)nextbranch, &data_fake,
- stopparen, recursed_depth, NULL, f, depth+1);
+ stopparen, recursed_depth, NULL, f, depth+1,
+ mutate_ok);
}
if (nextbranch && PL_regkind[OP(nextbranch)]==BRANCH)
nextbranch= regnext((regnode*)nextbranch);
@@ -8106,7 +8122,7 @@ Perl_re_op_compile(pTHX_ SV ** const patternp, int pat_count,
&data, -1, 0, NULL,
SCF_DO_SUBSTR | SCF_WHILEM_VISITED_POS | stclass_flag
| (restudied ? SCF_TRIE_DOING_RESTUDY : 0),
- 0);
+ 0, TRUE);
CHECK_RESTUDY_GOTO_butfirst(LEAVE_with_name("study_chunk"));
@@ -8235,7 +8251,7 @@ Perl_re_op_compile(pTHX_ SV ** const patternp, int pat_count,
SCF_DO_STCLASS_AND|SCF_WHILEM_VISITED_POS|(restudied
? SCF_TRIE_DOING_RESTUDY
: 0),
- 0);
+ 0, TRUE);
CHECK_RESTUDY_GOTO_butfirst(NOOP);
diff --git a/t/re/pat.t b/t/re/pat.t
index 9338dcc98e5..b24bd024b6c 100644
--- a/t/re/pat.t
+++ b/t/re/pat.t
@@ -25,7 +25,7 @@ BEGIN {
skip_all('no re module') unless defined &DynaLoader::boot_DynaLoader;
skip_all_without_unicode_tables();
-plan tests => 864; # Update this when adding/deleting tests.
+plan tests => 873; # Update this when adding/deleting tests.
run_tests() unless caller;
@@ -2115,6 +2115,31 @@ BEGIN {
like(runperl(prog => "$s", stderr => 1), qr/Unmatched \(/);
}
+SKIP:
+ # gh16947: test regexp corruption (GOSUB)
+ {
+ fresh_perl_is(q{
+ 'xy' =~ /x(?0)|x(?|y|y)/ && print 'ok'
+ }, 'ok', {}, 'gh16947: test regexp corruption (GOSUB)');
+ }
+ # gh16947: test fix doesn't break SUSPEND
+ {
+ fresh_perl_is(q{ 'sx' =~ m{ss++}i; print 'ok' },
+ 'ok', {}, "gh16947: test fix doesn't break SUSPEND");
+ }
+
+ # gh17743: more regexp corruption via GOSUB
+ {
+ fresh_perl_is(q{
+ "0" =~ /((0(?0)|000(?|0000|0000)(?0))|)/; print "ok"
+ }, 'ok', {}, 'gh17743: test regexp corruption (1)');
+
+ fresh_perl_is(q{
+ "000000000000" =~ /(0(())(0((?0)())|000(?|\x{ef}\x{bf}\x{bd}|\x{ef}\x{bf}\x{bd}))|)/;
+ print "ok"
+ }, 'ok', {}, 'gh17743: test regexp corruption (2)');
+ }
+
} # End of sub run_tests
1;

View File

@ -8,8 +8,8 @@
Summary: Practical Extraction and Report Language
Name: perl
Version: 5.30.1
Release: 4%{?dist}
Version: 5.36.0
Release: 1%{?dist}
License: GPLv1+
URL: http://www.perl.org/
Group: Development/Languages
@ -17,17 +17,14 @@ Vendor: VMware, Inc.
Distribution: Photon
Source0: http://www.cpan.org/src/5.0/%{name}-%{version}.tar.xz
%define sha512 %{name}=8f3339efdcd1bb58fa58a90042181bef86bb09e4598c737e446ed43b56d2ab23d67eced5e36fb08fc61e076acfdb572a12e46a1277f5299a3f412054df0b88bf
%define sha512 %{name}=6dd6ac2a77566c173c5ab9c238cf555f2c3e592e89abb5600bc23ce1cbd0c349e0233f6417cbbf1f6d0aefc6a734ba491285af0d3dc68a605b658b65c89f1dab
%if 0%{?with_check}
Patch0: make-check-failure.patch
Patch1: make-check-failure2.patch
%endif
Patch2: CVE-2020-10878-1.patch
Patch3: CVE-2020-10878-2.patch
Patch4: CVE-2020-12723.patch
Patch5: 0001-Remove-libdb-support.patch
Patch2: 0001-Remove-libdb-support.patch
Source1: https://github.com/arsv/perl-cross/releases/download/1.2/perl-cross-1.2.tar.gz
%define sha512 perl-cross=81d86d0ad1dab55da9debcdf705f4937e36f4b3b3c3ce93e7d6eeef4a3b1e1d9498b3db5e2b6abf92525e6767d639da7587d95136c46e50808386767ee7e5b13
@ -59,9 +56,6 @@ sed -i 's/-fstack-protector/&-all/' Configure
%patch1 -p1
%endif
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%build
export BUILD_ZLIB=False
@ -113,6 +107,8 @@ make test TEST_SKIP_VERSION_CHECK=1 %{?_smp_mflags}
%{_mandir}/*/*
%changelog
* Fri Oct 28 2022 Gerrit Photon <photon-checkins@vmware.com> 5.36.0-1
- Automatic Version Bump
* Thu Feb 10 2022 Shreenidhi Shedi <sshedi@vmware.com> 5.30.1-4
- Drop libdb support
* Wed Feb 10 2021 Alexey Makhalov <amakhalov@vmware.com> 5.30.1-3

View File

@ -1,7 +1,7 @@
Summary: PostgreSQL database engine
Name: postgresql
Version: 14.5
Release: 5%{?dist}
Release: 6%{?dist}
License: PostgreSQL
URL: www.postgresql.org
Group: Applications/Databases
@ -564,6 +564,8 @@ rm -rf %{buildroot}/*
%{_libdir}/%{name}/plpython3.so
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 14.5-6
- Perl version upgrade to 5.36.0
* Fri Dec 02 2022 Srinidhi Rao <srinidhir@vmware.com> 14.5-5
- Bump version as a part of systemtap upgrade
* Fri Oct 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 14.5-4

View File

@ -1,7 +1,7 @@
Summary: PostgreSQL database engine
Name: postgresql12
Version: 12.12
Release: 5%{?dist}
Release: 6%{?dist}
License: PostgreSQL
URL: www.postgresql.org
Group: Applications/Databases
@ -558,6 +558,8 @@ rm -rf %{buildroot}/*
%{_pglibdir}/plpython3.so
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 12.12-6
- Perl version upgrade to 5.36.0
* Fri Dec 02 2022 Srinidhi Rao <srinidhir@vmware.com> 12.12-5
- Bump version as a part of systemtap upgrade
* Fri Oct 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 12.12-4

View File

@ -1,7 +1,7 @@
Summary: PostgreSQL database engine
Name: postgresql13
Version: 13.8
Release: 5%{?dist}
Release: 6%{?dist}
License: PostgreSQL
URL: www.postgresql.org
Group: Applications/Databases
@ -560,6 +560,8 @@ rm -rf %{buildroot}/*
%{_pglibdir}/plpython3.so
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 13.8-6
- Perl version upgrade to 5.36.0
* Fri Dec 02 2022 Srinidhi Rao <srinidhir@vmware.com> 13.8-5
- Bump version as a part of systemtap upgrade
* Fri Oct 07 2022 Shreenidhi Shedi <sshedi@vmware.com> 13.8-4

View File

@ -1,7 +1,7 @@
Summary: Samba Client Programs
Name: samba-client
Version: 4.14.4
Release: 7%{?dist}
Release: 8%{?dist}
License: GPLv3+ and LGPLv3+
Group: Productivity/Networking
Vendor: VMware, Inc.
@ -567,6 +567,8 @@ rm -rf %{buildroot}/*
%{_libdir}/pkgconfig/wbclient.pc
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 4.14.4-8
- Rebuild for perl version upgrade to 5.36.0
* Tue Dec 06 2022 Ashwin Dayanand Kamat <kashwindayan@vmware.com> 4.14.4-7
- Bump version as a part of libtalloc upgrade
* Sun Nov 13 2022 Shreenidhi Shedi <sshedi@vmware.com> 4.14.4-6

View File

@ -8,7 +8,7 @@
Name: systemtap
Version: 4.8
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Programmable system-wide instrumentation system
Group: Development/System
Vendor: VMware, Inc.
@ -390,6 +390,8 @@ fi
%{_libexecdir}/systemtap/python/stap-resolve-module-function.py
%changelog
* Thu Dec 08 2022 Dweep Advani <dadvani@vmware.com> 4.8-3
- Rebuild for perl version upgrade to 5.36.0
* Tue Dec 06 2022 Prashant S Chauhan <psinghchauha@vmware.com> 4.8-2
- Update release to compile with python 3.11
* Tue Nov 29 2022 Srinidhi Rao <srinidhir@vmware.com> 4.8-1

View File

@ -1,7 +1,7 @@
Summary: Reading, writing, and converting info pages
Name: texinfo
Version: 6.8
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv3+
URL: http://ftp.gnu.org/gnu/texinfo/texinfo-%{version}.tar.xz
Group: Applications/System
@ -54,6 +54,8 @@ rm -rf %{buildroot}%{_infodir}
%{_libdir}/texinfo/*
%changelog
* Thu Nov 10 2022 Dweep Advani <dadvani@vmware.com> 6.8-2
- Rebuild for perl version upgrade to 5.36.0
* Tue Apr 19 2022 Gerrit Photon <photon-checkins@vmware.com> 6.8-1
- Automatic Version Bump
* Mon Sep 21 2020 Dweep Advani <dadvani@vmware.com> 6.5-3