Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perl: update to 5.38.0 #115

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions perl-Clone/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

_realname=Clone
pkgname=perl-${_realname}
pkgver=0.45
pkgrel=4
pkgver=0.46
pkgrel=1
pkgdesc='Recursive copy of nested objects.'
arch=('i686' 'x86_64')
url='https://search.cpan.org/~RDF/Clone'
Expand All @@ -12,8 +12,8 @@ license=('GPL' 'PerlArtistic')
depends=('perl')
makedepends=('libcrypt-devel' 'gcc' 'make')
options=('!emptydirs')
source=("https://search.cpan.org/CPAN/authors/id/A/AT/ATOOMIC/${_realname}-${pkgver}.tar.gz")
sha512sums=('4d91580fb60876cca7670411748e42e6af0eaba8fac25d60e7a50685ae7b1e697e12c8a2835693e3e4abf3c13c060a2740344eb804ec26ed274b895f599340af')
source=("https://search.cpan.org/CPAN/authors/id/G/GA/GARU/${_realname}-${pkgver}.tar.gz")
sha512sums=('f8bb1010364e94c7cc8bba25681cd9fd737ec2935a8be960ac53099359729fc679190a115dd082fccd239b35762dee2b3be3adbddce37e4ceae6fe934fbad545')

build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
Expand Down
4 changes: 2 additions & 2 deletions perl-HTML-Parser/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

_realname=HTML-Parser
pkgname=perl-${_realname}
pkgver=3.78
pkgver=3.81
pkgrel=1
pkgdesc="Perl HTML parser class"
arch=('i686' 'x86_64')
Expand All @@ -14,7 +14,7 @@ makedepends=('libcrypt-devel')
checkdepends=('perl-Test-Pod')
options=('!emptydirs')
source=(https://www.cpan.org/authors/id/O/OA/OALDERS/${_realname}-${pkgver}.tar.gz)
sha256sums=('22564002f206af94c1dd8535f02b0d9735125d9ebe89dd0ff9cd6c000e29c29d')
sha256sums=('c0910a5c8f92f8817edd06ccfd224ba1c2ebe8c10f551f032587a1fc83d62ff2')

build() {
cd ${_realname}-${pkgver}
Expand Down
4 changes: 2 additions & 2 deletions perl-Locale-Gettext/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_realname=Locale-Gettext
pkgname=perl-${_realname}
pkgver=1.07
pkgrel=6
pkgrel=7
groups=('perl-modules')
pkgdesc="Permits access from Perl to the gettext() family of functions"
arch=('i686' 'x86_64')
Expand All @@ -12,7 +12,7 @@ url="http://search.cpan.org/dist/${_realname}/"
depends=('gettext' 'perl')
makedepends=('libcrypt-devel')
options=(!emptydirs)
source=(${_realname}-${pkgver}.tar.gz::"https://www.cpan.org/authors/id/P/PV/PVANDRY/gettext-${pkgver}.tar.gz")
source=(${_realname}-${pkgver}.tar.gz::"https://www.cpan.org/authors/id/P/PV/PVANDRY/Locale-gettext-${pkgver}.tar.gz")
sha256sums=('909d47954697e7c04218f972915b787bd1244d75e3bd01620bc167d5bbc49c15')

build() {
Expand Down
2 changes: 1 addition & 1 deletion perl-Net-SSLeay/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_realname=Net-SSLeay
pkgname=perl-${_realname}
pkgver=1.92
pkgrel=2
pkgrel=3
pkgdesc="Perl extension for using OpenSSL"
arch=('i686' 'x86_64')
license=('custom:BSD')
Expand Down
2 changes: 1 addition & 1 deletion perl-TermReadKey/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_realname=TermReadKey
pkgname=perl-${_realname}
pkgver=2.38
pkgrel=7
pkgrel=8
pkgdesc="Provides simple control over terminal driver modes"
arch=('i686' 'x86_64')
license=('custom')
Expand Down
2 changes: 1 addition & 1 deletion perl-XML-Parser/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_realname=XML-Parser
pkgname=perl-${_realname}
pkgver=2.46
pkgrel=6
pkgrel=7
pkgdesc="Expat-based XML parser module for perl"
arch=('i686' 'x86_64')
license=('GPL' 'PerlArtistic')
Expand Down
2 changes: 1 addition & 1 deletion perl-YAML-Syck/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_realname=YAML-Syck
pkgname=perl-YAML-Syck
pkgver=1.34
pkgrel=2
pkgrel=3
pkgdesc="Fast, lightweight YAML loader and dumper"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/YAML-Syck/"
Expand Down
25 changes: 0 additions & 25 deletions perl/0001-perl.cygwin-auto-image-base.patch

This file was deleted.

19 changes: 9 additions & 10 deletions perl/0002-perl.cygwin-hints.patch
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,27 @@ diff --git a/hints/cygwin.sh b/hints/cygwin.sh
index 40edf5f..bda3da8 100644
--- a/hints/cygwin.sh
+++ b/hints/cygwin.sh
@@ -25,12 +25,21 @@ libswanted=`echo " $libswanted " | sed -e 's/ c / /g'`
@@ -25,13 +25,13 @@ libswanted=`echo " $libswanted " | sed -e 's/ c / /g'`
libswanted=`echo " $libswanted " | sed -e 's/ m / /g'`
# - eliminate -lutil, symbols are all in libcygwin.a
libswanted=`echo " $libswanted " | sed -e 's/ util / /g'`
-test -z "$ignore_versioned_solibs" && ignore_versioned_solibs='y'
-test -z "$usenm" && usenm='no'
-test -z "$libc" && libc='/usr/lib/libcygwin.a'
-test -z "$loclibpth" && loclibpth=' '
-test -z "$glibpth" && glibpth=' '
-test -z "$plibpth" && plibpth=' '
-test -z "$libpth" && libpth=' '
+ignore_versioned_solibs='y'
+usenm='no'
+libc='/usr/lib/libcygwin.a'
+loclibpth=' '
+glibpth=' '
+plibpth=' '
+libpth=' '
+PATH='.:/usr/bin/'
PATH='.:/usr/bin/'
# - add libgdbm_compat $libswanted
libswanted="$libswanted gdbm_compat"
test -z "$optimize" && optimize='-O3'
man3ext='3pm'
test -z "$use64bitint" && use64bitint='define'
test -z "$useithreads" && useithreads='define'
+test -z "$usemymalloc" && usemymalloc='undef'
ccflags="$ccflags -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -D_GNU_SOURCE"
# - otherwise i686-cygwin
archname='cygwin'
@@ -62,6 +71,13 @@ case "$osvers" in
d_inetpton='undef'
esac
Expand Down
55 changes: 11 additions & 44 deletions perl/0003-perl.cygwin-Configure-libsearch.patch
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Date: Tue, 14 Feb 2017 14:45:21 +0300
Subject: [PATCH 3/7] perl.cygwin-Configure-libsearch

---
Configure | 62 ++++++++++++++++++++++++++++++++++---------------------
1 file changed, 39 insertions(+), 23 deletions(-)
Configure | 24 ++++++++++++++++++++++++++++++++++---------------------
1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/Configure b/Configure
index bd96249..4febcd8 100755
Expand All @@ -19,7 +19,7 @@ index bd96249..4febcd8 100755
lib_ext=''
obj_ext=''
path_sep=''
@@ -5256,29 +5257,44 @@ done
@@ -5251,20 +5252,25 @@ done
for thislib in $libswanted; do
for thisdir in $libspath; do
xxx=''
Expand All @@ -32,20 +32,6 @@ index bd96249..4febcd8 100755
- $test -f "$xxx" && libstyle=shared
- fi
- if test ! -f "$xxx"; then
- xxx=$thisdir/lib$thislib.$so
- $test -f "$xxx" && eval $libscheck
- $test -f "$xxx" && libstyle=shared
- fi
- if test ! -f "$xxx"; then
- xxx=$thisdir/lib$thislib$_a
- $test -f "$xxx" && eval $libscheck
- $test -f "$xxx" && libstyle=static
- fi
- if test ! -f "$xxx"; then
- xxx=$thisdir/$thislib$_a
- $test -f "$xxx" && eval $libscheck
- $test -f "$xxx" && libstyle=static
- fi
+ if $test ! -f "$xxx" -a "X$ignore_versioned_solibs" = "X"; then
+ xxx=`ls $thisdir/lib$thislib.$so.[0-9] 2>/dev/null|sed -n '$p'`
+ $test -f "$xxx" && eval $libscheck
Expand All @@ -55,38 +41,19 @@ index bd96249..4febcd8 100755
+ $test -f "$xxx" && libstyle=shared
+ fi
+ if test ! -f "$xxx"; then
xxx=$thisdir/lib$thislib.$so$_a
$test -f "$xxx" && eval $libscheck
$test -f "$xxx" && libstyle="import"
fi
if test ! -f "$xxx"; then
+ xxx=$thisdir/lib$thislib.$so$_a
+ $test -f "$xxx" && eval $libscheck
+ $test -f "$xxx" && libstyle="import"
+ fi
+ if test ! -f "$xxx"; then
+ xxx=$thisdir/$thislib.$so$_a
+ $test -f "$xxx" && eval $libscheck
+ $test -f "$xxx" && libstyle="import"
+ fi
+ if test ! -f "$xxx"; then
+ xxx=$thisdir/lib$thislib.$so
+ $test -f "$xxx" && eval $libscheck
+ $test -f "$xxx" && libstyle=shared
+ fi
+ if test ! -f "$xxx"; then
+ xxx=$thisdir/$libprefix$thislib.$so
+ $test -f "$xxx" && eval $libscheck
+ $test -f "$xxx" && libstyle="system"
+ fi
+ if test ! -f "$xxx"; then
+ xxx=$thisdir/lib$thislib$_a
+ $test -f "$xxx" && eval $libscheck
+ $test -f "$xxx" && libstyle=static
+ fi
+ if test ! -f "$xxx"; then
+ xxx=$thisdir/$thislib$_a
+ $test -f "$xxx" && eval $libscheck
+ $test -f "$xxx" && libstyle=static
+ fi
if test ! -f "$xxx"; then
xxx=$thisdir/lib${thislib}_s$_a
$test -f "$xxx" && eval $libscheck
xxx=$thisdir/$thislib.$so$_a
$test -f "$xxx" && eval $libscheck
$test -f "$xxx" && libstyle="import"
--
2.37.1

8 changes: 4 additions & 4 deletions perl/0006-perl-5.36.0-msys2.patch
Original file line number Diff line number Diff line change
Expand Up @@ -1177,17 +1177,17 @@ index 203d86b..9246a21 100644
$p->{port_num} = $port2;

{
- local $TODO = "Believed not to work on $^O" if $^O =~ /^(?:hpux|MSWin32|os390|freebsd)$/;
+ local $TODO = "Believed not to work on $^O" if $^O =~ /^(?:hpux|MSWin32|msys|os390|freebsd)$/;
- local $TODO = "Believed not to work on $^O" if $^O =~ /^(?:MSWin32|os390)$/;
+ local $TODO = "Believed not to work on $^O" if $^O =~ /^(?:MSWin32|msys|os390)$/;
is($p->ping("127.0.0.1"), 1, 'second port is reachable');
}

@@ -133,7 +133,7 @@ SKIP: {

{
local $TODO = "Believed not to work on $^O"
- if $^O =~ /^(?:hpux|MSWin32|os390|freebsd)$/;
+ if $^O =~ /^(?:hpux|MSWin32|msys|os390|freebsd)$/;
- if $^O =~ /^(?:MSWin32|os390)$/;
+ if $^O =~ /^(?:MSWin32|msys|os390)$/;
is($p->ack(), '127.0.0.1', 'IP should be reachable');
}
}
Expand Down
13 changes: 5 additions & 8 deletions perl/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: Alexey Pavlov <Alexpux@gmail.com>

pkgname=perl
pkgver=5.36.1
pkgver=5.38.0
_gccver=11.3.0
pkgrel=1
pkgdesc="A highly capable, feature-rich programming language"
Expand All @@ -16,7 +16,6 @@ source=(https://www.cpan.org/src/5.0/perl-${pkgver}.tar.xz
perlbin.csh
perlbin.fish
perl-binary-module-dependency-1.template
0001-perl.cygwin-auto-image-base.patch
0002-perl.cygwin-hints.patch
0003-perl.cygwin-Configure-libsearch.patch
0004-perl.cygwin-Configure-libpth.patch
Expand Down Expand Up @@ -144,24 +143,22 @@ provides=('perl-Archive-Tar=2.40'
'perl-version=0.9929')
# Add your own provides here
provides=(${provides[@]})
sha256sums=('bd91217ea8a8c8b81f21ebbb6cefdf0d13ae532013f944cdece2cd51aef4b6a7'
sha256sums=('eca551caec3bc549a4e590c0015003790bdd1a604ffe19cc78ee631d51f7072e'
'91bf8a45a3f04f51fe0eca146a71e278d41dbde19ba60dabc1e41c4639477c07'
'478a52dc440d5ca324f4c95238b39cc8c90d5d7d8d5601fa085ffef79fea04f4'
'11ce66bcf4803b0bf27179a32ce53f41bcdfa967c4c0d54ac103dbc4951d18a3'
'fe91f1de38af525cb82503feef553b71299c52ea52c01b1959143f48f4051ffa'
'b3bd02ed1d8a2ae160d9b16359f0c4a347e7990206ed972a41849abe695ca337'
'ba3259e3e82ee80820426fd407b5e3ddf01a6146d8309e2eabd5347221ab2ab3'
'48c58ecf9de7fbfe620504ed462bae4c855758dbd21f475d9d646bfa92c87aea'
'e45df328a7128604a1a7b901e44da67f7ebb34162ca23c980b4e36553c0e7449'
'a074ce00dabd7876293cf0fa8c8be26029992f51873e33cd2213b6acf60cafbb'
'1bf02b601f670cc1c8f65e63ec7a10578f92c8ecd8a5752fe331479bd6115311'
'e05e20b29c950555edfa246d2b9177188a4b265d1887c262f5b272f382696474'
'd8935f9a246ba112036d3081cf928f9539fcc5de777b678e83978877732f679f'
'3ec217cb7f47c34a79addb9396d522596495584aaf6b24b17c6caf6a16d2cb62'
'4c44801139321e77a3ade921ce93b114100346ad5b17d03a67b2a92b85ee8a27')

prepare() {
chmod -R 0666 ${srcdir}/${pkgname}-${pkgver}
cd ${srcdir}/${pkgname}-${pkgver}

patch -p1 -i ${srcdir}/0001-perl.cygwin-auto-image-base.patch
patch -p1 -i ${srcdir}/0002-perl.cygwin-hints.patch
patch -p1 -i ${srcdir}/0003-perl.cygwin-Configure-libsearch.patch
patch -p1 -i ${srcdir}/0004-perl.cygwin-Configure-libpth.patch
Expand Down
2 changes: 1 addition & 1 deletion subversion/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=subversion
pkgver=1.14.2
pkgrel=1
pkgrel=2
pkgdesc="A Modern Concurrent Version Control System"
arch=('i686' 'x86_64')
url="https://subversion.apache.org/"
Expand Down