diff options
author | Matteo Bernardini | 2024-05-11 13:40:22 +0200 |
---|---|---|
committer | Matteo Bernardini | 2024-05-11 13:40:22 +0200 |
commit | 7155627008b9a093d536061c0cbec66d9a787d2f (patch) | |
tree | b2e1a37c269194b861fb2ed26a374bdb13e1653e /perl | |
parent | 33c431dfd09850b2df92cafff4f12c11f06079f3 (diff) | |
download | slackbuilds-7155627008b9a093d536061c0cbec66d9a787d2f.tar.gz |
20240511.1 global branch merge.current-20240511.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r-- | perl/mod_perl/mod_perl.SlackBuild | 3 | ||||
-rw-r--r-- | perl/mod_perl/r1910623.patch | 23 | ||||
-rw-r--r-- | perl/perl-IO-Tty/README | 10 | ||||
-rw-r--r-- | perl/perl-IO-Tty/perl-IO-Tty.SlackBuild | 78 | ||||
-rw-r--r-- | perl/perl-IO-Tty/perl-IO-Tty.info | 10 | ||||
-rw-r--r-- | perl/perl-IO-Tty/slack-desc | 19 |
6 files changed, 26 insertions, 117 deletions
diff --git a/perl/mod_perl/mod_perl.SlackBuild b/perl/mod_perl/mod_perl.SlackBuild index d197c0b49d..5a5fde9d5a 100644 --- a/perl/mod_perl/mod_perl.SlackBuild +++ b/perl/mod_perl/mod_perl.SlackBuild @@ -77,6 +77,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Thanks to msantinho @ LQ! +patch -p0 < $CWD/r1910623.patch + # Thanks to ARCH Linux sed -i -e '1098,1102d' Apache-Test/lib/Apache/TestRun.pm sed -i '51,56c push @INC, "xs/tables/current24";' lib/ModPerl/MapUtil.pm diff --git a/perl/mod_perl/r1910623.patch b/perl/mod_perl/r1910623.patch new file mode 100644 index 0000000000..a6939c54ec --- /dev/null +++ b/perl/mod_perl/r1910623.patch @@ -0,0 +1,23 @@ +Author: stevehay +Date: Tue Jun 27 08:38:15 2023 +New Revision: 1910623 + +Stop using do_open9() - this deprecated function was removed in 5.37.1 + +Patch by Jitka Plesnikova <jp...@redhat.com> from https://rt.cpan.org/Ticket/Display.html?id=148451 + +Index: src/modules/perl/modperl_io.c +=================================================================== +--- src/modules/perl/modperl_io.c (revision 1910622) ++++ src/modules/perl/modperl_io.c (revision 1910623) +@@ -116,8 +116,8 @@ + save_gp(handle, 1); + + sv_setref_pv(sv, "Apache2::RequestRec", (void*)r); +- status = do_open9(handle, mode == O_RDONLY ? "<:Apache2" : ">:Apache2", +- 9, FALSE, mode, 0, (PerlIO *)NULL, sv, 1); ++ status = do_openn(handle, mode == O_RDONLY ? "<:Apache2" : ">:Apache2", ++ 9, FALSE, mode, 0, (PerlIO *)NULL, &sv, 1); + if (status == 0) { + Perl_croak(aTHX_ "Failed to open STD%s: %" SVf, + mode == O_RDONLY ? "IN" : "OUT", get_sv("!", TRUE)); diff --git a/perl/perl-IO-Tty/README b/perl/perl-IO-Tty/README deleted file mode 100644 index 36d395c6c8..0000000000 --- a/perl/perl-IO-Tty/README +++ /dev/null @@ -1,10 +0,0 @@ -perl-IO-Tty (Pseudo TTY object class) - -IO::Tty - Perl extension that provides an interface to allow the -creation of a pseudo tty. - -IO::Tty is used internally by IO::Pty to create a pseudo-tty. Do not -use it directly except to import constants, use IO::Pty. - -IO::Pty inherits from IO::Handle and so provides all the methods -defined by the IO::Handle package. diff --git a/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild b/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild deleted file mode 100644 index e76776bcfb..0000000000 --- a/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild +++ /dev/null @@ -1,78 +0,0 @@ -#!/bin/bash - -# Slackware build script for perl-IO-Tty - -# Written by ruario - -# Original version of this script had no license. B. Watson's -# modified version is licensed under the WTFPL. See -# http://www.wtfpl.net/txt/copying/ for details. - -# 20230224 bkw: -# - new maintainer. -# - update for v1.17. -# - add license. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=perl-IO-Tty -VERSION=${VERSION:-1.17} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION -chown -R root:root . -find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ - \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ - -perl Makefile.PL \ - PREFIX=/usr \ - INSTALLDIRS=vendor \ - INSTALLVENDORMAN3DIR=/usr/man/man3 -make -strip blib/arch/auto/IO/Tty/Tty.so -make test -make install DESTDIR=$PKG -gzip $PKG/usr/man/man*/* - -find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true - -find $PKG -depth -type d -empty -delete || true - -PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION -mkdir -p $PKGDOC -cp -a ChangeLog README* $PKGDOC -cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-IO-Tty/perl-IO-Tty.info b/perl/perl-IO-Tty/perl-IO-Tty.info deleted file mode 100644 index 6968d97353..0000000000 --- a/perl/perl-IO-Tty/perl-IO-Tty.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-IO-Tty" -VERSION="1.17" -HOMEPAGE="https://metacpan.org/pod/IO::Tty" -DOWNLOAD="https://cpan.metacpan.org/authors/id/T/TO/TODDR/IO-Tty-1.17.tar.gz" -MD5SUM="e4cd744de6a686ca78b20002fc66062a" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="B. Watson" -EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-IO-Tty/slack-desc b/perl/perl-IO-Tty/slack-desc deleted file mode 100644 index 191c529789..0000000000 --- a/perl/perl-IO-Tty/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -perl-IO-Tty: perl-IO-Tty (Pseudo TTY object class) -perl-IO-Tty: -perl-IO-Tty: Perl extension that provides an interface to allow the creation of a -perl-IO-Tty: pseudo tty. -perl-IO-Tty: -perl-IO-Tty: -perl-IO-Tty: -perl-IO-Tty: -perl-IO-Tty: -perl-IO-Tty: -perl-IO-Tty: |