diff options
Diffstat (limited to 'perl')
505 files changed, 7291 insertions, 1343 deletions
diff --git a/perl/MoarVM/MoarVM.SlackBuild b/perl/MoarVM/MoarVM.SlackBuild index 0e3e247052..068b85eeb9 100644 --- a/perl/MoarVM/MoarVM.SlackBuild +++ b/perl/MoarVM/MoarVM.SlackBuild @@ -20,7 +20,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=MoarVM -VERSION=${VERSION:-2022.07} +VERSION=${VERSION:-2024.07} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -122,5 +122,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +chmod 755 $PKG/usr/lib$LIBDIRSUFFIX/libmoar.so + cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/MoarVM/MoarVM.info b/perl/MoarVM/MoarVM.info index dc00713ebf..6812529985 100644 --- a/perl/MoarVM/MoarVM.info +++ b/perl/MoarVM/MoarVM.info @@ -1,10 +1,10 @@ PRGNAM="MoarVM" -VERSION="2022.07" +VERSION="2024.07" HOMEPAGE="https://moarvm.org/" -DOWNLOAD="https://moarvm.org/releases/MoarVM-2022.07.tar.gz" -MD5SUM="d15ec41f5b37e4e9be251183f8d1b3ba" +DOWNLOAD="https://github.com/MoarVM/MoarVM/releases/download/2024.07/MoarVM-2024.07.tar.gz" +MD5SUM="702a2a4309e09ee94632f547bcddeb49" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libtommath" -MAINTAINER="Michel Begue" +MAINTAINER="Michel A. Begue" EMAIL="mab974@misouk.com" diff --git a/perl/libwww-perl/libwww-perl.SlackBuild b/perl/libwww-perl/libwww-perl.SlackBuild index 00fc37ead1..b4c70adb56 100644 --- a/perl/libwww-perl/libwww-perl.SlackBuild +++ b/perl/libwww-perl/libwww-perl.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libwww-perl -VERSION=${VERSION:-6.13} +VERSION=${VERSION:-6.77} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -50,7 +47,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCFILES="AUTHORS Changes README README.SSL" +DOCFILES="Changes README.SSL" set -e diff --git a/perl/libwww-perl/libwww-perl.info b/perl/libwww-perl/libwww-perl.info index f5f7cafb48..124e5ba8fe 100644 --- a/perl/libwww-perl/libwww-perl.info +++ b/perl/libwww-perl/libwww-perl.info @@ -1,10 +1,10 @@ PRGNAM="libwww-perl" -VERSION="6.13" +VERSION="6.77" HOMEPAGE="https://metacpan.org/pod/LWP" -DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/libwww-perl-6.13.tar.gz" -MD5SUM="85b36bcd2fd2450718ee14f894f0d3d1" +DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/libwww-perl-6.77.tar.gz" +MD5SUM="e70e2f41a97b8d97608569d10b75b931" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-file-listing perl-http-cookies perl-http-daemon perl-http-negotiate perl-net-http perl-www-robotrules" +REQUIRES="perl-file-listing perl-http-cookies perl-http-daemon perl-http-negotiate perl-net-http perl-www-robotrules perl-encode-locale perl-HTTP-CookieJar perl-Test-RequiresInternet perl-html-parser" MAINTAINER="LukenShiro" EMAIL="lukenshiro@ngi.it" diff --git a/perl/mod_perl/mod_perl.SlackBuild b/perl/mod_perl/mod_perl.SlackBuild index 041e3a3cc8..d197c0b49d 100644 --- a/perl/mod_perl/mod_perl.SlackBuild +++ b/perl/mod_perl/mod_perl.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for mod_perl # Copyright 2007-2012 Heinz Wiesinger, Amsterdam, The Netherlands -# Copyright 2016-2022 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2016-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mod_perl -VERSION=${VERSION:-2.0.12} +VERSION=${VERSION:-2.0.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +39,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 diff --git a/perl/mod_perl/mod_perl.info b/perl/mod_perl/mod_perl.info index ce30e6fde8..6a2e0c8406 100644 --- a/perl/mod_perl/mod_perl.info +++ b/perl/mod_perl/mod_perl.info @@ -1,8 +1,8 @@ PRGNAM="mod_perl" -VERSION="2.0.12" +VERSION="2.0.13" HOMEPAGE="https://perl.apache.org/" -DOWNLOAD="http://apache.org/dist/perl/mod_perl-2.0.12.tar.gz" -MD5SUM="1b4af8c30051d0767c818099c2a2a82e" +DOWNLOAD="http://apache.org/dist/perl/mod_perl-2.0.13.tar.gz" +MD5SUM="b107c587ae16c7a9a59c344c01359253" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/nqp/nqp.SlackBuild b/perl/nqp/nqp.SlackBuild index 8af0158876..cd446929e2 100644 --- a/perl/nqp/nqp.SlackBuild +++ b/perl/nqp/nqp.SlackBuild @@ -20,7 +20,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=nqp -VERSION=${VERSION:-2022.07} +VERSION=${VERSION:-2024.07} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -87,6 +87,9 @@ if [ "${MAKETEST:-no}" = "yes" ]; then fi make install DESTDIR=$PKG +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ CREDITS LICENSE \ diff --git a/perl/nqp/nqp.info b/perl/nqp/nqp.info index 0e10d380b1..c2de1481a9 100644 --- a/perl/nqp/nqp.info +++ b/perl/nqp/nqp.info @@ -1,10 +1,10 @@ PRGNAM="nqp" -VERSION="2022.07" +VERSION="2024.07" HOMEPAGE="https://rakudo.org" -DOWNLOAD="https://github.com/Raku/nqp/releases/download/2022.07/nqp-2022.07.tar.gz" -MD5SUM="98ccc011f2e409a7eee3494696e691af" +DOWNLOAD="https://github.com/Raku/nqp/releases/download/2024.07/nqp-2024.07.tar.gz" +MD5SUM="e55e29b100e54efc7b14f8eee475895a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="MoarVM" -MAINTAINER="Michel Begue" +MAINTAINER="Michel A. Begue" EMAIL="mab974@misouk.com" diff --git a/perl/perl-Algorithm-Combinatorics/perl-Algorithm-Combinatorics.info b/perl/perl-Algorithm-Combinatorics/perl-Algorithm-Combinatorics.info index e71c47a19d..3244a7760a 100644 --- a/perl/perl-Algorithm-Combinatorics/perl-Algorithm-Combinatorics.info +++ b/perl/perl-Algorithm-Combinatorics/perl-Algorithm-Combinatorics.info @@ -6,5 +6,5 @@ MD5SUM="bada976399f9edfe364d6fcf9e0bcde2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Dave Woodfall" +MAINTAINER="D Woodfall" EMAIL="dave@slackbuilds.org" diff --git a/perl/perl-Algorithm-Loops/perl-Algorithm-Loops.info b/perl/perl-Algorithm-Loops/perl-Algorithm-Loops.info index a8bb22a228..31ae897596 100644 --- a/perl/perl-Algorithm-Loops/perl-Algorithm-Loops.info +++ b/perl/perl-Algorithm-Loops/perl-Algorithm-Loops.info @@ -6,5 +6,5 @@ MD5SUM="ef1150b4967e9bd17fce77efed7b67f9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Dave Woodfall" +MAINTAINER="D Woodfall" EMAIL="dave@slackbuilds.org" diff --git a/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild b/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild index d8f41c3dcb..ba4accc1cc 100644 --- a/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild +++ b/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Archive-Zip -VERSION=${VERSION:-1.59} +VERSION=${VERSION:-1.68} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -96,7 +96,7 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f find $PKG -depth -type d -empty -delete mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Changes $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes README.md examples $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/perl/perl-Archive-Zip/perl-Archive-Zip.info b/perl/perl-Archive-Zip/perl-Archive-Zip.info index b80dc1a017..e071a27879 100644 --- a/perl/perl-Archive-Zip/perl-Archive-Zip.info +++ b/perl/perl-Archive-Zip/perl-Archive-Zip.info @@ -1,8 +1,8 @@ PRGNAM="perl-Archive-Zip" -VERSION="1.59" +VERSION="1.68" HOMEPAGE="https://metacpan.org/pod/Archive::Zip" -DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PH/PHRED/Archive-Zip-1.59.tar.gz" -MD5SUM="b649a593391573f9382cef8c08d1d5ba" +DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PH/PHRED/Archive-Zip-1.68.tar.gz" +MD5SUM="a33993309322164867c99e04a4000ee3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-B-Keywords/README b/perl/perl-B-Keywords/README new file mode 100644 index 0000000000..660b3b293d --- /dev/null +++ b/perl/perl-B-Keywords/README @@ -0,0 +1,4 @@ +B::Keywords supplies several arrays of exportable keywords: @Scalars, +@Arrays, @Hashes, @Filehandles, @Symbols, @Functions, @Barewords, +@BarewordsExtra, @TieIOMethods, @UNIVERSALMethods and +@ExporterSymbols. diff --git a/perl/perl-B-Keywords/perl-B-Keywords.SlackBuild b/perl/perl-B-Keywords/perl-B-Keywords.SlackBuild new file mode 100644 index 0000000000..a8bf801ba3 --- /dev/null +++ b/perl/perl-B-Keywords/perl-B-Keywords.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/bash + +# Slackware build script for perl-B-Keyword + +# Copyright 2024 Charadon US +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-B-Keywords +VERSION=${VERSION:-1.27} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" + +ARCH="noarch" + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Build method #1 (preferred) +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system. +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README LICENSE Changes $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-B-Keywords/perl-B-Keywords.info b/perl/perl-B-Keywords/perl-B-Keywords.info new file mode 100644 index 0000000000..6951202253 --- /dev/null +++ b/perl/perl-B-Keywords/perl-B-Keywords.info @@ -0,0 +1,10 @@ +PRGNAM="perl-B-Keywords" +VERSION="1.27" +HOMEPAGE="https://github.com/rurban/b-keywords" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/B-Keywords-1.27.tar.gz" +MD5SUM="9544eb97dc72083f3edec77db0d4ae5c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Charadon" +EMAIL="dev@iotib.net" diff --git a/perl/perl-B-Keywords/slack-desc b/perl/perl-B-Keywords/slack-desc new file mode 100644 index 0000000000..f7febe04d6 --- /dev/null +++ b/perl/perl-B-Keywords/slack-desc @@ -0,0 +1,19 @@ +# 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-B-Keywords: perl-B-Keywords (Lists of reserved barewords and symbol names) +perl-B-Keywords: +perl-B-Keywords: B::Keywords supplies several arrays of exportable keywords: @Scalars, +perl-B-Keywords: @Arrays, @Hashes, @Filehandles, @Symbols, @Functions, @Barewords, +perl-B-Keywords: @BarewordsExtra, @TieIOMethods, @UNIVERSALMethods and +perl-B-Keywords: @ExporterSymbols. +perl-B-Keywords: +perl-B-Keywords: +perl-B-Keywords: +perl-B-Keywords: +perl-B-Keywords: diff --git a/perl/perl-B-Lint/B-Lint-1.20-Skip-a-bare-sub-test.patch b/perl/perl-B-Lint/B-Lint-1.20-Skip-a-bare-sub-test.patch new file mode 100644 index 0000000000..fdb0a62dfc --- /dev/null +++ b/perl/perl-B-Lint/B-Lint-1.20-Skip-a-bare-sub-test.patch @@ -0,0 +1,49 @@ +# Source: https://rt.cpan.org/Public/Ticket/Attachment/1507017/803268/B-Lint-1.20-Skip-a-bare-sub-test.patch +diff --git a/lib/B/Lint.pm b/lib/B/Lint.pm +index 1f5098f..7291b18 100644 +--- a/lib/B/Lint.pm ++++ b/lib/B/Lint.pm +@@ -85,6 +85,10 @@ trap are: + + Neither of these will do what a naive user would expect. + ++Notice: Perl 5.22.0 does not report C<foo> in C<$b{foo}> as BARE token ++anymore. Therefore L<B::Lint> test is not reliable here. See ++L<CPAN RT#101115|https://rt.cpan.org/Public/Bug/Display.html?id=101115>. ++ + =item B<dollar-underscore> + + This option warns whenever C<$_> is used either explicitly anywhere or +diff --git a/t/lint.t b/t/lint.t +index 7317b1d..93255d9 100644 +--- a/t/lint.t ++++ b/t/lint.t +@@ -14,7 +14,7 @@ BEGIN { + use strict; + use warnings; + +-plan tests => 29; ++plan tests => 30; + + # Runs a separate perl interpreter with the appropriate lint options + # turned on +@@ -116,10 +116,17 @@ RESULT + + runlint 'bare-subs', 'sub bare(){1};$x=bare', ''; + +-runlint 'bare-subs', 'sub bare(){1}; $x=[bare=>0]; $x=$y{bare}', <<'RESULT'; ++runlint 'bare-subs', 'sub bare(){1}; $x=[bare=>0]', <<'RESULT'; + Bare sub name 'bare' interpreted as string at -e line 1 ++RESULT ++ ++SKIP: { ++ skip 'Perl 5.22 stopped marking $hash{bare} as BARE word, CPAN RT#101115', ++ 1, if $] >= 5.022; ++ runlint 'bare-subs', 'sub bare(){1}; $x=$y{bare}', <<'RESULT'; + Bare sub name 'bare' interpreted as string at -e line 1 + RESULT ++} + + { + +-- diff --git a/perl/perl-B-Lint/README b/perl/perl-B-Lint/README new file mode 100644 index 0000000000..bf559fb6d2 --- /dev/null +++ b/perl/perl-B-Lint/README @@ -0,0 +1,3 @@ +The B::Lint module is equivalent to an extended version of the -w +option of perl. It is named after the program 'lint' which carries +out a similar process for C Programs. diff --git a/perl/perl-B-Lint/perl-B-Lint.SlackBuild b/perl/perl-B-Lint/perl-B-Lint.SlackBuild new file mode 100644 index 0000000000..7cfce209db --- /dev/null +++ b/perl/perl-B-Lint/perl-B-Lint.SlackBuild @@ -0,0 +1,96 @@ +#!/bin/bash + +# Slackware build script for perl-B-Lint + +# Copyright 2024 Charadon US +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-B-Lint +VERSION=${VERSION:-1.20} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" + +ARCH=noarch + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Apply patch to skip test +# https://rt.cpan.org/Public/Bug/Display.html?id=101115 +patch -p1 < "$CWD/B-Lint-1.20-Skip-a-bare-sub-test.patch" + +# Build method #1 (preferred) +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system. +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-B-Lint/perl-B-Lint.info b/perl/perl-B-Lint/perl-B-Lint.info new file mode 100644 index 0000000000..2db2958f00 --- /dev/null +++ b/perl/perl-B-Lint/perl-B-Lint.info @@ -0,0 +1,10 @@ +PRGNAM="perl-B-Lint" +VERSION="1.20" +HOMEPAGE="https://metacpan.org/pod/B::Lint" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/B-Lint-1.20.tar.gz" +MD5SUM="fa50cb6d61b46f7ac4bdbebda455d6a0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Module-Pluggable" +MAINTAINER="Charadon" +EMAIL="dev@iotib.net" diff --git a/perl/perl-B-Lint/slack-desc b/perl/perl-B-Lint/slack-desc new file mode 100644 index 0000000000..8839b20980 --- /dev/null +++ b/perl/perl-B-Lint/slack-desc @@ -0,0 +1,19 @@ +# 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-B-Lint: perl-B-Lint (Perl lint) +perl-B-Lint: +perl-B-Lint: The B::Lint module is equivalent to an extended version of the -w +perl-B-Lint: option of perl. It is named after the program 'lint' which carries +perl-B-Lint: out a similar process for C Programs. +perl-B-Lint: +perl-B-Lint: +perl-B-Lint: +perl-B-Lint: +perl-B-Lint: +perl-B-Lint: diff --git a/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild b/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild index 24dc4771aa..0530b0fb8f 100644 --- a/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild +++ b/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild @@ -80,7 +80,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ diff --git a/perl/perl-CGI-Application/perl-CGI-Application.info b/perl/perl-CGI-Application/perl-CGI-Application.info index bcc1642e0d..b5ca93967e 100644 --- a/perl/perl-CGI-Application/perl-CGI-Application.info +++ b/perl/perl-CGI-Application/perl-CGI-Application.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MARKSTOS/CGI-Application-4.5 MD5SUM="356595b6f12373f57243a7e605b9cd43" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-CGI perl-Class-ISA perl-HTML-Template" +REQUIRES="perl-Class-ISA perl-HTML-Template" MAINTAINER="Nikos Giotis" EMAIL="nikos.giotis@gmail.com" diff --git a/perl/perl-CGI-Fast/README b/perl/perl-CGI-Fast/README new file mode 100644 index 0000000000..0360a9489e --- /dev/null +++ b/perl/perl-CGI-Fast/README @@ -0,0 +1,9 @@ +CGI::Fast is a subclass of the CGI object created by CGI.pm. It is +specialized to work with the FCGI module, which greatly speeds up CGI +scripts by turning them into persistently running server processes. +Scripts that perform time-consuming initialization processes, such as +loading large modules or opening persistent database connections, will +see large performance improvements. + +Note that as CGI::Fast is based on CGI.pm it is no longer advised as a +way to write Perl web apps. diff --git a/perl/perl-CGI-Fast/perl-CGI-Fast.SlackBuild b/perl/perl-CGI-Fast/perl-CGI-Fast.SlackBuild new file mode 100644 index 0000000000..a7782500a3 --- /dev/null +++ b/perl/perl-CGI-Fast/perl-CGI-Fast.SlackBuild @@ -0,0 +1,118 @@ +#!/bin/bash + +# Slackware build script for perl-CGI-Fast + +# Copyright 2023, Lockywolf +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-CGI-Fast +VERSION=${VERSION:-2.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 + +ARCH=noarch + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes README README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-CGI-Fast/perl-CGI-Fast.info b/perl/perl-CGI-Fast/perl-CGI-Fast.info new file mode 100644 index 0000000000..48a9d3e7b9 --- /dev/null +++ b/perl/perl-CGI-Fast/perl-CGI-Fast.info @@ -0,0 +1,10 @@ +PRGNAM="perl-CGI-Fast" +VERSION="2.17" +HOMEPAGE="https://metacpan.org/pod/CGI::Fast" +DOWNLOAD="https://cpan.metacpan.org/authors/id/L/LE/LEEJO/CGI-Fast-2.17.tar.gz" +MD5SUM="ad1287d61c2691ecde633ce960e58c10" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-FCGI perl-CGI" +MAINTAINER="Lockywolf" +EMAIL="for_sbo.perl-CGI-Fast_2023-12-06@lockywolf.net" diff --git a/perl/perl-CGI-Fast/slack-desc b/perl/perl-CGI-Fast/slack-desc new file mode 100644 index 0000000000..fe502f3d98 --- /dev/null +++ b/perl/perl-CGI-Fast/slack-desc @@ -0,0 +1,19 @@ +# 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-CGI-Fast: perl-CGI-Fast (CGI Interface for Fast CGI) +perl-CGI-Fast: +perl-CGI-Fast: CGI::Fast is a subclass of the CGI object created by CGI.pm. It is +perl-CGI-Fast: specialized to work with the FCGI module, which greatly speeds up CGI +perl-CGI-Fast: scripts by turning them into persistently running server processes. +perl-CGI-Fast: Scripts that perform time-consuming initialization processes, such as +perl-CGI-Fast: loading large modules or opening persistent database connections, +perl-CGI-Fast: will see large performance improvements. Note that as CGI::Fast is +perl-CGI-Fast: based on CGI.pm it is no longer advised as a way to write Perl web +perl-CGI-Fast: apps. +perl-CGI-Fast: diff --git a/perl/perl-CPAN-Meta-Check/perl-CPAN-Meta-Check.SlackBuild b/perl/perl-CPAN-Meta-Check/perl-CPAN-Meta-Check.SlackBuild index ff53c7eb5f..76efd86478 100644 --- a/perl/perl-CPAN-Meta-Check/perl-CPAN-Meta-Check.SlackBuild +++ b/perl/perl-CPAN-Meta-Check/perl-CPAN-Meta-Check.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-CPAN-Meta-Check -# Copyright 2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2017-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-CPAN-Meta-Check -VERSION=${VERSION:-0.014} +VERSION=${VERSION:-0.018} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -52,20 +49,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG diff --git a/perl/perl-CPAN-Meta-Check/perl-CPAN-Meta-Check.info b/perl/perl-CPAN-Meta-Check/perl-CPAN-Meta-Check.info index fc65aae298..4070951d10 100644 --- a/perl/perl-CPAN-Meta-Check/perl-CPAN-Meta-Check.info +++ b/perl/perl-CPAN-Meta-Check/perl-CPAN-Meta-Check.info @@ -1,8 +1,8 @@ PRGNAM="perl-CPAN-Meta-Check" -VERSION="0.014" +VERSION="0.018" HOMEPAGE="https://metacpan.org/release/CPAN-Meta-Check" -DOWNLOAD="https://cpan.metacpan.org/authors/id/L/LE/LEONT/CPAN-Meta-Check-0.014.tar.gz" -MD5SUM="ccd4448a7b08e1e3ef6f475030b282c9" +DOWNLOAD="https://cpan.metacpan.org/authors/id/L/LE/LEONT/CPAN-Meta-Check-0.018.tar.gz" +MD5SUM="d1c2190e8bc1c176b9ee9cba3ac403ad" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Test-Deep" diff --git a/perl/perl-CPAN-Requirements-Dynamic/README b/perl/perl-CPAN-Requirements-Dynamic/README new file mode 100644 index 0000000000..4e35ef9fea --- /dev/null +++ b/perl/perl-CPAN-Requirements-Dynamic/README @@ -0,0 +1,2 @@ +This module implements a format for describing dynamic prerequisites +of a distribution. diff --git a/perl/perl-CPAN-Requirements-Dynamic/perl-CPAN-Requirements-Dynamic.SlackBuild b/perl/perl-CPAN-Requirements-Dynamic/perl-CPAN-Requirements-Dynamic.SlackBuild new file mode 100644 index 0000000000..888c0e4be1 --- /dev/null +++ b/perl/perl-CPAN-Requirements-Dynamic/perl-CPAN-Requirements-Dynamic.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/bash + +# Slackware build script for perl-CPAN-Requirements-Dynamic + +# Copyright 2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-CPAN-Requirements-Dynamic +VERSION=${VERSION:-0.001} +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README Changes LICENSE MANIFEST $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-CPAN-Requirements-Dynamic/perl-CPAN-Requirements-Dynamic.info b/perl/perl-CPAN-Requirements-Dynamic/perl-CPAN-Requirements-Dynamic.info new file mode 100644 index 0000000000..98b2287eee --- /dev/null +++ b/perl/perl-CPAN-Requirements-Dynamic/perl-CPAN-Requirements-Dynamic.info @@ -0,0 +1,10 @@ +PRGNAM="perl-CPAN-Requirements-Dynamic" +VERSION="0.001" +HOMEPAGE="https://metacpan.org/pod/CPAN::Requirements::Dynamic" +DOWNLOAD="https://cpan.metacpan.org/authors/id/L/LE/LEONT/CPAN-Requirements-Dynamic-0.001.tar.gz" +MD5SUM="be6da67ff17d2b0887f03e0d9cbf873c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-ExtUtils-Config perl-Meta-Requirements-Range" +MAINTAINER="Willy Sudiarto Raharjo" +EMAIL="willysr@slackbuilds.org" diff --git a/perl/perl-CPAN-Requirements-Dynamic/slack-desc b/perl/perl-CPAN-Requirements-Dynamic/slack-desc new file mode 100644 index 0000000000..9f7bfb09ca --- /dev/null +++ b/perl/perl-CPAN-Requirements-Dynamic/slack-desc @@ -0,0 +1,19 @@ +# 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-CPAN-Requirements-Dynamic: perl-CPAN-Requirements-Dynamic (Dynamic prerequisites in meta files) +perl-CPAN-Requirements-Dynamic: +perl-CPAN-Requirements-Dynamic: This module implements a format for describing dynamic prerequisites +perl-CPAN-Requirements-Dynamic: of a distribution. +perl-CPAN-Requirements-Dynamic: +perl-CPAN-Requirements-Dynamic: +perl-CPAN-Requirements-Dynamic: Project URL: https://metacpan.org/pod/CPAN::Requirements::Dynamic +perl-CPAN-Requirements-Dynamic: +perl-CPAN-Requirements-Dynamic: +perl-CPAN-Requirements-Dynamic: +perl-CPAN-Requirements-Dynamic: diff --git a/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.info b/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.info index 7ea4320a3f..57c38f4f98 100644 --- a/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.info +++ b/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/V/VO/VOEGELAS/CPANPLUS-Dist-Slack MD5SUM="9b9f82c2f98cf7193f22a692b71cd737" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="fakeroot perl-CPANPLUS perl-CPANPLUS-Dist-Build perl-Module-Pluggable" +REQUIRES="fakeroot perl-CPANPLUS-Dist-Build" MAINTAINER="Sergey Poznyakoff" EMAIL="gray@gnu.org" diff --git a/perl/perl-CPANPLUS/perl-CPANPLUS.info b/perl/perl-CPANPLUS/perl-CPANPLUS.info index bc68bc01be..08c5a9913c 100644 --- a/perl/perl-CPANPLUS/perl-CPANPLUS.info +++ b/perl/perl-CPANPLUS/perl-CPANPLUS.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BI/BINGOS/CPANPLUS-0.9910.tar.g MD5SUM="2f80c70ca7464083c22351a401d55f69" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Archive-Extract perl-DBD-SQLite perl-DBIx-Simple perl-Log-Message perl-Module-Pluggable perl-Object-Accessor perl-Package-Constants perl-Term-ReadLine-Gnu perl-Term-UI" +REQUIRES="perl-Archive-Extract perl-DBD-SQLite perl-DBIx-Simple perl-Module-Pluggable perl-Object-Accessor perl-Package-Constants perl-Term-ReadLine-Gnu perl-Term-UI" MAINTAINER="Sergey Poznyakoff" EMAIL="gray@gnu.org" diff --git a/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild b/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild index 28b6d14db6..8bf105368c 100644 --- a/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild +++ b/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild @@ -80,7 +80,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Cairo-GObject/perl-Cairo-GObject.info b/perl/perl-Cairo-GObject/perl-Cairo-GObject.info index e57820373f..00a4321d0a 100644 --- a/perl/perl-Cairo-GObject/perl-Cairo-GObject.info +++ b/perl/perl-Cairo-GObject/perl-Cairo-GObject.info @@ -6,5 +6,5 @@ MD5SUM="a58c749a7d1bc6920499be0ac2dc7ee8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-glib perl-cairo" -MAINTAINER="Michel A. BEGUE" -EMAIL="mab974@gmail.com" +MAINTAINER="Michel A. Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-Canary-Stability/perl-Canary-Stability.SlackBuild b/perl/perl-Canary-Stability/perl-Canary-Stability.SlackBuild index 03067a3182..8bfca549b7 100644 --- a/perl/perl-Canary-Stability/perl-Canary-Stability.SlackBuild +++ b/perl/perl-Canary-Stability/perl-Canary-Stability.SlackBuild @@ -78,7 +78,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Class-Load-XS/perl-Class-Load-XS.info b/perl/perl-Class-Load-XS/perl-Class-Load-XS.info index 6684852da1..752ba2ce50 100644 --- a/perl/perl-Class-Load-XS/perl-Class-Load-XS.info +++ b/perl/perl-Class-Load-XS/perl-Class-Load-XS.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Class-Load-XS-0.10.tar MD5SUM="2c15488b5b28afadbb5315e44a721e05" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Class-Load perl-Test-Fatal perl-Module-Implementation perl-Data-OptList" +REQUIRES="perl-Class-Load" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.SlackBuild b/perl/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.SlackBuild index 80e917f5ee..8167dfadad 100644 --- a/perl/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.SlackBuild +++ b/perl/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-Class-Method-Modifiers -# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2.15-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Class-Method-Modifiers -VERSION=${VERSION:-2.13} +VERSION=${VERSION:-2.15} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 diff --git a/perl/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.info b/perl/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.info index 232ac7fb0a..569f7211a3 100644 --- a/perl/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.info +++ b/perl/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.info @@ -1,8 +1,8 @@ PRGNAM="perl-Class-Method-Modifiers" -VERSION="2.13" +VERSION="2.15" HOMEPAGE="https://metacpan.org/pod/Class::Method::Modifiers" -DOWNLOAD="http://cpan.metacpan.org/authors/id/E/ET/ETHER/Class-Method-Modifiers-2.13.tar.gz" -MD5SUM="b1398e3682aa2e075b913b9f9000b596" +DOWNLOAD="http://cpan.metacpan.org/authors/id/E/ET/ETHER/Class-Method-Modifiers-2.15.tar.gz" +MD5SUM="1aea89d0f23c3537580cae549b5c5864" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Module-Build-Tiny perl-Test-Fatal perl-Test-Requires" diff --git a/perl/perl-Clone/perl-Clone.SlackBuild b/perl/perl-Clone/perl-Clone.SlackBuild index c46267cf9e..e2e2fae396 100644 --- a/perl/perl-Clone/perl-Clone.SlackBuild +++ b/perl/perl-Clone/perl-Clone.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Clone -VERSION=${VERSION:-0.45} +VERSION=${VERSION:-0.46} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-Clone/perl-Clone.info b/perl/perl-Clone/perl-Clone.info index a006730108..16c1b2899d 100644 --- a/perl/perl-Clone/perl-Clone.info +++ b/perl/perl-Clone/perl-Clone.info @@ -1,8 +1,8 @@ PRGNAM="perl-Clone" -VERSION="0.45" +VERSION="0.46" HOMEPAGE="https://metacpan.org/pod/Clone" -DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/Clone-0.45.tar.gz" -MD5SUM="b101333499b638658f89e29458cd83c0" +DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GA/GARU/Clone-0.46.tar.gz" +MD5SUM="cafa8984a2c2e005e54b27dd1e3f0afe" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-B-COW" diff --git a/perl/perl-Config-Grammar/README b/perl/perl-Config-Grammar/README new file mode 100644 index 0000000000..a43cfcce8c --- /dev/null +++ b/perl/perl-Config-Grammar/README @@ -0,0 +1,5 @@ +Config::Grammar - Config::Grammar is a module to parse configuration +files. + +The optional second parameter to the parse() method can be used to +specify the file encoding to use. diff --git a/perl/perl-Config-Grammar/perl-Config-Grammar.SlackBuild b/perl/perl-Config-Grammar/perl-Config-Grammar.SlackBuild new file mode 100644 index 0000000000..e70f26b565 --- /dev/null +++ b/perl/perl-Config-Grammar/perl-Config-Grammar.SlackBuild @@ -0,0 +1,112 @@ +#!/bin/bash + +# Slackware build script for perl-Config-Grammar + +# Copyright 2023, Lockywolf +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Config-Grammar +VERSION=${VERSION:-1.13} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRC_PRGNAM=Config-Grammar + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +ARCH=noarch + +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +mv $PKG/usr/share/man $PKG/usr/ + +( cd $PKG/usr/man + find . -type f -exec gzip -9 {} \; + for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +) + +( cd $PKG + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE Changes MANIFEST README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Config-Grammar/perl-Config-Grammar.info b/perl/perl-Config-Grammar/perl-Config-Grammar.info new file mode 100644 index 0000000000..96760c2ecf --- /dev/null +++ b/perl/perl-Config-Grammar/perl-Config-Grammar.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Config-Grammar" +VERSION="1.13" +HOMEPAGE="https://metacpan.org/pod/Config::Grammar" +DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DS/DSCHWEI/Config-Grammar-1.13.tar.gz" +MD5SUM="41974bcf50ca9f301b4b5c4cb110bab7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Lockywolf" +EMAIL="for_sbo.perl-Config-Grammar_2023-11-24@lockywolf.net" diff --git a/perl/perl-Config-Grammar/slack-desc b/perl/perl-Config-Grammar/slack-desc new file mode 100644 index 0000000000..4faa969d9b --- /dev/null +++ b/perl/perl-Config-Grammar/slack-desc @@ -0,0 +1,19 @@ +# 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-Config-Grammar: perl-Config-Grammar ( module to parse configuration files) +perl-Config-Grammar: +perl-Config-Grammar: +perl-Config-Grammar: Config::Grammar is a module to parse configuration files. +perl-Config-Grammar: +perl-Config-Grammar: +perl-Config-Grammar: +perl-Config-Grammar: +perl-Config-Grammar: +perl-Config-Grammar: +perl-Config-Grammar: diff --git a/perl/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild b/perl/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild index 729599d2c0..c9b125af50 100644 --- a/perl/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild +++ b/perl/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild @@ -80,7 +80,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Config-Tiny/README b/perl/perl-Config-Tiny/README new file mode 100644 index 0000000000..83dbb2b9c4 --- /dev/null +++ b/perl/perl-Config-Tiny/README @@ -0,0 +1,6 @@ +Config::Tiny - Read/Write .ini style files with as little code as +possible + +Config::Tiny is a Perl class to read and write .ini style configuration +files with as little code as possible, reducing load time and memory +overhead. diff --git a/perl/perl-Config-Tiny/perl-Config-Tiny.SlackBuild b/perl/perl-Config-Tiny/perl-Config-Tiny.SlackBuild new file mode 100644 index 0000000000..8c9e97a55a --- /dev/null +++ b/perl/perl-Config-Tiny/perl-Config-Tiny.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/bash + +# Slackware build script for Config::Tiny + +# Copyright 2024 pyllyukko +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Config-Tiny +VERSION=${VERSION:-2.30} +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tgz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE Changes README \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Config-Tiny/perl-Config-Tiny.info b/perl/perl-Config-Tiny/perl-Config-Tiny.info new file mode 100644 index 0000000000..ffdd05fedb --- /dev/null +++ b/perl/perl-Config-Tiny/perl-Config-Tiny.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Config-Tiny" +VERSION="2.30" +HOMEPAGE="https://metacpan.org/pod/Config::Tiny" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE/Config-Tiny-2.30.tgz" +MD5SUM="b497217a7b7f41007ce215c3d47ad7a1" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/perl/perl-Config-Tiny/slack-desc b/perl/perl-Config-Tiny/slack-desc new file mode 100644 index 0000000000..a6941b7779 --- /dev/null +++ b/perl/perl-Config-Tiny/slack-desc @@ -0,0 +1,19 @@ +# 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-Config-Tiny: perl-Config-Tiny (ini file parser) +perl-Config-Tiny: +perl-Config-Tiny: Read/Write .ini style files with as little code as possible +perl-Config-Tiny: +perl-Config-Tiny: Config::Tiny is a Perl class to read and write .ini style +perl-Config-Tiny: configuration files with as little code as possible, reducing load +perl-Config-Tiny: time and memory overhead. +perl-Config-Tiny: +perl-Config-Tiny: +perl-Config-Tiny: +perl-Config-Tiny: diff --git a/perl/perl-Convert-BinHex/perl-Convert-BinHex.SlackBuild b/perl/perl-Convert-BinHex/perl-Convert-BinHex.SlackBuild index 264782a22f..8625f1aee1 100644 --- a/perl/perl-Convert-BinHex/perl-Convert-BinHex.SlackBuild +++ b/perl/perl-Convert-BinHex/perl-Convert-BinHex.SlackBuild @@ -27,11 +27,11 @@ # # Modified by the SlackBuilds.org project. -SRCNAM="Convert-BinHex" cd $(dirname $0) ; CWD=$(pwd) PRGNAM="perl-Convert-BinHex" -VERSION=${VERSION:-1.124} +SRCNAM="Convert-BinHex" +VERSION=${VERSION:-1.125} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -58,7 +58,7 @@ OUTPUT=${OUTPUT:-/tmp} set -e -DOCS="COPYING README" +DOCS="COPYING README Changes LICENSE README-TOO" if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" @@ -79,7 +79,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Convert-BinHex/perl-Convert-BinHex.info b/perl/perl-Convert-BinHex/perl-Convert-BinHex.info index bf4bacebab..4622240743 100644 --- a/perl/perl-Convert-BinHex/perl-Convert-BinHex.info +++ b/perl/perl-Convert-BinHex/perl-Convert-BinHex.info @@ -1,8 +1,8 @@ PRGNAM="perl-Convert-BinHex" -VERSION="1.124" +VERSION="1.125" HOMEPAGE="https://metacpan.org/release/Convert-BinHex" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/ST/STEPHEN/Convert-BinHex-1.124.tar.gz" -MD5SUM="81bbc7c7f3d349767137658a200a7f11" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/ST/STEPHEN/Convert-BinHex-1.125.tar.gz" +MD5SUM="2f485e1283387ead5b92243e1aacff9d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild b/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild index 745e3eb868..92943084dd 100644 --- a/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild +++ b/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild @@ -26,10 +26,10 @@ # # Modified by the SlackBuilds.org project. -SRCNAM=Convert-TNEF cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Convert-TNEF +SRCNAM=Convert-TNEF VERSION=${VERSION:-0.18} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -78,7 +78,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild b/perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild index e02900a8eb..bc312b2365 100644 --- a/perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild +++ b/perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Convert-UUlib -VERSION=${VERSION:-1.5} +VERSION=${VERSION:-1.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -58,7 +58,7 @@ OUTPUT=${OUTPUT:-/tmp} set -e -DOCS="COPYING* Changes README" +DOCS="COPYING* Changes README doc/*" if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" @@ -79,7 +79,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Convert-UUlib/perl-Convert-UUlib.info b/perl/perl-Convert-UUlib/perl-Convert-UUlib.info index e60641daf8..f33eac093e 100644 --- a/perl/perl-Convert-UUlib/perl-Convert-UUlib.info +++ b/perl/perl-Convert-UUlib/perl-Convert-UUlib.info @@ -1,8 +1,8 @@ PRGNAM="perl-Convert-UUlib" -VERSION="1.5" +VERSION="1.8" HOMEPAGE="https://metacpan.org/release/Convert-UUlib" -DOWNLOAD="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Convert-UUlib-1.5.tar.gz" -MD5SUM="3332731b274723772ee8ad79c45bc401" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Convert-UUlib-1.8.tar.gz" +MD5SUM="fd470299600064c283d9a52348cdb4ef" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Canary-Stability" diff --git a/perl/perl-Coro/perl-Coro.info b/perl/perl-Coro/perl-Coro.info index 2bfadf6747..36d93832a0 100644 --- a/perl/perl-Coro/perl-Coro.info +++ b/perl/perl-Coro/perl-Coro.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Coro-6.57.tar.gz" MD5SUM="fa5970a2a2f3df9d68d4369c7dde1a55" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-EV perl-AnyEvent perl-common-sense perl-Guard perl-event" +REQUIRES="perl-EV perl-AnyEvent perl-Guard perl-event" MAINTAINER="Sergei Fedosoff" EMAIL="eleksir@gmail.com" diff --git a/perl/perl-Crypt-Eksblowfish/perl-Crypt-Eksblowfish.info b/perl/perl-Crypt-Eksblowfish/perl-Crypt-Eksblowfish.info index 6e9536707b..641c081241 100644 --- a/perl/perl-Crypt-Eksblowfish/perl-Crypt-Eksblowfish.info +++ b/perl/perl-Crypt-Eksblowfish/perl-Crypt-Eksblowfish.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/Crypt-Eksblowfish-0.0 MD5SUM="d2907b00cc500fc523bf86bb427d9bb8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Module-Build perl-Class-Mix" +REQUIRES="perl-Class-Mix" MAINTAINER="Geno Bob" EMAIL="genobob@gmail.com" diff --git a/perl/perl-Crypt-OpenSSL-AES/perl-Crypt-OpenSSL-AES.SlackBuild b/perl/perl-Crypt-OpenSSL-AES/perl-Crypt-OpenSSL-AES.SlackBuild index 97cf8e5e67..f0783fb24b 100644 --- a/perl/perl-Crypt-OpenSSL-AES/perl-Crypt-OpenSSL-AES.SlackBuild +++ b/perl/perl-Crypt-OpenSSL-AES/perl-Crypt-OpenSSL-AES.SlackBuild @@ -73,7 +73,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.SlackBuild b/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.SlackBuild index e124fe52a4..b15c180415 100644 --- a/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.SlackBuild +++ b/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.SlackBuild @@ -27,11 +27,11 @@ # # Modified by the SlackBuilds.org project. -SRCNAM="Crypt-OpenSSL-Bignum" cd $(dirname $0) ; CWD=$(pwd) PRGNAM="perl-Crypt-OpenSSL-Bignum" -VERSION=${VERSION:-0.08} +SRCNAM="Crypt-OpenSSL-Bignum" +VERSION=${VERSION:-0.09} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} BUILD=${BUILD:-1} @@ -80,7 +80,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ @@ -97,6 +97,7 @@ make install DESTDIR=$PKG ### putting essential docs mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/* cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Remove perlocal.pod and .packlist from $PKG diff --git a/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.info b/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.info index b6fef50377..58f35ea48b 100644 --- a/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.info +++ b/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.info @@ -1,8 +1,8 @@ PRGNAM="perl-Crypt-OpenSSL-Bignum" -VERSION="0.08" +VERSION="0.09" HOMEPAGE="https://metacpan.org/release/Crypt-OpenSSL-Bignum" -DOWNLOAD="https://cpan.metacpan.org/authors/id/K/KM/KMX/Crypt-OpenSSL-Bignum-0.08.tar.gz" -MD5SUM="99eb0165de08b328735d900689ec99bc" +DOWNLOAD="https://cpan.metacpan.org/authors/id/K/KM/KMX/Crypt-OpenSSL-Bignum-0.09.tar.gz" +MD5SUM="c8ae05771c70c69b3e5647b29a885ed2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-Crypt-OpenSSL-Guess/perl-Crypt-OpenSSL-Guess.SlackBuild b/perl/perl-Crypt-OpenSSL-Guess/perl-Crypt-OpenSSL-Guess.SlackBuild index 5d61cca74d..b8d8a9ccf4 100644 --- a/perl/perl-Crypt-OpenSSL-Guess/perl-Crypt-OpenSSL-Guess.SlackBuild +++ b/perl/perl-Crypt-OpenSSL-Guess/perl-Crypt-OpenSSL-Guess.SlackBuild @@ -27,10 +27,10 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM="perl-Crypt-OpenSSL-Guess" SRCNAM="Crypt-OpenSSL-Guess" -VERSION=${VERSION:-0.11} +VERSION=${VERSION:-0.15} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -76,7 +76,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Crypt-OpenSSL-Guess/perl-Crypt-OpenSSL-Guess.info b/perl/perl-Crypt-OpenSSL-Guess/perl-Crypt-OpenSSL-Guess.info index 1624ccb08c..b6d91af554 100644 --- a/perl/perl-Crypt-OpenSSL-Guess/perl-Crypt-OpenSSL-Guess.info +++ b/perl/perl-Crypt-OpenSSL-Guess/perl-Crypt-OpenSSL-Guess.info @@ -1,10 +1,10 @@ PRGNAM="perl-Crypt-OpenSSL-Guess" -VERSION="0.11" +VERSION="0.15" HOMEPAGE="https://metacpan.org/pod/Crypt::OpenSSL::Guess" -DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AK/AKIYM/Crypt-OpenSSL-Guess-0.11.tar.gz" -MD5SUM="e768fe2c07826b0ac9ea604c79f93032" +DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AK/AKIYM/Crypt-OpenSSL-Guess-0.15.tar.gz" +MD5SUM="e07f470dd25023730cf8536e0cefbabd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Crypt-OpenSSL-Random" +REQUIRES="" MAINTAINER="Matteo Bernardini" EMAIL="ponce@slackbuilds.org" diff --git a/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.SlackBuild b/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.SlackBuild index 6381f864ed..3414ebe44c 100644 --- a/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.SlackBuild +++ b/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.SlackBuild @@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM="perl-Crypt-OpenSSL-RSA" SRCNAM="Crypt-OpenSSL-RSA" -VERSION=${VERSION:-0.31} +VERSION=${VERSION:-0.33} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} BUILD=${BUILD:-1} @@ -80,7 +80,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.info b/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.info index ec9f4a49cc..9407e63ee2 100644 --- a/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.info +++ b/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.info @@ -1,10 +1,10 @@ PRGNAM="perl-Crypt-OpenSSL-RSA" -VERSION="0.31" +VERSION="0.33" HOMEPAGE="https://metacpan.org/pod/Crypt::OpenSSL::RSA" -DOWNLOAD="https://cpan.metacpan.org/authors/id/T/TO/TODDR/Crypt-OpenSSL-RSA-0.31.tar.gz" -MD5SUM="d33681e19d2094df7c26bc7a4509265e" +DOWNLOAD="https://cpan.metacpan.org/authors/id/T/TO/TODDR/Crypt-OpenSSL-RSA-0.33.tar.gz" +MD5SUM="402994cca9f4502741cf9514719b9bdf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Crypt-OpenSSL-Guess perl-Crypt-OpenSSL-Random" +REQUIRES="perl-Crypt-OpenSSL-Guess" MAINTAINER="Nishant Limbachia" EMAIL="nishant@mnspace.net" diff --git a/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild b/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild index 45fc8846bc..e5adbe3ebf 100644 --- a/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild +++ b/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild @@ -27,11 +27,11 @@ # # Modified by the SlackBuilds.org project. -SRCNAM="Crypt-OpenSSL-Random" cd $(dirname $0) ; CWD=$(pwd) PRGNAM="perl-Crypt-OpenSSL-Random" -VERSION=${VERSION:-0.11} +SRCNAM="Crypt-OpenSSL-Random" +VERSION=${VERSION:-0.15} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,7 +80,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.info b/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.info index 0161e270ef..7f8316418e 100644 --- a/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.info +++ b/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.info @@ -1,10 +1,10 @@ PRGNAM="perl-Crypt-OpenSSL-Random" -VERSION="0.11" +VERSION="0.15" HOMEPAGE="https://metacpan.org/release/Crypt-OpenSSL-Random" -DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Crypt-OpenSSL-Random-0.11.tar.gz" -MD5SUM="5d71337503e0356ce1ce1481504e5885" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Crypt-OpenSSL-Random-0.15.tar.gz" +MD5SUM="bcde8d5a822c91376deda3c4f0c75fbe" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="perl-Crypt-OpenSSL-Guess" MAINTAINER="Nishant Limbachia" EMAIL="nishant@mnspace.net" diff --git a/perl/perl-CryptX/README b/perl/perl-CryptX/README new file mode 100644 index 0000000000..62210b6fd7 --- /dev/null +++ b/perl/perl-CryptX/README @@ -0,0 +1,17 @@ +CryptX - Cryptographic toolkit + +Perl modules providing a cryptography based on LibTomCrypt library. + +Includes the following functionality: + +* Symmetric ciphers - see Crypt::Cipher and related modules +* Block cipher modes +* Stream ciphers +* Authenticated encryption modes +* Hash Functions - see Crypt::Digest and related modules +* Checksums +* Message Authentication Codes +* Public key cryptography +* Cryptographically secure random number generators - see Crypt::PRNG +* Key derivation functions - PBKDF1, PBKDF2 and HKDF +* Other handy functions related to cryptography diff --git a/perl/perl-CryptX/perl-CryptX.SlackBuild b/perl/perl-CryptX/perl-CryptX.SlackBuild new file mode 100644 index 0000000000..e8ce723775 --- /dev/null +++ b/perl/perl-CryptX/perl-CryptX.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/bash + +# Slackware build script for Crypt::PK::Ed25519 + +# Copyright 2024 pyllyukko +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-CryptX +VERSION=${VERSION:-0.081} +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-CryptX/perl-CryptX.info b/perl/perl-CryptX/perl-CryptX.info new file mode 100644 index 0000000000..93a300b8a8 --- /dev/null +++ b/perl/perl-CryptX/perl-CryptX.info @@ -0,0 +1,10 @@ +PRGNAM="perl-CryptX" +VERSION="0.081" +HOMEPAGE="https://metacpan.org/pod/CryptX" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.081.tar.gz" +MD5SUM="e75b68643ccac3fa09c11ece603bfbef" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Math-BigInt" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/perl/perl-CryptX/slack-desc b/perl/perl-CryptX/slack-desc new file mode 100644 index 0000000000..bb2f73736b --- /dev/null +++ b/perl/perl-CryptX/slack-desc @@ -0,0 +1,19 @@ +# 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-CryptX: perl-CryptX (Cryptographic toolkit) +perl-CryptX: +perl-CryptX: Perl modules providing a cryptography based on LibTomCrypt library. +perl-CryptX: +perl-CryptX: Includes modules for symmetric ciphers, block cipher modes, +perl-CryptX: stream ciphers, authenticated encryption modes, hash Functions, +perl-CryptX: checksums, Message Authentication Codes (MAC), +perl-CryptX: public key cryptography, PRNG, +perl-CryptX: key derivation functions (PBKDF1, PBKDF2 & HKDF) +perl-CryptX: and other handy functions related to cryptography. +perl-CryptX: diff --git a/perl/perl-Cwd-Guard/README b/perl/perl-Cwd-Guard/README new file mode 100644 index 0000000000..643bbda41c --- /dev/null +++ b/perl/perl-Cwd-Guard/README @@ -0,0 +1 @@ +Cwd::Guard - Temporary changing working directory (chdir) diff --git a/perl/perl-Cwd-Guard/perl-Cwd-Guard.SlackBuild b/perl/perl-Cwd-Guard/perl-Cwd-Guard.SlackBuild new file mode 100644 index 0000000000..ba7205530d --- /dev/null +++ b/perl/perl-Cwd-Guard/perl-Cwd-Guard.SlackBuild @@ -0,0 +1,107 @@ +#!/bin/bash + +# Slackware build script for perl-Cwd-Guard + +# Copyright 2023 Tonus Paris +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Cwd-Guard +VERSION=${VERSION:-0.05} +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 the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Build.PL --installdirs vendor --config installvendorman1dir=/usr/man/man1 --config installvendorman3dir=/usr/man/man3 +./Build +./Build test +./Build install --destdir $PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Cwd-Guard/perl-Cwd-Guard.info b/perl/perl-Cwd-Guard/perl-Cwd-Guard.info new file mode 100644 index 0000000000..3e864893a9 --- /dev/null +++ b/perl/perl-Cwd-Guard/perl-Cwd-Guard.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Cwd-Guard" +VERSION="0.05" +HOMEPAGE="https://github.com/kazeburo/Cwd-Guard" +DOWNLOAD="https://cpan.metacpan.org/authors/id/K/KA/KAZEBURO/Cwd-Guard-0.05.tar.gz" +MD5SUM="3d9c31722ab475fcb095716fe80c6bb1" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Module-Build perl-Test-Requires" +MAINTAINER="Tonus" +EMAIL="tonus1@free.fr" diff --git a/perl/perl-Cwd-Guard/slack-desc b/perl/perl-Cwd-Guard/slack-desc new file mode 100644 index 0000000000..8dd2947438 --- /dev/null +++ b/perl/perl-Cwd-Guard/slack-desc @@ -0,0 +1,19 @@ +# 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-Cwd-Guard: perl-Cwd-Guard (Temporary changing working directory) +perl-Cwd-Guard: +perl-Cwd-Guard: +perl-Cwd-Guard: +perl-Cwd-Guard: +perl-Cwd-Guard: +perl-Cwd-Guard: +perl-Cwd-Guard: +perl-Cwd-Guard: +perl-Cwd-Guard: +perl-Cwd-Guard: diff --git a/perl/perl-DBD-Pg/perl-DBD-Pg.SlackBuild b/perl/perl-DBD-Pg/perl-DBD-Pg.SlackBuild index dc1d1da5d6..07a2799214 100644 --- a/perl/perl-DBD-Pg/perl-DBD-Pg.SlackBuild +++ b/perl/perl-DBD-Pg/perl-DBD-Pg.SlackBuild @@ -6,7 +6,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-DBD-Pg -VERSION=${VERSION:-2.19.3} +VERSION=${VERSION:-3.18.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-DBD-Pg/perl-DBD-Pg.info b/perl/perl-DBD-Pg/perl-DBD-Pg.info index 32f2f6a9e0..94cc6a7ef0 100644 --- a/perl/perl-DBD-Pg/perl-DBD-Pg.info +++ b/perl/perl-DBD-Pg/perl-DBD-Pg.info @@ -1,10 +1,10 @@ PRGNAM="perl-DBD-Pg" -VERSION="2.19.3" +VERSION="3.18.0" HOMEPAGE="https://metacpan.org/pod/DBD::Pg" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/DBD-Pg-2.19.3.tar.gz" -MD5SUM="026ea19f89aee12051bce23d797e824b" +DOWNLOAD="https://cpan.metacpan.org/authors/id/T/TU/TURNSTEP/DBD-Pg-3.18.0.tar.gz" +MD5SUM="f58e5f6cbcc94e599afa08224f4e1dd2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="postgresql" -MAINTAINER="Joey Trungale" -EMAIL="joey@trungale.net" +MAINTAINER="Kevin Bryant" +EMAIL="sultmhoor+SB@gmail.com" diff --git a/perl/perl-DBD-SQLite/perl-DBD-SQLite.SlackBuild b/perl/perl-DBD-SQLite/perl-DBD-SQLite.SlackBuild index 11972eebe5..5aefac69aa 100644 --- a/perl/perl-DBD-SQLite/perl-DBD-SQLite.SlackBuild +++ b/perl/perl-DBD-SQLite/perl-DBD-SQLite.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-DBD-SQLite -# Copyright 2012-2022, Thomas Morper, Nürnberg, Germany +# Copyright 2012-2023, Thomas Morper, Nürnberg, Germany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-DBD-SQLite -VERSION=${VERSION:-1.72} +VERSION=${VERSION:-1.74} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-DBD-SQLite/perl-DBD-SQLite.info b/perl/perl-DBD-SQLite/perl-DBD-SQLite.info index 818fb30bfa..10038d067f 100644 --- a/perl/perl-DBD-SQLite/perl-DBD-SQLite.info +++ b/perl/perl-DBD-SQLite/perl-DBD-SQLite.info @@ -1,8 +1,8 @@ PRGNAM="perl-DBD-SQLite" -VERSION="1.72" +VERSION="1.74" HOMEPAGE="https://metacpan.org/pod/DBD::SQLite" -DOWNLOAD="https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/DBD-SQLite-1.72.tar.gz" -MD5SUM="976df252ae0aceb7fb81587af425580b" +DOWNLOAD="https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/DBD-SQLite-1.74.tar.gz" +MD5SUM="9481bd8b644a2ef56ab01aead403649c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild b/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild index f41da29955..b9ba2e5b1b 100644 --- a/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild +++ b/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild @@ -25,10 +25,10 @@ # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -SRCNAM="Date-Calc" cd $(dirname $0) ; CWD=$(pwd) PRGNAM="perl-Date-Calc" +SRCNAM="Date-Calc" VERSION=${VERSION:-6.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -72,7 +72,7 @@ cd $TMP tar xzvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 664 -o -perm 666 -o -perm 600 -o -perm 440 -o -perm 444 -o -perm 400 \) \ diff --git a/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild b/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild index 88da9fe055..338b3bad79 100644 --- a/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild +++ b/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for perl-Date-Manip # Copyright 2010 V'yacheslav Stetskevych <slava18 dont_spam_me gmail com> -# Copyright 2014-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2014-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Date-Manip -VERSION=${VERSION:-6.89} +VERSION=${VERSION:-6.95} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -41,9 +41,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 diff --git a/perl/perl-Date-Manip/perl-Date-Manip.info b/perl/perl-Date-Manip/perl-Date-Manip.info index 88e06a8ac3..792633e421 100644 --- a/perl/perl-Date-Manip/perl-Date-Manip.info +++ b/perl/perl-Date-Manip/perl-Date-Manip.info @@ -1,8 +1,8 @@ PRGNAM="perl-Date-Manip" -VERSION="6.89" +VERSION="6.95" HOMEPAGE="https://metacpan.org/pod/distribution/Date-Manip/lib/Date/Manip.pod" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SB/SBECK/Date-Manip-6.89.tar.gz" -MD5SUM="f9fe372c7abaf90e9da2ee7c3a4d32ff" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SB/SBECK/Date-Manip-6.95.tar.gz" +MD5SUM="1dc65dbb042ecab09149a22fbbe9abb4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Test-Inter perl-Test-Pod perl-Test-Pod-Coverage perl-YAML-Syck" diff --git a/perl/perl-DateTime-Format-ISO8601/perl-DateTime-Format-ISO8601.info b/perl/perl-DateTime-Format-ISO8601/perl-DateTime-Format-ISO8601.info index 33826f4d6e..8337713372 100644 --- a/perl/perl-DateTime-Format-ISO8601/perl-DateTime-Format-ISO8601.info +++ b/perl/perl-DateTime-Format-ISO8601/perl-DateTime-Format-ISO8601.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/J/JH/JHOBLITT/DateTime-Format-ISO MD5SUM="b7c0a4b5e767a8d3b87f3dc678d8c30c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-DateTime-Format-Builder perl-Module-Build" +REQUIRES="perl-DateTime-Format-Builder" MAINTAINER="David Somero" EMAIL="dsomero@hotmail.com" diff --git a/perl/perl-DateTime/perl-DateTime.info b/perl/perl-DateTime/perl-DateTime.info index c1f06740e2..ee399c6cf6 100644 --- a/perl/perl-DateTime/perl-DateTime.info +++ b/perl/perl-DateTime/perl-DateTime.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/DateTime-1.25.tar.gz MD5SUM="3343f67ebefb3f082a0067dfaee3b3c8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-DateTime-Locale perl-DateTime-TimeZone perl-Math-Round perl-Test-Exception perl-Test-Warnings perl-Module-Build" +REQUIRES="perl-DateTime-Locale perl-DateTime-TimeZone perl-Math-Round perl-Test-Exception perl-Test-Warnings" MAINTAINER="David Somero" EMAIL="dsomero@hotmail.com" diff --git a/perl/perl-Devel-CheckCompiler/README b/perl/perl-Devel-CheckCompiler/README new file mode 100644 index 0000000000..98e3d3a57e --- /dev/null +++ b/perl/perl-Devel-CheckCompiler/README @@ -0,0 +1 @@ +Devel::CheckCompiler - Check the compiler's availability diff --git a/perl/perl-Devel-CheckCompiler/perl-Devel-CheckCompiler.SlackBuild b/perl/perl-Devel-CheckCompiler/perl-Devel-CheckCompiler.SlackBuild new file mode 100644 index 0000000000..7de17894cd --- /dev/null +++ b/perl/perl-Devel-CheckCompiler/perl-Devel-CheckCompiler.SlackBuild @@ -0,0 +1,107 @@ +#!/bin/bash + +# Slackware build script for perl-Devel-CheckCompiler + +# Copyright 2023 Tonus Paris +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Devel-CheckCompiler +VERSION=${VERSION:-0.07} +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 the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Build.PL --installdirs vendor --config installvendorman1dir=/usr/man/man1 --config installvendorman3dir=/usr/man/man3 +./Build +./Build test +./Build install --destdir $PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Devel-CheckCompiler/perl-Devel-CheckCompiler.info b/perl/perl-Devel-CheckCompiler/perl-Devel-CheckCompiler.info new file mode 100644 index 0000000000..45fd790093 --- /dev/null +++ b/perl/perl-Devel-CheckCompiler/perl-Devel-CheckCompiler.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Devel-CheckCompiler" +VERSION="0.07" +HOMEPAGE="https://github.com/tokuhirom/Devel-CheckCompiler" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SY/SYOHEX/Devel-CheckCompiler-0.07.tar.gz" +MD5SUM="fcd7ba5891f9f4a0fb61b79fcda89e75" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Module-Build-Tiny" +MAINTAINER="Tonus" +EMAIL="tonus1@free.fr" diff --git a/perl/perl-Devel-CheckCompiler/slack-desc b/perl/perl-Devel-CheckCompiler/slack-desc new file mode 100644 index 0000000000..5ceafb3988 --- /dev/null +++ b/perl/perl-Devel-CheckCompiler/slack-desc @@ -0,0 +1,19 @@ +# 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-Devel-CheckCompiler: perl-Devel-CheckCompiler (Check the compiler's availability) +perl-Devel-CheckCompiler: +perl-Devel-CheckCompiler: +perl-Devel-CheckCompiler: +perl-Devel-CheckCompiler: +perl-Devel-CheckCompiler: +perl-Devel-CheckCompiler: +perl-Devel-CheckCompiler: +perl-Devel-CheckCompiler: +perl-Devel-CheckCompiler: +perl-Devel-CheckCompiler: diff --git a/perl/perl-Devel-Cycle/perl-Devel-Cycle.info b/perl/perl-Devel-Cycle/perl-Devel-Cycle.info index 451f50c8ec..abfa76c8f6 100644 --- a/perl/perl-Devel-Cycle/perl-Devel-Cycle.info +++ b/perl/perl-Devel-Cycle/perl-Devel-Cycle.info @@ -6,5 +6,5 @@ MD5SUM="3d9a963da87b17398fab9acbef63f277" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Michel A. BEGUE" -EMAIL="mab974@gmail.com" +MAINTAINER="Michel A. Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-Devel-Declare/perl-Devel-Declare.info b/perl/perl-Devel-Declare/perl-Devel-Declare.info index 447326f56c..0ece848e10 100644 --- a/perl/perl-Devel-Declare/perl-Devel-Declare.info +++ b/perl/perl-Devel-Declare/perl-Devel-Declare.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Devel-Declare-0.006022 MD5SUM="664646c5872e233f640ca6bb8e84714d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-extutils-depends perl-B-Hooks-OP-Check perl-B-Hooks-EndOfScope perl-Sub-Name perl-Test-Requires" +REQUIRES="perl-B-Hooks-OP-Check perl-B-Hooks-EndOfScope perl-Sub-Name" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Devel-OverloadInfo/perl-Devel-OverloadInfo.info b/perl/perl-Devel-OverloadInfo/perl-Devel-OverloadInfo.info index 6045484251..cd4838a829 100644 --- a/perl/perl-Devel-OverloadInfo/perl-Devel-OverloadInfo.info +++ b/perl/perl-Devel-OverloadInfo/perl-Devel-OverloadInfo.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/I/IL/ILMARI/Devel-OverloadInfo-0. MD5SUM="607b65dfe9fdb47df780f3b22dcb7917" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Sub-Identify perl-Test-Fatal perl-Package-Stash perl-MRO-Compat" +REQUIRES="perl-Sub-Identify perl-Package-Stash perl-MRO-Compat" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Devel-PartialDump/perl-Devel-PartialDump.info b/perl/perl-Devel-PartialDump/perl-Devel-PartialDump.info index 7116a3ba99..e14dcf7bbb 100644 --- a/perl/perl-Devel-PartialDump/perl-Devel-PartialDump.info +++ b/perl/perl-Devel-PartialDump/perl-Devel-PartialDump.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Devel-PartialDump-0.20 MD5SUM="4a09056765acaa731ae0f7d46a658781" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Class-Tiny perl-namespace-clean perl-Sub-Exporter perl-Test-Warnings" +REQUIRES="perl-Class-Tiny perl-namespace-clean perl-Test-Warnings" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Digest-SHA/README b/perl/perl-Digest-SHA/README new file mode 100644 index 0000000000..6c5148ac81 --- /dev/null +++ b/perl/perl-Digest-SHA/README @@ -0,0 +1,8 @@ +perl-Digest-SHA - Perl extension for SHA-1/224/256/384/512 + +Digest::SHA is a complete implementation of the NIST Secure +Hash Standard. It gives Perl programmers a convenient way +to calculate SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, +SHA-512/224, and SHA-512/256 message digests. +The module can handle all types of input, including +partial-byte data. diff --git a/perl/perl-Digest-SHA/perl-Digest-SHA.SlackBuild b/perl/perl-Digest-SHA/perl-Digest-SHA.SlackBuild new file mode 100644 index 0000000000..299e1f3657 --- /dev/null +++ b/perl/perl-Digest-SHA/perl-Digest-SHA.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/bash + +# Slackware build script for perl-digest-sha1 + +# Copyright 2024 Dimitar Nikov, Alfreton, United Kingdom +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Digest-SHA +VERSION=${VERSION:-6.04} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRC_PRGNAM=Digest-SHA + +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} + +DOCFILES="Changes README" + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +else + SLKCFLAGS="-O2" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +echo "y" | CFLAGS="$SLKCFLAGS" perl Makefile.PL INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +# Remove perlocal.pod, .packlist and .bs from $PKG +( for i in perllocal.pod .packlist *.bs; do + find $PKG -name "$i" -exec rm -rf {} \; + done +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mv $PKG/usr/share/man/man1 $PKG/usr/man/ +rm -fr $PKG/usr/share + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Digest-SHA/perl-Digest-SHA.info b/perl/perl-Digest-SHA/perl-Digest-SHA.info new file mode 100644 index 0000000000..183a154d59 --- /dev/null +++ b/perl/perl-Digest-SHA/perl-Digest-SHA.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Digest-SHA" +VERSION="6.04" +HOMEPAGE="https://metacpan.org/pod/Digest::SHA" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MS/MSHELOR/Digest-SHA-6.04.tar.gz" +MD5SUM="7c8295ac6c3c1574aabd0cb1e4191b16" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Dimitar Nikov" +EMAIL="dimitar@nikov.net" diff --git a/perl/perl-Digest-SHA/slack-desc b/perl/perl-Digest-SHA/slack-desc new file mode 100644 index 0000000000..30b035a724 --- /dev/null +++ b/perl/perl-Digest-SHA/slack-desc @@ -0,0 +1,19 @@ +# 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-Digest-SHA: perl-Digest-SHA (Perl extension for SHA-1/224/256/384/512) +perl-Digest-SHA: +perl-Digest-SHA: Digest::SHA is a complete implementation of the NIST Secure +perl-Digest-SHA: Hash Standard. It gives Perl programmers a convenient way +perl-Digest-SHA: to calculate SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, +perl-Digest-SHA: SHA-512/224, and SHA-512/256 message digests. +perl-Digest-SHA: The module can handle all types of input, including +perl-Digest-SHA: partial-byte data. +perl-Digest-SHA: +perl-Digest-SHA: Homepage: https://metacpan.org/dist/Digest-SHA +perl-Digest-SHA: diff --git a/perl/perl-Email-Abstract/README b/perl/perl-Email-Abstract/README new file mode 100644 index 0000000000..461bbb4062 --- /dev/null +++ b/perl/perl-Email-Abstract/README @@ -0,0 +1,8 @@ +Email::Abstract provides module writers with the ability to write +simple, representation-independent mail handling code. For instance, in +the cases of Mail::Thread or Mail::ListDetector, a key part of the code +involves reading the headers from a mail object. Where previously one +would either have to specify the mail class required, or to build a new +object from scratch, Email::Abstract can be used to perform certain +simple operations on an object regardless of its underlying +representation. diff --git a/perl/perl-Email-Abstract/perl-Email-Abstract.SlackBuild b/perl/perl-Email-Abstract/perl-Email-Abstract.SlackBuild new file mode 100644 index 0000000000..92d41115df --- /dev/null +++ b/perl/perl-Email-Abstract/perl-Email-Abstract.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/bash + +# Slackware build script for perl-Email-Abstract + +# Copyright 2024 pyllyukko +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Email-Abstract +VERSION=${VERSION:-3.010} +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes LICENSE README \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Email-Abstract/perl-Email-Abstract.info b/perl/perl-Email-Abstract/perl-Email-Abstract.info new file mode 100644 index 0000000000..f3b3bd6554 --- /dev/null +++ b/perl/perl-Email-Abstract/perl-Email-Abstract.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Email-Abstract" +VERSION="3.010" +HOMEPAGE="https://metacpan.org/pod/Email::Abstract" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-Abstract-3.010.tar.gz" +MD5SUM="621e071f7998c502856ca399267cfd44" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-MRO-Compat perl-Module-Pluggable perl-Email-Simple" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/perl/perl-Email-Abstract/slack-desc b/perl/perl-Email-Abstract/slack-desc new file mode 100644 index 0000000000..664352e291 --- /dev/null +++ b/perl/perl-Email-Abstract/slack-desc @@ -0,0 +1,19 @@ +# 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-Email-Abstract: perl-Email-Abstract (unified interface to mail representations) +perl-Email-Abstract: +perl-Email-Abstract: Email::Abstract provides module writers with the ability to write +perl-Email-Abstract: simple, representation-independent mail handling code. For instance, +perl-Email-Abstract: in the cases of Mail::Thread or Mail::ListDetector, a key part of the +perl-Email-Abstract: code involves reading the headers from a mail object. Where previously +perl-Email-Abstract: one would either have to specify the mail class required, or to build +perl-Email-Abstract: a new object from scratch, Email::Abstract can be used to perform +perl-Email-Abstract: certain simple operations on an object regardless of its underlying +perl-Email-Abstract: representation. +perl-Email-Abstract: diff --git a/perl/perl-Email-Address-XS/README b/perl/perl-Email-Address-XS/README new file mode 100644 index 0000000000..106efd310a --- /dev/null +++ b/perl/perl-Email-Address-XS/README @@ -0,0 +1,11 @@ +Email::Address::XS - Parse and format RFC 5322 email addresses and +groups + +This module implements RFC 5322 parser and formatter of email addresses +and groups. It parses an input string from email headers which contain +a list of email addresses or a groups of email addresses (like From, +To, Cc, Bcc, Reply-To, Sender, ...). + +Also it can generate a string value for those headers from a list of +email addresses objects. +Module is backward compatible with RFC 2822 and RFC 822. diff --git a/perl/perl-Email-Address-XS/perl-Email-Address-XS.SlackBuild b/perl/perl-Email-Address-XS/perl-Email-Address-XS.SlackBuild new file mode 100644 index 0000000000..65024c0ce3 --- /dev/null +++ b/perl/perl-Email-Address-XS/perl-Email-Address-XS.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/bash + +# Slackware build script for Email::Address::XS + +# Copyright 2024 pyllyukko +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Email-Address-XS +VERSION=${VERSION:-1.05} +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Email-Address-XS/perl-Email-Address-XS.info b/perl/perl-Email-Address-XS/perl-Email-Address-XS.info new file mode 100644 index 0000000000..13dcdcb662 --- /dev/null +++ b/perl/perl-Email-Address-XS/perl-Email-Address-XS.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Email-Address-XS" +VERSION="1.05" +HOMEPAGE="https://metacpan.org/pod/Email::Address::XS" +DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PA/PALI/Email-Address-XS-1.05.tar.gz" +MD5SUM="b781ab66e272173e44ac75f32c191d54" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/perl/perl-Email-Address-XS/slack-desc b/perl/perl-Email-Address-XS/slack-desc new file mode 100644 index 0000000000..a4d28625dc --- /dev/null +++ b/perl/perl-Email-Address-XS/slack-desc @@ -0,0 +1,19 @@ +# 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-Email-Address-XS: perl-Email-Address-XS (RFC 5322 email address parser) +perl-Email-Address-XS: +perl-Email-Address-XS: This module implements RFC 5322 parser and formatter of email +perl-Email-Address-XS: addresses and groups. It parses an input string from email headers +perl-Email-Address-XS: which contain a list of email addresses or a groups of email addresses +perl-Email-Address-XS: (like From, To, Cc, Bcc, Reply-To, Sender, ...). +perl-Email-Address-XS: +perl-Email-Address-XS: Also it can generate a string value for those headers from a list of +perl-Email-Address-XS: email addresses objects. +perl-Email-Address-XS: Module is backward compatible with RFC 2822 and RFC 822. +perl-Email-Address-XS: diff --git a/perl/perl-Email-MIME-ContentType/README b/perl/perl-Email-MIME-ContentType/README new file mode 100644 index 0000000000..b869e71df2 --- /dev/null +++ b/perl/perl-Email-MIME-ContentType/README @@ -0,0 +1,6 @@ +Perl module to parse a MIME Content-Type header + +Email::MIME::ContentType provides a method for parsing email Content- +Type headers according to section 5.1 of RFC 2045. The method returns +a hash having entries for the discrete type, the composite type, and a +hash of attributes. diff --git a/perl/perl-Email-MIME-ContentType/perl-Email-MIME-ContentType.SlackBuild b/perl/perl-Email-MIME-ContentType/perl-Email-MIME-ContentType.SlackBuild new file mode 100644 index 0000000000..c147396e83 --- /dev/null +++ b/perl/perl-Email-MIME-ContentType/perl-Email-MIME-ContentType.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/bash + +# Slackware build script for perl-Email-MIME-ContentType + +# Copyright 2024 pyllyukko +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Email-MIME-ContentType +VERSION=${VERSION:-1.028} +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README LICENSE Changes \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Email-MIME-ContentType/perl-Email-MIME-ContentType.info b/perl/perl-Email-MIME-ContentType/perl-Email-MIME-ContentType.info new file mode 100644 index 0000000000..b1c7e6fe72 --- /dev/null +++ b/perl/perl-Email-MIME-ContentType/perl-Email-MIME-ContentType.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Email-MIME-ContentType" +VERSION="1.028" +HOMEPAGE="https://metacpan.org/pod/Email::MIME::ContentType" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-MIME-ContentType-1.028.tar.gz" +MD5SUM="57c34e2e8a5820a7a8ab51572342ef46" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Text-Unidecode" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/perl/perl-Email-MIME-ContentType/slack-desc b/perl/perl-Email-MIME-ContentType/slack-desc new file mode 100644 index 0000000000..085582ea5a --- /dev/null +++ b/perl/perl-Email-MIME-ContentType/slack-desc @@ -0,0 +1,19 @@ +# 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-Email-MIME-ContentType: perl-Email-MIME-ContentType (MIME Content-Type parser) +perl-Email-MIME-ContentType: +perl-Email-MIME-ContentType: Email::MIME::ContentType provides a method for parsing email +perl-Email-MIME-ContentType: Content-Type headers according to section 5.1 of RFC 2045. The method +perl-Email-MIME-ContentType: returns a hash having entries for the discrete type, the composite +perl-Email-MIME-ContentType: type, and a hash of attributes. +perl-Email-MIME-ContentType: +perl-Email-MIME-ContentType: +perl-Email-MIME-ContentType: +perl-Email-MIME-ContentType: +perl-Email-MIME-ContentType: diff --git a/perl/perl-Email-MIME-Encodings/README b/perl/perl-Email-MIME-Encodings/README new file mode 100644 index 0000000000..b39b3484c4 --- /dev/null +++ b/perl/perl-Email-MIME-Encodings/README @@ -0,0 +1,3 @@ +This module simply wraps MIME::Base64 and MIME::QuotedPrint so that you +can throw the contents of a Content-Transfer-Encoding header at some +text and have the right thing happen. diff --git a/perl/perl-Email-MIME-Encodings/perl-Email-MIME-Encodings.SlackBuild b/perl/perl-Email-MIME-Encodings/perl-Email-MIME-Encodings.SlackBuild new file mode 100644 index 0000000000..7a29dfe3cc --- /dev/null +++ b/perl/perl-Email-MIME-Encodings/perl-Email-MIME-Encodings.SlackBuild @@ -0,0 +1,124 @@ +#!/bin/bash + +# Slackware build script for perl-Email-MIME-Encodings + +# Copyright 2024 pyllyukko +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Email-MIME-Encodings +VERSION=${VERSION:-1.317} +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +# Build method #2 +# requires perl-Module-Build or perl-Module-Build-Tiny +#perl Build.PL \ +# --installdirs vendor \ +# --config installvendorman1dir=/usr/man/man1 \ +# --config installvendorman3dir=/usr/man/man3 +#./Build +#./Build test +#./Build install \ +# --destdir $PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes LICENSE README \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Email-MIME-Encodings/perl-Email-MIME-Encodings.info b/perl/perl-Email-MIME-Encodings/perl-Email-MIME-Encodings.info new file mode 100644 index 0000000000..30f58a002a --- /dev/null +++ b/perl/perl-Email-MIME-Encodings/perl-Email-MIME-Encodings.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Email-MIME-Encodings" +VERSION="1.317" +HOMEPAGE="https://metacpan.org/pod/Email::MIME::Encodings" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-MIME-Encodings-1.317.tar.gz" +MD5SUM="dd6744509775b75f4df0330cb5174539" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/perl/perl-Email-MIME-Encodings/slack-desc b/perl/perl-Email-MIME-Encodings/slack-desc new file mode 100644 index 0000000000..d9349b5e2c --- /dev/null +++ b/perl/perl-Email-MIME-Encodings/slack-desc @@ -0,0 +1,19 @@ +# 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-Email-MIME-Encodings: perl-Email-MIME-Encodings (MIME encoder and decoder) +perl-Email-MIME-Encodings: +perl-Email-MIME-Encodings: This module simply wraps MIME::Base64 and MIME::QuotedPrint so that +perl-Email-MIME-Encodings: you can throw the contents of a Content-Transfer-Encoding header at +perl-Email-MIME-Encodings: some text and have the right thing happen. +perl-Email-MIME-Encodings: +perl-Email-MIME-Encodings: +perl-Email-MIME-Encodings: +perl-Email-MIME-Encodings: +perl-Email-MIME-Encodings: +perl-Email-MIME-Encodings: diff --git a/perl/perl-Email-MIME/README b/perl/perl-Email-MIME/README new file mode 100644 index 0000000000..5928355adb --- /dev/null +++ b/perl/perl-Email-MIME/README @@ -0,0 +1,4 @@ +This is an extension of the Email::Simple module, to handle MIME +encoded messages. It takes a message as a string, splits it up into its +constituent parts, and allows you access to various parts of the +message. Headers are decoded from MIME encoding. diff --git a/perl/perl-Email-MIME/perl-Email-MIME.SlackBuild b/perl/perl-Email-MIME/perl-Email-MIME.SlackBuild new file mode 100644 index 0000000000..a84e9d6f38 --- /dev/null +++ b/perl/perl-Email-MIME/perl-Email-MIME.SlackBuild @@ -0,0 +1,124 @@ +#!/bin/bash + +# Slackware build script for perl-Email-MIME + +# Copyright 2024 pyllyukko +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Email-MIME +VERSION=${VERSION:-1.954} +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +# Build method #2 +# requires perl-Module-Build or perl-Module-Build-Tiny +#perl Build.PL \ +# --installdirs vendor \ +# --config installvendorman1dir=/usr/man/man1 \ +# --config installvendorman3dir=/usr/man/man3 +#./Build +#./Build test +#./Build install \ +# --destdir $PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README LICENSE Changes \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Email-MIME/perl-Email-MIME.info b/perl/perl-Email-MIME/perl-Email-MIME.info new file mode 100644 index 0000000000..e3891f20af --- /dev/null +++ b/perl/perl-Email-MIME/perl-Email-MIME.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Email-MIME" +VERSION="1.954" +HOMEPAGE="https://metacpan.org/pod/Email::MIME" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-MIME-1.954.tar.gz" +MD5SUM="15c1613ccc156e52750ca23964a23bc5" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Email-Simple perl-Email-MIME-ContentType perl-Email-MIME-Encodings perl-Email-MessageID perl-Email-Address-XS perl-MIME-Types" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/perl/perl-Email-MIME/slack-desc b/perl/perl-Email-MIME/slack-desc new file mode 100644 index 0000000000..52384fc155 --- /dev/null +++ b/perl/perl-Email-MIME/slack-desc @@ -0,0 +1,19 @@ +# 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-Email-MIME: perl-Email-MIME (easy MIME message handling) +perl-Email-MIME: +perl-Email-MIME: This is an extension of the Email::Simple module, to handle MIME +perl-Email-MIME: encoded messages. It takes a message as a string, splits it up into +perl-Email-MIME: its constituent parts, and allows you access to various parts of the +perl-Email-MIME: message. Headers are decoded from MIME encoding. +perl-Email-MIME: +perl-Email-MIME: +perl-Email-MIME: +perl-Email-MIME: +perl-Email-MIME: diff --git a/perl/perl-Email-MessageID/README b/perl/perl-Email-MessageID/README new file mode 100644 index 0000000000..aafbd3e061 --- /dev/null +++ b/perl/perl-Email-MessageID/README @@ -0,0 +1,2 @@ +Message-ids are optional, but highly recommended, headers that identify +a message uniquely. This software generates a unique message-id. diff --git a/perl/perl-Email-MessageID/perl-Email-MessageID.SlackBuild b/perl/perl-Email-MessageID/perl-Email-MessageID.SlackBuild new file mode 100644 index 0000000000..a259923049 --- /dev/null +++ b/perl/perl-Email-MessageID/perl-Email-MessageID.SlackBuild @@ -0,0 +1,124 @@ +#!/bin/bash + +# Slackware build script for perl-Email-MessageID + +# Copyright 2024 pyllyukko +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Email-MessageID +VERSION=${VERSION:-1.408} +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +# Build method #2 +# requires perl-Module-Build or perl-Module-Build-Tiny +#perl Build.PL \ +# --installdirs vendor \ +# --config installvendorman1dir=/usr/man/man1 \ +# --config installvendorman3dir=/usr/man/man3 +#./Build +#./Build test +#./Build install \ +# --destdir $PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README LICENSE Changes \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Email-MessageID/perl-Email-MessageID.info b/perl/perl-Email-MessageID/perl-Email-MessageID.info new file mode 100644 index 0000000000..6652841b88 --- /dev/null +++ b/perl/perl-Email-MessageID/perl-Email-MessageID.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Email-MessageID" +VERSION="1.408" +HOMEPAGE="https://metacpan.org/pod/Email::MessageID" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-MessageID-1.408.tar.gz" +MD5SUM="7182738ba61661e55ee2ff758e6bd48c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/perl/perl-Email-MessageID/slack-desc b/perl/perl-Email-MessageID/slack-desc new file mode 100644 index 0000000000..682456619a --- /dev/null +++ b/perl/perl-Email-MessageID/slack-desc @@ -0,0 +1,19 @@ +# 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-Email-MessageID: perl-Email-MessageID (Generate world unique message-ids) +perl-Email-MessageID: +perl-Email-MessageID: Message-ids are optional, but highly recommended, headers that +perl-Email-MessageID: identify a message uniquely. This software generates a unique +perl-Email-MessageID: message-id. +perl-Email-MessageID: +perl-Email-MessageID: +perl-Email-MessageID: +perl-Email-MessageID: +perl-Email-MessageID: +perl-Email-MessageID: diff --git a/perl/perl-Email-Sender/README b/perl/perl-Email-Sender/README new file mode 100644 index 0000000000..6724469b07 --- /dev/null +++ b/perl/perl-Email-Sender/README @@ -0,0 +1,3 @@ +Email::Sender replaces the old and sometimes problematic Email::Send +library, which did a decent job at handling very simple email sending +tasks, but was not suitable for serious use, for a variety of reasons. diff --git a/perl/perl-Email-Sender/perl-Email-Sender.SlackBuild b/perl/perl-Email-Sender/perl-Email-Sender.SlackBuild new file mode 100644 index 0000000000..03f5b4578d --- /dev/null +++ b/perl/perl-Email-Sender/perl-Email-Sender.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/bash + +# Slackware build script for perl-Email-Sender + +# Copyright 2024 pyllyukko +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Email-Sender +VERSION=${VERSION:-2.601} +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README LICENSE Changes \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Email-Sender/perl-Email-Sender.info b/perl/perl-Email-Sender/perl-Email-Sender.info new file mode 100644 index 0000000000..446c4b018e --- /dev/null +++ b/perl/perl-Email-Sender/perl-Email-Sender.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Email-Sender" +VERSION="2.601" +HOMEPAGE="https://metacpan.org/pod/Email::Sender" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-Sender-2.601.tar.gz" +MD5SUM="20aed58073155ac38530b3d64eb73379" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Role-Tiny perl-Sub-Exporter perl-Email-Abstract perl-MooX-Types-MooseLike perl-Throwable perl-Email-Address-XS" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/perl/perl-Email-Sender/slack-desc b/perl/perl-Email-Sender/slack-desc new file mode 100644 index 0000000000..96dc6b4213 --- /dev/null +++ b/perl/perl-Email-Sender/slack-desc @@ -0,0 +1,19 @@ +# 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-Email-Sender: perl-Email-Sender (a library for sending email) +perl-Email-Sender: +perl-Email-Sender: Email::Sender replaces the old and sometimes problematic Email::Send +perl-Email-Sender: library, which did a decent job at handling very simple email sending +perl-Email-Sender: tasks, but was not suitable for serious use, for a variety of reasons. +perl-Email-Sender: +perl-Email-Sender: +perl-Email-Sender: +perl-Email-Sender: +perl-Email-Sender: +perl-Email-Sender: diff --git a/perl/perl-Email-Simple/README b/perl/perl-Email-Simple/README new file mode 100644 index 0000000000..4426ac7cc6 --- /dev/null +++ b/perl/perl-Email-Simple/README @@ -0,0 +1,4 @@ +The Email:: namespace was begun as a reaction against the increasing +complexity and bugginess of Perl's existing email modules. Email::* +modules are meant to be simple to use and to maintain, pared to the +bone, fast, minimal in their external dependencies, and correct. diff --git a/perl/perl-Email-Simple/perl-Email-Simple.SlackBuild b/perl/perl-Email-Simple/perl-Email-Simple.SlackBuild new file mode 100644 index 0000000000..8721d4d123 --- /dev/null +++ b/perl/perl-Email-Simple/perl-Email-Simple.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/bash + +# Slackware build script for perl-Email-Simple + +# Copyright 2024 pyllyukko +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Email-Simple +VERSION=${VERSION:-2.218} +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README LICENSE Changes \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Email-Simple/perl-Email-Simple.info b/perl/perl-Email-Simple/perl-Email-Simple.info new file mode 100644 index 0000000000..6dc823cd23 --- /dev/null +++ b/perl/perl-Email-Simple/perl-Email-Simple.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Email-Simple" +VERSION="2.218" +HOMEPAGE="https://metacpan.org/pod/Email::Simple" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Email-Simple-2.218.tar.gz" +MD5SUM="af643390d7bec05428c3d809f538072a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Email-Date-Format" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/perl/perl-Email-Simple/slack-desc b/perl/perl-Email-Simple/slack-desc new file mode 100644 index 0000000000..f00bc5e24f --- /dev/null +++ b/perl/perl-Email-Simple/slack-desc @@ -0,0 +1,19 @@ +# 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-Email-Simple: perl-Email-Simple (RFC2822 message format and header parser) +perl-Email-Simple: +perl-Email-Simple: The Email:: namespace was begun as a reaction against the increasing +perl-Email-Simple: complexity and bugginess of Perl's existing email modules. Email::* +perl-Email-Simple: modules are meant to be simple to use and to maintain, pared to the +perl-Email-Simple: bone, fast, minimal in their external dependencies, and correct. +perl-Email-Simple: +perl-Email-Simple: +perl-Email-Simple: +perl-Email-Simple: +perl-Email-Simple: diff --git a/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild b/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild index d156843e8e..6a1de868b7 100644 --- a/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild +++ b/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild @@ -26,10 +26,10 @@ # # Modified by the SlackBuilds.org project. -SRCNAM=Encode-Detect cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Encode-Detect +SRCNAM=Encode-Detect VERSION=${VERSION:-1.01} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -78,7 +78,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Error/README b/perl/perl-Error/README new file mode 100644 index 0000000000..91283169b0 --- /dev/null +++ b/perl/perl-Error/README @@ -0,0 +1,9 @@ +Error - Error/exception handling in an OO-ish way + +The Error package provides two interfaces. Firstly Error provides a +procedural interface to exception handling. Secondly Error is a base +class for errors/exceptions that can either be thrown, for subsequent +catch, or can simply be recorded. + +Errors in the class Error should not be thrown directly, but the user +should throw errors from a sub-class of Error. diff --git a/perl/perl-Error/perl-Error.SlackBuild b/perl/perl-Error/perl-Error.SlackBuild new file mode 100644 index 0000000000..1fe0c8e036 --- /dev/null +++ b/perl/perl-Error/perl-Error.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/bash + +# Slackware build script for perl-Error + +# Copyright 2024 pyllyukko +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Error +VERSION=${VERSION:-0.17029} +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + ChangeLog Changes LICENSE README \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Error/perl-Error.info b/perl/perl-Error/perl-Error.info new file mode 100644 index 0000000000..e201948bed --- /dev/null +++ b/perl/perl-Error/perl-Error.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Error" +VERSION="0.17029" +HOMEPAGE="https://metacpan.org/pod/Error" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Error-0.17029.tar.gz" +MD5SUM="6732b1c6207e4a9a3e2987c88368039a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/perl/perl-Error/slack-desc b/perl/perl-Error/slack-desc new file mode 100644 index 0000000000..8ee4048daa --- /dev/null +++ b/perl/perl-Error/slack-desc @@ -0,0 +1,19 @@ +# 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-Error: perl-Error (Error/exception handling in an OO-ish way) +perl-Error: +perl-Error: The Error package provides two interfaces. +perl-Error: Firstly Error provides a procedural interface to exception handling. +perl-Error: Secondly Error is a base class for errors/exceptions that can either +perl-Error: be thrown, for subsequent catch, or can simply be recorded. +perl-Error: +perl-Error: Errors in the class Error should not be thrown directly, +perl-Error: but the user should throw errors from a sub-class of Error. +perl-Error: +perl-Error: diff --git a/perl/perl-Expect/perl-Expect.SlackBuild b/perl/perl-Expect/perl-Expect.SlackBuild index d1cdeda791..751904471b 100644 --- a/perl/perl-Expect/perl-Expect.SlackBuild +++ b/perl/perl-Expect/perl-Expect.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Expect -VERSION=${VERSION:-1.35} +VERSION=${VERSION:-1.38} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-Expect/perl-Expect.info b/perl/perl-Expect/perl-Expect.info index 0041577256..1e4c7ec956 100644 --- a/perl/perl-Expect/perl-Expect.info +++ b/perl/perl-Expect/perl-Expect.info @@ -1,8 +1,8 @@ PRGNAM="perl-Expect" -VERSION="1.35" +VERSION="1.38" HOMEPAGE="https://metacpan.org/pod/Expect" -DOWNLOAD="https://cpan.metacpan.org/authors/id/J/JA/JACOBY/Expect-1.35.tar.gz" -MD5SUM="f7170964058cfb4a73567284a64c8cee" +DOWNLOAD="https://cpan.metacpan.org/authors/id/J/JA/JACOBY/Expect-1.38.tar.gz" +MD5SUM="0b3e2b619a46f9c16aa7d9ff457ee37f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-IO-Tty" diff --git a/perl/perl-Exporter-Lite/README b/perl/perl-Exporter-Lite/README new file mode 100644 index 0000000000..6703fe12a4 --- /dev/null +++ b/perl/perl-Exporter-Lite/README @@ -0,0 +1,10 @@ +Exporter::Lite is an alternative to Exporter, intended to provide a +lightweight subset of the most commonly-used functionality. It supports +import(), @EXPORT and @EXPORT_OK and not a whole lot else. + +Exporter::Lite simply exports its import() function into your namespace. +This might be called a "mix-in" or a "role". + +If you have local Perl set up and override the "install base" parameter +through the $PERL_MB_OPT or $PERL_MM_OPT variables then the build will +fail. diff --git a/perl/perl-Exporter-Lite/perl-Exporter-Lite.SlackBuild b/perl/perl-Exporter-Lite/perl-Exporter-Lite.SlackBuild new file mode 100644 index 0000000000..e05e5601df --- /dev/null +++ b/perl/perl-Exporter-Lite/perl-Exporter-Lite.SlackBuild @@ -0,0 +1,94 @@ +#!/bin/bash + +# Slackware build script for Getopt-Tabular + +# Copyright 2024 Shahab Vahedi, NL +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Exporter-Lite +VERSION=${VERSION:-0.09} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +ARCH=noarch + +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 + +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" + +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 . -type f -exec chmod 644 {} + -o -type d -exec chmod 755 {} + + +# Sanity check before setting the PREFIX, else Perl is going to bail out +case "$PERL_MB_OPT" in + *--install_base*) + printf "There should be no '--install_base' in your PERL_MB_OPT variable.\n" + exit 1 + ;; +esac +case "$PERL_MM_OPT" in + *INSTALL_BASE=*) + printf "There should be no 'INSTALL_BASE=' in your PERL_MM_OPT variable.\n" + exit 1 + ;; +esac + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG +gzip -9 $PKG/usr/man/man*/* + +find $PKG -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Exporter-Lite/perl-Exporter-Lite.info b/perl/perl-Exporter-Lite/perl-Exporter-Lite.info new file mode 100644 index 0000000000..b94371a303 --- /dev/null +++ b/perl/perl-Exporter-Lite/perl-Exporter-Lite.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Exporter-Lite" +VERSION="0.09" +HOMEPAGE="https://metacpan.org/pod/Exporter::Lite" +DOWNLOAD="https://cpan.metacpan.org/authors/id/N/NE/NEILB/Exporter-Lite-0.09.tar.gz" +MD5SUM="afeceba95b4c393b866a57f4818c6aba" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Shahab Vahedi" +EMAIL="list+sbo@vahedi.org" diff --git a/perl/perl-Exporter-Lite/slack-desc b/perl/perl-Exporter-Lite/slack-desc new file mode 100644 index 0000000000..2dc2e9eb34 --- /dev/null +++ b/perl/perl-Exporter-Lite/slack-desc @@ -0,0 +1,19 @@ +# 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-Exporter-Lite: perl-Exporter-Lite (lightweight exporting of functions and variables) +perl-Exporter-Lite: +perl-Exporter-Lite: Exporter::Lite is an alternative to Exporter, intended to provide a +perl-Exporter-Lite: lightweight subset of the most commonly-used functionality. +perl-Exporter-Lite: +perl-Exporter-Lite: +perl-Exporter-Lite: +perl-Exporter-Lite: +perl-Exporter-Lite: +perl-Exporter-Lite: +perl-Exporter-Lite: diff --git a/perl/perl-ExtUtils-Config/perl-ExtUtils-Config.SlackBuild b/perl/perl-ExtUtils-Config/perl-ExtUtils-Config.SlackBuild index 122fa97d39..f6cd3a2216 100644 --- a/perl/perl-ExtUtils-Config/perl-ExtUtils-Config.SlackBuild +++ b/perl/perl-ExtUtils-Config/perl-ExtUtils-Config.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-ExtUtils-Config -# Copyright 2013-2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2013-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-ExtUtils-Config -VERSION=${VERSION:-0.008} +VERSION=${VERSION:-0.010} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 diff --git a/perl/perl-ExtUtils-Config/perl-ExtUtils-Config.info b/perl/perl-ExtUtils-Config/perl-ExtUtils-Config.info index a2a7f19e1f..3f95d734a2 100644 --- a/perl/perl-ExtUtils-Config/perl-ExtUtils-Config.info +++ b/perl/perl-ExtUtils-Config/perl-ExtUtils-Config.info @@ -1,10 +1,10 @@ PRGNAM="perl-ExtUtils-Config" -VERSION="0.008" +VERSION="0.010" HOMEPAGE="https://metacpan.org/pod/ExtUtils::Config" -DOWNLOAD="http://cpan.metacpan.org/authors/id/L/LE/LEONT/ExtUtils-Config-0.008.tar.gz" -MD5SUM="565a7b09c7cac5907a25bbe2c959a717" +DOWNLOAD="http://cpan.metacpan.org/authors/id/L/LE/LEONT/ExtUtils-Config-0.010.tar.gz" +MD5SUM="f455b5743db7b73c80e88133effa3551" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="perl-Test-Harness" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" diff --git a/perl/perl-ExtUtils-Helpers/perl-ExtUtils-Helpers.SlackBuild b/perl/perl-ExtUtils-Helpers/perl-ExtUtils-Helpers.SlackBuild index 0726c567fe..66ade9c520 100644 --- a/perl/perl-ExtUtils-Helpers/perl-ExtUtils-Helpers.SlackBuild +++ b/perl/perl-ExtUtils-Helpers/perl-ExtUtils-Helpers.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-ExtUtils-Helpers -# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2013-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-ExtUtils-Helpers -VERSION=${VERSION:-0.026} +VERSION=${VERSION:-0.028} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -52,20 +49,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG diff --git a/perl/perl-ExtUtils-Helpers/perl-ExtUtils-Helpers.info b/perl/perl-ExtUtils-Helpers/perl-ExtUtils-Helpers.info index 57a60fe152..a2f1f3779d 100644 --- a/perl/perl-ExtUtils-Helpers/perl-ExtUtils-Helpers.info +++ b/perl/perl-ExtUtils-Helpers/perl-ExtUtils-Helpers.info @@ -1,8 +1,8 @@ PRGNAM="perl-ExtUtils-Helpers" -VERSION="0.026" +VERSION="0.028" HOMEPAGE="https://metacpan.org/pod/ExtUtils::Helpers" -DOWNLOAD="http://cpan.metacpan.org/authors/id/L/LE/LEONT/ExtUtils-Helpers-0.026.tar.gz" -MD5SUM="83b00c1e401321c425ae5db6b2b2fd12" +DOWNLOAD="http://cpan.metacpan.org/authors/id/L/LE/LEONT/ExtUtils-Helpers-0.028.tar.gz" +MD5SUM="0687f20ac896a7d01219646908ccdf89" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-ExtUtils-Install/perl-ExtUtils-Install.info b/perl/perl-ExtUtils-Install/perl-ExtUtils-Install.info index 32509e9e83..01988d9a83 100644 --- a/perl/perl-ExtUtils-Install/perl-ExtUtils-Install.info +++ b/perl/perl-ExtUtils-Install/perl-ExtUtils-Install.info @@ -6,5 +6,5 @@ MD5SUM="8e28404be69b47b2350eb09b21474de2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Michel A. BEGUE" -EMAIL="mab974@gmail.com" +MAINTAINER="Michel A. Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-ExtUtils-InstallPaths/perl-ExtUtils-InstallPaths.SlackBuild b/perl/perl-ExtUtils-InstallPaths/perl-ExtUtils-InstallPaths.SlackBuild index ec5ab5a341..4166b3e078 100644 --- a/perl/perl-ExtUtils-InstallPaths/perl-ExtUtils-InstallPaths.SlackBuild +++ b/perl/perl-ExtUtils-InstallPaths/perl-ExtUtils-InstallPaths.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-ExtUtils-InstallPaths -# Copyright 2013-2018 Willy Sudiarto Raharjo <willysr@slackware-id.org> +# Copyright 2013-2024 Willy Sudiarto Raharjo <willysr@slackware-id.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-ExtUtils-InstallPaths -VERSION=${VERSION:-0.012} +VERSION=${VERSION:-0.014} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -52,20 +49,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG diff --git a/perl/perl-ExtUtils-InstallPaths/perl-ExtUtils-InstallPaths.info b/perl/perl-ExtUtils-InstallPaths/perl-ExtUtils-InstallPaths.info index e05a843b2b..50c6ee23dc 100644 --- a/perl/perl-ExtUtils-InstallPaths/perl-ExtUtils-InstallPaths.info +++ b/perl/perl-ExtUtils-InstallPaths/perl-ExtUtils-InstallPaths.info @@ -1,8 +1,8 @@ PRGNAM="perl-ExtUtils-InstallPaths" -VERSION="0.012" +VERSION="0.014" HOMEPAGE="https://metacpan.org/pod/ExtUtils::InstallPaths" -DOWNLOAD="https://cpan.metacpan.org/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-0.012.tar.gz" -MD5SUM="9a8d66aab1ffec98ea260faf03ac612b" +DOWNLOAD="https://cpan.metacpan.org/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-0.014.tar.gz" +MD5SUM="34fb12d1b245e44142846c72905beffc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-ExtUtils-Config" diff --git a/perl/perl-ExtUtils-ModuleMaker/perl-ExtUtils-ModuleMaker.info b/perl/perl-ExtUtils-ModuleMaker/perl-ExtUtils-ModuleMaker.info index 12ceadc262..e5fefcc1cf 100644 --- a/perl/perl-ExtUtils-ModuleMaker/perl-ExtUtils-ModuleMaker.info +++ b/perl/perl-ExtUtils-ModuleMaker/perl-ExtUtils-ModuleMaker.info @@ -6,5 +6,5 @@ MD5SUM="a1dee2c14910fb515909235ab682947e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-File-HomeDir" -MAINTAINER="Michel A. BEGUE" -EMAIL="mab974@gmail.com" +MAINTAINER="Michel A. Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-Feature-Compat-Try/perl-Feature-Compat-Try.info b/perl/perl-Feature-Compat-Try/perl-Feature-Compat-Try.info index eb655ad4d5..24442d7edb 100644 --- a/perl/perl-Feature-Compat-Try/perl-Feature-Compat-Try.info +++ b/perl/perl-Feature-Compat-Try/perl-Feature-Compat-Try.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Feature-Compat-Try-0. MD5SUM="a932c00e6591e3a823d3622fff8475e3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Module-Build perl-Syntax-Keyword-Try" +REQUIRES="perl-Syntax-Keyword-Try" MAINTAINER="Nicholas Hubbard" EMAIL="nicholashubbard@posteo.net" diff --git a/perl/perl-File-Copy-Recursive-Reduced/README b/perl/perl-File-Copy-Recursive-Reduced/README new file mode 100644 index 0000000000..5c8a3b7327 --- /dev/null +++ b/perl/perl-File-Copy-Recursive-Reduced/README @@ -0,0 +1,4 @@ +File-Copy-Recursive-Reduced is a Perl library which provides +subroutines exported on request which are intended to serve as +drop-in replacements for certain subroutines found in CPAN +distribution File-Copy-Recursive (FCR). diff --git a/perl/perl-Locale-Msgfmt/perl-Locale-Msgfmt.SlackBuild b/perl/perl-File-Copy-Recursive-Reduced/perl-File-Copy-Recursive-Reduced.SlackBuild index 647543dde1..98b4c29ca9 100644 --- a/perl/perl-Locale-Msgfmt/perl-Locale-Msgfmt.SlackBuild +++ b/perl/perl-File-Copy-Recursive-Reduced/perl-File-Copy-Recursive-Reduced.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for perl-Locale-Msgfmt +# Slackware build script for perl-File-Copy-Recursive-Reduced -# Copyright 2018 Nikos Giotis <nikos.giotis@gmail.com>, Athens, GR +# Copyright 2023 Tonus Paris # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=perl-Locale-Msgfmt -VERSION=${VERSION:-0.15} +PRGNAM=perl-File-Copy-Recursive-Reduced +VERSION=${VERSION:-0.006} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -101,9 +101,7 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - Changes README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes README LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/perl/perl-File-Copy-Recursive-Reduced/perl-File-Copy-Recursive-Reduced.info b/perl/perl-File-Copy-Recursive-Reduced/perl-File-Copy-Recursive-Reduced.info new file mode 100644 index 0000000000..fdf068f579 --- /dev/null +++ b/perl/perl-File-Copy-Recursive-Reduced/perl-File-Copy-Recursive-Reduced.info @@ -0,0 +1,10 @@ +PRGNAM="perl-File-Copy-Recursive-Reduced" +VERSION="0.006" +HOMEPAGE="http://thenceforward.net/perl/modules/File-Copy-Recursive-Reduced/" +DOWNLOAD="https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/File-Copy-Recursive-Reduced-0.006.tar.gz" +MD5SUM="a42c7743e4a76f7492d4877ad48d261f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Capture-Tiny" +MAINTAINER="Tonus" +EMAIL="tonus1@free.fr" diff --git a/perl/perl-File-Copy-Recursive-Reduced/slack-desc b/perl/perl-File-Copy-Recursive-Reduced/slack-desc new file mode 100644 index 0000000000..175e49322f --- /dev/null +++ b/perl/perl-File-Copy-Recursive-Reduced/slack-desc @@ -0,0 +1,19 @@ +# 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-File-Copy-Recursive-Reduced: perl-File-Copy-Recursive-Reduced (Recursive copying of files and dir) +perl-File-Copy-Recursive-Reduced: +perl-File-Copy-Recursive-Reduced: +perl-File-Copy-Recursive-Reduced: +perl-File-Copy-Recursive-Reduced: +perl-File-Copy-Recursive-Reduced: +perl-File-Copy-Recursive-Reduced: +perl-File-Copy-Recursive-Reduced: +perl-File-Copy-Recursive-Reduced: +perl-File-Copy-Recursive-Reduced: +perl-File-Copy-Recursive-Reduced: diff --git a/perl/perl-File-Download/README b/perl/perl-File-Download/README new file mode 100644 index 0000000000..4c8d8c0353 --- /dev/null +++ b/perl/perl-File-Download/README @@ -0,0 +1,6 @@ +This Perl module is largely derived from the lwp-download program +that is installed by LWP or the libwww-perl networking package. This +module abstracts the functionality found in that perl script into a +simpler more developer-friendly interface for downloading large +files. + diff --git a/perl/perl-File-Download/perl-File-Download.SlackBuild b/perl/perl-File-Download/perl-File-Download.SlackBuild new file mode 100644 index 0000000000..da7183cd9f --- /dev/null +++ b/perl/perl-File-Download/perl-File-Download.SlackBuild @@ -0,0 +1,91 @@ +#!/bin/bash + +# Slackware build script for perl-File-Download + +# Copyright 2024 Charadon US +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-File-Download +VERSION=${VERSION:-0.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" + +ARCH=noarch + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +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 +bsdtar xvf $CWD/$SRCNAM-$VERSION.zip +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG +# Include the wgetp program +install -Dm755 bin/wgetp $PKG/usr/bin/wgetp + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-File-Download/perl-File-Download.info b/perl/perl-File-Download/perl-File-Download.info new file mode 100644 index 0000000000..eb87f35b73 --- /dev/null +++ b/perl/perl-File-Download/perl-File-Download.info @@ -0,0 +1,10 @@ +PRGNAM="perl-File-Download" +VERSION="0.3" +HOMEPAGE="https://metacpan.org/pod/File::Download" +DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BY/BYRNE/File-Download-0.3.zip" +MD5SUM="26f75dd85d68c8e617014672544d6338" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-class-accessor libwww-perl" +MAINTAINER="Charadon" +EMAIL="dev@iotib.net" diff --git a/perl/perl-File-Download/slack-desc b/perl/perl-File-Download/slack-desc new file mode 100644 index 0000000000..3516b49c2d --- /dev/null +++ b/perl/perl-File-Download/slack-desc @@ -0,0 +1,19 @@ +# 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-File-Download: perl-File-Download (Fetch large files from the web) +perl-File-Download: +perl-File-Download: This Perl module is largely derived from the lwp-download program +perl-File-Download: that is installed by LWP or the libwww-perl networking package. This +perl-File-Download: module abstracts the functionality found in that perl script into a +perl-File-Download: simpler more developer-friendly interface for downloading large +perl-File-Download: files. +perl-File-Download: +perl-File-Download: +perl-File-Download: +perl-File-Download: diff --git a/perl/perl-File-FcntlLock/README b/perl/perl-File-FcntlLock/README new file mode 100644 index 0000000000..f533346e06 --- /dev/null +++ b/perl/perl-File-FcntlLock/README @@ -0,0 +1,5 @@ +File locking in Perl is usually done using the flock function. +Unfortunately, this only allows locks on whole files and is often +implemented in terms of the flock system function which has some +shortcomings and slightly different behaviour than fcntl. +Using this module file locking via fcntl(2) can be done diff --git a/perl/perl-File-FcntlLock/perl-File-FcntlLock.SlackBuild b/perl/perl-File-FcntlLock/perl-File-FcntlLock.SlackBuild new file mode 100644 index 0000000000..9bba102ce3 --- /dev/null +++ b/perl/perl-File-FcntlLock/perl-File-FcntlLock.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/bash + +# Slackware build script for perl-File-FcntlLock + +# Copyright 2023, Thomas Morper, Nürnberg, Germany +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-File-FcntlLock +VERSION=${VERSION:-0.22} +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README Changes \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-File-FcntlLock/perl-File-FcntlLock.info b/perl/perl-File-FcntlLock/perl-File-FcntlLock.info new file mode 100644 index 0000000000..d5e037b615 --- /dev/null +++ b/perl/perl-File-FcntlLock/perl-File-FcntlLock.info @@ -0,0 +1,10 @@ +PRGNAM="perl-File-FcntlLock" +VERSION="0.22" +HOMEPAGE="https://metacpan.org/pod/File::FcntlLock" +DOWNLOAD="https://cpan.metacpan.org/authors/id/J/JT/JTT/File-FcntlLock-0.22.tar.gz" +MD5SUM="579698d735d864ee403674f1175f789d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Thomas Morper" +EMAIL="thomas@beingboiled.info" diff --git a/perl/perl-File-FcntlLock/slack-desc b/perl/perl-File-FcntlLock/slack-desc new file mode 100644 index 0000000000..fa984ed34a --- /dev/null +++ b/perl/perl-File-FcntlLock/slack-desc @@ -0,0 +1,19 @@ +# 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-File-FcntlLock: perl-File-FcntlLock (file locking with fcntl) +perl-File-FcntlLock: +perl-File-FcntlLock: File locking in Perl is usually done using the flock function. +perl-File-FcntlLock: Unfortunately, this only allows locks on whole files and is often +perl-File-FcntlLock: implemented in terms of the flock system function which has some +perl-File-FcntlLock: shortcomings and slightly different behaviour than fcntl. Using this +perl-File-FcntlLock: module file locking via fcntl(2) can be done +perl-File-FcntlLock: +perl-File-FcntlLock: +perl-File-FcntlLock: +perl-File-FcntlLock: diff --git a/perl/perl-File-Remove/perl-File-Remove.info b/perl/perl-File-Remove/perl-File-Remove.info index fbc5f0423a..ce9083b521 100644 --- a/perl/perl-File-Remove/perl-File-Remove.info +++ b/perl/perl-File-Remove/perl-File-Remove.info @@ -6,5 +6,5 @@ MD5SUM="8714638feac234816edcb01617557c0f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Module-Build" -MAINTAINER="Michel A. BEGUE" -EMAIL="mab974@gmail.com" +MAINTAINER="Michel A. Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-File-Save-Home/perl-File-Save-Home.info b/perl/perl-File-Save-Home/perl-File-Save-Home.info index 5cd6cf13cf..f97fb2a341 100644 --- a/perl/perl-File-Save-Home/perl-File-Save-Home.info +++ b/perl/perl-File-Save-Home/perl-File-Save-Home.info @@ -6,5 +6,5 @@ MD5SUM="b588da8fd756dbaeace5cd3c57661c03" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-String-PerlIdentifier" -MAINTAINER="Michel A. BEGUE" -EMAIL="mab974@gmail.com" +MAINTAINER="Michel A. Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-File-Which/perl-File-Which.SlackBuild b/perl/perl-File-Which/perl-File-Which.SlackBuild index 2f7f8eaea0..c98da177b2 100644 --- a/perl/perl-File-Which/perl-File-Which.SlackBuild +++ b/perl/perl-File-Which/perl-File-Which.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-File-Which -VERSION=${VERSION:-1.23} +VERSION=${VERSION:-1.27} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -41,9 +41,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 diff --git a/perl/perl-File-Which/perl-File-Which.info b/perl/perl-File-Which/perl-File-Which.info index 21fbddf6f3..9c943746c5 100644 --- a/perl/perl-File-Which/perl-File-Which.info +++ b/perl/perl-File-Which/perl-File-Which.info @@ -1,8 +1,8 @@ PRGNAM="perl-File-Which" -VERSION="1.23" +VERSION="1.27" HOMEPAGE="https://metacpan.org/pod/File::Which" -DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/File-Which-1.23.tar.gz" -MD5SUM="c8f054534c3c098dd7a0dada60aaae34" +DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/File-Which-1.27.tar.gz" +MD5SUM="d5c9154262b93398f0750ec364207639" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-Filesys-Df/perl-Filesys-Df.info b/perl/perl-Filesys-Df/perl-Filesys-Df.info index 3c06002e81..1ad0250214 100644 --- a/perl/perl-Filesys-Df/perl-Filesys-Df.info +++ b/perl/perl-Filesys-Df/perl-Filesys-Df.info @@ -6,5 +6,5 @@ MD5SUM="a8b0aa3e5151a8a6c8b3067625980934" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Michel A. BEGUE" -EMAIL="mab974@gmail.com" +MAINTAINER="Michel A. Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-Font-TTF/perl-Font-TTF.info b/perl/perl-Font-TTF/perl-Font-TTF.info index 002025d3af..27bf5074d6 100644 --- a/perl/perl-Font-TTF/perl-Font-TTF.info +++ b/perl/perl-Font-TTF/perl-Font-TTF.info @@ -6,5 +6,5 @@ MD5SUM="241b59310ad4450e6e050d5e790f1b21" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-IO-String" -MAINTAINER="M.A. BEGUE" -EMAIL="mab974@gmail.com" +MAINTAINER="Michel A. Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-GD/perl-GD.SlackBuild b/perl/perl-GD/perl-GD.SlackBuild index fa22cc9e3a..8c2b056350 100644 --- a/perl/perl-GD/perl-GD.SlackBuild +++ b/perl/perl-GD/perl-GD.SlackBuild @@ -6,6 +6,12 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20240819 bkw: add missing perl-File-Which dep. *derp*. +# 20240814 bkw: update for v2.83. +# 20230822 bkw: update for v2.78. +# 20230531 bkw: update for v2.77. +# 20230105 bkw: update for v2.76. 'make test' works OK now, uncommented. + # 20211012 bkw: BUILD=2. Fix -current build, by commenting out # 'make test'. This is because of the (fairly) recent gd-2.3.3 # update in -current. libgd upstream changed the default for the @@ -24,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-GD -VERSION=${VERSION:-2.73} +VERSION=${VERSION:-2.83} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -46,20 +52,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e SRCNAM="GD" @@ -95,14 +87,13 @@ perl Makefile.PL \ INSTALLVENDORMAN3DIR=/usr/man/man3 \ INSTALLVENDORMAN1DIR=/usr/man/man1 make -# make test # commented out until further notice! +make test # used to fail in 2.73, works OK in 2.76 make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +gzip -9 $PKG/usr/man/man*/* find $PKG -name perllocal.pod \ -o -name ".packlist" \ diff --git a/perl/perl-GD/perl-GD.info b/perl/perl-GD/perl-GD.info index 79d5a8a03f..e10108cc6b 100644 --- a/perl/perl-GD/perl-GD.info +++ b/perl/perl-GD/perl-GD.info @@ -1,10 +1,10 @@ PRGNAM="perl-GD" -VERSION="2.73" +VERSION="2.83" HOMEPAGE="https://metacpan.org/pod/GD" -DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/GD-2.73.tar.gz" -MD5SUM="c2bf1ca56d15e33d2432e4d8ba5aeadf" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/GD-2.83.tar.gz" +MD5SUM="ea5b89aeb2a7df2fcbe207bc0d4f3145" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-extutils-pkgconfig" +REQUIRES="perl-extutils-pkgconfig perl-Test-NoWarnings perl-File-Which" MAINTAINER="B. Watson" EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-Geo-Coordinates-OSGB/perl-Geo-Coordinates-OSGB.info b/perl/perl-Geo-Coordinates-OSGB/perl-Geo-Coordinates-OSGB.info index ed3fd0a0e6..47d5ff78cd 100644 --- a/perl/perl-Geo-Coordinates-OSGB/perl-Geo-Coordinates-OSGB.info +++ b/perl/perl-Geo-Coordinates-OSGB/perl-Geo-Coordinates-OSGB.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/T/TO/TOBY/Geo-Coordinates-OSGB-2. MD5SUM="651347d998e0a397b52503e8059db8ca" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-File-Share perl-File-ShareDir-Install" +REQUIRES="perl-File-Share" MAINTAINER="David Spencer" EMAIL="baildon.research@googlemail.com" diff --git a/perl/perl-Geography-Countries/perl-Geography-Countries.SlackBuild b/perl/perl-Geography-Countries/perl-Geography-Countries.SlackBuild index fe7b3958bc..899013a705 100644 --- a/perl/perl-Geography-Countries/perl-Geography-Countries.SlackBuild +++ b/perl/perl-Geography-Countries/perl-Geography-Countries.SlackBuild @@ -26,10 +26,10 @@ # # Modified by the SlackBuilds.org project. -SRCNAM="Geography-Countries-2009041301" cd $(dirname $0) ; CWD=$(pwd) PRGNAM="perl-Geography-Countries" +SRCNAM="Geography-Countries-2009041301" VERSION=${VERSION:-20090413} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -81,7 +81,7 @@ cd $TMP tar xzvf $CWD/$SRCNAM.tar.gz cd $TMP/$SRCNAM -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 664 -o -perm 666 -o -perm 600 -o -perm 440 -o -perm 444 -o -perm 400 \) \ -exec chmod 644 {} \; diff --git a/perl/perl-Getopt-Tabular/README b/perl/perl-Getopt-Tabular/README new file mode 100644 index 0000000000..8af346d7be --- /dev/null +++ b/perl/perl-Getopt-Tabular/README @@ -0,0 +1,16 @@ +Getopt::Tabular is a Perl 5 module for table-driven argument parsing, +vaguely inspired by John Ousterhout's Tk_ParseArgv. All you really need +to do to use the package is set up a table describing all your +command-line options, and call &GetOptions with three arguments: a +reference to your option table, a reference to @ARGV (or something like +it), and an optional third array reference (say, to @newARGV). +&GetOptions will process all arguments in @ARGV, and copy any leftover +arguments (i.e. those that are not options or arguments to some option) +to the @newARGV array. (If the @newARGV argument is not supplied, +GetOptions will replace @ARGV with the stripped-down argument list.) If +there are any invalid options, GetOptions will print an error message +and return 0. + +If you have local Perl set up and override the "install base" parameter +through the $PERL_MB_OPT or $PERL_MM_OPT variables then the build will +fail. diff --git a/perl/perl-Getopt-Tabular/perl-Getopt-Tabular.SlackBuild b/perl/perl-Getopt-Tabular/perl-Getopt-Tabular.SlackBuild new file mode 100644 index 0000000000..7112a413e7 --- /dev/null +++ b/perl/perl-Getopt-Tabular/perl-Getopt-Tabular.SlackBuild @@ -0,0 +1,94 @@ +#!/bin/bash + +# Slackware build script for Getopt-Tabular + +# Copyright 2024 Shahab Vahedi, NL +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Getopt-Tabular +VERSION=${VERSION:-0.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +ARCH=noarch + +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 + +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" + +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 . -type f -exec chmod 644 {} + -o -type d -exec chmod 755 {} + + +# Sanity check before setting the PREFIX, else Perl is going to bail out +case "$PERL_MB_OPT" in + *--install_base*) + printf "There should be no '--install_base' in your PERL_MB_OPT variable.\n" + exit 1 + ;; +esac +case "$PERL_MM_OPT" in + *INSTALL_BASE=*) + printf "There should be no 'INSTALL_BASE=' in your PERL_MM_OPT variable.\n" + exit 1 + ;; +esac + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG +gzip -9 $PKG/usr/man/man*/* + +find $PKG -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes README demo $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Getopt-Tabular/perl-Getopt-Tabular.info b/perl/perl-Getopt-Tabular/perl-Getopt-Tabular.info new file mode 100644 index 0000000000..4ede07bbcb --- /dev/null +++ b/perl/perl-Getopt-Tabular/perl-Getopt-Tabular.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Getopt-Tabular" +VERSION="0.3" +HOMEPAGE="https://metacpan.org/pod/Getopt::Tabular" +DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GW/GWARD/Getopt-Tabular-0.3.tar.gz" +MD5SUM="5b24ed68318a749df3930d25b13dd436" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Shahab Vahedi" +EMAIL="list+sbo@vahedi.org" diff --git a/perl/perl-Getopt-Tabular/slack-desc b/perl/perl-Getopt-Tabular/slack-desc new file mode 100644 index 0000000000..8d1dedac16 --- /dev/null +++ b/perl/perl-Getopt-Tabular/slack-desc @@ -0,0 +1,19 @@ +# 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-Getopt-Tabular: perl-Getopt-Tabular (table-driven argument parsing for Perl 5) +perl-Getopt-Tabular: +perl-Getopt-Tabular: Getopt::Tabular is a Perl 5 module for table-driven argument parsing, +perl-Getopt-Tabular: vaguely inspired by John Ousterhout's Tk_ParseArgv. +perl-Getopt-Tabular: +perl-Getopt-Tabular: +perl-Getopt-Tabular: +perl-Getopt-Tabular: +perl-Getopt-Tabular: +perl-Getopt-Tabular: +perl-Getopt-Tabular: diff --git a/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild b/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild index 95312e974c..d16d8b0e4d 100644 --- a/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild +++ b/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for perl-Glib-Object-Introspection. # -# Copyright 2017-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2017-2024 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,20 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230507 bkw: Modified by SlackBuilds.org. *DOWNGRADED* to 0.049, BUILD=2. +# With 0.050, every single package that uses this fails with: +# /usr/bin/perl: symbol lookup error: +# /usr/lib64/perl5/vendor_perl/auto/Glib/Object/Introspection/Introspection.so: +# undefined symbol: g_callable_info_create_closure +# Pretty much the only change between 0.049 and 0.050 is that support +# was added for gobject-introspection-1.72.0 and up... and we don't +# *have* a version that new on Slackware 15.0, we have 1.70.0. So the +# upgrade wasn't exactly critical anyway. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Glib-Object-Introspection -VERSION=${VERSION:-0.049} +VERSION=${VERSION:-0.051} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +48,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -91,6 +98,9 @@ make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +# 20230507 bkw: need this for 0.050 but not 0.049: +mv $PKG/usr/share/man/man1 $PKG/usr/man; rm -rf $PKG/usr/share + find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done @@ -99,7 +109,7 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp LICENSE NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cp README* LICENSE NEWS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.info b/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.info index cfd21558d3..27af4fefa5 100644 --- a/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.info +++ b/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.info @@ -1,8 +1,8 @@ PRGNAM="perl-Glib-Object-Introspection" -VERSION="0.049" +VERSION="0.051" HOMEPAGE="https://metacpan.org/release/Glib-Object-Introspection" -DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Glib-Object-Introspection-0.049.tar.gz" -MD5SUM="0d8ab0bf9c4d0a72eb35c16a2ff10d42" +DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Glib-Object-Introspection-0.051.tar.gz" +MD5SUM="461b66d671674e435ec5dfbdbed6718d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-glib" diff --git a/perl/perl-Gnome2-Vte/perl-Gnome2-Vte.info b/perl/perl-Gnome2-Vte/perl-Gnome2-Vte.info index bef97c916e..380bea7850 100644 --- a/perl/perl-Gnome2-Vte/perl-Gnome2-Vte.info +++ b/perl/perl-Gnome2-Vte/perl-Gnome2-Vte.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Gnome2-Vte-0.11.tar.gz" MD5SUM="1cb5cdfcd41873e55e923e72e64d922c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-glib perl-gtk2 perl-extutils-depends perl-extutils-pkgconfig vte2" +REQUIRES="perl-gtk2 vte2" MAINTAINER="Antonio Taverna" EMAIL="antonio.tvr@gmail.com" diff --git a/perl/perl-GooCanvas2/perl-GooCanvas2.info b/perl/perl-GooCanvas2/perl-GooCanvas2.info index a48cb741b9..5a384a310d 100644 --- a/perl/perl-GooCanvas2/perl-GooCanvas2.info +++ b/perl/perl-GooCanvas2/perl-GooCanvas2.info @@ -6,5 +6,5 @@ MD5SUM="01cd64ef59cf28e17a985038c137b19d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="goocanvas2" -MAINTAINER="Michel A. BEGUE" +MAINTAINER="Michel A. Begue" EMAIL="mab974@misouk.com" diff --git a/perl/perl-Gtk3-ImageView/perl-Gtk3-ImageView.SlackBuild b/perl/perl-Gtk3-ImageView/perl-Gtk3-ImageView.SlackBuild index 1d556a8d75..604b80ec62 100644 --- a/perl/perl-Gtk3-ImageView/perl-Gtk3-ImageView.SlackBuild +++ b/perl/perl-Gtk3-ImageView/perl-Gtk3-ImageView.SlackBuild @@ -48,7 +48,6 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/perl/perl-Gtk3-ImageView/perl-Gtk3-ImageView.info b/perl/perl-Gtk3-ImageView/perl-Gtk3-ImageView.info index 6e9d3de5e4..e81265e19b 100644 --- a/perl/perl-Gtk3-ImageView/perl-Gtk3-ImageView.info +++ b/perl/perl-Gtk3-ImageView/perl-Gtk3-ImageView.info @@ -6,5 +6,5 @@ MD5SUM="072444b8be04df9e435caeb4db5beb38" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Gtk3" -MAINTAINER="Michel A. BEGUE" +MAINTAINER="Michel A. Begue" EMAIL="mab974@misouk.com" diff --git a/perl/perl-Gtk3-SimpleList/perl-Gtk3-SimpleList.SlackBuild b/perl/perl-Gtk3-SimpleList/perl-Gtk3-SimpleList.SlackBuild index d4e83f41f8..651f3603f2 100644 --- a/perl/perl-Gtk3-SimpleList/perl-Gtk3-SimpleList.SlackBuild +++ b/perl/perl-Gtk3-SimpleList/perl-Gtk3-SimpleList.SlackBuild @@ -47,7 +47,6 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/perl/perl-Gtk3-SimpleList/perl-Gtk3-SimpleList.info b/perl/perl-Gtk3-SimpleList/perl-Gtk3-SimpleList.info index 19cf04a33a..b62727fbc1 100644 --- a/perl/perl-Gtk3-SimpleList/perl-Gtk3-SimpleList.info +++ b/perl/perl-Gtk3-SimpleList/perl-Gtk3-SimpleList.info @@ -6,5 +6,5 @@ MD5SUM="fd3c9c467fe2805f8719ba8b90528f08" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Gtk3" -MAINTAINER="Michel A. BEGUE" +MAINTAINER="Michel A. Begue" EMAIL="mab974@misouk.com" diff --git a/perl/perl-Gtk3/perl-Gtk3.info b/perl/perl-Gtk3/perl-Gtk3.info index 49e4d819c4..2501bd68bb 100644 --- a/perl/perl-Gtk3/perl-Gtk3.info +++ b/perl/perl-Gtk3/perl-Gtk3.info @@ -6,5 +6,5 @@ MD5SUM="c4f13880b5a95855cbdf3bcd6ada5661" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Glib-Object-Introspection perl-Cairo-GObject" -MAINTAINER="Michel A. BEGUE" -EMAIL="mab974@gmail.com" +MAINTAINER="Michel A. Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-HTML-FormatText-WithLinks-AndTables/perl-HTML-FormatText-WithLinks-AndTables.info b/perl/perl-HTML-FormatText-WithLinks-AndTables/perl-HTML-FormatText-WithLinks-AndTables.info index 5641095b99..823d6d913c 100644 --- a/perl/perl-HTML-FormatText-WithLinks-AndTables/perl-HTML-FormatText-WithLinks-AndTables.info +++ b/perl/perl-HTML-FormatText-WithLinks-AndTables/perl-HTML-FormatText-WithLinks-AndTables.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DA/DALEEVANS/HTML-FormatText-Wi MD5SUM="0e74b89e8ed0747c970e3de973d56e50" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-HTML-Formatter perl-HTML-FormatText-WithLinks perl-HTML-Tree" +REQUIRES="perl-HTML-FormatText-WithLinks" MAINTAINER="Nikos Giotis" EMAIL="nikos.giotis@gmail.com" diff --git a/perl/perl-HTML-FormatText-WithLinks/perl-HTML-FormatText-WithLinks.info b/perl/perl-HTML-FormatText-WithLinks/perl-HTML-FormatText-WithLinks.info index f796e9290c..12b903ab9d 100644 --- a/perl/perl-HTML-FormatText-WithLinks/perl-HTML-FormatText-WithLinks.info +++ b/perl/perl-HTML-FormatText-WithLinks/perl-HTML-FormatText-WithLinks.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/S/ST/STRUAN/HTML-FormatText-WithL MD5SUM="e048c41f600895182df327c6ce9b2cc0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-HTML-Tree perl-HTML-Formatter" +REQUIRES="perl-HTML-Formatter" MAINTAINER="Nikos Giotis" EMAIL="nikos.giotis@gmail.com" diff --git a/perl/perl-HTML-Template/perl-HTML-Template.SlackBuild b/perl/perl-HTML-Template/perl-HTML-Template.SlackBuild index 2fe09db6e2..ee8ad3d988 100644 --- a/perl/perl-HTML-Template/perl-HTML-Template.SlackBuild +++ b/perl/perl-HTML-Template/perl-HTML-Template.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for perl-HTML-Template # Copyright 2017-2021 Petar Petrov slackalaxy@gmail.com +# Copyright 2024 Kevin Bryant sultmhoor+SB@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/perl/perl-HTML-Template/perl-HTML-Template.info b/perl/perl-HTML-Template/perl-HTML-Template.info index 51aed88646..8e31c15f0d 100644 --- a/perl/perl-HTML-Template/perl-HTML-Template.info +++ b/perl/perl-HTML-Template/perl-HTML-Template.info @@ -6,5 +6,5 @@ MD5SUM="ee5f4a78102d2ffe089e047d2dbb0ff8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-CGI" -MAINTAINER="Petar Petrov" -EMAIL="slackalaxy@gmail.com" +MAINTAINER="Kevin Bryant" +EMAIL="sultmhoor+SB@gmail.com" diff --git a/perl/perl-HTML-Tidy/perl-HTML-Tidy.info b/perl/perl-HTML-Tidy/perl-HTML-Tidy.info index 356301bae7..cbfdccb823 100644 --- a/perl/perl-HTML-Tidy/perl-HTML-Tidy.info +++ b/perl/perl-HTML-Tidy/perl-HTML-Tidy.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/HTML-Tidy-1.60.tar. MD5SUM="03bafb9a0a2a23629cf9649abb2b72ab" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="tidyp perl-Test-Exception perl-Sub-Uplevel" +REQUIRES="tidyp perl-Test-Exception" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-HTML-WikiConverter-Markdown/perl-HTML-WikiConverter-Markdown.info b/perl/perl-HTML-WikiConverter-Markdown/perl-HTML-WikiConverter-Markdown.info index 24eb8d7bcb..20ad0a6ba8 100644 --- a/perl/perl-HTML-WikiConverter-Markdown/perl-HTML-WikiConverter-Markdown.info +++ b/perl/perl-HTML-WikiConverter-Markdown/perl-HTML-WikiConverter-Markdown.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/J/JF/JFEARN/HTML-WikiConverter-Ma MD5SUM="b3db779cd034cdf2da2164b63a857f03" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-html-tagset perl-HTML-WikiConverter perl-Params-Validate" +REQUIRES="perl-HTML-WikiConverter" MAINTAINER="Nikos Giotis" EMAIL="nikos.giotis@gmail.com" diff --git a/perl/perl-HTML-WikiConverter/perl-HTML-WikiConverter.info b/perl/perl-HTML-WikiConverter/perl-HTML-WikiConverter.info index 37e2dae6b9..22f78100b0 100644 --- a/perl/perl-HTML-WikiConverter/perl-HTML-WikiConverter.info +++ b/perl/perl-HTML-WikiConverter/perl-HTML-WikiConverter.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DI/DIBERRI/HTML-WikiConverter-0 MD5SUM="e6d8b16c23b6f38c51d8585f3423aca9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Class-Data-Inheritable perl-Params-Validate perl-HTML-Tree perl-html-tagset perl-CSS perl-CGI-Application perl-XML-Writer" +REQUIRES="perl-Class-Data-Inheritable perl-Params-Validate perl-HTML-Tree perl-CSS perl-CGI-Application perl-XML-Writer" MAINTAINER="Nikos Giotis" EMAIL="nikos.giotis@gmail.com" diff --git a/perl/perl-HTTP-CookieJar/README b/perl/perl-HTTP-CookieJar/README new file mode 100644 index 0000000000..e1871f0c94 --- /dev/null +++ b/perl/perl-HTTP-CookieJar/README @@ -0,0 +1,5 @@ +This module is an experimental adapter to make HTTP::CookieJar work with +LWP. It implements the two methods that LWP calls from HTTP::Cookies. + +It is not a general-purpose drop-in replacement for HTTP::Cookies in any +other way. diff --git a/perl/perl-HTTP-CookieJar/perl-HTTP-CookieJar.SlackBuild b/perl/perl-HTTP-CookieJar/perl-HTTP-CookieJar.SlackBuild new file mode 100644 index 0000000000..22bf444962 --- /dev/null +++ b/perl/perl-HTTP-CookieJar/perl-HTTP-CookieJar.SlackBuild @@ -0,0 +1,125 @@ +#!/bin/bash + +# Slackware build script for Perl HTTP::CookieJar::LWP + +# Copyright 2024 pyllyukko +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-HTTP-CookieJar +VERSION=${VERSION:-0.014} +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Build method #1 (preferred) +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +# Build method #2 +# requires perl-Module-Build or perl-Module-Build-Tiny +#perl Build.PL \ +# --installdirs vendor \ +# --config installvendorman1dir=/usr/man/man1 \ +# --config installvendorman3dir=/usr/man/man3 +#./Build +#./Build test +#./Build install \ +# --destdir $PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes LICENSE README CONTRIBUTING.mkdn \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-HTTP-CookieJar/perl-HTTP-CookieJar.info b/perl/perl-HTTP-CookieJar/perl-HTTP-CookieJar.info new file mode 100644 index 0000000000..3195a395c9 --- /dev/null +++ b/perl/perl-HTTP-CookieJar/perl-HTTP-CookieJar.info @@ -0,0 +1,10 @@ +PRGNAM="perl-HTTP-CookieJar" +VERSION="0.014" +HOMEPAGE="https://metacpan.org/pod/HTTP::CookieJar::LWP" +DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/HTTP-CookieJar-0.014.tar.gz" +MD5SUM="a1d891ce0046f1a2c19e2c617d624d0d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-http-date perl-Test-Deep perl-Test-Requires" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/perl/perl-HTTP-CookieJar/slack-desc b/perl/perl-HTTP-CookieJar/slack-desc new file mode 100644 index 0000000000..29a4bbf5fc --- /dev/null +++ b/perl/perl-HTTP-CookieJar/slack-desc @@ -0,0 +1,19 @@ +# 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-HTTP-CookieJar: perl-HTTP-CookieJar (LWP adapter for HTTP::CookieJar) +perl-HTTP-CookieJar: +perl-HTTP-CookieJar: This module is an experimental adapter to make HTTP::CookieJar work +perl-HTTP-CookieJar: with LWP. It implements the two methods that LWP calls from +perl-HTTP-CookieJar: HTTP::Cookies. +perl-HTTP-CookieJar: +perl-HTTP-CookieJar: It is not a general-purpose drop-in replacement for HTTP::Cookies in +perl-HTTP-CookieJar: any other way. +perl-HTTP-CookieJar: +perl-HTTP-CookieJar: +perl-HTTP-CookieJar: diff --git a/perl/perl-IO-CaptureOutput/perl-IO-CaptureOutput.SlackBuild b/perl/perl-IO-CaptureOutput/perl-IO-CaptureOutput.SlackBuild index bf0113e80a..fefca4fd5e 100644 --- a/perl/perl-IO-CaptureOutput/perl-IO-CaptureOutput.SlackBuild +++ b/perl/perl-IO-CaptureOutput/perl-IO-CaptureOutput.SlackBuild @@ -22,10 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -SRCNAM=IO-CaptureOutput cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-IO-CaptureOutput +SRCNAM=IO-CaptureOutput VERSION=${VERSION:-1.1104} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/perl/perl-IO-HTML/perl-IO-HTML.SlackBuild b/perl/perl-IO-HTML/perl-IO-HTML.SlackBuild index 960c968b81..3fc4439638 100644 --- a/perl/perl-IO-HTML/perl-IO-HTML.SlackBuild +++ b/perl/perl-IO-HTML/perl-IO-HTML.SlackBuild @@ -2,7 +2,8 @@ # Slackware build script for perl-IO-HTML -# Copyright 2012-15 Glenn Becker <glenn.becker@gmail.com> +# Copyright 2012-15 Glenn Becker <email removed> +# Copyright 2023 B. Watson <urchlay@slackware.uk> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,24 +26,14 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-IO-HTML -VERSION=${VERSION:-1.001} +VERSION=${VERSION:-1.004} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +ARCH=noarch -SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" +SRCNAM="IO-HTML" -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -52,20 +43,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -75,11 +52,8 @@ rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +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 \ @@ -88,22 +62,16 @@ perl Makefile.PL \ make make test make install DESTDIR=$PKG - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +gzip -9 $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 -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - Changes LICENSE README \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a Changes LICENSE README $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/perl/perl-IO-HTML/perl-IO-HTML.info b/perl/perl-IO-HTML/perl-IO-HTML.info index 6030e03f30..5b6181d75d 100644 --- a/perl/perl-IO-HTML/perl-IO-HTML.info +++ b/perl/perl-IO-HTML/perl-IO-HTML.info @@ -1,10 +1,10 @@ PRGNAM="perl-IO-HTML" -VERSION="1.001" +VERSION="1.004" HOMEPAGE="https://metacpan.org/pod/IO::HTML" -DOWNLOAD="https://cpan.metacpan.org/authors/id/C/CJ/CJM/IO-HTML-1.001.tar.gz" -MD5SUM="3f8958718844dc96b9f6946f21d70d22" +DOWNLOAD="https://cpan.metacpan.org/authors/id/C/CJ/CJM/IO-HTML-1.004.tar.gz" +MD5SUM="04bbe363686fd19bfb4cc0ed775e3d03" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Donald Cooley" -EMAIL="chytraeus@protonmail.com" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-IO-Interface/perl-IO-Interface.info b/perl/perl-IO-Interface/perl-IO-Interface.info index e06f000ed2..514e70a4e7 100644 --- a/perl/perl-IO-Interface/perl-IO-Interface.info +++ b/perl/perl-IO-Interface/perl-IO-Interface.info @@ -6,5 +6,5 @@ MD5SUM="806f97aff5a7361b6f54cd494f4cc9fd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Module-Build" -MAINTAINER="Dave Woodfall" +MAINTAINER="D Woodfall" EMAIL="dave@slackbuilds.org" diff --git a/perl/perl-IO-Multiplex/perl-IO-Multiplex.SlackBuild b/perl/perl-IO-Multiplex/perl-IO-Multiplex.SlackBuild index 845151105b..06f874d79b 100644 --- a/perl/perl-IO-Multiplex/perl-IO-Multiplex.SlackBuild +++ b/perl/perl-IO-Multiplex/perl-IO-Multiplex.SlackBuild @@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-IO-Multiplex -VERSION=${VERSION:-1.13} +VERSION=${VERSION:-1.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,7 +80,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ diff --git a/perl/perl-IO-Multiplex/perl-IO-Multiplex.info b/perl/perl-IO-Multiplex/perl-IO-Multiplex.info index a89148ae2f..628daccb92 100644 --- a/perl/perl-IO-Multiplex/perl-IO-Multiplex.info +++ b/perl/perl-IO-Multiplex/perl-IO-Multiplex.info @@ -1,8 +1,8 @@ PRGNAM="perl-IO-Multiplex" -VERSION="1.13" +VERSION="1.16" HOMEPAGE="https://metacpan.org/pod/IO::Multiplex" -DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MARKOV/IO-Multiplex-1.13.tar.gz" -MD5SUM="a74f4c07a543cbf06ba3b24fe1be94e9" +DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BB/BBB/IO-Multiplex-1.16.tar.gz" +MD5SUM="e5541d1e9f85954b95c8735ed9b19cfa" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-IO-String/perl-IO-String.info b/perl/perl-IO-String/perl-IO-String.info index 14a3c7f5f9..aff9991851 100644 --- a/perl/perl-IO-String/perl-IO-String.info +++ b/perl/perl-IO-String/perl-IO-String.info @@ -6,5 +6,5 @@ MD5SUM="250e5424f290299fc3d6b5d1e9da3835" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Dave Woodfall" +MAINTAINER="D Woodfall" EMAIL="dave@slackbuilds.org" diff --git a/perl/perl-IO-Tty/README b/perl/perl-IO-Tty/README index 9fb41d82d4..36d395c6c8 100644 --- a/perl/perl-IO-Tty/README +++ b/perl/perl-IO-Tty/README @@ -1,3 +1,5 @@ +perl-IO-Tty (Pseudo TTY object class) + IO::Tty - Perl extension that provides an interface to allow the creation of a pseudo tty. diff --git a/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild b/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild index 4f0b0be7ad..695202d8c0 100644 --- a/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild +++ b/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild @@ -4,10 +4,20 @@ # 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. + +# 20240814 bkw: update for v1.20. +# 20230224 bkw: +# - new maintainer. +# - update for v1.17. +# - add license. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-IO-Tty -VERSION=${VERSION:-1.14} +VERSION=${VERSION:-1.20} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -22,9 +32,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -34,20 +41,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -57,35 +50,27 @@ rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +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 - -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +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 -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - ChangeLog README.md \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +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 diff --git a/perl/perl-IO-Tty/perl-IO-Tty.info b/perl/perl-IO-Tty/perl-IO-Tty.info index 53bc5218a3..529da315f3 100644 --- a/perl/perl-IO-Tty/perl-IO-Tty.info +++ b/perl/perl-IO-Tty/perl-IO-Tty.info @@ -1,10 +1,10 @@ PRGNAM="perl-IO-Tty" -VERSION="1.14" +VERSION="1.20" HOMEPAGE="https://metacpan.org/pod/IO::Tty" -DOWNLOAD="https://cpan.metacpan.org/authors/id/T/TO/TODDR/IO-Tty-1.14.tar.gz" -MD5SUM="70bcec4b1b19838ed209fb96a13f3e89" +DOWNLOAD="https://cpan.metacpan.org/authors/id/T/TO/TODDR/IO-Tty-1.20.tar.gz" +MD5SUM="b46e30de0e2b8fd4d17fb32002a2d03c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Donald Cooley" -EMAIL="chytraeu@sdf.org" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-IO-stringy/perl-IO-stringy.SlackBuild b/perl/perl-IO-stringy/perl-IO-stringy.SlackBuild index 605da25cd9..f8ff2f2a9c 100644 --- a/perl/perl-IO-stringy/perl-IO-stringy.SlackBuild +++ b/perl/perl-IO-stringy/perl-IO-stringy.SlackBuild @@ -27,11 +27,11 @@ # # Modified by the SlackBuilds.org project. -SRCNAM="IO-stringy" cd $(dirname $0) ; CWD=$(pwd) PRGNAM="perl-IO-stringy" -VERSION=${VERSION:-2.111} +SRCNAM="IO-Stringy" +VERSION=${VERSION:-2.113} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -58,7 +58,7 @@ OUTPUT=${OUTPUT:-/tmp} set -e -DOCS="README COPYING" +DOCS="README COPYING Changes LICENSE" if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" @@ -79,7 +79,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ diff --git a/perl/perl-IO-stringy/perl-IO-stringy.info b/perl/perl-IO-stringy/perl-IO-stringy.info index 59d6968b5a..f4b707a6fb 100644 --- a/perl/perl-IO-stringy/perl-IO-stringy.info +++ b/perl/perl-IO-stringy/perl-IO-stringy.info @@ -1,8 +1,8 @@ PRGNAM="perl-IO-stringy" -VERSION="2.111" +VERSION="2.113" HOMEPAGE="https://metacpan.org/release/IO-stringy" -DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DS/DSKOLL/IO-stringy-2.111.tar.gz" -MD5SUM="e91acf0a800b190d13585a47de775bdd" +DOWNLOAD="https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/IO-Stringy-2.113.tar.gz" +MD5SUM="3a15654c88c6056e5857f80e615fa171" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-IP-Country/perl-IP-Country.SlackBuild b/perl/perl-IP-Country/perl-IP-Country.SlackBuild index d21c77180c..10d00c0db5 100644 --- a/perl/perl-IP-Country/perl-IP-Country.SlackBuild +++ b/perl/perl-IP-Country/perl-IP-Country.SlackBuild @@ -80,7 +80,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ diff --git a/perl/perl-IPC-Run/perl-IPC-Run.SlackBuild b/perl/perl-IPC-Run/perl-IPC-Run.SlackBuild index c5f4d49e72..644de713d7 100644 --- a/perl/perl-IPC-Run/perl-IPC-Run.SlackBuild +++ b/perl/perl-IPC-Run/perl-IPC-Run.SlackBuild @@ -64,7 +64,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Image-Info/perl-Image-Info.SlackBuild b/perl/perl-Image-Info/perl-Image-Info.SlackBuild index 113eabda30..cb8cad5c44 100644 --- a/perl/perl-Image-Info/perl-Image-Info.SlackBuild +++ b/perl/perl-Image-Info/perl-Image-Info.SlackBuild @@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Image-Info -VERSION=${VERSION:-1.41} +VERSION=${VERSION:-1.44} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,7 +80,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Image-Info/perl-Image-Info.info b/perl/perl-Image-Info/perl-Image-Info.info index fc0dfcefb2..aba0c0c54a 100644 --- a/perl/perl-Image-Info/perl-Image-Info.info +++ b/perl/perl-Image-Info/perl-Image-Info.info @@ -1,8 +1,8 @@ PRGNAM="perl-Image-Info" -VERSION="1.41" +VERSION="1.44" HOMEPAGE="https://metacpan.org/release/Image-Info" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SR/SREZIC/Image-Info-1.41.tar.gz" -MD5SUM="fdd3c379805b722a0b77ad0b6be3c90e" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SR/SREZIC/Image-Info-1.44.tar.gz" +MD5SUM="c4998ac03dd76ff538a92e70e024bfaa" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-Image-Sane/perl-Image-Sane.info b/perl/perl-Image-Sane/perl-Image-Sane.info index 54d554fa14..a14099f82e 100644 --- a/perl/perl-Image-Sane/perl-Image-Sane.info +++ b/perl/perl-Image-Sane/perl-Image-Sane.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RA/RATCLIFFE/Image-Sane-5.tar.g MD5SUM="ea37bae44f50a8e916f5d584383b2cab" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-extutils-depends perl-extutils-pkgconfig perl-Exception-Class perl-Test-Requires perl-Class-Data-Inheritable perl-Devel-StackTrace perl-Readonly perl-Try-Tiny" -MAINTAINER="Michel A. BEGUE" -EMAIL="mab974@gmail.com" +REQUIRES="perl-extutils-depends perl-extutils-pkgconfig perl-Exception-Class perl-Test-Requires perl-Readonly perl-Try-Tiny" +MAINTAINER="Michel A. Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-JSON-XS/perl-JSON-XS.info b/perl/perl-JSON-XS/perl-JSON-XS.info index 51c13c38b5..74b3cddeaf 100644 --- a/perl/perl-JSON-XS/perl-JSON-XS.info +++ b/perl/perl-JSON-XS/perl-JSON-XS.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Canary-Stability perl-Types-Serialiser" MAINTAINER="Tonus" -EMAIL="tonus1@gmail.com" +EMAIL="tonus1@free.fr" diff --git a/perl/perl-LWP-Protocol-socks/perl-LWP-Protocol-socks.info b/perl/perl-LWP-Protocol-socks/perl-LWP-Protocol-socks.info index 9fc84e06fa..02c67d938f 100644 --- a/perl/perl-LWP-Protocol-socks/perl-LWP-Protocol-socks.info +++ b/perl/perl-LWP-Protocol-socks/perl-LWP-Protocol-socks.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SC/SCR/LWP-Protocol-socks-1.7.t MD5SUM="1f2031d0838d4c04babfb85f767d9ae0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-IO-Socket-Socks libwww-perl perl-LWP-Protocol-https" +REQUIRES="perl-IO-Socket-Socks perl-LWP-Protocol-https" MAINTAINER="Donald Cooley" EMAIL="chytraeu@sdf.org" diff --git a/perl/perl-Lingua-EN-Inflect/README b/perl/perl-Lingua-EN-Inflect/README new file mode 100644 index 0000000000..b21368dce7 --- /dev/null +++ b/perl/perl-Lingua-EN-Inflect/README @@ -0,0 +1,7 @@ +The exportable subroutines of Lingua::EN::Inflect provide plural +inflections, "a"/"an" selection for English words, and manipulation +of numbers as words. +Plural forms of all nouns, most verbs, and some adjectives are +provided. Where appropriate, "classical" variants (for example: +"brother" -> "brethren", "dogma" -> "dogmata", etc.) are also +provided. diff --git a/perl/perl-Lingua-EN-Inflect/perl-Lingua-EN-Inflect.SlackBuild b/perl/perl-Lingua-EN-Inflect/perl-Lingua-EN-Inflect.SlackBuild new file mode 100644 index 0000000000..da3702a7c2 --- /dev/null +++ b/perl/perl-Lingua-EN-Inflect/perl-Lingua-EN-Inflect.SlackBuild @@ -0,0 +1,94 @@ +#!/bin/bash + +# Slackware build script for perl-Lingua-EN-Inflect + +# Copyright 2024 Charadon US +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Lingua-EN-Inflect +VERSION=${VERSION:-1.905} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" + +ARCH=noarch + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Build method #1 (preferred) +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system. +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes README $PKG/usr/doc/$PRGNAM-$VERSION +# Fixes sbopkglint error +chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/Changes +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Lingua-EN-Inflect/perl-Lingua-EN-Inflect.info b/perl/perl-Lingua-EN-Inflect/perl-Lingua-EN-Inflect.info new file mode 100644 index 0000000000..003a96321a --- /dev/null +++ b/perl/perl-Lingua-EN-Inflect/perl-Lingua-EN-Inflect.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Lingua-EN-Inflect" +VERSION="1.905" +HOMEPAGE="https://metacpan.org/pod/Lingua::EN::Inflect" +DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DC/DCONWAY/Lingua-EN-Inflect-1.905.tar.gz" +MD5SUM="6c2665abc4c1d62103324c30984a20e7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Charadon" +EMAIL="dev@iotib.net" diff --git a/perl/perl-Lingua-EN-Inflect/slack-desc b/perl/perl-Lingua-EN-Inflect/slack-desc new file mode 100644 index 0000000000..5f62a0f370 --- /dev/null +++ b/perl/perl-Lingua-EN-Inflect/slack-desc @@ -0,0 +1,19 @@ +# 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-Lingua-EN-Inflect: perl-Lingua-EN-Inflect (Convert singular to plural.) +perl-Lingua-EN-Inflect: +perl-Lingua-EN-Inflect: The exportable subroutines of Lingua::EN::Inflect provide plural +perl-Lingua-EN-Inflect: inflections, "a"/"an" selection for English words, and manipulation +perl-Lingua-EN-Inflect: of numbers as words. +perl-Lingua-EN-Inflect: +perl-Lingua-EN-Inflect: Plural forms of all nouns, most verbs, and some adjectives are +perl-Lingua-EN-Inflect: provided. Where appropriate, "classical" variants (for example: +perl-Lingua-EN-Inflect: "brother" -> "brethren", "dogma" -> "dogmata", etc.) are also +perl-Lingua-EN-Inflect: provided. +perl-Lingua-EN-Inflect: diff --git a/perl/perl-Lingua-EN-Syllable/slack-desc b/perl/perl-Lingua-EN-Syllable/slack-desc index aec35b5705..dee950ad21 100644 --- a/perl/perl-Lingua-EN-Syllable/slack-desc +++ b/perl/perl-Lingua-EN-Syllable/slack-desc @@ -6,7 +6,7 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -perl-Lingua-EN-Syllable: perl-Lingua-EN-Syllable (short description of app) +perl-Lingua-EN-Syllable: perl-Lingua-EN-Syllable (syllable estimator) perl-Lingua-EN-Syllable: perl-Lingua-EN-Syllable: Lingua::EN::Syllable::syllable() estimates the number of syllables perl-Lingua-EN-Syllable: in the word passed to it. diff --git a/perl/perl-Linux-FD/README b/perl/perl-Linux-FD/README new file mode 100644 index 0000000000..687660ff97 --- /dev/null +++ b/perl/perl-Linux-FD/README @@ -0,0 +1,9 @@ +perl-Linux-FD is a perl module that enables scripts to use three types +of Linux-specific filehandles: + + * event + * signal + * timer + +This allows script writers to use conventional polling mechanisms to +wait for a large variety of events. diff --git a/perl/perl-Linux-FD/perl-Linux-FD.SlackBuild b/perl/perl-Linux-FD/perl-Linux-FD.SlackBuild new file mode 100644 index 0000000000..59bd820807 --- /dev/null +++ b/perl/perl-Linux-FD/perl-Linux-FD.SlackBuild @@ -0,0 +1,102 @@ +#!/bin/bash + +# Slackware build script for perl-Linux-FD + +# Copyright 2023-2024 K. Eugene Carlson Tsukuba, Japan +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Linux-FD +VERSION=${VERSION:-0.016} +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 the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Build.PL \ + --installdirs vendor \ + --config installvendorman3dir=/usr/man/man3 +./Build +./Build test +./Build install \ + --destdir $PKG + +# Strip binaries and libraries +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system. +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README \ + LICENSE \ + Changes \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Copy the slack-desc into ./install +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-Linux-FD/perl-Linux-FD.info b/perl/perl-Linux-FD/perl-Linux-FD.info new file mode 100644 index 0000000000..a99c694881 --- /dev/null +++ b/perl/perl-Linux-FD/perl-Linux-FD.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Linux-FD" +VERSION="0.016" +HOMEPAGE="https://metacpan.org/pod/Linux::FD" +DOWNLOAD="https://cpan.metacpan.org/authors/id/L/LE/LEONT/Linux-FD-0.016.tar.gz" +MD5SUM="a808dec58d1874815c255790305c22a1" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Module-Build perl-Sub-Exporter perl-Test-Exception" +MAINTAINER="K. Eugene Carlson" +EMAIL="kvngncrlsn@gmail.com" diff --git a/perl/perl-Linux-FD/slack-desc b/perl/perl-Linux-FD/slack-desc new file mode 100644 index 0000000000..0722f986c9 --- /dev/null +++ b/perl/perl-Linux-FD/slack-desc @@ -0,0 +1,19 @@ +# 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-Linux-FD: perl-Linux-FD (Linux-specific special filehandles) +perl-Linux-FD: +perl-Linux-FD: perl-Linux-FD provides a means for perl scripts to use Linux-specific +perl-Linux-FD: event, signal and timer filehandles. +perl-Linux-FD: +perl-Linux-FD: +perl-Linux-FD: +perl-Linux-FD: +perl-Linux-FD: +perl-Linux-FD: Author: Leon Timmermans +perl-Linux-FD: Homepage: https://metacpan.org/pod/Linux::FD diff --git a/perl/perl-Locale-Codes/perl-Locale-Codes.SlackBuild b/perl/perl-Locale-Codes/perl-Locale-Codes.SlackBuild index ff588325b8..a6a7213610 100644 --- a/perl/perl-Locale-Codes/perl-Locale-Codes.SlackBuild +++ b/perl/perl-Locale-Codes/perl-Locale-Codes.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Locale-Codes -VERSION=${VERSION:-3.70} +VERSION=${VERSION:-3.78} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-Locale-Codes/perl-Locale-Codes.info b/perl/perl-Locale-Codes/perl-Locale-Codes.info index b3edafbed0..aa17ad3bbd 100644 --- a/perl/perl-Locale-Codes/perl-Locale-Codes.info +++ b/perl/perl-Locale-Codes/perl-Locale-Codes.info @@ -1,10 +1,10 @@ PRGNAM="perl-Locale-Codes" -VERSION="3.70" +VERSION="3.78" HOMEPAGE="https://metacpan.org/pod/Locale::Codes" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SB/SBECK/Locale-Codes-3.70.tar.gz" -MD5SUM="6e79c77d7c82f00cda3d0137c24fb798" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SB/SBECK/Locale-Codes-3.78.tar.gz" +MD5SUM="899cd9b8a9188bad93763ff0aa5ff5ee" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Test-Inter" -MAINTAINER="Michel A. BEGUE" +MAINTAINER="Michel A. Begue" EMAIL="mab974@misouk.com" diff --git a/perl/perl-Locale-Msgfmt/README b/perl/perl-Locale-Msgfmt/README deleted file mode 100644 index 854d640c47..0000000000 --- a/perl/perl-Locale-Msgfmt/README +++ /dev/null @@ -1,9 +0,0 @@ -perl-Locale-Msgfmt - -Locale::Msgfmt - Compile .po files to .mo files - -This module does the same thing as msgfmt from GNU gettext-tools, -except this is pure Perl. The interface is best explained through -examples here: - -https://metacpan.org/source/AZAWAWI/Locale-Msgfmt-0.15/lib/Locale/Msgfmt.pm diff --git a/perl/perl-Locale-Msgfmt/perl-Locale-Msgfmt.info b/perl/perl-Locale-Msgfmt/perl-Locale-Msgfmt.info deleted file mode 100644 index 9e2de3c0dd..0000000000 --- a/perl/perl-Locale-Msgfmt/perl-Locale-Msgfmt.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-Locale-Msgfmt" -VERSION="0.15" -HOMEPAGE="https://metacpan.org/pod/Locale::Msgfmt" -DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AZ/AZAWAWI/Locale-Msgfmt-0.15.tar.gz" -MD5SUM="7e6fde43db034f765f3a425dfa1dd4d8" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="perl-Module-Install" -MAINTAINER="Nikos Giotis" -EMAIL="nikos.giotis@gmail.com" diff --git a/perl/perl-MIME-Charset/perl-MIME-Charset.SlackBuild b/perl/perl-MIME-Charset/perl-MIME-Charset.SlackBuild index 32317270f1..0640132b7b 100644 --- a/perl/perl-MIME-Charset/perl-MIME-Charset.SlackBuild +++ b/perl/perl-MIME-Charset/perl-MIME-Charset.SlackBuild @@ -7,6 +7,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230109 bkw: update for v1.013.1. # 20220110 bkw: BUILD=2 # - take over maintenance. # - relicense as WTFPL with permission from Didier. @@ -17,8 +18,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-MIME-Charset -VERSION=${VERSION:-1.012.2} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.013.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-MIME-Charset/perl-MIME-Charset.info b/perl/perl-MIME-Charset/perl-MIME-Charset.info index 6b07421995..1b9b058bf4 100644 --- a/perl/perl-MIME-Charset/perl-MIME-Charset.info +++ b/perl/perl-MIME-Charset/perl-MIME-Charset.info @@ -1,8 +1,8 @@ PRGNAM="perl-MIME-Charset" -VERSION="1.012.2" -HOMEPAGE="https://metacpan.org/release/NEZUMI/MIME-Charset-1.012.2" -DOWNLOAD="https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/MIME-Charset-1.012.2.tar.gz" -MD5SUM="71440416376248c31aa3bef753fae28d" +VERSION="1.013.1" +HOMEPAGE="https://metacpan.org/pod/MIME::Charset" +DOWNLOAD="https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/MIME-Charset-1.013.1.tar.gz" +MD5SUM="b1932cfc806c8deb1b4a20d6afbfa8ac" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-MIME-Types/perl-MIME-Types.SlackBuild b/perl/perl-MIME-Types/perl-MIME-Types.SlackBuild index 15aa87c38b..8f1604f6bb 100644 --- a/perl/perl-MIME-Types/perl-MIME-Types.SlackBuild +++ b/perl/perl-MIME-Types/perl-MIME-Types.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-MIME-Types SRCNAM=MIME-Types -VERSION=${VERSION:-2.22} +VERSION=${VERSION:-2.24} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-MIME-Types/perl-MIME-Types.info b/perl/perl-MIME-Types/perl-MIME-Types.info index e8037488fe..5d18ab4d10 100644 --- a/perl/perl-MIME-Types/perl-MIME-Types.info +++ b/perl/perl-MIME-Types/perl-MIME-Types.info @@ -1,10 +1,10 @@ PRGNAM="perl-MIME-Types" -VERSION="2.22" +VERSION="2.24" HOMEPAGE="https://metacpan.org/pod/MIME::Types" -DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MARKOV/MIME-Types-2.22.tar.gz" -MD5SUM="be84dd3231e94baf34ea7943c3f5cc25" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MARKOV/MIME-Types-2.24.tar.gz" +MD5SUM="b387d22f8453c754a95f28c552d031f9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Dave Woodfall" +MAINTAINER="D Woodfall" EMAIL="dave@slackbuilds.org" diff --git a/perl/perl-MIME-tools/perl-MIME-tools.SlackBuild b/perl/perl-MIME-tools/perl-MIME-tools.SlackBuild index 59cafd59bf..33c37cac45 100644 --- a/perl/perl-MIME-tools/perl-MIME-tools.SlackBuild +++ b/perl/perl-MIME-tools/perl-MIME-tools.SlackBuild @@ -27,11 +27,11 @@ # # Modified by the SlackBuilds.org project. -SRCNAM="MIME-tools" cd $(dirname $0) ; CWD=$(pwd) PRGNAM="perl-MIME-tools" -VERSION=${VERSION:-5.506} +SRCNAM="MIME-tools" +VERSION=${VERSION:-5.515} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,7 +79,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ diff --git a/perl/perl-MIME-tools/perl-MIME-tools.info b/perl/perl-MIME-tools/perl-MIME-tools.info index f5c608391a..47483eb123 100644 --- a/perl/perl-MIME-tools/perl-MIME-tools.info +++ b/perl/perl-MIME-tools/perl-MIME-tools.info @@ -1,8 +1,8 @@ PRGNAM="perl-MIME-tools" -VERSION="5.506" +VERSION="5.515" HOMEPAGE="https://metacpan.org/release/MIME-tools" -DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DS/DSKOLL/MIME-tools-5.506.tar.gz" -MD5SUM="ddc8479d25688f8860d0bf3be9df52c5" +DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DS/DSKOLL/MIME-tools-5.515.tar.gz" +MD5SUM="dbc3c9f982498c35d8a103af17c5b5c9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Module-Install perl-Convert-BinHex perl-IO-stringy perl-MailTools" diff --git a/perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild b/perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild index 91dd1483cc..7cdadc8ddc 100644 --- a/perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild +++ b/perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM="perl-Mail-DKIM" -VERSION=${VERSION:-0.52} +VERSION=${VERSION:-1.20240619} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -71,14 +71,14 @@ else LIBDIRSUFFIX="" fi -DOCS="ChangeLog" +DOCS="Changes HACKING.DKIM LICENSE README README.md TODO" rm -fr $TMP/$SRCNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Mail-DKIM/perl-Mail-DKIM.info b/perl/perl-Mail-DKIM/perl-Mail-DKIM.info index aa069fc4eb..e5ddcac5f6 100644 --- a/perl/perl-Mail-DKIM/perl-Mail-DKIM.info +++ b/perl/perl-Mail-DKIM/perl-Mail-DKIM.info @@ -1,8 +1,8 @@ PRGNAM="perl-Mail-DKIM" -VERSION="0.52" +VERSION="1.20240619" HOMEPAGE="https://metacpan.org/release/Mail-DKIM" -DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MB/MBRADSHAW/Mail-DKIM-0.52.tar.gz" -MD5SUM="f366863f09905bbe5faa1f986133759c" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MB/MBRADSHAW/Mail-DKIM-1.20240619.tar.gz" +MD5SUM="0f37fb811c65a792c784c49cc1dba54f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Crypt-OpenSSL-RSA perl-MailTools perl-net-dns" diff --git a/perl/perl-Mail-DMARC/README b/perl/perl-Mail-DMARC/README new file mode 100644 index 0000000000..2ebd2c80d4 --- /dev/null +++ b/perl/perl-Mail-DMARC/README @@ -0,0 +1,3 @@ +This module is a suite of tools for implementing DMARC. It adheres to +the 2013 DMARC draft, intending to implement every MUST and every +SHOULD. diff --git a/perl/perl-Mail-DMARC/perl-Mail-DMARC.SlackBuild b/perl/perl-Mail-DMARC/perl-Mail-DMARC.SlackBuild new file mode 100644 index 0000000000..1236042616 --- /dev/null +++ b/perl/perl-Mail-DMARC/perl-Mail-DMARC.SlackBuild @@ -0,0 +1,124 @@ +#!/bin/bash + +# Slackware build script for Mail::DMARC + +# Copyright 2024 pyllyukko +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Mail-DMARC +VERSION=${VERSION:-1.20240314} +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +# Build method #2 +# requires perl-Module-Build or perl-Module-Build-Tiny +#perl Build.PL \ +# --installdirs vendor \ +# --config installvendorman1dir=/usr/man/man1 \ +# --config installvendorman3dir=/usr/man/man3 +#./Build +#./Build test +#./Build install \ +# --destdir $PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes.md DEVELOP.md FAQ.md INSTALL.md LICENSE README.md TODO.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Mail-DMARC/perl-Mail-DMARC.info b/perl/perl-Mail-DMARC/perl-Mail-DMARC.info new file mode 100644 index 0000000000..b08e2c0e56 --- /dev/null +++ b/perl/perl-Mail-DMARC/perl-Mail-DMARC.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Mail-DMARC" +VERSION="1.20240314" +HOMEPAGE="https://metacpan.org/pod/Mail::DMARC" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MS/MSIMERSON/Mail-DMARC-1.20240314.tar.gz" +MD5SUM="ecd5055af5262b65872b47ab86956fb9" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-File-ShareDir-Install perl-Config-Tiny perl-Test-Output perl-File-ShareDir perl-Test-File-ShareDir perl-Regexp-Common perl-xml-libxml perl-Email-MIME perl-DBIx-Simple perl-DBD-SQLite perl-Email-Sender perl-net-dns perl-Socket6 perl-Net-DNS-Resolver-Mock perl-Net-IDN-Encode" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/perl/perl-Mail-DMARC/slack-desc b/perl/perl-Mail-DMARC/slack-desc new file mode 100644 index 0000000000..991e86e2a3 --- /dev/null +++ b/perl/perl-Mail-DMARC/slack-desc @@ -0,0 +1,19 @@ +# 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-Mail-DMARC: perl-Mail-DMARC (Perl implementation of DMARC) +perl-Mail-DMARC: +perl-Mail-DMARC: This module is a suite of tools for implementing DMARC. It adheres to +perl-Mail-DMARC: the 2013 DMARC draft, intending to implement every MUST and every +perl-Mail-DMARC: SHOULD. +perl-Mail-DMARC: +perl-Mail-DMARC: +perl-Mail-DMARC: +perl-Mail-DMARC: +perl-Mail-DMARC: +perl-Mail-DMARC: diff --git a/perl/perl-Mail-SPF/perl-Mail-SPF.SlackBuild b/perl/perl-Mail-SPF/perl-Mail-SPF.SlackBuild index 081067c343..1dfe89e389 100644 --- a/perl/perl-Mail-SPF/perl-Mail-SPF.SlackBuild +++ b/perl/perl-Mail-SPF/perl-Mail-SPF.SlackBuild @@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Mail-SPF -VERSION=${VERSION:-2.9.0} +VERSION=${VERSION:-3.20240617} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} BUILD=${BUILD:-1} @@ -57,7 +57,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="CHANGES INSTALL LICENSE README" +DOCS="Changes INSTALL LICENSE README TODO" set -e @@ -78,9 +78,9 @@ fi rm -fr $TMP/$SRCNAM-v$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -tar xvf $CWD/$SRCNAM-v$VERSION.tar.gz -cd $TMP/$SRCNAM-v$VERSION -chown -R root.root . +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Mail-SPF/perl-Mail-SPF.info b/perl/perl-Mail-SPF/perl-Mail-SPF.info index cd01725837..99790b970c 100644 --- a/perl/perl-Mail-SPF/perl-Mail-SPF.info +++ b/perl/perl-Mail-SPF/perl-Mail-SPF.info @@ -1,10 +1,10 @@ PRGNAM="perl-Mail-SPF" -VERSION="2.9.0" +VERSION="3.20240617" HOMEPAGE="https://metacpan.org/pod/Mail::SPF" -DOWNLOAD="https://cpan.metacpan.org/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF-v2.9.0.tar.gz" -MD5SUM="664e20d79c87fa505080f362e827dace" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MB/MBRADSHAW/Mail-SPF-3.20240617.tar.gz" +MD5SUM="4c44f2a84b3b8fb0213ae09001918174" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Net-DNS-Resolver-Programmable perl-NetAddr-IP perl-net-dns perl-Module-Build" +REQUIRES="perl-Net-DNS-Resolver-Programmable perl-NetAddr-IP perl-net-dns perl-Error" MAINTAINER="Nishant Limbachia" EMAIL="nishant@mnspace.net" diff --git a/perl/perl-MailTools/perl-MailTools.SlackBuild b/perl/perl-MailTools/perl-MailTools.SlackBuild index 7e451f2926..4209c4d5a6 100644 --- a/perl/perl-MailTools/perl-MailTools.SlackBuild +++ b/perl/perl-MailTools/perl-MailTools.SlackBuild @@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM="perl-MailTools" -VERSION=${VERSION:-2.20} +VERSION=${VERSION:-2.21} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,7 +76,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ diff --git a/perl/perl-MailTools/perl-MailTools.info b/perl/perl-MailTools/perl-MailTools.info index a5443f46f0..b86ca95d4b 100644 --- a/perl/perl-MailTools/perl-MailTools.info +++ b/perl/perl-MailTools/perl-MailTools.info @@ -1,8 +1,8 @@ PRGNAM="perl-MailTools" -VERSION="2.20" +VERSION="2.21" HOMEPAGE="https://metacpan.org/release/MailTools" -DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MARKOV/MailTools-2.20.tar.gz" -MD5SUM="53e9d35256c3fd7cef0e4a24b15e9512" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MARKOV/MailTools-2.21.tar.gz" +MD5SUM="69ee516d40011e7e92b77c6f06c0dc01" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-TimeDate" diff --git a/perl/perl-Math-BigInt-GMP/perl-Math-BigInt-GMP.info b/perl/perl-Math-BigInt-GMP/perl-Math-BigInt-GMP.info index bc4c4efd14..e2bae53802 100644 --- a/perl/perl-Math-BigInt-GMP/perl-Math-BigInt-GMP.info +++ b/perl/perl-Math-BigInt-GMP/perl-Math-BigInt-GMP.info @@ -6,5 +6,5 @@ MD5SUM="d0eff364a67026ed8543e327879695e9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Math-MPC" -MAINTAINER="Dave Woodfall" +MAINTAINER="D Woodfall" EMAIL="dave@slackbuilds.org" diff --git a/perl/perl-Math-BigInt/perl-Math-BigInt.SlackBuild b/perl/perl-Math-BigInt/perl-Math-BigInt.SlackBuild index ee9a66782d..510a834225 100644 --- a/perl/perl-Math-BigInt/perl-Math-BigInt.SlackBuild +++ b/perl/perl-Math-BigInt/perl-Math-BigInt.SlackBuild @@ -25,20 +25,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Math-BigInt -VERSION=${VERSION:-1.999831} +VERSION=${VERSION:-1.999838} 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 +ARCH=noarch # If the variable PRINT_PACKAGE_NAME is set, then this script will report what # the name of the created package would be, and then exit. This information diff --git a/perl/perl-Math-BigInt/perl-Math-BigInt.info b/perl/perl-Math-BigInt/perl-Math-BigInt.info index 58488afc68..a6ac88034b 100644 --- a/perl/perl-Math-BigInt/perl-Math-BigInt.info +++ b/perl/perl-Math-BigInt/perl-Math-BigInt.info @@ -1,10 +1,10 @@ PRGNAM="perl-Math-BigInt" -VERSION="1.999831" +VERSION="1.999838" HOMEPAGE="https://metacpan.org/pod/Math::BigInt" -DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-1.999831.tar.gz" -MD5SUM="ab9890c60b1e634d135cb7c042fce561" +DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-1.999838.tar.gz" +MD5SUM="cc803e6c4f1cfac5ad9fc53e4c279a5c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Dave Woodfall" +MAINTAINER="D Woodfall" EMAIL="dave@slackbuilds.org" diff --git a/perl/perl-Math-GMPq/perl-Math-GMPq.info b/perl/perl-Math-GMPq/perl-Math-GMPq.info index 233d9137fb..df6b4e3e07 100644 --- a/perl/perl-Math-GMPq/perl-Math-GMPq.info +++ b/perl/perl-Math-GMPq/perl-Math-GMPq.info @@ -6,5 +6,5 @@ MD5SUM="35f2cf1c64b34537bc1c69859f03e732" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Dave Woodfall" +MAINTAINER="D Woodfall" EMAIL="dave@slackbuilds.org" diff --git a/perl/perl-Math-GMPz/perl-Math-GMPz.info b/perl/perl-Math-GMPz/perl-Math-GMPz.info index efabdeee19..ecb32d7829 100644 --- a/perl/perl-Math-GMPz/perl-Math-GMPz.info +++ b/perl/perl-Math-GMPz/perl-Math-GMPz.info @@ -6,5 +6,5 @@ MD5SUM="1f2f279a9e6634ab1d78c62238547564" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Dave Woodfall" +MAINTAINER="D Woodfall" EMAIL="dave@slackbuilds.org" diff --git a/perl/perl-Math-MPC/README b/perl/perl-Math-MPC/README index 6a42956c0c..d75a429e4e 100644 --- a/perl/perl-Math-MPC/README +++ b/perl/perl-Math-MPC/README @@ -1,9 +1,12 @@ -perl-Math-MPC (perl interface to the MPC library) +perl::Math::MPC (perl interface to the MPC library) -perl-Math-MPC is a multiple precision complex number module utilising +perl::Math::MPC is a multiple precision complex number module utilising the MPC library. Basically, this module simply wraps the 'mpc' complex number functions provided by that library. -For tests only, optional deps: perl-Math-Complex_C, -perl-Math-Complex_C-L, perl-Math-Complex_C-Q, perl-Math-GMPf, -perl-Test-Pod. +For tests only, optional deps: +perl-Math-Complex_C +perl-Math-Complex_C-L +perl-Math-Complex_C-Q +perl-Math-GMPf +perl-Test-Pod diff --git a/perl/perl-Math-MPC/perl-Math-MPC.SlackBuild b/perl/perl-Math-MPC/perl-Math-MPC.SlackBuild index 739d3d3918..fcd8c86804 100644 --- a/perl/perl-Math-MPC/perl-Math-MPC.SlackBuild +++ b/perl/perl-Math-MPC/perl-Math-MPC.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Math-MPC -VERSION=${VERSION:-1.15} +VERSION=${VERSION:-1.30} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-Math-MPC/perl-Math-MPC.info b/perl/perl-Math-MPC/perl-Math-MPC.info index 2b1fb8d868..83d822f311 100644 --- a/perl/perl-Math-MPC/perl-Math-MPC.info +++ b/perl/perl-Math-MPC/perl-Math-MPC.info @@ -1,10 +1,10 @@ PRGNAM="perl-Math-MPC" -VERSION="1.15" +VERSION="1.30" HOMEPAGE="https://metacpan.org/pod/Math::MPC" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SI/SISYPHUS/Math-MPC-1.15.tar.gz" -MD5SUM="b6f39f94dad75dea455ed392a7a4e32e" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SI/SISYPHUS/Math-MPC-1.30.tar.gz" +MD5SUM="15ca71edb32ba5790842788c5171e248" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Math-MPFR" -MAINTAINER="Dave Woodfall" +MAINTAINER="D Woodfall" EMAIL="dave@slackbuilds.org" diff --git a/perl/perl-Math-MPFR/perl-Math-MPFR.info b/perl/perl-Math-MPFR/perl-Math-MPFR.info index 2437739003..f6a4cdad84 100644 --- a/perl/perl-Math-MPFR/perl-Math-MPFR.info +++ b/perl/perl-Math-MPFR/perl-Math-MPFR.info @@ -6,5 +6,5 @@ MD5SUM="c42a564d9add76797e1bf3044cf7ef5b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Math-GMPq perl-Math-GMPz" -MAINTAINER="Dave Woodfall" +MAINTAINER="D Woodfall" EMAIL="dave@slackbuilds.org" diff --git a/perl/perl-Math-Prime-Util-GMP/README b/perl/perl-Math-Prime-Util-GMP/README index fa2a7cd262..985319a760 100644 --- a/perl/perl-Math-Prime-Util-GMP/README +++ b/perl/perl-Math-Prime-Util-GMP/README @@ -1,4 +1,4 @@ -perl-Math-Prime-Util-GMP (module for number theory in Perl using GMP) +perl::Math::Prime::Util::GMP (Perl module for number theory using GMP) Math::Prime::Util::GMP - Utilities related to prime numbers and factoring, using GMP. diff --git a/perl/perl-Math-Prime-Util-GMP/perl-Math-Prime-Util-GMP.SlackBuild b/perl/perl-Math-Prime-Util-GMP/perl-Math-Prime-Util-GMP.SlackBuild index 99b0172615..72652137a4 100644 --- a/perl/perl-Math-Prime-Util-GMP/perl-Math-Prime-Util-GMP.SlackBuild +++ b/perl/perl-Math-Prime-Util-GMP/perl-Math-Prime-Util-GMP.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Math-Prime-Util-GMP -VERSION=${VERSION:-0.51} +VERSION=${VERSION:-0.52} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-Math-Prime-Util-GMP/perl-Math-Prime-Util-GMP.info b/perl/perl-Math-Prime-Util-GMP/perl-Math-Prime-Util-GMP.info index 0357bba9b0..4d90b4b926 100644 --- a/perl/perl-Math-Prime-Util-GMP/perl-Math-Prime-Util-GMP.info +++ b/perl/perl-Math-Prime-Util-GMP/perl-Math-Prime-Util-GMP.info @@ -1,10 +1,10 @@ PRGNAM="perl-Math-Prime-Util-GMP" -VERSION="0.51" +VERSION="0.52" HOMEPAGE="https://metacpan.org/pod/Math::Prime::Util::GMP" -DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DA/DANAJ/Math-Prime-Util-GMP-0.51.tar.gz" -MD5SUM="a29111ed57fd1f4c0bfbd4a36cbb2500" +DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DA/DANAJ/Math-Prime-Util-GMP-0.52.tar.gz" +MD5SUM="a5a98d7a5533167ee87c66ce44b33fa7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Dave Woodfall" +MAINTAINER="D Woodfall" EMAIL="dave@slackbuilds.org" diff --git a/perl/perl-Math-Prime-Util/perl-Math-Prime-Util.info b/perl/perl-Math-Prime-Util/perl-Math-Prime-Util.info index 29424e7789..f724a23d42 100644 --- a/perl/perl-Math-Prime-Util/perl-Math-Prime-Util.info +++ b/perl/perl-Math-Prime-Util/perl-Math-Prime-Util.info @@ -6,5 +6,5 @@ MD5SUM="26496630990db586dfede6551de79cbe" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Math-Prime-Util-GMP" -MAINTAINER="Dave Woodfall" +MAINTAINER="D Woodfall" EMAIL="dave@slackbuilds.org" diff --git a/perl/perl-MaxMind-DB-Common/perl-MaxMind-DB-Common.info b/perl/perl-MaxMind-DB-Common/perl-MaxMind-DB-Common.info index a16ff3287b..49108a524b 100644 --- a/perl/perl-MaxMind-DB-Common/perl-MaxMind-DB-Common.info +++ b/perl/perl-MaxMind-DB-Common/perl-MaxMind-DB-Common.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MAXMIND/MaxMind-DB-Common-0. MD5SUM="ccf2536306c7815b2aa1f60a57c1d4e5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Data-Dumper-Concise perl-DateTime perl-List-AllUtils perl-Math-BigInt perl-MooX-StrictConstructor perl-namespace-autoclean perl-Scalar-List-Utils" +REQUIRES="perl-Data-Dumper-Concise perl-DateTime perl-Math-BigInt perl-MooX-StrictConstructor perl-namespace-autoclean" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-MaxMind-DB-Reader-XS/perl-MaxMind-DB-Reader-XS.info b/perl/perl-MaxMind-DB-Reader-XS/perl-MaxMind-DB-Reader-XS.info index cac2ec375b..6390be7408 100644 --- a/perl/perl-MaxMind-DB-Reader-XS/perl-MaxMind-DB-Reader-XS.info +++ b/perl/perl-MaxMind-DB-Reader-XS/perl-MaxMind-DB-Reader-XS.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MAXMIND/MaxMind-DB-Reader-XS MD5SUM="d4567d35e1b0868110f59f45c87fc641" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Math-Int64 perl-Math-Int128 perl-namespace-autoclean perl-MaxMind-DB-Reader libmaxminddb" +REQUIRES="perl-Math-Int128 perl-MaxMind-DB-Reader libmaxminddb" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-MaxMind-DB-Reader/perl-MaxMind-DB-Reader.info b/perl/perl-MaxMind-DB-Reader/perl-MaxMind-DB-Reader.info index 77503e1527..1df69c86b9 100644 --- a/perl/perl-MaxMind-DB-Reader/perl-MaxMind-DB-Reader.info +++ b/perl/perl-MaxMind-DB-Reader/perl-MaxMind-DB-Reader.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MAXMIND/MaxMind-DB-Reader-1. MD5SUM="cd5c259023f7b483cc1204398dcaa6b4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Data-IEEE754 perl-Data-Printer perl-Data-Validate-IP perl-DateTime perl-List-AllUtils perl-Math-BigInt perl-MaxMind-DB-Common perl-Module-Implementation perl-MooX-StrictConstructor perl-namespace-autoclean perl-Role-Tiny perl-Path-Class perl-Test-Number-Delta" +REQUIRES="perl-Data-IEEE754 perl-Data-Printer perl-Data-Validate-IP perl-MaxMind-DB-Common perl-Path-Class perl-Test-Number-Delta" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Meta-Requirements-Range/README b/perl/perl-Meta-Requirements-Range/README new file mode 100644 index 0000000000..0cd7d22c40 --- /dev/null +++ b/perl/perl-Meta-Requirements-Range/README @@ -0,0 +1,4 @@ +A CPAN::Meta::Requirements::Range object models a set of version +constraints like those specified in the META.yml or META.json files +in CPAN distributions, and as defined by CPAN::Meta::Spec; +representation. diff --git a/perl/perl-Meta-Requirements-Range/perl-Meta-Requirements-Range.SlackBuild b/perl/perl-Meta-Requirements-Range/perl-Meta-Requirements-Range.SlackBuild new file mode 100644 index 0000000000..8f12d1df79 --- /dev/null +++ b/perl/perl-Meta-Requirements-Range/perl-Meta-Requirements-Range.SlackBuild @@ -0,0 +1,91 @@ +#!/bin/bash + +# Slackware build script for perl-Meta-Requirements-Dynamic + +# Copyright 2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Meta-Requirements-Range +SRCNAM=CPAN-Meta-Requirements +VERSION=${VERSION:-2.143} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README Changes LICENSE MANIFEST $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Meta-Requirements-Range/perl-Meta-Requirements-Range.info b/perl/perl-Meta-Requirements-Range/perl-Meta-Requirements-Range.info new file mode 100644 index 0000000000..3c9c661f45 --- /dev/null +++ b/perl/perl-Meta-Requirements-Range/perl-Meta-Requirements-Range.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Meta-Requirements-Range" +VERSION="2.143" +HOMEPAGE="https://metacpan.org/pod/CPAN::Meta::Requirements::Range" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/CPAN-Meta-Requirements-2.143.tar.gz" +MD5SUM="b26ca50ca6eb04f727876da83b828241" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Willy Sudiarto Raharjo" +EMAIL="willysr@slackbuilds.org" diff --git a/perl/perl-Meta-Requirements-Range/slack-desc b/perl/perl-Meta-Requirements-Range/slack-desc new file mode 100644 index 0000000000..8c63690325 --- /dev/null +++ b/perl/perl-Meta-Requirements-Range/slack-desc @@ -0,0 +1,19 @@ +# 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-Meta-Requirements-Range: perl-Meta-Requirements-Range (Version requirements for CPAN Dist) +perl-Meta-Requirements-Range: +perl-Meta-Requirements-Range: A CPAN::Meta::Requirements::Range object models a set of version +perl-Meta-Requirements-Range: constraints like those specified in the META.yml or META.json files +perl-Meta-Requirements-Range: in CPAN distributions, and as defined by CPAN::Meta::Spec; +perl-Meta-Requirements-Range: representation. +perl-Meta-Requirements-Range: +perl-Meta-Requirements-Range: +perl-Meta-Requirements-Range: URL: https://metacpan.org/pod/CPAN::Meta::Requirements::Range +perl-Meta-Requirements-Range: +perl-Meta-Requirements-Range: diff --git a/perl/perl-Module-Build-Tiny/perl-Module-Build-Tiny.SlackBuild b/perl/perl-Module-Build-Tiny/perl-Module-Build-Tiny.SlackBuild index 013d8fe61e..143c6909e4 100644 --- a/perl/perl-Module-Build-Tiny/perl-Module-Build-Tiny.SlackBuild +++ b/perl/perl-Module-Build-Tiny/perl-Module-Build-Tiny.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-Module-Build-Tiny -# Copyright 2013-2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2013-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Module-Build-Tiny -VERSION=${VERSION:-0.039} +VERSION=${VERSION:-0.051} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -52,20 +49,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG diff --git a/perl/perl-Module-Build-Tiny/perl-Module-Build-Tiny.info b/perl/perl-Module-Build-Tiny/perl-Module-Build-Tiny.info index 45fcecebc5..83c22d9169 100644 --- a/perl/perl-Module-Build-Tiny/perl-Module-Build-Tiny.info +++ b/perl/perl-Module-Build-Tiny/perl-Module-Build-Tiny.info @@ -1,10 +1,10 @@ PRGNAM="perl-Module-Build-Tiny" -VERSION="0.039" +VERSION="0.051" HOMEPAGE="https://metacpan.org/pod/Module::Build::Tiny" -DOWNLOAD="http://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-Tiny-0.039.tar.gz" -MD5SUM="2332c90c17454107fea3f2614e11a3a9" +DOWNLOAD="http://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-Tiny-0.051.tar.gz" +MD5SUM="15b4434617b61e70315c0838c020a48e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-ExtUtils-Config perl-ExtUtils-InstallPaths perl-ExtUtils-Helpers perl-Test-Harness perl-JSON" +REQUIRES="perl-ExtUtils-InstallPaths perl-ExtUtils-Helpers perl-Test-Harness perl-JSON perl-CPAN-Requirements-Dynamic" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" diff --git a/perl/perl-Module-Build-XSUtil/README b/perl/perl-Module-Build-XSUtil/README new file mode 100644 index 0000000000..33896298cf --- /dev/null +++ b/perl/perl-Module-Build-XSUtil/README @@ -0,0 +1,2 @@ +A Module::Build class for building XS modules + diff --git a/perl/perl-Module-Build-XSUtil/perl-Module-Build-XSUtil.SlackBuild b/perl/perl-Module-Build-XSUtil/perl-Module-Build-XSUtil.SlackBuild new file mode 100644 index 0000000000..e9a670c4c4 --- /dev/null +++ b/perl/perl-Module-Build-XSUtil/perl-Module-Build-XSUtil.SlackBuild @@ -0,0 +1,107 @@ +#!/bin/bash + +# Slackware build script for perl-Module-Build-XSUtil + +# Copyright 2023 Tonus Paris +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Module-Build-XSUtil +VERSION=${VERSION:-0.19} +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 the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Build.PL --installdirs vendor --config installvendorman1dir=/usr/man/man1 --config installvendorman3dir=/usr/man/man3 +./Build +./Build test +./Build install --destdir $PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes LICENSE MANIFEST README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Module-Build-XSUtil/perl-Module-Build-XSUtil.info b/perl/perl-Module-Build-XSUtil/perl-Module-Build-XSUtil.info new file mode 100644 index 0000000000..99f0e402e0 --- /dev/null +++ b/perl/perl-Module-Build-XSUtil/perl-Module-Build-XSUtil.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Module-Build-XSUtil" +VERSION="0.19" +HOMEPAGE="https://github.com/hideo55/Module-Build-XSUtil" +DOWNLOAD="https://cpan.metacpan.org/authors/id/H/HI/HIDEAKIO/Module-Build-XSUtil-0.19.tar.gz" +MD5SUM="7ebe5859645989a556c333f3de7fc337" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Devel-CheckCompiler perl-File-Copy-Recursive-Reduced perl-Cwd-Guard" +MAINTAINER="Tonus" +EMAIL="tonus1@free.fr" diff --git a/perl/perl-Module-Build-XSUtil/slack-desc b/perl/perl-Module-Build-XSUtil/slack-desc new file mode 100644 index 0000000000..f65e1c4d93 --- /dev/null +++ b/perl/perl-Module-Build-XSUtil/slack-desc @@ -0,0 +1,19 @@ +# 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-Module-Build-XSUtil: perl-Module-Build-XSUtil (perl Module::Build::XSUtil) +perl-Module-Build-XSUtil: +perl-Module-Build-XSUtil: A Module::Build class for building XS modules +perl-Module-Build-XSUtil: +perl-Module-Build-XSUtil: +perl-Module-Build-XSUtil: +perl-Module-Build-XSUtil: +perl-Module-Build-XSUtil: +perl-Module-Build-XSUtil: +perl-Module-Build-XSUtil: +perl-Module-Build-XSUtil: diff --git a/perl/perl-Module-Build/README b/perl/perl-Module-Build/README index f7aba01926..c8b36ee46e 100644 --- a/perl/perl-Module-Build/README +++ b/perl/perl-Module-Build/README @@ -8,4 +8,5 @@ It is meant to be an alternative to ExtUtils::MakeMaker. Optional dependencies: perl-inc-latest (experimental, see README) +perl-PAR-Dist perl-Archive-Zip diff --git a/perl/perl-Module-Build/perl-Module-Build.SlackBuild b/perl/perl-Module-Build/perl-Module-Build.SlackBuild index 856640b94f..231f6c6ae7 100644 --- a/perl/perl-Module-Build/perl-Module-Build.SlackBuild +++ b/perl/perl-Module-Build/perl-Module-Build.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for perl-Module-Build. # -# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2023 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,20 +25,14 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Module-Build -VERSION=${VERSION:-0.4231} +VERSION=${VERSION:-0.4234} 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 +ARCH=noarch # If the variable PRINT_PACKAGE_NAME is set, then this script will report what # the name of the created package would be, and then exit. This information @@ -106,7 +100,7 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp Changes INSTALL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION +cp Changes LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/perl/perl-Module-Build/perl-Module-Build.info b/perl/perl-Module-Build/perl-Module-Build.info index 385e56fa6e..6d8375e567 100644 --- a/perl/perl-Module-Build/perl-Module-Build.info +++ b/perl/perl-Module-Build/perl-Module-Build.info @@ -1,10 +1,10 @@ PRGNAM="perl-Module-Build" -VERSION="0.4231" +VERSION="0.4234" HOMEPAGE="https://metacpan.org/pod/Module::Build" -DOWNLOAD="https://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-0.4231.tar.gz" -MD5SUM="066b193e461d7dfe1eca17a139353001" +DOWNLOAD="https://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-0.4234.tar.gz" +MD5SUM="0032d0c0bc36a3b68ef41c947829d5e3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-PAR-Dist" +REQUIRES="" MAINTAINER="Edinaldo P. Silva" EMAIL="edps.mundognu@gmail.com" diff --git a/perl/perl-Module-Install/perl-Module-Install.SlackBuild b/perl/perl-Module-Install/perl-Module-Install.SlackBuild index 0e3ae06411..8bef7ddbae 100644 --- a/perl/perl-Module-Install/perl-Module-Install.SlackBuild +++ b/perl/perl-Module-Install/perl-Module-Install.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for perl-Module-Install. # -# Copyright 2020 M.A. Begue mab974@gmail.com +# Copyright 2020 M.A. Begue mab974@misouk.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Module-Install -VERSION=${VERSION:-1.19} +VERSION=${VERSION:-1.21} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -86,6 +86,7 @@ perl Makefile.PL \ INSTALLDIRS=vendor \ INSTALLVENDORMAN3DIR=/usr/man/man3 make +make test make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/perl/perl-Module-Install/perl-Module-Install.info b/perl/perl-Module-Install/perl-Module-Install.info index 7242f629a9..7c5c6f1cab 100644 --- a/perl/perl-Module-Install/perl-Module-Install.info +++ b/perl/perl-Module-Install/perl-Module-Install.info @@ -1,10 +1,10 @@ PRGNAM="perl-Module-Install" -VERSION="1.19" +VERSION="1.21" HOMEPAGE="https://metacpan.org/pod/Module::Install" -DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Module-Install-1.19.tar.gz" -MD5SUM="0d1b78cc13ebf9b9ad008c8928a5b2dd" +DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Module-Install-1.21.tar.gz" +MD5SUM="71a170c4ecc224cb5c8b147830979549" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-YAML-Tiny perl-File-Remove" -MAINTAINER="Michel A. BEGUE" -EMAIL="mab974@gmail.com" +MAINTAINER="Michel A. Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-Module-Manifest/perl-Module-Manifest.SlackBuild b/perl/perl-Module-Manifest/perl-Module-Manifest.SlackBuild index 38d572815a..6519146614 100644 --- a/perl/perl-Module-Manifest/perl-Module-Manifest.SlackBuild +++ b/perl/perl-Module-Manifest/perl-Module-Manifest.SlackBuild @@ -7,7 +7,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Module-Manifest -VERSION=${VERSION:-1.08} +VERSION=${VERSION:-1.09} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-Module-Manifest/perl-Module-Manifest.info b/perl/perl-Module-Manifest/perl-Module-Manifest.info index 4cf3c5dcce..ce620b737f 100644 --- a/perl/perl-Module-Manifest/perl-Module-Manifest.info +++ b/perl/perl-Module-Manifest/perl-Module-Manifest.info @@ -1,8 +1,8 @@ PRGNAM="perl-Module-Manifest" -VERSION="1.08" +VERSION="1.09" HOMEPAGE="https://metacpan.org/release/Module-Manifest" -DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AD/ADAMK/Module-Manifest-1.08.tar.gz" -MD5SUM="90f035a0074c3edcf8f595a38ec90da1" +DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Module-Manifest-1.09.tar.gz" +MD5SUM="71cd43db0ef8d6497b4b0415497453c6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Params-Util perl-Test-Exception perl-test-warn perl-Module-Install" diff --git a/perl/perl-Mojolicious-Plugin-Humane/perl-Mojolicious-Plugin-Humane.info b/perl/perl-Mojolicious-Plugin-Humane/perl-Mojolicious-Plugin-Humane.info index 355f17f5bf..434761fb60 100644 --- a/perl/perl-Mojolicious-Plugin-Humane/perl-Mojolicious-Plugin-Humane.info +++ b/perl/perl-Mojolicious-Plugin-Humane/perl-Mojolicious-Plugin-Humane.info @@ -6,5 +6,5 @@ MD5SUM="46874cd2f9c671af6de35e143e840d30" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Mojolicious perl-File-ShareDir perl-Module-Build" -MAINTAINER="Michel A. BEGUE" -EMAIL="mab974@gmail.com" +MAINTAINER="Michel A. Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-Mojolicious-Plugin-I18N/perl-Mojolicious-Plugin-I18N.info b/perl/perl-Mojolicious-Plugin-I18N/perl-Mojolicious-Plugin-I18N.info index 8c5f010999..f9bedbbfe9 100644 --- a/perl/perl-Mojolicious-Plugin-I18N/perl-Mojolicious-Plugin-I18N.info +++ b/perl/perl-Mojolicious-Plugin-I18N/perl-Mojolicious-Plugin-I18N.info @@ -6,5 +6,5 @@ MD5SUM="4002f7a7da4c90973ad6eedfb0fcfa16" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Mojolicious perl-Module-Build" -MAINTAINER="Michel A. BEGUE" -EMAIL="mab974@gmail.com" +MAINTAINER="Michel A. Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-Mojolicious/perl-Mojolicious.SlackBuild b/perl/perl-Mojolicious/perl-Mojolicious.SlackBuild index 9e0c3d10dc..21a84a3655 100644 --- a/perl/perl-Mojolicious/perl-Mojolicious.SlackBuild +++ b/perl/perl-Mojolicious/perl-Mojolicious.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for perl-Mojolicious # Copyright 2017-2019 Andreas Guldstrand. +# Copyright 2023-2024 Kevin Bryant # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Mojolicious -VERSION=${VERSION:-8.11} +VERSION=${VERSION:-9.38} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -33,16 +34,9 @@ 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 + ARCH="noarch" fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -52,20 +46,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG diff --git a/perl/perl-Mojolicious/perl-Mojolicious.info b/perl/perl-Mojolicious/perl-Mojolicious.info index aa8bd3fc7e..71c8ae6c81 100644 --- a/perl/perl-Mojolicious/perl-Mojolicious.info +++ b/perl/perl-Mojolicious/perl-Mojolicious.info @@ -1,10 +1,10 @@ PRGNAM="perl-Mojolicious" -VERSION="8.11" +VERSION="9.38" HOMEPAGE="https://mojolicious.org/" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SR/SRI/Mojolicious-8.11.tar.gz" -MD5SUM="00419dac75fec23d06fe8695e4bde303" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SR/SRI/Mojolicious-9.38.tar.gz" +MD5SUM="0f1eba69cfdb8be36a8c6f0a30d707d1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Andreas Guldstrand" -EMAIL="andreas.guldstrand@gmail.com" +MAINTAINER="Kevin Bryant" +EMAIL="sultmhoor+SB@gmail.com" diff --git a/perl/perl-MooX-Types-MooseLike/README b/perl/perl-MooX-Types-MooseLike/README new file mode 100644 index 0000000000..ae86a79350 --- /dev/null +++ b/perl/perl-MooX-Types-MooseLike/README @@ -0,0 +1,7 @@ +This module provides a possibility to build your own set of Moose-like +types. These custom types can then be used to describe fields in +Moo-based classes. + +See MooX::Types::MooseLike::Base for a list of available base types. Its +source also provides an example of how to build base types, along with +both parameterizable and non-parameterizable. diff --git a/perl/perl-MooX-Types-MooseLike/perl-MooX-Types-MooseLike.SlackBuild b/perl/perl-MooX-Types-MooseLike/perl-MooX-Types-MooseLike.SlackBuild new file mode 100644 index 0000000000..86f1fe3887 --- /dev/null +++ b/perl/perl-MooX-Types-MooseLike/perl-MooX-Types-MooseLike.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/bash + +# Slackware build script for perl-MooX-Types-MooseLike + +# Copyright 2024 pyllyukko +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-MooX-Types-MooseLike +VERSION=${VERSION:-0.29} +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes README \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-MooX-Types-MooseLike/perl-MooX-Types-MooseLike.info b/perl/perl-MooX-Types-MooseLike/perl-MooX-Types-MooseLike.info new file mode 100644 index 0000000000..31e524ff29 --- /dev/null +++ b/perl/perl-MooX-Types-MooseLike/perl-MooX-Types-MooseLike.info @@ -0,0 +1,10 @@ +PRGNAM="perl-MooX-Types-MooseLike" +VERSION="0.29" +HOMEPAGE="https://metacpan.org/pod/MooX::Types::MooseLike" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MATEU/MooX-Types-MooseLike-0.29.tar.gz" +MD5SUM="0905b92c1b44578e05e7f08fa7adb9ee" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Test-Fatal perl-Role-Tiny" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/perl/perl-MooX-Types-MooseLike/slack-desc b/perl/perl-MooX-Types-MooseLike/slack-desc new file mode 100644 index 0000000000..fdb8c108f6 --- /dev/null +++ b/perl/perl-MooX-Types-MooseLike/slack-desc @@ -0,0 +1,19 @@ +# 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-MooX-Types-MooseLike: perl-MooX-Types-MooseLike (some Moosish types and a type builder) +perl-MooX-Types-MooseLike: +perl-MooX-Types-MooseLike: This module provides a possibility to build your own set of Moose-like +perl-MooX-Types-MooseLike: types. These custom types can then be used to describe fields in +perl-MooX-Types-MooseLike: Moo-based classes. +perl-MooX-Types-MooseLike: +perl-MooX-Types-MooseLike: See MooX::Types::MooseLike::Base for a list of available base types. +perl-MooX-Types-MooseLike: Its source also provides an example of how to build base types, along +perl-MooX-Types-MooseLike: with both parameterizable and non-parameterizable. +perl-MooX-Types-MooseLike: +perl-MooX-Types-MooseLike: diff --git a/perl/perl-Moose/perl-Moose.info b/perl/perl-Moose/perl-Moose.info index ff51cebe74..3362e990c9 100644 --- a/perl/perl-Moose/perl-Moose.info +++ b/perl/perl-Moose/perl-Moose.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Moose-2.2012.tar.gz" MD5SUM="4aaf729a9c575aab2c0cbd127cd8edf1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Class-Load-XS perl-Data-OptList perl-Devel-GlobalDestruction perl-Devel-OverloadInfo perl-Devel-StackTrace perl-Dist-CheckConflicts perl-Eval-Closure perl-MRO-Compat perl-Module-Runtime-Conflicts perl-Package-DeprecationManager perl-Package-Stash perl-Package-Stash-XS perl-Params-Util perl-Sub-Exporter perl-Sub-Identify perl-Sub-Name perl-Try-Tiny perl-CPAN-Meta-Check perl-Test-CleanNamespaces perl-Class-Load-XS perl-Devel-StackTrace perl-Scalar-List-Utils perl-Role-Tiny" +REQUIRES="perl-Class-Load-XS perl-Devel-GlobalDestruction perl-Devel-OverloadInfo perl-Devel-StackTrace perl-Eval-Closure perl-Module-Runtime-Conflicts perl-Package-DeprecationManager perl-CPAN-Meta-Check perl-Test-CleanNamespaces perl-Scalar-List-Utils perl-Role-Tiny" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-MooseX-Types-Structured/perl-MooseX-Types-Structured.info b/perl/perl-MooseX-Types-Structured/perl-MooseX-Types-Structured.info index 757a7add18..2136b88f05 100644 --- a/perl/perl-MooseX-Types-Structured/perl-MooseX-Types-Structured.info +++ b/perl/perl-MooseX-Types-Structured/perl-MooseX-Types-Structured.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/MooseX-Types-Structure MD5SUM="d29c7bdaf44a90b3871dc040157015c5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Devel-PartialDump perl-MooseX-Types perl-Sub-Exporter perl-Test-Needs perl-DateTime" +REQUIRES="perl-Devel-PartialDump perl-MooseX-Types perl-DateTime" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild b/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild index a448eff044..6ab8fa21b9 100644 --- a/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild +++ b/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild @@ -30,6 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM="perl-Net-CIDR" VERSION=${VERSION:-0.17} BUILD=${BUILD:-1} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" @@ -52,7 +53,6 @@ fi TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} OUTPUT=${OUTPUT:-/tmp} set -e @@ -72,7 +72,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Net-Curl/README b/perl/perl-Net-Curl/README new file mode 100644 index 0000000000..1b08472e1d --- /dev/null +++ b/perl/perl-Net-Curl/README @@ -0,0 +1,4 @@ +perl-Net-Curl (Perl interface for libcurl) + +Net::Curl provides a Perl interface to libcurl created with +object-oriented implementations in mind. diff --git a/perl/perl-Test-Script/perl-Test-Script.SlackBuild b/perl/perl-Net-Curl/perl-Net-Curl.SlackBuild index feed1d477e..da15413f06 100644 --- a/perl/perl-Test-Script/perl-Test-Script.SlackBuild +++ b/perl/perl-Net-Curl/perl-Net-Curl.SlackBuild @@ -1,8 +1,8 @@ #!/bin/bash -# Slackware build script for Test-Script +# Slackware build script for perl-Net-Curl -# Copyright 2011 Mikko Värri, Finland +# Copyright 2023-2024 Samuel Young, MO, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,13 +24,13 @@ cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=perl-Test-Script -VERSION=${VERSION:-1.07} +PRGNAM=perl-Net-Curl +VERSION=${VERSION:-0.56} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -62,19 +59,23 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; perl Makefile.PL \ PREFIX=/usr \ INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ INSTALLVENDORMAN3DIR=/usr/man/man3 make make test make install DESTDIR=$PKG +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done @@ -83,7 +84,9 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Changes LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION +cp -ra \ + Changes LICENSE README examples \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/perl/perl-Net-Curl/perl-Net-Curl.info b/perl/perl-Net-Curl/perl-Net-Curl.info new file mode 100644 index 0000000000..ce36c9c9e8 --- /dev/null +++ b/perl/perl-Net-Curl/perl-Net-Curl.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-Curl" +VERSION="0.56" +HOMEPAGE="https://github.com/sparky/perl-Net-Curl" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SY/SYP/Net-Curl-0.56.tar.gz" +MD5SUM="9836b47a927b6b9a41fb8c144bb5b003" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-extutils-pkgconfig" +MAINTAINER="Samuel Young" +EMAIL="samyoung12788@gmail.com" diff --git a/perl/perl-Net-Curl/slack-desc b/perl/perl-Net-Curl/slack-desc new file mode 100644 index 0000000000..cc2274112b --- /dev/null +++ b/perl/perl-Net-Curl/slack-desc @@ -0,0 +1,19 @@ +# 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-Net-Curl: perl-Net-Curl (Perl interface for libcurl) +perl-Net-Curl: +perl-Net-Curl: Net::Curl provides a Perl interface to libcurl created with +perl-Net-Curl: object-oriented implementations in mind. +perl-Net-Curl: +perl-Net-Curl: +perl-Net-Curl: +perl-Net-Curl: +perl-Net-Curl: +perl-Net-Curl: Homepage: https://github.com/sparky/perl-Net-Curl +perl-Net-Curl: diff --git a/perl/perl-Net-DNS-Resolver-Mock/README b/perl/perl-Net-DNS-Resolver-Mock/README new file mode 100644 index 0000000000..4e0a12dcf3 --- /dev/null +++ b/perl/perl-Net-DNS-Resolver-Mock/README @@ -0,0 +1,2 @@ +A subclass of Net::DNS::Resolver which parses a zonefile for it's data +source. Primarily for use in testing. diff --git a/perl/perl-Net-DNS-Resolver-Mock/perl-Net-DNS-Resolver-Mock.SlackBuild b/perl/perl-Net-DNS-Resolver-Mock/perl-Net-DNS-Resolver-Mock.SlackBuild new file mode 100644 index 0000000000..86c9b058f8 --- /dev/null +++ b/perl/perl-Net-DNS-Resolver-Mock/perl-Net-DNS-Resolver-Mock.SlackBuild @@ -0,0 +1,114 @@ +#!/bin/bash + +# Slackware build script for perl-Net-DNS-Resolver-Mock + +# Copyright 2024 pyllyukko +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Net-DNS-Resolver-Mock +VERSION=${VERSION:-1.20230216} +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Build method #1 (preferred) +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes LICENSE README \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Net-DNS-Resolver-Mock/perl-Net-DNS-Resolver-Mock.info b/perl/perl-Net-DNS-Resolver-Mock/perl-Net-DNS-Resolver-Mock.info new file mode 100644 index 0000000000..16b491f5b0 --- /dev/null +++ b/perl/perl-Net-DNS-Resolver-Mock/perl-Net-DNS-Resolver-Mock.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-DNS-Resolver-Mock" +VERSION="1.20230216" +HOMEPAGE="https://metacpan.org/pod/Net::DNS::Resolver::Mock" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MB/MBRADSHAW/Net-DNS-Resolver-Mock-1.20230216.tar.gz" +MD5SUM="d191b6b1eb40497024988f500fe65ed4" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Test-Exception perl-net-dns" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/perl/perl-Net-DNS-Resolver-Mock/slack-desc b/perl/perl-Net-DNS-Resolver-Mock/slack-desc new file mode 100644 index 0000000000..c7daefbb90 --- /dev/null +++ b/perl/perl-Net-DNS-Resolver-Mock/slack-desc @@ -0,0 +1,19 @@ +# 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-Net-DNS-Resolver-Mock: perl-Net-DNS-Resolver-Mock (Mock a DNS Resolver object for testing) +perl-Net-DNS-Resolver-Mock: +perl-Net-DNS-Resolver-Mock: A subclass of Net::DNS::Resolver which parses a zonefile for it's data +perl-Net-DNS-Resolver-Mock: source. Primarily for use in testing. +perl-Net-DNS-Resolver-Mock: +perl-Net-DNS-Resolver-Mock: +perl-Net-DNS-Resolver-Mock: +perl-Net-DNS-Resolver-Mock: +perl-Net-DNS-Resolver-Mock: +perl-Net-DNS-Resolver-Mock: +perl-Net-DNS-Resolver-Mock: diff --git a/perl/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.SlackBuild b/perl/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.SlackBuild index 209ac9e7d5..47f46ff9ed 100644 --- a/perl/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.SlackBuild +++ b/perl/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.SlackBuild @@ -26,11 +26,11 @@ # # Modified by the SlackBuilds.org project. -SRCNAM=Net-DNS-Resolver-Programmable-v0.003 cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Net-DNS-Resolver-Programmable -VERSION=${VERSION:-0.003} +SRCNAM=Net-DNS-Resolver-Programmable +VERSION=${VERSION:-0.009} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -57,7 +57,7 @@ OUTPUT=${OUTPUT:-/tmp} set -e -DOCS="CHANGES README INSTALL LICENSE" +DOCS="CHANGES README INSTALL LICENSE TODO" if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" @@ -76,9 +76,9 @@ fi rm -fr $TMP/$SRCNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -tar xvf $CWD/$SRCNAM.tar.gz -cd $TMP/$SRCNAM -chown -R root.root . +tar xvf $CWD/$SRCNAM-${VERSION}.tar.gz +cd $TMP/$SRCNAM-${VERSION} +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.info b/perl/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.info index 3a76e9f499..9139f3c751 100644 --- a/perl/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.info +++ b/perl/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.info @@ -1,8 +1,8 @@ PRGNAM="perl-Net-DNS-Resolver-Programmable" -VERSION="0.003" +VERSION="0.009" HOMEPAGE="https://metacpan.org/pod/Net::DNS::Resolver::Programmable" -DOWNLOAD="https://cpan.metacpan.org/authors/id/J/JM/JMEHNLE/net-dns-resolver-programmable/Net-DNS-Resolver-Programmable-v0.003.tar.gz" -MD5SUM="8d44bf331d6115e7fb4ea21f6cf4b96b" +DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BI/BIGPRESH/Net-DNS-Resolver-Programmable-0.009.tar.gz" +MD5SUM="f42a7e7984c258db0ef127b217a2bcb4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Module-Build" diff --git a/perl/perl-Net-DNS-SEC/perl-Net-DNS-SEC.SlackBuild b/perl/perl-Net-DNS-SEC/perl-Net-DNS-SEC.SlackBuild index 5b6692edfb..4dcbd1e587 100644 --- a/perl/perl-Net-DNS-SEC/perl-Net-DNS-SEC.SlackBuild +++ b/perl/perl-Net-DNS-SEC/perl-Net-DNS-SEC.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM="perl-Net-DNS-SEC" SRCNAM="Net-DNS-SEC" -VERSION=${VERSION:-1.02} +VERSION=${VERSION:-1.24} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -42,9 +42,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -80,7 +77,7 @@ 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 {} \; -echo "y" | CFLAGS="$SLKCFLAGS" perl Makefile.PL \ +CFLAGS="$SLKCFLAGS" perl Makefile.PL \ PREFIX=/usr \ INSTALLDIRS=vendor \ INSTALLVENDORMAN3DIR=/usr/man/man3 diff --git a/perl/perl-Net-DNS-SEC/perl-Net-DNS-SEC.info b/perl/perl-Net-DNS-SEC/perl-Net-DNS-SEC.info index ae410f0203..240c039d3f 100644 --- a/perl/perl-Net-DNS-SEC/perl-Net-DNS-SEC.info +++ b/perl/perl-Net-DNS-SEC/perl-Net-DNS-SEC.info @@ -1,10 +1,10 @@ PRGNAM="perl-Net-DNS-SEC" -VERSION="1.02" +VERSION="1.24" HOMEPAGE="https://metacpan.org/pod/Net::DNS::SEC" -DOWNLOAD="https://cpan.metacpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-SEC-1.02.tar.gz" -MD5SUM="3d11216697d0fe43e74484b59f94188d" +DOWNLOAD="https://cpan.metacpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-SEC-1.24.tar.gz" +MD5SUM="63879e0f104320f63633be7d4b02b851" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Crypt-OpenSSL-DSA perl-Crypt-OpenSSL-RSA perl-Crypt-OpenSSL-EC perl-Crypt-OpenSSL-DSA perl-Crypt-OpenSSL-ECDSA perl-Digest-GOST perl-net-dns" +REQUIRES="perl-Crypt-OpenSSL-DSA perl-Crypt-OpenSSL-RSA perl-Crypt-OpenSSL-ECDSA perl-Digest-GOST perl-net-dns" MAINTAINER="Nishant Limbachia" EMAIL="nishant@mnspace.net" diff --git a/perl/perl-Net-IDN-Encode/README b/perl/perl-Net-IDN-Encode/README new file mode 100644 index 0000000000..3e93a29839 --- /dev/null +++ b/perl/perl-Net-IDN-Encode/README @@ -0,0 +1,2 @@ +This module provides an easy-to-use interface for encoding and decoding +Internationalized Domain Names (IDNs). diff --git a/perl/perl-Net-IDN-Encode/perl-Net-IDN-Encode.SlackBuild b/perl/perl-Net-IDN-Encode/perl-Net-IDN-Encode.SlackBuild new file mode 100644 index 0000000000..02db312dd6 --- /dev/null +++ b/perl/perl-Net-IDN-Encode/perl-Net-IDN-Encode.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/bash + +# Slackware build script for perl-Net-IDN-Encode + +# Copyright 2024 pyllyukko +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Net-IDN-Encode +VERSION=${VERSION:-2.500} +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + SIGNATURE README LICENSE Changes \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Net-IDN-Encode/perl-Net-IDN-Encode.info b/perl/perl-Net-IDN-Encode/perl-Net-IDN-Encode.info new file mode 100644 index 0000000000..93d0d18a2f --- /dev/null +++ b/perl/perl-Net-IDN-Encode/perl-Net-IDN-Encode.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-IDN-Encode" +VERSION="2.500" +HOMEPAGE="https://metacpan.org/pod/Net::IDN::Encode" +DOWNLOAD="https://cpan.metacpan.org/authors/id/C/CF/CFAERBER/Net-IDN-Encode-2.500.tar.gz" +MD5SUM="7e5697a38cf05ff66be96947815573da" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Test-NoWarnings" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/perl/perl-Net-IDN-Encode/slack-desc b/perl/perl-Net-IDN-Encode/slack-desc new file mode 100644 index 0000000000..5059549a28 --- /dev/null +++ b/perl/perl-Net-IDN-Encode/slack-desc @@ -0,0 +1,19 @@ +# 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-Net-IDN-Encode: perl-Net-IDN-Encode (IDN encoder/decoder) +perl-Net-IDN-Encode: +perl-Net-IDN-Encode: This module provides an easy-to-use interface for encoding and +perl-Net-IDN-Encode: decoding Internationalized Domain Names (IDNs). +perl-Net-IDN-Encode: +perl-Net-IDN-Encode: +perl-Net-IDN-Encode: +perl-Net-IDN-Encode: +perl-Net-IDN-Encode: +perl-Net-IDN-Encode: +perl-Net-IDN-Encode: diff --git a/perl/perl-Net-Ident/perl-Net-Ident.SlackBuild b/perl/perl-Net-Ident/perl-Net-Ident.SlackBuild index 1dafb9c8cc..885c4c337c 100644 --- a/perl/perl-Net-Ident/perl-Net-Ident.SlackBuild +++ b/perl/perl-Net-Ident/perl-Net-Ident.SlackBuild @@ -26,11 +26,11 @@ # # Modified by the SlackBuilds.org project. -SRCNAM=Net-Ident cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Net-Ident -VERSION=${VERSION:-1.23} +SRCNAM=Net-Ident +VERSION=${VERSION:-1.25} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -57,7 +57,7 @@ OUTPUT=${OUTPUT:-/tmp} set -e -DOCS="Changes README" +DOCS="Changes README.md INSTALL" rm -fr $TMP/$SRCNAM-$VERSION $PKG @@ -65,7 +65,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Net-Ident/perl-Net-Ident.info b/perl/perl-Net-Ident/perl-Net-Ident.info index 19ab06c11d..7b82a932a2 100644 --- a/perl/perl-Net-Ident/perl-Net-Ident.info +++ b/perl/perl-Net-Ident/perl-Net-Ident.info @@ -1,8 +1,8 @@ PRGNAM="perl-Net-Ident" -VERSION="1.23" +VERSION="1.25" HOMEPAGE="https://metacpan.org/pod/Net::Ident" -DOWNLOAD="https://cpan.metacpan.org/authors/id/T/TO/TODDR/Net-Ident-1.23.tar.gz" -MD5SUM="f9a2943dc6310c1f31458c49f926b007" +DOWNLOAD="https://cpan.metacpan.org/authors/id/T/TO/TODDR/Net-Ident-1.25.tar.gz" +MD5SUM="1351eae1ade13936808cc829564abf97" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-Net-LibIDN2/README b/perl/perl-Net-LibIDN2/README new file mode 100644 index 0000000000..bc8fa335c8 --- /dev/null +++ b/perl/perl-Net-LibIDN2/README @@ -0,0 +1,4 @@ +Net::LibIDN2 - Perl bindings for GNU Libidn2 + +Provides bindings for GNU Libidn2, a C library for handling +internationalized domain names based on IDNA 2008, Punycode and TR46. diff --git a/perl/perl-Net-LibIDN2/perl-Net-LibIDN2.SlackBuild b/perl/perl-Net-LibIDN2/perl-Net-LibIDN2.SlackBuild new file mode 100644 index 0000000000..e9603776bf --- /dev/null +++ b/perl/perl-Net-LibIDN2/perl-Net-LibIDN2.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/bash + +# Slackware build script for Net::LibIDN2 + +# Copyright 2024 pyllyukko +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Net-LibIDN2 +VERSION=${VERSION:-1.02} +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Build.PL \ + --installdirs vendor \ + --config installvendorman1dir=/usr/man/man1 \ + --config installvendorman3dir=/usr/man/man3 +./Build +./Build test +./Build install \ + --destdir $PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes LICENSE README \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Net-LibIDN2/perl-Net-LibIDN2.info b/perl/perl-Net-LibIDN2/perl-Net-LibIDN2.info new file mode 100644 index 0000000000..f575df8e8c --- /dev/null +++ b/perl/perl-Net-LibIDN2/perl-Net-LibIDN2.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-LibIDN2" +VERSION="1.02" +HOMEPAGE="https://metacpan.org/pod/Net::LibIDN2" +DOWNLOAD="https://cpan.metacpan.org/authors/id/T/TH/THOR/Net-LibIDN2-1.02.tar.gz" +MD5SUM="d3bc7c71d4b42d6912e0710b1683b661" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Module-Build" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/perl/perl-Net-LibIDN2/slack-desc b/perl/perl-Net-LibIDN2/slack-desc new file mode 100644 index 0000000000..0ed896959d --- /dev/null +++ b/perl/perl-Net-LibIDN2/slack-desc @@ -0,0 +1,19 @@ +# 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-Net-LibIDN2: perl-Net-LibIDN2 (Perl bindings for GNU Libidn2) +perl-Net-LibIDN2: +perl-Net-LibIDN2: Provides bindings for GNU Libidn2, a C library for handling +perl-Net-LibIDN2: internationalized domain names based on IDNA 2008, Punycode and TR46. +perl-Net-LibIDN2: +perl-Net-LibIDN2: +perl-Net-LibIDN2: +perl-Net-LibIDN2: +perl-Net-LibIDN2: +perl-Net-LibIDN2: +perl-Net-LibIDN2: diff --git a/perl/perl-Net-Patricia/perl-Net-Patricia.SlackBuild b/perl/perl-Net-Patricia/perl-Net-Patricia.SlackBuild index c6f28e22cd..ba6afae5fa 100644 --- a/perl/perl-Net-Patricia/perl-Net-Patricia.SlackBuild +++ b/perl/perl-Net-Patricia/perl-Net-Patricia.SlackBuild @@ -64,7 +64,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Net-Server/perl-Net-Server.SlackBuild b/perl/perl-Net-Server/perl-Net-Server.SlackBuild index 57ed5430ad..7f9ca998cb 100644 --- a/perl/perl-Net-Server/perl-Net-Server.SlackBuild +++ b/perl/perl-Net-Server/perl-Net-Server.SlackBuild @@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM="perl-Net-Server" -VERSION=${VERSION:-2.008} +VERSION=${VERSION:-2.014} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -59,14 +59,14 @@ OUTPUT=${OUTPUT:-/tmp} set -e -DOCS="Changes README" +DOCS="Changes README INSTALL LICENSE" rm -fr $TMP/$SRCNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Net-Server/perl-Net-Server.info b/perl/perl-Net-Server/perl-Net-Server.info index 915261d361..1d9a06ae0c 100644 --- a/perl/perl-Net-Server/perl-Net-Server.info +++ b/perl/perl-Net-Server/perl-Net-Server.info @@ -1,8 +1,8 @@ PRGNAM="perl-Net-Server" -VERSION="2.008" +VERSION="2.014" HOMEPAGE="https://metacpan.org/pod/Net::Server" -DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RH/RHANDOM/Net-Server-2.008.tar.gz" -MD5SUM="85d488bc800f582839dd924ffa3f0d26" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RH/RHANDOM/Net-Server-2.014.tar.gz" +MD5SUM="eb6b43b6d70191a45d13171bc596e15b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-Net-UPnP/perl-Net-UPnP.SlackBuild b/perl/perl-Net-UPnP/perl-Net-UPnP.SlackBuild index b8c1f7285a..1e4d78b2b9 100644 --- a/perl/perl-Net-UPnP/perl-Net-UPnP.SlackBuild +++ b/perl/perl-Net-UPnP/perl-Net-UPnP.SlackBuild @@ -78,7 +78,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ diff --git a/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild b/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild index 7ab72131f0..9b3b0fb25d 100644 --- a/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild +++ b/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild @@ -80,7 +80,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Number-Bites-Human/perl-Number-Bites-Human.info b/perl/perl-Number-Bites-Human/perl-Number-Bites-Human.info index 037318f33d..51fec0623a 100644 --- a/perl/perl-Number-Bites-Human/perl-Number-Bites-Human.info +++ b/perl/perl-Number-Bites-Human/perl-Number-Bites-Human.info @@ -6,5 +6,5 @@ MD5SUM="43d2c86a55924aa71535a41de0311efd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Michel A. BEGUE" -EMAIL="mab974@gmail.com" +MAINTAINER="Michel A. Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-PAR-Dist/perl-PAR-Dist.SlackBuild b/perl/perl-PAR-Dist/perl-PAR-Dist.SlackBuild index e21c79cd49..a92749c2cf 100644 --- a/perl/perl-PAR-Dist/perl-PAR-Dist.SlackBuild +++ b/perl/perl-PAR-Dist/perl-PAR-Dist.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for perl-PAR-Dist. -# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2024 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,20 +25,14 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-PAR-Dist -VERSION=${VERSION:-0.51} +VERSION=${VERSION:-0.53} 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 +ARCH=noarch # If the variable PRINT_PACKAGE_NAME is set, then this script will report what # the name of the created package would be, and then exit. This information diff --git a/perl/perl-PAR-Dist/perl-PAR-Dist.info b/perl/perl-PAR-Dist/perl-PAR-Dist.info index 3dfab4e2e3..ebbfccba13 100644 --- a/perl/perl-PAR-Dist/perl-PAR-Dist.info +++ b/perl/perl-PAR-Dist/perl-PAR-Dist.info @@ -1,8 +1,8 @@ PRGNAM="perl-PAR-Dist" -VERSION="0.51" +VERSION="0.53" HOMEPAGE="https://metacpan.org/pod/PAR::Dist" -DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/PAR-Dist-0.51.tar.gz" -MD5SUM="9231ef7cb0f46c6c183e91962e2a766c" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/PAR-Dist-0.53.tar.gz" +MD5SUM="8e4ebf698d1bb329540ce40ccc7ca8ac" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-PAR/perl-PAR.SlackBuild b/perl/perl-PAR/perl-PAR.SlackBuild index f420b77cd9..3e1df7d23c 100644 --- a/perl/perl-PAR/perl-PAR.SlackBuild +++ b/perl/perl-PAR/perl-PAR.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for perl-PAR. # -# Copyright 2015-2022 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2024 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,20 +25,14 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-PAR -VERSION=${VERSION:-1.018} +VERSION=${VERSION:-1.020} 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 +ARCH=noarch # If the variable PRINT_PACKAGE_NAME is set, then this script will report what # the name of the created package would be, and then exit. This information diff --git a/perl/perl-PAR/perl-PAR.info b/perl/perl-PAR/perl-PAR.info index e42def79ba..7094cc791c 100644 --- a/perl/perl-PAR/perl-PAR.info +++ b/perl/perl-PAR/perl-PAR.info @@ -1,8 +1,8 @@ PRGNAM="perl-PAR" -VERSION="1.018" +VERSION="1.020" HOMEPAGE="https://metacpan.org/pod/PAR" -DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/PAR-1.018.tar.gz" -MD5SUM="4e034dfc0f35cc77a0515578b42a4df5" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/PAR-1.020.tar.gz" +MD5SUM="62a8d843d726ee046a59bf01961d46f7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-PAR-Dist perl-Archive-Zip" diff --git a/perl/perl-PDF-API2/perl-PDF-API2.SlackBuild b/perl/perl-PDF-API2/perl-PDF-API2.SlackBuild index bf2095a64f..4090bcdd05 100644 --- a/perl/perl-PDF-API2/perl-PDF-API2.SlackBuild +++ b/perl/perl-PDF-API2/perl-PDF-API2.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-PDF-API2 -# Copyright 2019 M.A.Begue mab974@gmail.com +# Copyright 2019 M.A.Begue mab974@misouk.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-PDF-API2 -VERSION=${VERSION:-2.038} +VERSION=${VERSION:-2.045} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -87,6 +87,7 @@ perl Makefile.PL \ INSTALLVENDORMAN1DIR=/usr/man/man1 \ INSTALLVENDORMAN3DIR=/usr/man/man3 make +make test make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/perl/perl-PDF-API2/perl-PDF-API2.info b/perl/perl-PDF-API2/perl-PDF-API2.info index c54df2e261..21c97f1793 100644 --- a/perl/perl-PDF-API2/perl-PDF-API2.info +++ b/perl/perl-PDF-API2/perl-PDF-API2.info @@ -1,10 +1,10 @@ PRGNAM="perl-PDF-API2" -VERSION="2.038" +VERSION="2.045" HOMEPAGE="https://metacpan.org/pod/PDF::API2" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SS/SSIMMS/PDF-API2-2.038.tar.gz" -MD5SUM="2d6683d01b95f554ec5bb2e29f31ff03" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SS/SSIMMS/PDF-API2-2.045.tar.gz" +MD5SUM="afe283ab6b1273ed0d129ec1a18cfb8a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Font-TTF" -MAINTAINER="Michel A. BEGUE" -EMAIL="mab974@gmail.com" +REQUIRES="perl-Font-TTF perl-Test-Exception perl-Test-Memory-Cycle" +MAINTAINER="Michel A. Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-PDF-Builder/perl-PDF-Builder.info b/perl/perl-PDF-Builder/perl-PDF-Builder.info index 76fc1d1f17..500c5746d0 100644 --- a/perl/perl-PDF-Builder/perl-PDF-Builder.info +++ b/perl/perl-PDF-Builder/perl-PDF-Builder.info @@ -6,5 +6,5 @@ MD5SUM="0e574a78c1996a1f9206f3cab953e620" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Font-TTF perl-Test-Memory-Cycle perl-Test-Exception" -MAINTAINER="Michel A. BEGUE" +MAINTAINER="Michel A. Begue" EMAIL="mab974@misouk.com" diff --git a/perl/perl-PPIx-QuoteLike/README b/perl/perl-PPIx-QuoteLike/README new file mode 100644 index 0000000000..b01950cf14 --- /dev/null +++ b/perl/perl-PPIx-QuoteLike/README @@ -0,0 +1,5 @@ +This Perl class parses Perl string literals and things that are +reasonably like string literals. Its real reason for being is to find +interpolated variables for Perl::Critic policies and similar code. +The parse is fairly straightforward, and a little poking around with +eg/pqldump should show how it normally goes. diff --git a/perl/perl-PPIx-QuoteLike/perl-PPIx-QuoteLike.SlackBuild b/perl/perl-PPIx-QuoteLike/perl-PPIx-QuoteLike.SlackBuild new file mode 100644 index 0000000000..d627946227 --- /dev/null +++ b/perl/perl-PPIx-QuoteLike/perl-PPIx-QuoteLike.SlackBuild @@ -0,0 +1,93 @@ +#!/bin/bash + +# Slackware build script for perl-PPIx-QuoteLike + +# Copyright 2024 Charadon US +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-PPIx-QuoteLike +VERSION=${VERSION:-0.023} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" + +ARCH=noarch + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Build method #1 (preferred) +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system. +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes README CONTRIBUTING $PKG/usr/doc/$PRGNAM-$VERSION +cp -r LICENSES/ $PKG/usr/doc/$PRGNAM-$VERSION/ +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-PPIx-QuoteLike/perl-PPIx-QuoteLike.info b/perl/perl-PPIx-QuoteLike/perl-PPIx-QuoteLike.info new file mode 100644 index 0000000000..d64c3697bc --- /dev/null +++ b/perl/perl-PPIx-QuoteLike/perl-PPIx-QuoteLike.info @@ -0,0 +1,10 @@ +PRGNAM="perl-PPIx-QuoteLike" +VERSION="0.023" +HOMEPAGE="https://github.com/trwyant/perl-PPIx-QuoteLike" +DOWNLOAD="https://cpan.metacpan.org/authors/id/W/WY/WYANT/PPIx-QuoteLike-0.023.tar.gz" +MD5SUM="551890e6c65a3eb0f4b753ad4288acb2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-PPI perl-Readonly" +MAINTAINER="Charadon" +EMAIL="dev@iotib.net" diff --git a/perl/perl-PPIx-QuoteLike/slack-desc b/perl/perl-PPIx-QuoteLike/slack-desc new file mode 100644 index 0000000000..44ba6d9dab --- /dev/null +++ b/perl/perl-PPIx-QuoteLike/slack-desc @@ -0,0 +1,19 @@ +# 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-PPIx-QuoteLike: perl-PPIx-QuoteLike (Parse Perl string literals) +perl-PPIx-QuoteLike: +perl-PPIx-QuoteLike: This Perl class parses Perl string literals and things that are +perl-PPIx-QuoteLike: reasonably like string literals. Its real reason for being is to find +perl-PPIx-QuoteLike: interpolated variables for Perl::Critic policies and similar code. +perl-PPIx-QuoteLike: +perl-PPIx-QuoteLike: The parse is fairly straightforward, and a little poking around with +perl-PPIx-QuoteLike: eg/pqldump should show how it normally goes. +perl-PPIx-QuoteLike: +perl-PPIx-QuoteLike: +perl-PPIx-QuoteLike: diff --git a/perl/perl-PPIx-Regexp/README b/perl/perl-PPIx-Regexp/README new file mode 100644 index 0000000000..97c74853cd --- /dev/null +++ b/perl/perl-PPIx-Regexp/README @@ -0,0 +1,4 @@ +The purpose of the PPIx-Regexp package is to parse regular +expressions in a manner similar to the way the PPI package parses +Perl. This class forms the root of the parse tree, playing a role +similar to PPI::Document. diff --git a/perl/perl-PPIx-Regexp/perl-PPIx-Regexp.SlackBuild b/perl/perl-PPIx-Regexp/perl-PPIx-Regexp.SlackBuild new file mode 100644 index 0000000000..31091851b6 --- /dev/null +++ b/perl/perl-PPIx-Regexp/perl-PPIx-Regexp.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/bash + +# Slackware build script for perl-PPIx-Regexp + +# Copyright 2024 Charadon US +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-PPIx-Regexp +VERSION=${VERSION:-0.088} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" + +ARCH=noarch + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Build method #1 (preferred) +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system. +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-PPIx-Regexp/perl-PPIx-Regexp.info b/perl/perl-PPIx-Regexp/perl-PPIx-Regexp.info new file mode 100644 index 0000000000..7411ac7aaa --- /dev/null +++ b/perl/perl-PPIx-Regexp/perl-PPIx-Regexp.info @@ -0,0 +1,10 @@ +PRGNAM="perl-PPIx-Regexp" +VERSION="0.088" +HOMEPAGE="https://github.com/trwyant/perl-PPIx-Regexp" +DOWNLOAD="https://cpan.metacpan.org/authors/id/W/WY/WYANT/PPIx-Regexp-0.088.tar.gz" +MD5SUM="1ca3eba38a8e9a5fcfb0458f8ed64eac" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-PPI perl-Task-Weaken" +MAINTAINER="Charadon" +EMAIL="dev@iotib.net" diff --git a/perl/perl-PPIx-Regexp/slack-desc b/perl/perl-PPIx-Regexp/slack-desc new file mode 100644 index 0000000000..46a165287c --- /dev/null +++ b/perl/perl-PPIx-Regexp/slack-desc @@ -0,0 +1,19 @@ +# 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-PPIx-Regexp: perl-PPIx-Regexp (Represent a regular expression of some sort) +perl-PPIx-Regexp: +perl-PPIx-Regexp: The purpose of the PPIx-Regexp package is to parse regular +perl-PPIx-Regexp: expressions in a manner similar to the way the PPI package parses +perl-PPIx-Regexp: Perl. This class forms the root of the parse tree, playing a role +perl-PPIx-Regexp: similar to PPI::Document. +perl-PPIx-Regexp: +perl-PPIx-Regexp: +perl-PPIx-Regexp: +perl-PPIx-Regexp: +perl-PPIx-Regexp: diff --git a/perl/perl-PPIx-Utils/README b/perl/perl-PPIx-Utils/README new file mode 100644 index 0000000000..b245df5c8c --- /dev/null +++ b/perl/perl-PPIx-Utils/README @@ -0,0 +1,6 @@ +PPIx::Utils is a collection of utility functions for working with +PPI documents. The functions are organized into submodules, and may +be imported from the appropriate submodule or via this module. +These functions were originally from Perl::Critic::Utils and related +modules, and have been split off to this distribution for use outside +of Perl::Critic. diff --git a/perl/perl-PPIx-Utils/perl-PPIx-Utils.SlackBuild b/perl/perl-PPIx-Utils/perl-PPIx-Utils.SlackBuild new file mode 100644 index 0000000000..8013bb750c --- /dev/null +++ b/perl/perl-PPIx-Utils/perl-PPIx-Utils.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/bash + +# Slackware build script for perl-PPIx-Utils + +# Copyright 2024 Charadon US +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-PPIx-Utils +VERSION=${VERSION:-0.003} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" + +ARCH=noarch + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Build method #1 (preferred) +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system. +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-PPIx-Utils/perl-PPIx-Utils.info b/perl/perl-PPIx-Utils/perl-PPIx-Utils.info new file mode 100644 index 0000000000..021636ca17 --- /dev/null +++ b/perl/perl-PPIx-Utils/perl-PPIx-Utils.info @@ -0,0 +1,10 @@ +PRGNAM="perl-PPIx-Utils" +VERSION="0.003" +HOMEPAGE="https://github.com/Grinnz/PPIx-Utils" +DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DB/DBOOK/PPIx-Utils-0.003.tar.gz" +MD5SUM="79591c85aa39941b5ef8b26064c38a9d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-PPI perl-B-Keywords" +MAINTAINER="Charadon" +EMAIL="dev@iotib.net" diff --git a/perl/perl-PPIx-Utils/slack-desc b/perl/perl-PPIx-Utils/slack-desc new file mode 100644 index 0000000000..5ca519b74c --- /dev/null +++ b/perl/perl-PPIx-Utils/slack-desc @@ -0,0 +1,19 @@ +# 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-PPIx-Utils: perl-PPIx-Utils (Utility functions for PPI) +perl-PPIx-Utils: +perl-PPIx-Utils: PPIx::Utils is a collection of utility functions for working with +perl-PPIx-Utils: PPI documents. The functions are organized into submodules, and may +perl-PPIx-Utils: be imported from the appropriate submodule or via this module. +perl-PPIx-Utils: +perl-PPIx-Utils: These functions were originally from Perl::Critic::Utils and related +perl-PPIx-Utils: modules, and have been split off to this distribution for use outside +perl-PPIx-Utils: of Perl::Critic. +perl-PPIx-Utils: +perl-PPIx-Utils: diff --git a/perl/perl-Package-DeprecationManager/perl-Package-DeprecationManager.info b/perl/perl-Package-DeprecationManager/perl-Package-DeprecationManager.info index 674fe38efc..feda139391 100644 --- a/perl/perl-Package-DeprecationManager/perl-Package-DeprecationManager.info +++ b/perl/perl-Package-DeprecationManager/perl-Package-DeprecationManager.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Package-DeprecationM MD5SUM="7b46e92aaae3047ede3c67c1714ab88e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-List-MoreUtils perl-Params-Util perl-Package-Stash perl-Test-Warnings perl-Sub-Name" +REQUIRES="perl-Package-Stash perl-Test-Warnings perl-Sub-Name" MAINTAINER="David Somero" EMAIL="dsomero@hotmail.com" diff --git a/perl/perl-Params-Validate/perl-Params-Validate.info b/perl/perl-Params-Validate/perl-Params-Validate.info index 08fece404b..1acc171569 100644 --- a/perl/perl-Params-Validate/perl-Params-Validate.info +++ b/perl/perl-Params-Validate/perl-Params-Validate.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Params-Validate-1.29 MD5SUM="cebbbbef30ef71af513ed7c2fb4faf43" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Test-Fatal perl-Module-Implementation perl-Module-Build" +REQUIRES="perl-Module-Implementation perl-Module-Build" MAINTAINER="David Somero" EMAIL="dsomero@hotmail.com" diff --git a/perl/perl-Params-ValidationCompiler/perl-Params-ValidationCompiler.SlackBuild b/perl/perl-Params-ValidationCompiler/perl-Params-ValidationCompiler.SlackBuild index 34ae8be01d..57824fca67 100644 --- a/perl/perl-Params-ValidationCompiler/perl-Params-ValidationCompiler.SlackBuild +++ b/perl/perl-Params-ValidationCompiler/perl-Params-ValidationCompiler.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-Params-ValidationCompiler -# Copyright 2017-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2017-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Params-ValidationCompiler -VERSION=${VERSION:-0.30} +VERSION=${VERSION:-0.31} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 diff --git a/perl/perl-Params-ValidationCompiler/perl-Params-ValidationCompiler.info b/perl/perl-Params-ValidationCompiler/perl-Params-ValidationCompiler.info index 423d3ab289..03c87ad4da 100644 --- a/perl/perl-Params-ValidationCompiler/perl-Params-ValidationCompiler.info +++ b/perl/perl-Params-ValidationCompiler/perl-Params-ValidationCompiler.info @@ -1,8 +1,8 @@ PRGNAM="perl-Params-ValidationCompiler" -VERSION="0.30" +VERSION="0.31" HOMEPAGE="https://metacpan.org/pod/Params::ValidationCompiler" -DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Params-ValidationCompiler-0.30.tar.gz" -MD5SUM="f7746a98cab3d7a246372379d4658a4e" +DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Params-ValidationCompiler-0.31.tar.gz" +MD5SUM="15528055f3f53c8cfebbee1f928dec07" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Exception-Class perl-Eval-Closure" diff --git a/perl/perl-Parse-Method-Signatures/perl-Parse-Method-Signatures.info b/perl/perl-Parse-Method-Signatures/perl-Parse-Method-Signatures.info index ef3cf548fa..2043815232 100644 --- a/perl/perl-Parse-Method-Signatures/perl-Parse-Method-Signatures.info +++ b/perl/perl-Parse-Method-Signatures/perl-Parse-Method-Signatures.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/K/KE/KENTNL/Parse-Method-Signatur MD5SUM="5236c145815db7001841ed8efb305c9f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Test-Differences perl-MooseX-Traits perl-MooseX-Types perl-MooseX-Types-Structured perl-PPI perl-aliased" +REQUIRES="perl-Test-Differences perl-MooseX-Traits perl-MooseX-Types-Structured perl-PPI perl-aliased" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Parser-MGC/perl-Parser-MGC.info b/perl/perl-Parser-MGC/perl-Parser-MGC.info index 97dd207174..6d9d4227e3 100644 --- a/perl/perl-Parser-MGC/perl-Parser-MGC.info +++ b/perl/perl-Parser-MGC/perl-Parser-MGC.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Parser-MGC-0.21.tar.g MD5SUM="d76cab74a2c87084df85c7d62ef64f8f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Module-Build perl-Feature-Compat-Try" +REQUIRES="perl-Feature-Compat-Try" MAINTAINER="Nicholas Hubbard" EMAIL="nicholashubbard@posteo.net" diff --git a/perl/perl-Perl-Critic/README b/perl/perl-Perl-Critic/README new file mode 100644 index 0000000000..e6d41f2339 --- /dev/null +++ b/perl/perl-Perl-Critic/README @@ -0,0 +1,9 @@ +Perl::Critic is an extensible framework for creating and applying +coding standards to Perl source code. Essentially, it is a static +source code analysis engine. Perl::Critic is distributed with a +number of Perl::Critic::Policy modules that attempt to enforce +various coding guidelines. Most Policy modules are based on Damian +Conway's book Perl Best Practices. However, Perl::Critic is not +limited to PBP and will even support Policies that contradict Conway. +You can enable, disable, and customize those Polices through the +Perl::Critic interface. diff --git a/perl/perl-Perl-Critic/perl-Perl-Critic.SlackBuild b/perl/perl-Perl-Critic/perl-Perl-Critic.SlackBuild new file mode 100644 index 0000000000..87d3524203 --- /dev/null +++ b/perl/perl-Perl-Critic/perl-Perl-Critic.SlackBuild @@ -0,0 +1,96 @@ +#!/bin/bash + +# Slackware build script for perl-Perl-Critic + +# Copyright 2024 Charadon US +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Perl-Critic +VERSION=${VERSION:-1.152} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" + +ARCH=noarch + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Remove a problematic test. It still runs fine even though it fails this test. +rm t/05_utils.t + +# Build method #2 +# requires perl-Module-Build or perl-Module-Build-Tiny +perl Build.PL \ + --installdirs vendor \ + --config installvendorman1dir=/usr/man/man1 \ + --config installvendorman3dir=/usr/man/man3 +./Build +./Build test +./Build install \ + --destdir $PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system. +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Perl-Critic/perl-Perl-Critic.info b/perl/perl-Perl-Critic/perl-Perl-Critic.info new file mode 100644 index 0000000000..13c4bc0aa7 --- /dev/null +++ b/perl/perl-Perl-Critic/perl-Perl-Critic.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Perl-Critic" +VERSION="1.152" +HOMEPAGE="https://github.com/Perl-Critic/Perl-Critic" +DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/Perl-Critic-1.152.tar.gz" +MD5SUM="269f870112e914976f5452138b973926" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Module-Build perl-B-Keywords perl-Config-Tiny perl-Exception-Class perl-File-Which perl-List-SomeUtils perl-Module-Pluggable perl-PPI perl-PPIx-QuoteLike perl-PPIx-Regexp perl-PPIx-Utils perl-Perl-Tidy perl-Pod-Parser perl-Pod-Spell perl-Readonly perl-String-Format" +MAINTAINER="Charadon" +EMAIL="dev@iotib.net" diff --git a/perl/perl-Perl-Critic/slack-desc b/perl/perl-Perl-Critic/slack-desc new file mode 100644 index 0000000000..fc53c14547 --- /dev/null +++ b/perl/perl-Perl-Critic/slack-desc @@ -0,0 +1,19 @@ +# 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-Perl-Critic: perl-Perl-Critic (Critique Perl source code for best-practices.) +perl-Perl-Critic: +perl-Perl-Critic: Perl::Critic is an extensible framework for creating and applying +perl-Perl-Critic: coding standards to Perl source code. Essentially, it is a static +perl-Perl-Critic: source code analysis engine. Perl::Critic is distributed with a +perl-Perl-Critic: number of Perl::Critic::Policy modules that attempt to enforce +perl-Perl-Critic: various coding guidelines. Most Policy modules are based on Damian +perl-Perl-Critic: Conway's book Perl Best Practices. However, Perl::Critic is not +perl-Perl-Critic: limited to PBP and will even support Policies that contradict Conway. +perl-Perl-Critic: You can enable, disable, and customize those Polices through the +perl-Perl-Critic: Perl::Critic interface. diff --git a/perl/perl-Perl-Tidy/README b/perl/perl-Perl-Tidy/README new file mode 100644 index 0000000000..2ef8ef8007 --- /dev/null +++ b/perl/perl-Perl-Tidy/README @@ -0,0 +1,6 @@ +Perltidy reads a perl script and writes an indented, reformatted +script. The formatting process involves converting the script into a +string of tokens, removing any non-essential whitespace, and then +rewriting the string of tokens with whitespace using whatever rules +are specified, or defaults. This happens in a series of operations +which can be controlled with parameters. diff --git a/perl/perl-Perl-Tidy/perl-Perl-Tidy.SlackBuild b/perl/perl-Perl-Tidy/perl-Perl-Tidy.SlackBuild new file mode 100644 index 0000000000..125f4c85ce --- /dev/null +++ b/perl/perl-Perl-Tidy/perl-Perl-Tidy.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/bash + +# Slackware build script for perl-Perl-Tidy + +# Copyright 2024 Charadon US +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Perl-Tidy +VERSION=${VERSION:-20240903} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" + +ARCH=noarch + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Build method #1 (preferred) +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system. +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGES.md README.md COPYING BUGS.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Perl-Tidy/perl-Perl-Tidy.info b/perl/perl-Perl-Tidy/perl-Perl-Tidy.info new file mode 100644 index 0000000000..b2454bac2b --- /dev/null +++ b/perl/perl-Perl-Tidy/perl-Perl-Tidy.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Perl-Tidy" +VERSION="20240903" +HOMEPAGE="https://github.com/perltidy/perltidy" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SH/SHANCOCK/Perl-Tidy-20240903.tar.gz" +MD5SUM="aa083ee94398e9bec25dd8e953547d4d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Charadon" +EMAIL="dev@iotib.net" diff --git a/perl/perl-Perl-Tidy/slack-desc b/perl/perl-Perl-Tidy/slack-desc new file mode 100644 index 0000000000..ad60847088 --- /dev/null +++ b/perl/perl-Perl-Tidy/slack-desc @@ -0,0 +1,19 @@ +# 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-Perl-Tidy: perl-Perl-Tidy (Parses and beautifies perl source) +perl-Perl-Tidy: +perl-Perl-Tidy: Perltidy reads a perl script and writes an indented, reformatted +perl-Perl-Tidy: script. The formatting process involves converting the script into a +perl-Perl-Tidy: string of tokens, removing any non-essential whitespace, and then +perl-Perl-Tidy: rewriting the string of tokens with whitespace using whatever rules +perl-Perl-Tidy: are specified, or defaults. This happens in a series of operations +perl-Perl-Tidy: which can be controlled with parameters. +perl-Perl-Tidy: +perl-Perl-Tidy: +perl-Perl-Tidy: diff --git a/perl/perl-PerlIO-via-Timeout/perl-PerlIO-via-Timeout.info b/perl/perl-PerlIO-via-Timeout/perl-PerlIO-via-Timeout.info index e82adabfb8..0582b5f2cc 100644 --- a/perl/perl-PerlIO-via-Timeout/perl-PerlIO-via-Timeout.info +++ b/perl/perl-PerlIO-via-Timeout/perl-PerlIO-via-Timeout.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DA/DAMS/PerlIO-via-Timeout-0.32 MD5SUM="f18328a39a5eaa386e34df80f066039b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Time-Out perl-Test-SharedFork perl-Test-TCP" +REQUIRES="perl-Time-Out perl-Test-TCP" MAINTAINER="Nishant Limbachia" EMAIL="nishant@mnspace.net" diff --git a/perl/perl-Pod-Parser/perl-Pod-Parser.SlackBuild b/perl/perl-Pod-Parser/perl-Pod-Parser.SlackBuild index a6dba26467..99f4359ef0 100644 --- a/perl/perl-Pod-Parser/perl-Pod-Parser.SlackBuild +++ b/perl/perl-Pod-Parser/perl-Pod-Parser.SlackBuild @@ -22,27 +22,21 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230701 bkw: Modified by SlackBuilds.org, BUILD=2: +# - ARCH=noarch (no compiled code nor use of lib64). +# - Fix doc permission (CHANGES was +x). + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Pod-Parser VERSION=${VERSION:-1.63} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +ARCH=noarch SRCNAM=Pod-Parser -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -52,20 +46,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -75,11 +55,7 @@ rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find . -type f -exec chmod 644 {} + -o -type d -exec chmod 755 {} + perl Makefile.PL \ PREFIX=/usr \ @@ -92,7 +68,7 @@ make install DESTDIR=$PKG mv $PKG/usr/share/man/man1 $PKG/usr/man rm -rf $PKG/usr/share/man -find $PKG/usr/man -type f -exec gzip -9 {} \; +gzip -9 $PKG/usr/man/man*/* find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true diff --git a/perl/perl-Pod-Spell/README b/perl/perl-Pod-Spell/README new file mode 100644 index 0000000000..1ba31b2867 --- /dev/null +++ b/perl/perl-Pod-Spell/README @@ -0,0 +1,6 @@ +Pod::Spell is a Pod formatter whose output is good for spellchecking. +Pod::Spell is rather like Pod::Text, except that it doesn't put much +effort into actual formatting, and it suppresses things that look +like Perl symbols or Perl jargon (so that your spellchecking program +won't complain about mystery words like "$thing" or "Foo::Bar" or +"Foo::Bar" or "hashref"). diff --git a/perl/perl-Pod-Spell/perl-Pod-Spell.SlackBuild b/perl/perl-Pod-Spell/perl-Pod-Spell.SlackBuild new file mode 100644 index 0000000000..bc50994cf1 --- /dev/null +++ b/perl/perl-Pod-Spell/perl-Pod-Spell.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/bash + +# Slackware build script for perl-Pod-Spell + +# Copyright 2024 Charadon US +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Pod-Spell +VERSION=${VERSION:-1.26} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" + +ARCH=noarch + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Build method #1 (preferred) +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system. +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Pod-Spell/perl-Pod-Spell.info b/perl/perl-Pod-Spell/perl-Pod-Spell.info new file mode 100644 index 0000000000..9e25163322 --- /dev/null +++ b/perl/perl-Pod-Spell/perl-Pod-Spell.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Pod-Spell" +VERSION="1.26" +HOMEPAGE="https://github.com/perl-pod/Pod-Spell" +DOWNLOAD="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Pod-Spell-1.26.tar.gz" +MD5SUM="a2449adf552550320d626dda30986cdc" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Class-Tiny perl-File-ShareDir perl-Lingua-EN-Inflect" +MAINTAINER="Charadon" +EMAIL="dev@iotib.net" diff --git a/perl/perl-Pod-Spell/slack-desc b/perl/perl-Pod-Spell/slack-desc new file mode 100644 index 0000000000..89d06d0694 --- /dev/null +++ b/perl/perl-Pod-Spell/slack-desc @@ -0,0 +1,19 @@ +# 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-Pod-Spell: perl-Pod-Spell (A formatter for spellchecking Pod) +perl-Pod-Spell: +perl-Pod-Spell: Pod::Spell is a Pod formatter whose output is good for spellchecking. +perl-Pod-Spell: Pod::Spell is rather like Pod::Text, except that it doesn't put much +perl-Pod-Spell: effort into actual formatting, and it suppresses things that look +perl-Pod-Spell: like Perl symbols or Perl jargon (so that your spellchecking program +perl-Pod-Spell: won't complain about mystery words like "$thing" or "Foo::Bar" or +perl-Pod-Spell: "Foo::Bar" or "hashref"). +perl-Pod-Spell: +perl-Pod-Spell: +perl-Pod-Spell: diff --git a/perl/perl-Proc-Daemon/perl-Proc-Daemon.SlackBuild b/perl/perl-Proc-Daemon/perl-Proc-Daemon.SlackBuild index fb3edad630..fa9087dc47 100644 --- a/perl/perl-Proc-Daemon/perl-Proc-Daemon.SlackBuild +++ b/perl/perl-Proc-Daemon/perl-Proc-Daemon.SlackBuild @@ -6,7 +6,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Proc-Daemon -VERSION=${VERSION:-0.21} +VERSION=${VERSION:-0.23} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-Proc-Daemon/perl-Proc-Daemon.info b/perl/perl-Proc-Daemon/perl-Proc-Daemon.info index 056c53b4c8..b79c2e20f0 100644 --- a/perl/perl-Proc-Daemon/perl-Proc-Daemon.info +++ b/perl/perl-Proc-Daemon/perl-Proc-Daemon.info @@ -1,8 +1,8 @@ PRGNAM="perl-Proc-Daemon" -VERSION="0.21" +VERSION="0.23" HOMEPAGE="https://metacpan.org/release/Proc-Daemon" -DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AK/AKREAL/Proc-Daemon-0.21.tar.gz" -MD5SUM="342681eba6a0b1a7a826717e16e31190" +DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AK/AKREAL/Proc-Daemon-0.23.tar.gz" +MD5SUM="c5fb746a14b6948bb8533a6b6e9650bc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-SDL/perl-SDL.SlackBuild b/perl/perl-SDL/perl-SDL.SlackBuild index cf02daa047..25abb4f80d 100644 --- a/perl/perl-SDL/perl-SDL.SlackBuild +++ b/perl/perl-SDL/perl-SDL.SlackBuild @@ -22,10 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -SRCNAM=SDL cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-SDL +SRCNAM=SDL VERSION=${VERSION:-2.548} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/perl/perl-SNMP-Info/perl-SNMP-Info.SlackBuild b/perl/perl-SNMP-Info/perl-SNMP-Info.SlackBuild index e14f0f3ca1..9289fbe653 100644 --- a/perl/perl-SNMP-Info/perl-SNMP-Info.SlackBuild +++ b/perl/perl-SNMP-Info/perl-SNMP-Info.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-SNMP-Info -# Copyright 2013, Thibaut Notteboom, Paris, FRANCE +# Copyright 2013-2024, Thibaut Notteboom, Paris, FRANCE # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-SNMP-Info -VERSION=${VERSION:-3.08} +VERSION=${VERSION:-3.970001} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -61,6 +58,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -76,18 +76,19 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -perl Makefile.PL \ - PREFIX=/usr \ - INSTALLDIRS=vendor \ - INSTALLVENDORMAN3DIR=/usr/man/man3 -make -make test -make install DESTDIR=$PKG +perl Build.PL \ + --installdirs vendor \ + --config installvendorman1dir=/usr/man/man1 \ + --config installvendorman3dir=/usr/man/man3 +./Build +./Build test +./Build install \ + --destdir $PKG find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done @@ -98,7 +99,7 @@ find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - COPYRIGHT ChangeLog DEVELOP MANIFEST README \ + Changes LICENSE MANIFEST README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/perl/perl-SNMP-Info/perl-SNMP-Info.info b/perl/perl-SNMP-Info/perl-SNMP-Info.info index 96ac7cd1a6..fb0016a322 100644 --- a/perl/perl-SNMP-Info/perl-SNMP-Info.info +++ b/perl/perl-SNMP-Info/perl-SNMP-Info.info @@ -1,10 +1,10 @@ PRGNAM="perl-SNMP-Info" -VERSION="3.08" +VERSION="3.970001" HOMEPAGE="https://metacpan.org/release/SNMP-Info" -DOWNLOAD="http://cpan.metacpan.org/authors/id/O/OL/OLIVER/SNMP-Info-3.08.tar.gz" -MD5SUM="6be9ea8355abd97287363da2cdb72263" +DOWNLOAD="http://cpan.metacpan.org/authors/id/O/OL/OLIVER/SNMP-Info-3.970001.tar.gz" +MD5SUM="6fa0105c4914bc667e2a9d3efa40b294" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="perl-Math-BigInt perl-Module-Build perl-NetAddr-IP perl-Regexp-Common perl-Scalar-List-Utils" MAINTAINER="Thibaut Notteboom" -EMAIL="tib@tibux.org" +EMAIL="thibaut.notteboom@gmail.com" diff --git a/perl/perl-Schedule-Cron/perl-Schedule-Cron.SlackBuild b/perl/perl-Schedule-Cron/perl-Schedule-Cron.SlackBuild index 8c69cafcce..95cf48aa4a 100644 --- a/perl/perl-Schedule-Cron/perl-Schedule-Cron.SlackBuild +++ b/perl/perl-Schedule-Cron/perl-Schedule-Cron.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Schedule-Cron -VERSION=${VERSION:-1.03} +VERSION=${VERSION:-1.05} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -82,7 +82,7 @@ find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - CHANGES README* \ + Changes README* \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/perl/perl-Schedule-Cron/perl-Schedule-Cron.info b/perl/perl-Schedule-Cron/perl-Schedule-Cron.info index 044821548d..70e4a6358e 100644 --- a/perl/perl-Schedule-Cron/perl-Schedule-Cron.info +++ b/perl/perl-Schedule-Cron/perl-Schedule-Cron.info @@ -1,8 +1,8 @@ PRGNAM="perl-Schedule-Cron" -VERSION="1.03" +VERSION="1.05" HOMEPAGE="https://metacpan.org/pod/Schedule::Cron" -DOWNLOAD="https://cpan.metacpan.org/authors/id/N/NH/NHUBBARD/Schedule-Cron-1.03.tar.gz" -MD5SUM="549f6d41e318d762ced31c585aaa5cdf" +DOWNLOAD="https://cpan.metacpan.org/authors/id/N/NH/NHUBBARD/Schedule-Cron-1.05.tar.gz" +MD5SUM="098e67fa4afdeed6867021efd9ecce74" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Time-ParseDate" diff --git a/perl/perl-Set-IntSpan/perl-Set-IntSpan.info b/perl/perl-Set-IntSpan/perl-Set-IntSpan.info index dcf40266fb..d42194d2a4 100644 --- a/perl/perl-Set-IntSpan/perl-Set-IntSpan.info +++ b/perl/perl-Set-IntSpan/perl-Set-IntSpan.info @@ -6,5 +6,5 @@ MD5SUM="7c21c2fedce5b7be7d8200e2cf2bdca1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Michel A. BEGUE" -EMAIL="mab974@gmail.com" +MAINTAINER="Michel A. Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-Sidef/README b/perl/perl-Sidef/README index e0550fefd3..4cc079eacd 100644 --- a/perl/perl-Sidef/README +++ b/perl/perl-Sidef/README @@ -1,8 +1,15 @@ -perl-Sidef (A modern object-oriented programming language). +perl::Sidef (A modern object-oriented programming language). Sidef is a modern object-oriented programming language, implemented in Perl. More about Sidef language: http://trizen.gitbooks.io/sidef-lang/ -Optional dependencies: perl-Math-BigInt, perl-Math-BigInt-GMP. +Optional dependencies: + +perl-Math-BigInt +perl-Math-BigInt-GMP + +Recommends: + +Term-ReadLine-Gnu diff --git a/perl/perl-Sidef/perl-Sidef.SlackBuild b/perl/perl-Sidef/perl-Sidef.SlackBuild index 7b869d763c..2493a764dc 100644 --- a/perl/perl-Sidef/perl-Sidef.SlackBuild +++ b/perl/perl-Sidef/perl-Sidef.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Sidef -VERSION=${VERSION:-3.99} +VERSION=${VERSION:-23.05} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-Sidef/perl-Sidef.info b/perl/perl-Sidef/perl-Sidef.info index 79b73852fe..fb39c14176 100644 --- a/perl/perl-Sidef/perl-Sidef.info +++ b/perl/perl-Sidef/perl-Sidef.info @@ -1,10 +1,10 @@ PRGNAM="perl-Sidef" -VERSION="3.99" +VERSION="23.05" HOMEPAGE="https://github.com/trizen/sidef" -DOWNLOAD="https://github.com/trizen/sidef/archive/3.99/sidef-3.99.tar.gz" -MD5SUM="f068d6e22ff9b8eea3beec86c8af0681" +DOWNLOAD="https://github.com/trizen/sidef/archive/23.05/sidef-23.05.tar.gz" +MD5SUM="d5d8635382f35031dbc8eb0032329061" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-data-dump perl-Module-Build perl-Math-MPC perl-Math-Prime-Util-GMP perl-Algorithm-Combinatorics perl-Algorithm-Loops perl-Math-Prime-Util" -MAINTAINER="Dave Woodfall" +REQUIRES="perl-data-dump perl-Module-Build perl-Math-MPC perl-Algorithm-Combinatorics perl-Algorithm-Loops perl-Math-Prime-Util" +MAINTAINER="D Woodfall" EMAIL="dave@slackbuilds.org" diff --git a/perl/perl-String-Format/README b/perl/perl-String-Format/README new file mode 100644 index 0000000000..4b57417a65 --- /dev/null +++ b/perl/perl-String-Format/README @@ -0,0 +1,5 @@ +String::Format lets you define arbitrary printf-like format sequences +to be expanded. This module would be most useful in configuration +files and reporting tools, where the results of a query need to be +formatted in a particular way. It was inspired by mutt's index_format +and related directives. diff --git a/perl/perl-String-Format/perl-String-Format.SlackBuild b/perl/perl-String-Format/perl-String-Format.SlackBuild new file mode 100644 index 0000000000..f0fc38d41f --- /dev/null +++ b/perl/perl-String-Format/perl-String-Format.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/bash + +# Slackware build script for perl-String-Format + +# Copyright 2024 Charadon US +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-String-Format +VERSION=${VERSION:-1.18} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" + +ARCH=noarch + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# Build method #1 (preferred) +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system. +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING Changes README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-String-Format/perl-String-Format.info b/perl/perl-String-Format/perl-String-Format.info new file mode 100644 index 0000000000..d9059fefca --- /dev/null +++ b/perl/perl-String-Format/perl-String-Format.info @@ -0,0 +1,10 @@ +PRGNAM="perl-String-Format" +VERSION="1.18" +HOMEPAGE="https://github.com/dlc/string--format" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SR/SREZIC/String-Format-1.18.tar.gz" +MD5SUM="64174b4fac230228cadfa2be4410ef1a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Charadon" +EMAIL="dev@iotib.net" diff --git a/perl/perl-String-Format/slack-desc b/perl/perl-String-Format/slack-desc new file mode 100644 index 0000000000..b1b0222bf5 --- /dev/null +++ b/perl/perl-String-Format/slack-desc @@ -0,0 +1,19 @@ +# 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-String-Format: perl-String-Format (sprintf-like string formatting) +perl-String-Format: +perl-String-Format: String::Format lets you define arbitrary printf-like format sequences +perl-String-Format: to be expanded. This module would be most useful in configuration +perl-String-Format: files and reporting tools, where the results of a query need to be +perl-String-Format: formatted in a particular way. It was inspired by mutt's index_format +perl-String-Format: and related directives. +perl-String-Format: +perl-String-Format: +perl-String-Format: +perl-String-Format: diff --git a/perl/perl-String-PerlIdentifier/perl-String-PerlIdentifier.info b/perl/perl-String-PerlIdentifier/perl-String-PerlIdentifier.info index a7e8c32773..ec3af49d84 100644 --- a/perl/perl-String-PerlIdentifier/perl-String-PerlIdentifier.info +++ b/perl/perl-String-PerlIdentifier/perl-String-PerlIdentifier.info @@ -6,5 +6,5 @@ MD5SUM="daeb5a671e6086948deb95e52f77c703" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Test-Simple" -MAINTAINER="Michel A. BEGUE" -EMAIL="mab974@gmail.com" +MAINTAINER="Michel A. Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-String-ShellQuote/perl-String-ShellQuote.SlackBuild b/perl/perl-String-ShellQuote/perl-String-ShellQuote.SlackBuild index 4738a505b8..ad6d4830c6 100644 --- a/perl/perl-String-ShellQuote/perl-String-ShellQuote.SlackBuild +++ b/perl/perl-String-ShellQuote/perl-String-ShellQuote.SlackBuild @@ -64,7 +64,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Sub-Exporter-ForMethods/perl-Sub-Exporter-ForMethods.info b/perl/perl-Sub-Exporter-ForMethods/perl-Sub-Exporter-ForMethods.info index 7be2816851..e58b5b5aab 100644 --- a/perl/perl-Sub-Exporter-ForMethods/perl-Sub-Exporter-ForMethods.info +++ b/perl/perl-Sub-Exporter-ForMethods/perl-Sub-Exporter-ForMethods.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Sub-Exporter-ForMethods MD5SUM="2b0a23fd3fe6861959400bb4fc4d282f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Sub-Exporter perl-Sub-Name perl-namespace-autoclean" +REQUIRES="perl-namespace-autoclean" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Sub-Name/perl-Sub-Name.SlackBuild b/perl/perl-Sub-Name/perl-Sub-Name.SlackBuild index 1e3c83e8b8..72b9f42ea1 100644 --- a/perl/perl-Sub-Name/perl-Sub-Name.SlackBuild +++ b/perl/perl-Sub-Name/perl-Sub-Name.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-Sub-Name -# Copyright 2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2017-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Sub-Name -VERSION=${VERSION:-0.26} +VERSION=${VERSION:-0.27} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 diff --git a/perl/perl-Sub-Name/perl-Sub-Name.info b/perl/perl-Sub-Name/perl-Sub-Name.info index f71fb65e96..547ca2a508 100644 --- a/perl/perl-Sub-Name/perl-Sub-Name.info +++ b/perl/perl-Sub-Name/perl-Sub-Name.info @@ -1,8 +1,8 @@ PRGNAM="perl-Sub-Name" -VERSION="0.26" +VERSION="0.27" HOMEPAGE="https://metacpan.org/pod/Sub::Name" -DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Sub-Name-0.26.tar.gz" -MD5SUM="0eb109dfa223e056c07d84c9fbda1762" +DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Sub-Name-0.27.tar.gz" +MD5SUM="c7f7c5fce6f9a3575dc3ffdd519b3911" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild b/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild index 79a28e73b4..8f1b3c7d43 100644 --- a/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild +++ b/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild @@ -25,27 +25,21 @@ # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230701 bkw: Modified by SlackBuilds.org, BUILD=2: +# - ARCH=noarch +# - add missing SlackBuild to doc dir. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM="perl-Sub-Uplevel" VERSION=${VERSION:-0.25} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +ARCH=noarch SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -55,20 +49,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e DOCS="Changes LICENSE README" @@ -78,19 +58,21 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xzvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} + \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} + CFLAGS="$SLKCFLAGS" perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor make make install DESTDIR=$PKG -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a $DOCS $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild # move man pages mv $PKG/usr/share/man $PKG/usr diff --git a/perl/perl-Syntax-Keyword-Try/perl-Syntax-Keyword-Try.info b/perl/perl-Syntax-Keyword-Try/perl-Syntax-Keyword-Try.info index 95f2def837..1cbff7c07c 100644 --- a/perl/perl-Syntax-Keyword-Try/perl-Syntax-Keyword-Try.info +++ b/perl/perl-Syntax-Keyword-Try/perl-Syntax-Keyword-Try.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Syntax-Keyword-Try-0. MD5SUM="47fef750062dfe38036a0043c1a88ef5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-XS-Parse-Keyword perl-Module-Build" +REQUIRES="perl-XS-Parse-Keyword" MAINTAINER="Nicholas Hubbard" EMAIL="nicholashubbard@posteo.net" diff --git a/perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.SlackBuild b/perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.SlackBuild index 610e464687..6ea1dfae12 100644 --- a/perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.SlackBuild +++ b/perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.SlackBuild @@ -18,12 +18,14 @@ # Now maintained by B. Watson <urchlay@slackware.uk> +# 20230706 bkw: update for v1.46, disable 'make test' by default. +# 20230109 bkw: update for v1.45. # 20210802 bkw: take over as maintainer and upgrade for v1.42. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Term-ReadLine-Gnu -VERSION=${VERSION:-1.42} +VERSION=${VERSION:-1.46} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -47,20 +49,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -73,12 +61,14 @@ 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 {} \+ +# 20230706 bkw: 'make test' disabled by default because it hangs when +# run in the background. perl Makefile.PL \ INSTALLDIRS=vendor \ INSTALLVENDORMAN1DIR=/usr/man/man1 \ INSTALLVENDORMAN3DIR=/usr/man/man3 make -env INPUTRC=/dev/null make test +[ "${MAKETEST:-no}" = "yes" ] && env INPUTRC=/dev/null make test make install DESTDIR=$PKG gzip -9 $PKG/usr/man/man?/* @@ -88,9 +78,10 @@ find $PKG -name perllocal.pod \ | xargs rm -f || true find $PKG -depth -type d -empty -delete || true +find $PKG -name '*.so' -a -exec strip {} \+ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Changes README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes* README* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.info b/perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.info index f5400d75aa..e8f6873ff5 100644 --- a/perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.info +++ b/perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.info @@ -1,8 +1,8 @@ PRGNAM="perl-Term-ReadLine-Gnu" -VERSION="1.42" +VERSION="1.46" HOMEPAGE="https://metacpan.org/pod/Term::ReadLine::Gnu" -DOWNLOAD="https://cpan.metacpan.org/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-1.42.tar.gz" -MD5SUM="51e86969251a4e1dba761b17c392c6f2" +DOWNLOAD="https://cpan.metacpan.org/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-1.46.tar.gz" +MD5SUM="2366b082ddcc63cd5a3ac6989b16425f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.info b/perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.info index d338e14a5d..305b854b1c 100644 --- a/perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.info +++ b/perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-CleanNamespaces-0 MD5SUM="0ddfb7e5f11ddfb9498cb500c7616fb8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-File-pushd perl-Test-Deep perl-Test-Warnings perl-namespace-clean perl-Sub-Exporter perl-Sub-Identify" +REQUIRES="perl-File-pushd perl-Test-Deep perl-Test-Warnings perl-namespace-clean perl-Sub-Identify" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Test-Deep/perl-Test-Deep.SlackBuild b/perl/perl-Test-Deep/perl-Test-Deep.SlackBuild index 1ed0101ad7..c56bd02c67 100644 --- a/perl/perl-Test-Deep/perl-Test-Deep.SlackBuild +++ b/perl/perl-Test-Deep/perl-Test-Deep.SlackBuild @@ -79,7 +79,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Test-Exception/perl-Test-Exception.SlackBuild b/perl/perl-Test-Exception/perl-Test-Exception.SlackBuild index 3390e61cb2..06af3d22a1 100644 --- a/perl/perl-Test-Exception/perl-Test-Exception.SlackBuild +++ b/perl/perl-Test-Exception/perl-Test-Exception.SlackBuild @@ -25,27 +25,22 @@ # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230702 bkw: Modified by SlackBuilds.org, BUILD=2: +# - ARCH=noarch. +# - add missing SlackBuild to doc dir. +# - fix doc permissions (Changes was +x). + cd $(dirname $0) ; CWD=$(pwd) PRGNAM="perl-Test-Exception" VERSION=${VERSION:-0.43} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +ARCH=noarch SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -57,14 +52,6 @@ OUTPUT=${OUTPUT:-/tmp} set -e -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" -fi - DOCS="Changes" rm -fr $TMP/$SRCNAM-$VERSION $PKG @@ -72,12 +59,8 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xzvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +chown -R root:root . +find . -type f -exec chmod 644 {} + -o -type d -exec chmod 755 {} + CFLAGS="$SLKCFLAGS" \ perl Makefile.PL \ @@ -87,11 +70,12 @@ perl Makefile.PL \ make make install DESTDIR=$PKG +gzip -9 $PKG/usr/man/man*/* -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION - -find $PKG/usr/man -type f -exec gzip -9 {} \; +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a $DOCS $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild # Remove perlocal.pod and .packlist from $PKG ; remove empty directories find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f diff --git a/perl/perl-Test-File-ShareDir-Dist/perl-Test-File-ShareDir-Dist.info b/perl/perl-Test-File-ShareDir-Dist/perl-Test-File-ShareDir-Dist.info index 90b2352296..e357ac519e 100644 --- a/perl/perl-Test-File-ShareDir-Dist/perl-Test-File-ShareDir-Dist.info +++ b/perl/perl-Test-File-ShareDir-Dist/perl-Test-File-ShareDir-Dist.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/K/KE/KENTNL/Test-File-ShareDir-1. MD5SUM="ec31466aa44c1cd56c6cb51d7ec3a5de" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-File-ShareDir perl-File-Copy-Recursive perl-Scope-Guard perl-Test-Fatal perl-Class-Tiny" +REQUIRES="perl-File-ShareDir perl-File-Copy-Recursive perl-Scope-Guard perl-Class-Tiny" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" diff --git a/perl/perl-Test-File-ShareDir/README b/perl/perl-Test-File-ShareDir/README new file mode 100644 index 0000000000..a85e3d4736 --- /dev/null +++ b/perl/perl-Test-File-ShareDir/README @@ -0,0 +1,3 @@ +Test::File::ShareDir is some low level plumbing to enable a +distribution to perform tests while consuming its own share directories +in a manner similar to how they will be once installed. diff --git a/perl/perl-Test-File-ShareDir/perl-Test-File-ShareDir.SlackBuild b/perl/perl-Test-File-ShareDir/perl-Test-File-ShareDir.SlackBuild new file mode 100644 index 0000000000..98ba6a3629 --- /dev/null +++ b/perl/perl-Test-File-ShareDir/perl-Test-File-ShareDir.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/bash + +# Slackware build script for Test::File::ShareDir + +# Copyright 2024 pyllyukko +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Test-File-ShareDir +VERSION=${VERSION:-1.001002} +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README LICENSE Changes \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Test-File-ShareDir/perl-Test-File-ShareDir.info b/perl/perl-Test-File-ShareDir/perl-Test-File-ShareDir.info new file mode 100644 index 0000000000..d79e82866a --- /dev/null +++ b/perl/perl-Test-File-ShareDir/perl-Test-File-ShareDir.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Test-File-ShareDir" +VERSION="1.001002" +HOMEPAGE="https://metacpan.org/pod/Test::File::ShareDir" +DOWNLOAD="https://cpan.metacpan.org/authors/id/K/KE/KENTNL/Test-File-ShareDir-1.001002.tar.gz" +MD5SUM="ec31466aa44c1cd56c6cb51d7ec3a5de" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-File-ShareDir perl-Class-Tiny perl-Scope-Guard perl-File-Copy-Recursive perl-Test-Fatal" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/perl/perl-Test-File-ShareDir/slack-desc b/perl/perl-Test-File-ShareDir/slack-desc new file mode 100644 index 0000000000..02ce32e2c5 --- /dev/null +++ b/perl/perl-Test-File-ShareDir/slack-desc @@ -0,0 +1,19 @@ +# 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-Test-File-ShareDir: perl-Test-File-ShareDir (Fake ShareDir for your modules for testing) +perl-Test-File-ShareDir: +perl-Test-File-ShareDir: Test::File::ShareDir is some low level plumbing to enable a +perl-Test-File-ShareDir: distribution to perform tests while consuming its own share +perl-Test-File-ShareDir: directories in a manner similar to how they will be once installed. +perl-Test-File-ShareDir: +perl-Test-File-ShareDir: +perl-Test-File-ShareDir: +perl-Test-File-ShareDir: +perl-Test-File-ShareDir: +perl-Test-File-ShareDir: diff --git a/perl/perl-Test-Harness/perl-Test-Harness.SlackBuild b/perl/perl-Test-Harness/perl-Test-Harness.SlackBuild index bd58a38de5..611b280468 100644 --- a/perl/perl-Test-Harness/perl-Test-Harness.SlackBuild +++ b/perl/perl-Test-Harness/perl-Test-Harness.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-Test-Harness -# Copyright 2013-2022 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2013-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Test-Harness -VERSION=${VERSION:-3.44} +VERSION=${VERSION:-3.50} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -52,20 +49,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG diff --git a/perl/perl-Test-Harness/perl-Test-Harness.info b/perl/perl-Test-Harness/perl-Test-Harness.info index 10965e854a..c7337f3678 100644 --- a/perl/perl-Test-Harness/perl-Test-Harness.info +++ b/perl/perl-Test-Harness/perl-Test-Harness.info @@ -1,8 +1,8 @@ PRGNAM="perl-Test-Harness" -VERSION="3.44" +VERSION="3.50" HOMEPAGE="https://metacpan.org/pod/Test::Harness" -DOWNLOAD="https://cpan.metacpan.org/authors/id/L/LE/LEONT/Test-Harness-3.44.tar.gz" -MD5SUM="a3482cded62f68c710a9955c4afb3dcf" +DOWNLOAD="https://cpan.metacpan.org/authors/id/L/LE/LEONT/Test-Harness-3.50.tar.gz" +MD5SUM="aa678dd2984d9d5812d0fd97fc01a8ad" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-Test-HexDifferences/perl-Test-HexDifferences.info b/perl/perl-Test-HexDifferences/perl-Test-HexDifferences.info index 2f5adb54b0..1096a6d405 100644 --- a/perl/perl-Test-HexDifferences/perl-Test-HexDifferences.info +++ b/perl/perl-Test-HexDifferences/perl-Test-HexDifferences.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/S/ST/STEFFENW/Test-HexDifferences MD5SUM="f830711da833bc233adfd9fd94645dc6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Sub-Exporter perl-Test-Differences perl-Test-NoWarnings perl-Text-Diff" +REQUIRES="perl-Sub-Exporter perl-Test-Differences perl-Test-NoWarnings" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Test-Inter/perl-Test-Inter.SlackBuild b/perl/perl-Test-Inter/perl-Test-Inter.SlackBuild index c90a3ce1be..8b51e676ac 100644 --- a/perl/perl-Test-Inter/perl-Test-Inter.SlackBuild +++ b/perl/perl-Test-Inter/perl-Test-Inter.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for perl-Test-Inter # Copyright 2010 V'yacheslav Stetskevych <slava18@gmail.com> -# Copyright 2014-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2014-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Test-Inter -VERSION=${VERSION:-1.09} +VERSION=${VERSION:-1.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -41,9 +41,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 diff --git a/perl/perl-Test-Inter/perl-Test-Inter.info b/perl/perl-Test-Inter/perl-Test-Inter.info index 3058c216d3..07943b98d7 100644 --- a/perl/perl-Test-Inter/perl-Test-Inter.info +++ b/perl/perl-Test-Inter/perl-Test-Inter.info @@ -1,8 +1,8 @@ PRGNAM="perl-Test-Inter" -VERSION="1.09" +VERSION="1.11" HOMEPAGE="https://metacpan.org/pod/distribution/Test-Inter/lib/Test/Inter.pod" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SB/SBECK/Test-Inter-1.09.tar.gz" -MD5SUM="4e9bbe25e28d2453a6c63a1e675cc484" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SB/SBECK/Test-Inter-1.11.tar.gz" +MD5SUM="768966123284b7d24a75836d283f1b63" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-Test-Memory-Cycle/perl-Test-Memory-Cycle.info b/perl/perl-Test-Memory-Cycle/perl-Test-Memory-Cycle.info index ab796a726c..9adfd39b04 100644 --- a/perl/perl-Test-Memory-Cycle/perl-Test-Memory-Cycle.info +++ b/perl/perl-Test-Memory-Cycle/perl-Test-Memory-Cycle.info @@ -6,5 +6,5 @@ MD5SUM="397e709ba33d3883b5fb2bc49e3a70b0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Devel-Cycle" -MAINTAINER="Michel A. BEGUE" -EMAIL="mab974@gmail.com" +MAINTAINER="Michel A. Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-Test-Needs/perl-Test-Needs.SlackBuild b/perl/perl-Test-Needs/perl-Test-Needs.SlackBuild index b489b0fc61..525d393479 100644 --- a/perl/perl-Test-Needs/perl-Test-Needs.SlackBuild +++ b/perl/perl-Test-Needs/perl-Test-Needs.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Test-Needs SRCNAM=Test-Needs -VERSION=${VERSION:-0.002006} +VERSION=${VERSION:-0.002010} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-Test-Needs/perl-Test-Needs.info b/perl/perl-Test-Needs/perl-Test-Needs.info index 14b30fdc07..1dd116f70a 100644 --- a/perl/perl-Test-Needs/perl-Test-Needs.info +++ b/perl/perl-Test-Needs/perl-Test-Needs.info @@ -1,8 +1,8 @@ PRGNAM="perl-Test-Needs" -VERSION="0.002006" +VERSION="0.002010" HOMEPAGE="https://metacpan.org/pod/Test::Needs" -DOWNLOAD="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Test-Needs-0.002006.tar.gz" -MD5SUM="d5c96d51d8d5510f7c0b7f354c49af1c" +DOWNLOAD="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Test-Needs-0.002010.tar.gz" +MD5SUM="2b3d10946001561297624e7668f09c26" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.info b/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.info index 7ec226a716..58ff83f375 100644 --- a/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.info +++ b/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.info @@ -1,7 +1,7 @@ PRGNAM="perl-Test-Pod-Coverage" VERSION="1.10" HOMEPAGE="https://metacpan.org/pod/Test::Pod::Coverage" -DOWNLOAD="http://cpan.metacpan.org/authors/id/N/NE/NEILB/Test-Pod-Coverage-1.10.tar.gz" +DOWNLOAD="https://cpan.metacpan.org/authors/id/N/NE/NEILB/Test-Pod-Coverage-1.10.tar.gz" MD5SUM="c9ea5f4182415b13d2db18484a38c01b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild b/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild index 6dd37d52d4..9e65f12182 100644 --- a/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild +++ b/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild @@ -27,10 +27,10 @@ # # Modified by the SlackBuilds.org project. -SRCNAM="Test-Pod" cd $(dirname $0) ; CWD=$(pwd) PRGNAM="perl-Test-Pod" +SRCNAM="Test-Pod" VERSION=${VERSION:-1.51} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,7 +65,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Test-Script/README b/perl/perl-Test-Script/README deleted file mode 100644 index 1855d732c0..0000000000 --- a/perl/perl-Test-Script/README +++ /dev/null @@ -1,6 +0,0 @@ -The intent of Test-Script module is to provide a series of basic -tests for 80% of the testing you will need to do for scripts in the -script (or bin as is also commonly used) paths of your Perl -distribution. Further, it aims to provide this functionality with -perfect platform-compatibility, and in a way that is as unobtrusive -as possible. diff --git a/perl/perl-Test-Script/perl-Test-Script.info b/perl/perl-Test-Script/perl-Test-Script.info deleted file mode 100644 index 1ad7a3f757..0000000000 --- a/perl/perl-Test-Script/perl-Test-Script.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-Test-Script" -VERSION="1.07" -HOMEPAGE="https://metacpan.org/pod/Test::Script" -DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AD/ADAMK/Test-Script-1.07.tar.gz" -MD5SUM="f6b5baa6403cd24dac7f023e0ea22384" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="perl-IPC-Run3 perl-Probe-Perl perl-Module-Install" -MAINTAINER="Mikko Värri" -EMAIL="vmj@linuxbox.fi" diff --git a/perl/perl-Test-Script/slack-desc b/perl/perl-Test-Script/slack-desc deleted file mode 100644 index d05ae887b0..0000000000 --- a/perl/perl-Test-Script/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-Test-Script: perl-Test-Script (Basic cross-platform tests for scripts) -perl-Test-Script: -perl-Test-Script: The intent of Test-Script module is to provide a series of basic -perl-Test-Script: tests for 80% of the testing you will need to do for scripts in the -perl-Test-Script: script (or bin as is also commonly used) paths of your Perl -perl-Test-Script: distribution. Further, it aims to provide this functionality with -perl-Test-Script: perfect platform-compatibility, and in a way that is as unobtrusive -perl-Test-Script: as possible. -perl-Test-Script: -perl-Test-Script: -perl-Test-Script: diff --git a/perl/perl-Test-SharedFork/perl-Test-SharedFork.SlackBuild b/perl/perl-Test-SharedFork/perl-Test-SharedFork.SlackBuild index 80bd9eb5d7..db1713deb6 100644 --- a/perl/perl-Test-SharedFork/perl-Test-SharedFork.SlackBuild +++ b/perl/perl-Test-SharedFork/perl-Test-SharedFork.SlackBuild @@ -79,7 +79,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Test-TCP/perl-Test-TCP.SlackBuild b/perl/perl-Test-TCP/perl-Test-TCP.SlackBuild index 37f3819290..1a1ed66823 100644 --- a/perl/perl-Test-TCP/perl-Test-TCP.SlackBuild +++ b/perl/perl-Test-TCP/perl-Test-TCP.SlackBuild @@ -64,7 +64,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Text-Iconv/perl-Text-Iconv.info b/perl/perl-Text-Iconv/perl-Text-Iconv.info index 2805264294..3c574caaff 100644 --- a/perl/perl-Text-Iconv/perl-Text-Iconv.info +++ b/perl/perl-Text-Iconv/perl-Text-Iconv.info @@ -6,5 +6,5 @@ MD5SUM="81b26e069eaebb084e91ea3c009b67ae" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Dominik Drobek" -EMAIL="dominik.drobek@o2.pl" +MAINTAINER="orphaned - no maintainer" +EMAIL="nobody@nowhere.com" diff --git a/perl/perl-Text-Quoted/perl-Text-Quoted.info b/perl/perl-Text-Quoted/perl-Text-Quoted.info index 02962aa62e..d05ee5348b 100644 --- a/perl/perl-Text-Quoted/perl-Text-Quoted.info +++ b/perl/perl-Text-Quoted/perl-Text-Quoted.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BP/BPS/Text-Quoted-2.10.tar.gz" MD5SUM="de86b498ed91e4a7856615f5f38c943c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Text-Autoformat perl-Text-Tabs+Wrap" +REQUIRES="perl-Text-Autoformat" MAINTAINER="Andreas Guldstrand" EMAIL="andreas.guldstrand@gmail.com" diff --git a/perl/perl-Text-Soundex/perl-Text-Soundex.SlackBuild b/perl/perl-Text-Soundex/perl-Text-Soundex.SlackBuild index a4b0a76db9..8b8e8979c6 100644 --- a/perl/perl-Text-Soundex/perl-Text-Soundex.SlackBuild +++ b/perl/perl-Text-Soundex/perl-Text-Soundex.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for perl-Text-Soundex # Copyright 2018-2021 Petar Petrov slackalaxy@gmail.com +# Copyright 2024 Kevin Bryant sultmhoor+SB@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/perl/perl-Text-Soundex/perl-Text-Soundex.info b/perl/perl-Text-Soundex/perl-Text-Soundex.info index 15b4f584cb..bbc6d11093 100644 --- a/perl/perl-Text-Soundex/perl-Text-Soundex.info +++ b/perl/perl-Text-Soundex/perl-Text-Soundex.info @@ -6,5 +6,5 @@ MD5SUM="cb40ded7a5d27aa3a411d274d6ec18ae" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Petar Petrov" -EMAIL="slackalaxy@gmail.com" +MAINTAINER="Kevin Bryant" +EMAIL="sultmhoor+SB@gmail.com" diff --git a/perl/perl-Text-Unidecode/README b/perl/perl-Text-Unidecode/README new file mode 100644 index 0000000000..4777f49099 --- /dev/null +++ b/perl/perl-Text-Unidecode/README @@ -0,0 +1,3 @@ +What Text::Unidecode provides is a function, unidecode(...) that takes +Unicode data and tries to represent it in US-ASCII characters (i.e., +the universally displayable characters between 0x00 and 0x7F). diff --git a/perl/perl-Text-Unidecode/perl-Text-Unidecode.SlackBuild b/perl/perl-Text-Unidecode/perl-Text-Unidecode.SlackBuild new file mode 100644 index 0000000000..49f276869c --- /dev/null +++ b/perl/perl-Text-Unidecode/perl-Text-Unidecode.SlackBuild @@ -0,0 +1,112 @@ +#!/bin/bash + +# Slackware build script for perl-Text-Unidecode + +# Copyright 2023 Lockywolf +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Text-Unidecode +VERSION=${VERSION:-1.30} +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 the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + ChangeLog LICENSE README TODO.txt \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Text-Unidecode/perl-Text-Unidecode.info b/perl/perl-Text-Unidecode/perl-Text-Unidecode.info new file mode 100644 index 0000000000..6c706a9e1b --- /dev/null +++ b/perl/perl-Text-Unidecode/perl-Text-Unidecode.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Text-Unidecode" +VERSION="1.30" +HOMEPAGE="https://metacpan.org/pod/Text::Unidecode" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SB/SBURKE/Text-Unidecode-1.30.tar.gz" +MD5SUM="31cca8505bd74ed9d8036cdc84c808ca" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Lockywolf" +EMAIL="for_sbo_perl-text-unicode_2023-04-13@lockywolf.net" diff --git a/perl/perl-Text-Unidecode/slack-desc b/perl/perl-Text-Unidecode/slack-desc new file mode 100644 index 0000000000..762a2330a7 --- /dev/null +++ b/perl/perl-Text-Unidecode/slack-desc @@ -0,0 +1,19 @@ +# 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-Text-Unidecode: perl-Text-Unidecode (Perl Text::Unidecode module) +perl-Text-Unidecode: +perl-Text-Unidecode: Text::Unidecode -- plain ASCII transliterations of Unicode +perl-Text-Unidecode: +perl-Text-Unidecode: +perl-Text-Unidecode: +perl-Text-Unidecode: +perl-Text-Unidecode: +perl-Text-Unidecode: +perl-Text-Unidecode: +perl-Text-Unidecode: diff --git a/perl/perl-Throwable/README b/perl/perl-Throwable/README new file mode 100644 index 0000000000..45aa3db243 --- /dev/null +++ b/perl/perl-Throwable/README @@ -0,0 +1,6 @@ +Throwable is a role for classes that are meant to be thrown as +exceptions to standard program flow. It is very simple and does only two +things: saves any previous value for $@ and calls die $self. + +Throwable is implemented with Moo, so you can stick to Moo or use Moose, +as you prefer. diff --git a/perl/perl-Throwable/perl-Throwable.SlackBuild b/perl/perl-Throwable/perl-Throwable.SlackBuild new file mode 100644 index 0000000000..b0271f2a0a --- /dev/null +++ b/perl/perl-Throwable/perl-Throwable.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/bash + +# Slackware build script for perl-Throwable + +# Copyright 2024 pyllyukko +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Throwable +VERSION=${VERSION:-1.001} +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README LICENSE Changes \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Throwable/perl-Throwable.info b/perl/perl-Throwable/perl-Throwable.info new file mode 100644 index 0000000000..e06b4e4711 --- /dev/null +++ b/perl/perl-Throwable/perl-Throwable.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Throwable" +VERSION="1.001" +HOMEPAGE="https://metacpan.org/pod/Throwable" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Throwable-1.001.tar.gz" +MD5SUM="220cc9d0c69feff4d177c9ccf3bc3d65" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Class-Method-Modifiers perl-Devel-StackTrace perl-Role-Tiny" +MAINTAINER="pyllyukko" +EMAIL="pyllyukko@maimed.org" diff --git a/perl/perl-Throwable/slack-desc b/perl/perl-Throwable/slack-desc new file mode 100644 index 0000000000..7da5ab2b04 --- /dev/null +++ b/perl/perl-Throwable/slack-desc @@ -0,0 +1,19 @@ +# 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-Throwable: perl-Throwable (a role for classes that can be thrown) +perl-Throwable: +perl-Throwable: Throwable is a role for classes that are meant to be thrown as +perl-Throwable: exceptions to standard program flow. It is very simple and does only +perl-Throwable: two things: saves any previous value for $@ and calls die $self. +perl-Throwable: +perl-Throwable: Throwable is implemented with Moo, so you can stick to Moo or use +perl-Throwable: Moose, as you prefer. +perl-Throwable: +perl-Throwable: +perl-Throwable: diff --git a/perl/perl-Time-Duration/README b/perl/perl-Time-Duration/README new file mode 100644 index 0000000000..1a40de7ed8 --- /dev/null +++ b/perl/perl-Time-Duration/README @@ -0,0 +1,4 @@ +Time::Duration - rounded or exact English expression of durations + +This module provides functions for expressing durations in rounded or +exact terms. diff --git a/perl/perl-Time-Duration/perl-Time-Duration.SlackBuild b/perl/perl-Time-Duration/perl-Time-Duration.SlackBuild new file mode 100644 index 0000000000..67846802c7 --- /dev/null +++ b/perl/perl-Time-Duration/perl-Time-Duration.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/bash + +# Slackware build script for perl-Time-Duration + +# Copyright 2023, Lockywolf +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Time-Duration +VERSION=${VERSION:-1.21} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRC_PRGNAM=Time-Duration + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +ARCH=noarch + +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} + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Makefile.PL INSTALLDIRS=perl +make +make install DESTDIR=$PKG + +mv $PKG/usr/share/man $PKG/usr/ + +( cd $PKG/usr/man + find . -type f -exec gzip -9 {} \; + for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +) + +( cd $PKG + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) + +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE Changes MANIFEST README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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-Time-Duration/perl-Time-Duration.info b/perl/perl-Time-Duration/perl-Time-Duration.info new file mode 100644 index 0000000000..8cc347995f --- /dev/null +++ b/perl/perl-Time-Duration/perl-Time-Duration.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Time-Duration" +VERSION="1.21" +HOMEPAGE="https://metacpan.org/pod/Time::Duration" +DOWNLOAD="https://cpan.metacpan.org/authors/id/N/NE/NEILB/Time-Duration-1.21.tar.gz" +MD5SUM="451be4126045398c48bb7e36ae525453" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Lockywolf" +EMAIL="for_sbo.perl-Time-Duration_2023-09-23@lockywolf.net" diff --git a/perl/perl-Locale-Msgfmt/slack-desc b/perl/perl-Time-Duration/slack-desc index 245da7a8fd..6b69c6e8ca 100644 --- a/perl/perl-Locale-Msgfmt/slack-desc +++ b/perl/perl-Time-Duration/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -perl-Locale-Msgfmt: perl-Locale-Msgfmt (Compile .po files to .mo files) -perl-Locale-Msgfmt: -perl-Locale-Msgfmt: Locale::Msgfmt is a pure Perl reimplementation of msgfmt from GNU -perl-Locale-Msgfmt: gettext-tools. -perl-Locale-Msgfmt: -perl-Locale-Msgfmt: Homepage: https://metacpan.org/pod/Locale::Msgfmt -perl-Locale-Msgfmt: -perl-Locale-Msgfmt: -perl-Locale-Msgfmt: -perl-Locale-Msgfmt: -perl-Locale-Msgfmt: +perl-Time-Duration: perl-Time-Duration (rounded or exact English expression of durations) +perl-Time-Duration: +perl-Time-Duration: +perl-Time-Duration: This module provides functions for expressing durations in rounded +perl-Time-Duration: or exact terms. +perl-Time-Duration: +perl-Time-Duration: +perl-Time-Duration: +perl-Time-Duration: +perl-Time-Duration: +perl-Time-Duration: diff --git a/perl/perl-Time-Out/perl-Time-Out.SlackBuild b/perl/perl-Time-Out/perl-Time-Out.SlackBuild index 523d5f48aa..1517532737 100644 --- a/perl/perl-Time-Out/perl-Time-Out.SlackBuild +++ b/perl/perl-Time-Out/perl-Time-Out.SlackBuild @@ -79,7 +79,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ diff --git a/perl/perl-TimeDate/perl-TimeDate.SlackBuild b/perl/perl-TimeDate/perl-TimeDate.SlackBuild index abb3aba2d7..8f3a68e4df 100644 --- a/perl/perl-TimeDate/perl-TimeDate.SlackBuild +++ b/perl/perl-TimeDate/perl-TimeDate.SlackBuild @@ -79,7 +79,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ diff --git a/perl/perl-TryCatch/perl-TryCatch.info b/perl/perl-TryCatch/perl-TryCatch.info index deed6f5df7..cfa98ee12a 100644 --- a/perl/perl-TryCatch/perl-TryCatch.info +++ b/perl/perl-TryCatch/perl-TryCatch.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AS/ASH/TryCatch-1.003002.tar.gz MD5SUM="37dbff1d9ab3b09d2a41b706f7716957" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-B-Hooks-EndOfScope perl-B-Hooks-OP-Check perl-B-Hooks-OP-PPAddr perl-Devel-Declare perl-Moose perl-MooseX-Types perl-namespace-clean perl-Parse-Method-Signatures perl-Scope-Upper perl-Sub-Exporter perl-Variable-Magic" +REQUIRES="perl-B-Hooks-OP-PPAddr perl-Devel-Declare perl-Parse-Method-Signatures perl-Scope-Upper" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Types-Serialiser/perl-Types-Serialiser.info b/perl/perl-Types-Serialiser/perl-Types-Serialiser.info index eedb3dc8f9..9931f3ddec 100644 --- a/perl/perl-Types-Serialiser/perl-Types-Serialiser.info +++ b/perl/perl-Types-Serialiser/perl-Types-Serialiser.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-common-sense" MAINTAINER="Tonus" -EMAIL="tonus1@gmail.com" +EMAIL="tonus1@free.fr" diff --git a/perl/perl-Unicode-LineBreak/perl-Unicode-LineBreak.SlackBuild b/perl/perl-Unicode-LineBreak/perl-Unicode-LineBreak.SlackBuild index 8d48bd2bdc..2152e65885 100644 --- a/perl/perl-Unicode-LineBreak/perl-Unicode-LineBreak.SlackBuild +++ b/perl/perl-Unicode-LineBreak/perl-Unicode-LineBreak.SlackBuild @@ -39,20 +39,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG diff --git a/perl/perl-Unicode-LineBreak/perl-Unicode-LineBreak.info b/perl/perl-Unicode-LineBreak/perl-Unicode-LineBreak.info index 9ab3597063..2a14ccc64a 100644 --- a/perl/perl-Unicode-LineBreak/perl-Unicode-LineBreak.info +++ b/perl/perl-Unicode-LineBreak/perl-Unicode-LineBreak.info @@ -1,6 +1,6 @@ PRGNAM="perl-Unicode-LineBreak" VERSION="2019.001" -HOMEPAGE="https://metacpan.org/release/NEZUMI/Unicode-LineBreak-2019.001" +HOMEPAGE="https://metacpan.org/pod/Unicode::LineBreak" DOWNLOAD="https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/Unicode-LineBreak-2019.001.tar.gz" MD5SUM="003d6da7a13700e069afed9238c864b9" DOWNLOAD_x86_64="" diff --git a/perl/perl-Unix-Syslog/perl-Unix-Syslog.SlackBuild b/perl/perl-Unix-Syslog/perl-Unix-Syslog.SlackBuild index 8bcbaaa235..4a8b7b9ade 100644 --- a/perl/perl-Unix-Syslog/perl-Unix-Syslog.SlackBuild +++ b/perl/perl-Unix-Syslog/perl-Unix-Syslog.SlackBuild @@ -26,10 +26,10 @@ # # Modified by the SlackBuilds.org project. -SRCNAM=Unix-Syslog cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Unix-Syslog +SRCNAM=Unix-Syslog VERSION=${VERSION:-1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -78,7 +78,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ diff --git a/perl/perl-Variable-Magic/perl-Variable-Magic.SlackBuild b/perl/perl-Variable-Magic/perl-Variable-Magic.SlackBuild index 704d71ba3e..199c5020e9 100644 --- a/perl/perl-Variable-Magic/perl-Variable-Magic.SlackBuild +++ b/perl/perl-Variable-Magic/perl-Variable-Magic.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Variable-Magic -VERSION=${VERSION:-0.62} +VERSION=${VERSION:-0.64} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-Variable-Magic/perl-Variable-Magic.info b/perl/perl-Variable-Magic/perl-Variable-Magic.info index 4ae427995f..2f9406c182 100644 --- a/perl/perl-Variable-Magic/perl-Variable-Magic.info +++ b/perl/perl-Variable-Magic/perl-Variable-Magic.info @@ -1,10 +1,10 @@ PRGNAM="perl-Variable-Magic" -VERSION="0.62" +VERSION="0.64" HOMEPAGE="https://metacpan.org/pod/Variable::Magic" -DOWNLOAD="https://cpan.metacpan.org/authors/id/V/VP/VPIT/Variable-Magic-0.62.tar.gz" -MD5SUM="588d94ec3d98dece878a776d161c1dda" +DOWNLOAD="https://cpan.metacpan.org/authors/id/V/VP/VPIT/Variable-Magic-0.64.tar.gz" +MD5SUM="957d53fc6614deb593aa6d7cf96d713a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Jan F. Chadima" -EMAIL="jfch@jagda.eu" +MAINTAINER="Charadon" +EMAIL="dev@iotib.net" diff --git a/perl/perl-WWW-Curl/curl-7.71.0.patch.gz b/perl/perl-WWW-Curl/curl-7.71.0.patch.gz Binary files differindex f85592a36f..96e83e4a30 100644 --- a/perl/perl-WWW-Curl/curl-7.71.0.patch.gz +++ b/perl/perl-WWW-Curl/curl-7.71.0.patch.gz diff --git a/perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild b/perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild index 46291bd33f..f99a85f115 100644 --- a/perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild +++ b/perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild @@ -7,7 +7,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-WWW-Curl VERSION=${VERSION:-4.17} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -21,9 +21,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -64,6 +61,8 @@ find -L . \ zcat $CWD/curl-7.71.0.patch.gz | patch -p1 +PERL_USE_UNSAFE_INC=1 \ +PERL_MM_USE_DEFAULT=1 \ perl Makefile.PL \ PREFIX=/usr \ INSTALLDIRS=vendor \ diff --git a/perl/perl-WebService-Gyazo-B/perl-WebService-Gyazo-B.info b/perl/perl-WebService-Gyazo-B/perl-WebService-Gyazo-B.info index ed00aa8d41..55282ed469 100644 --- a/perl/perl-WebService-Gyazo-B/perl-WebService-Gyazo-B.info +++ b/perl/perl-WebService-Gyazo-B/perl-WebService-Gyazo-B.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/WebService-Gyazo-B-0 MD5SUM="a3d2563d78d484d0a026751a43703f53" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Module-Build perl-Test-Pod perl-Test-Pod-Coverage perl-http-message perl-LWP-Protocol-https perl-LWP-Protocol-socks perl-URI-Simple" +REQUIRES="perl-Module-Build perl-Test-Pod perl-Test-Pod-Coverage perl-LWP-Protocol-socks perl-URI-Simple" MAINTAINER="Donald Cooley" EMAIL="chytraeu@sdf.org" diff --git a/perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.SlackBuild b/perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.SlackBuild index 881f78f4a2..353e6791fd 100644 --- a/perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.SlackBuild +++ b/perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.SlackBuild @@ -16,6 +16,8 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# 20240814 bkw: update for v1.0.7. +# 20230105 bkw: update for v1.0.6. # 20220110 bkw: # - take over maintenance. # - ARCH=noarch. @@ -24,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-WebService-MusicBrainz -VERSION=${VERSION:-1.0.5} +VERSION=${VERSION:-1.0.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.info b/perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.info index 6eb7a3f95d..47cb001336 100644 --- a/perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.info +++ b/perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.info @@ -1,8 +1,8 @@ PRGNAM="perl-WebService-MusicBrainz" -VERSION="1.0.5" +VERSION="1.0.7" HOMEPAGE="https://metacpan.org/pod/WebService::MusicBrainz" -DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BF/BFAIST/WebService-MusicBrainz-1.0.5.tar.gz" -MD5SUM="69cd2eae86c5b6ac360a1f829e784239" +DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BF/BFAIST/WebService-MusicBrainz-1.0.7.tar.gz" +MD5SUM="f7ce129850e5871b756984725d64259e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Mojolicious" diff --git a/perl/perl-XML-TreeBuilder/perl-XML-TreeBuilder.info b/perl/perl-XML-TreeBuilder/perl-XML-TreeBuilder.info index 18a3fd7bd9..81de943d76 100644 --- a/perl/perl-XML-TreeBuilder/perl-XML-TreeBuilder.info +++ b/perl/perl-XML-TreeBuilder/perl-XML-TreeBuilder.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/J/JF/JFEARN/XML-TreeBuilder-5.4.t MD5SUM="bf2d9102b62516f6e76c248acb9e8a2c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-HTML-Tree perl-html-tagset perl-Test-Simple perl-XML-Catalog" +REQUIRES="perl-HTML-Tree perl-XML-Catalog" MAINTAINER="Nikos Giotis" EMAIL="nikos.giotis@gmail.com" diff --git a/perl/perl-XS-Parse-Keyword/perl-XS-Parse-Keyword.info b/perl/perl-XS-Parse-Keyword/perl-XS-Parse-Keyword.info index 4485c97db9..ebfe077faf 100644 --- a/perl/perl-XS-Parse-Keyword/perl-XS-Parse-Keyword.info +++ b/perl/perl-XS-Parse-Keyword/perl-XS-Parse-Keyword.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/XS-Parse-Keyword-0.25 MD5SUM="1a92915a139152aa470a38c0169fdf42" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Module-Build perl-ExtUtils-CChecker" +REQUIRES="perl-ExtUtils-CChecker" MAINTAINER="Nicholas Hubbard" EMAIL="nicholashubbard@posteo.net" diff --git a/perl/perl-YAML-Syck/perl-YAML-Syck.info b/perl/perl-YAML-Syck/perl-YAML-Syck.info index d98862e2c5..5e9cd4d549 100644 --- a/perl/perl-YAML-Syck/perl-YAML-Syck.info +++ b/perl/perl-YAML-Syck/perl-YAML-Syck.info @@ -1,7 +1,7 @@ PRGNAM="perl-YAML-Syck" VERSION="1.34" HOMEPAGE="https://metacpan.org/pod/YAML::Syck" -DOWNLOAD="http://cpan.metacpan.org/authors/id/T/TO/TODDR/YAML-Syck-1.34.tar.gz" +DOWNLOAD="https://cpan.metacpan.org/authors/id/T/TO/TODDR/YAML-Syck-1.34.tar.gz" MD5SUM="4aae72f5c06dccd6ed6ea9b029104183" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/perl/perl-YAML-Tiny/perl-YAML-Tiny.SlackBuild b/perl/perl-YAML-Tiny/perl-YAML-Tiny.SlackBuild index 735e56ae23..42d511b0fc 100644 --- a/perl/perl-YAML-Tiny/perl-YAML-Tiny.SlackBuild +++ b/perl/perl-YAML-Tiny/perl-YAML-Tiny.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for perl-YAML-Tiny. # -# Copyright 2020 M.A. Begue mab974@gmail.com +# Copyright 2020 M.A. Begue mab974@misouk.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-YAML-Tiny -VERSION=${VERSION:-1.73} +VERSION=${VERSION:-1.74} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -86,6 +86,7 @@ perl Makefile.PL \ INSTALLDIRS=vendor \ INSTALLVENDORMAN3DIR=/usr/man/man3 make +make test make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/perl/perl-YAML-Tiny/perl-YAML-Tiny.info b/perl/perl-YAML-Tiny/perl-YAML-Tiny.info index 7373a62810..0b185ae650 100644 --- a/perl/perl-YAML-Tiny/perl-YAML-Tiny.info +++ b/perl/perl-YAML-Tiny/perl-YAML-Tiny.info @@ -1,10 +1,10 @@ PRGNAM="perl-YAML-Tiny" -VERSION="1.73" +VERSION="1.74" HOMEPAGE="https://metacpan.org/pod/YAML::Tiny" -DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/YAML-Tiny-1.73.tar.gz" -MD5SUM="d1bb2525e4ab46bfab4b22842c467529" +DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/YAML-Tiny-1.74.tar.gz" +MD5SUM="5a2b53a7cf7f3dcc98173944565ca0d6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Michel A. BEGUE" -EMAIL="mab974@gmail.com" +MAINTAINER="Michel A. Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-ZMQ-Constants/perl-ZMQ-Constants.SlackBuild b/perl/perl-ZMQ-Constants/perl-ZMQ-Constants.SlackBuild index bb71953934..71756eb980 100644 --- a/perl/perl-ZMQ-Constants/perl-ZMQ-Constants.SlackBuild +++ b/perl/perl-ZMQ-Constants/perl-ZMQ-Constants.SlackBuild @@ -78,7 +78,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $TMP/$SRCNAM-$VERSION -chown -R root.root . +chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ diff --git a/perl/perl-audio-sndfile/perl-audio-sndfile.SlackBuild b/perl/perl-audio-sndfile/perl-audio-sndfile.SlackBuild index 86ffdc6818..e19a13ea06 100644 --- a/perl/perl-audio-sndfile/perl-audio-sndfile.SlackBuild +++ b/perl/perl-audio-sndfile/perl-audio-sndfile.SlackBuild @@ -33,20 +33,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -67,8 +53,7 @@ perl Makefile.PL \ make make install DESTDIR=$PKG -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +find $PKG -name '*.so' | xargs strip --strip-unneeded gzip $PKG/usr/man/man3/*.3 diff --git a/perl/perl-cgi-minimal/perl-cgi-minimal.SlackBuild b/perl/perl-cgi-minimal/perl-cgi-minimal.SlackBuild index fbda094ed3..87345d68fa 100644 --- a/perl/perl-cgi-minimal/perl-cgi-minimal.SlackBuild +++ b/perl/perl-cgi-minimal/perl-cgi-minimal.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-cgi-minimal -# Copyright 2016 - 2020 Johannes Schoepfer, Germany +# Copyright 2016-2023 Johannes Schoepfer, Germany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -29,18 +29,8 @@ VERSION=${VERSION:-1.30} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +ARCH=noarch -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -50,20 +40,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -75,25 +51,19 @@ cd CGI-Minimal-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} + -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} + perl Makefile.PL \ PREFIX=/usr \ - OPTIMIZE=\"$SLKFLAGS\" \ INSTALLDIRS=vendor \ - INSTALLVENDORMAN1DIR=/usr/man/man1 \ INSTALLVENDORMAN3DIR=/usr/man/man3 make make test make install DESTDIR=$PKG -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - find $PKG/usr/man -type f -exec gzip -9 {} + -for links in $(find $PKG/usr/man -type l ) ; do ln -sf $( readlink $links ).gz $links.gz;rm $links;done find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true find $PKG -depth -type d -empty -delete || true diff --git a/perl/perl-common-sense/perl-common-sense.info b/perl/perl-common-sense/perl-common-sense.info index 467208e8c3..c278cb70bf 100644 --- a/perl/perl-common-sense/perl-common-sense.info +++ b/perl/perl-common-sense/perl-common-sense.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Tonus" -EMAIL="tonus1@gmail.com" +EMAIL="tonus1@free.fr" diff --git a/perl/perl-crypt-dh-gmp/README b/perl/perl-crypt-dh-gmp/README new file mode 100644 index 0000000000..dcd9293bd6 --- /dev/null +++ b/perl/perl-crypt-dh-gmp/README @@ -0,0 +1,4 @@ +perl-crypt-dh-gmp (Diffie-Hellman key exchange module, using GMP) + +Crypt::DH::GMP is a (somewhat) portable replacement for Crypt::DH, +implemented mostly in C (for speed). diff --git a/perl/perl-crypt-dh-gmp/perl-crypt-dh-gmp.SlackBuild b/perl/perl-crypt-dh-gmp/perl-crypt-dh-gmp.SlackBuild new file mode 100644 index 0000000000..e0b19f9584 --- /dev/null +++ b/perl/perl-crypt-dh-gmp/perl-crypt-dh-gmp.SlackBuild @@ -0,0 +1,66 @@ +#!/bin/bash + +# Slackware build script for perl-crypt-dh-gmp + +# Written by B. Watson (urchlay@slackware.uk) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-crypt-dh-gmp +SRCNAM=Crypt-DH-GMP +VERSION=${VERSION:-0.00012} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +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 +make install DESTDIR=$PKG +rm -f $PKG/usr/lib*/perl5/perllocal.pod $PKG/usr/lib*/perl5/*/*/*/*/*/.packlist +strip $PKG/usr/lib*/perl5/vendor_perl/auto/Crypt/DH/GMP/GMP.so +gzip -9 $PKG/usr/man/man*/* + +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a Changes $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-crypt-dh-gmp/perl-crypt-dh-gmp.info b/perl/perl-crypt-dh-gmp/perl-crypt-dh-gmp.info new file mode 100644 index 0000000000..d209713d19 --- /dev/null +++ b/perl/perl-crypt-dh-gmp/perl-crypt-dh-gmp.info @@ -0,0 +1,10 @@ +PRGNAM="perl-crypt-dh-gmp" +VERSION="0.00012" +HOMEPAGE="https://metacpan.org/pod/Crypt::DH::GMP" +DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DM/DMAKI/Crypt-DH-GMP-0.00012.tar.gz" +MD5SUM="9df5e4d790b81055d8609fa50ec31fdb" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Test-Requires perl-Module-Install" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-crypt-dh-gmp/slack-desc b/perl/perl-crypt-dh-gmp/slack-desc new file mode 100644 index 0000000000..14c23d4d5f --- /dev/null +++ b/perl/perl-crypt-dh-gmp/slack-desc @@ -0,0 +1,19 @@ +# 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-crypt-dh-gmp: perl-crypt-dh-gmp (Diffie-Hellman key exchange module, using GMP) +perl-crypt-dh-gmp: +perl-crypt-dh-gmp: Crypt::DH::GMP is a (somewhat) portable replacement for Crypt::DH, +perl-crypt-dh-gmp: implemented mostly in C (for speed). +perl-crypt-dh-gmp: +perl-crypt-dh-gmp: +perl-crypt-dh-gmp: +perl-crypt-dh-gmp: +perl-crypt-dh-gmp: +perl-crypt-dh-gmp: +perl-crypt-dh-gmp: diff --git a/perl/perl-data-dump/perl-data-dump.SlackBuild b/perl/perl-data-dump/perl-data-dump.SlackBuild index a24cfb0fb6..99a06cee28 100644 --- a/perl/perl-data-dump/perl-data-dump.SlackBuild +++ b/perl/perl-data-dump/perl-data-dump.SlackBuild @@ -6,23 +6,18 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230105 bkw: BUILD=2, ARCH=noarch. # 20211012 bkw: update for v1.25. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-data-dump VERSION=${VERSION:-1.25} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" @@ -33,20 +28,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e SRCNAM=Data-Dump diff --git a/perl/perl-data-messagepack/perl-data-messagepack.SlackBuild b/perl/perl-data-messagepack/perl-data-messagepack.SlackBuild index a8b069c6ef..e008d32ad2 100644 --- a/perl/perl-data-messagepack/perl-data-messagepack.SlackBuild +++ b/perl/perl-data-messagepack/perl-data-messagepack.SlackBuild @@ -25,13 +25,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-data-messagepack -VERSION=${VERSION:-1.00} +VERSION=${VERSION:-1.02} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Data-MessagePack -DOCFILES="Changes README" +DOCFILES="Changes README.md" if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -68,13 +68,10 @@ 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 {} \; -echo "y" | perl Makefile.PL \ - PREFIX=/usr \ - INSTALLDIRS=vendor \ - INSTALLVENDORMAN3DIR=/usr/man/man3 -make -make test -make install DESTDIR=$PKG +perl Build.PL --installdirs vendor --config installvendorman1dir=/usr/man/man1 --config installvendorman3dir=/usr/man/man3 +./Build +./Build test +./Build install --destdir $PKG find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true find $PKG -depth -type d -empty -delete diff --git a/perl/perl-data-messagepack/perl-data-messagepack.info b/perl/perl-data-messagepack/perl-data-messagepack.info index b9cab52694..7dc174258d 100644 --- a/perl/perl-data-messagepack/perl-data-messagepack.info +++ b/perl/perl-data-messagepack/perl-data-messagepack.info @@ -1,10 +1,10 @@ PRGNAM="perl-data-messagepack" -VERSION="1.00" +VERSION="1.02" HOMEPAGE="https://metacpan.org/pod/Data::MessagePack" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SY/SYOHEX/Data-MessagePack-1.00.tar.gz" -MD5SUM="a52f9d85cdaffe46bfb34a7b7da2ad92" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SY/SYOHEX/Data-MessagePack-1.02.tar.gz" +MD5SUM="23afe56c52a6e7f345a801710dcfabbe" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-inc-module-install" +REQUIRES="perl-inc-module-install perl-Module-Build-XSUtil" MAINTAINER="Tonus" -EMAIL="tonus1@gmail.com" +EMAIL="tonus1@free.fr" diff --git a/perl/perl-data-section-simple/perl-data-section-simple.info b/perl/perl-data-section-simple/perl-data-section-simple.info index ff55b5e1ab..33c2e38f48 100644 --- a/perl/perl-data-section-simple/perl-data-section-simple.info +++ b/perl/perl-data-section-simple/perl-data-section-simple.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Tonus" -EMAIL="tonus1@gmail.com" +EMAIL="tonus1@free.fr" diff --git a/perl/perl-digest-hmac/perl-digest-hmac.SlackBuild b/perl/perl-digest-hmac/perl-digest-hmac.SlackBuild index 729ade686e..6baf7eb60b 100644 --- a/perl/perl-digest-hmac/perl-digest-hmac.SlackBuild +++ b/perl/perl-digest-hmac/perl-digest-hmac.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-digest-hmac -VERSION=${VERSION:-1.03} +VERSION=${VERSION:-1.04} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-digest-hmac/perl-digest-hmac.info b/perl/perl-digest-hmac/perl-digest-hmac.info index 1c72948b8d..63e0eb41b2 100644 --- a/perl/perl-digest-hmac/perl-digest-hmac.info +++ b/perl/perl-digest-hmac/perl-digest-hmac.info @@ -1,8 +1,8 @@ PRGNAM="perl-digest-hmac" -VERSION="1.03" +VERSION="1.04" HOMEPAGE="https://metacpan.org/pod/Digest::HMAC" -DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GA/GAAS/Digest-HMAC-1.03.tar.gz" -MD5SUM="e6a5d6f552da16eacb5157ea4369ff9d" +DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AR/ARODLAND/Digest-HMAC-1.04.tar.gz" +MD5SUM="746a5edffd1485d7500e005730c271c8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-digest-sha1" diff --git a/perl/perl-file-libmagic/perl-file-libmagic.SlackBuild b/perl/perl-file-libmagic/perl-file-libmagic.SlackBuild index 138c845523..d5f3b1e897 100644 --- a/perl/perl-file-libmagic/perl-file-libmagic.SlackBuild +++ b/perl/perl-file-libmagic/perl-file-libmagic.SlackBuild @@ -6,6 +6,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230105 bkw: BUILD=2, strip the shared object. # 20201025 bkw: update for v1.23. cd $(dirname $0) ; CWD=$(pwd) @@ -13,7 +14,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-file-libmagic TARNAM=File-LibMagic VERSION=${VERSION:-1.23} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -34,20 +35,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -83,6 +70,8 @@ perl -MTest::Fatal -e 0 2>/dev/null && make test make install DESTDIR=$PKG gzip -9 $PKG/usr/man/man?/*.? +find $PKG -name '*.so' -exec strip {} \+ + find $PKG -name perllocal.pod \ -o -name ".packlist" \ -o -name "*.bs" \ diff --git a/perl/perl-file-listing/perl-file-listing.SlackBuild b/perl/perl-file-listing/perl-file-listing.SlackBuild index 5b389e26f3..ee3459da46 100644 --- a/perl/perl-file-listing/perl-file-listing.SlackBuild +++ b/perl/perl-file-listing/perl-file-listing.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-file-listing -VERSION=${VERSION:-6.04} +VERSION=${VERSION:-6.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -51,7 +51,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} SRCNAM=File-Listing -DOCFILES="Changes README" +DOCFILES="Changes README Changes.original INSTALL LICENSE" set -e diff --git a/perl/perl-file-listing/perl-file-listing.info b/perl/perl-file-listing/perl-file-listing.info index 7c26db5de4..c6679b9d57 100644 --- a/perl/perl-file-listing/perl-file-listing.info +++ b/perl/perl-file-listing/perl-file-listing.info @@ -1,8 +1,8 @@ PRGNAM="perl-file-listing" -VERSION="6.04" +VERSION="6.16" HOMEPAGE="https://metacpan.org/pod/File::Listing" -DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GA/GAAS/File-Listing-6.04.tar.gz" -MD5SUM="83f636b477741f3a014585bb9cc079a6" +DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/File-Listing-6.16.tar.gz" +MD5SUM="d4fc8b0c86633d1fa5bf75323720eadc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-http-date" diff --git a/perl/perl-file-mimeinfo/perl-file-mimeinfo.SlackBuild b/perl/perl-file-mimeinfo/perl-file-mimeinfo.SlackBuild index 3b2457f83c..df0f1023ca 100644 --- a/perl/perl-file-mimeinfo/perl-file-mimeinfo.SlackBuild +++ b/perl/perl-file-mimeinfo/perl-file-mimeinfo.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for perl-file-mimeinfo. # -# Copyright 2015-2022 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2024 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,18 +25,12 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-file-mimeinfo -VERSION=${VERSION:-0.33} +VERSION=${VERSION:-0.35} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch # If the variable PRINT_PACKAGE_NAME is set, then this script will report what # the name of the created package would be, and then exit. This information diff --git a/perl/perl-file-mimeinfo/perl-file-mimeinfo.info b/perl/perl-file-mimeinfo/perl-file-mimeinfo.info index 7e6053106b..22163eb2a6 100644 --- a/perl/perl-file-mimeinfo/perl-file-mimeinfo.info +++ b/perl/perl-file-mimeinfo/perl-file-mimeinfo.info @@ -1,10 +1,10 @@ PRGNAM="perl-file-mimeinfo" -VERSION="0.33" +VERSION="0.35" HOMEPAGE="https://metacpan.org/pod/File::MimeInfo" -DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MI/MICHIELB/File-MimeInfo-0.33.tar.gz" -MD5SUM="b130d42a501e2854b9988087e1ceaa90" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MI/MICHIELB/File-MimeInfo-0.35.tar.gz" +MD5SUM="b51ad399e7dd802d27fb88e1c388cbd4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-file-basedir perl-file-desktopentry perl-encode-locale" +REQUIRES="perl-file-desktopentry perl-encode-locale" MAINTAINER="Edinaldo P. Silva" EMAIL="edps.mundognu@gmail.com" diff --git a/perl/perl-file-slurper/perl-file-slurper.SlackBuild b/perl/perl-file-slurper/perl-file-slurper.SlackBuild index fd641648af..190a7a49b1 100644 --- a/perl/perl-file-slurper/perl-file-slurper.SlackBuild +++ b/perl/perl-file-slurper/perl-file-slurper.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-file-slurper -VERSION=${VERSION:-0.012} +VERSION=${VERSION:-0.014} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-file-slurper/perl-file-slurper.info b/perl/perl-file-slurper/perl-file-slurper.info index d6cc132998..95841d2740 100644 --- a/perl/perl-file-slurper/perl-file-slurper.info +++ b/perl/perl-file-slurper/perl-file-slurper.info @@ -1,10 +1,10 @@ PRGNAM="perl-file-slurper" -VERSION="0.012" +VERSION="0.014" HOMEPAGE="https://metacpan.org/pod/File::Slurper" -DOWNLOAD="https://cpan.metacpan.org/authors/id/L/LE/LEONT/File-Slurper-0.012.tar.gz" -MD5SUM="5742c63096392dfee50b8db314bcca18" +DOWNLOAD="https://cpan.metacpan.org/authors/id/L/LE/LEONT/File-Slurper-0.014.tar.gz" +MD5SUM="d43bc5f069035eff3b6b7c418b4cedc4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Test-Warnings" MAINTAINER="Tonus" -EMAIL="tonus1@gmail.com" +EMAIL="tonus1@free.fr" diff --git a/perl/perl-glib/perl-glib.SlackBuild b/perl/perl-glib/perl-glib.SlackBuild index f9b8c7ad83..eb23dbe77d 100644 --- a/perl/perl-glib/perl-glib.SlackBuild +++ b/perl/perl-glib/perl-glib.SlackBuild @@ -5,7 +5,7 @@ # (C) 2007 Michael Wagner <lapinours@web.de> # Copyright 2010, 2012 Binh Nguyen <binhvng@gmail.com> # Copyright 2014-2017 Glenn Becker <burningc@sdf.org> -# Copyright 2017-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2017-2024 Edinaldo P. Silva, Rio de Janeiro, Brazil. # # All rights reserved. # @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-glib -VERSION=${VERSION:-1.3293} +VERSION=${VERSION:-1.3294} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-glib/perl-glib.info b/perl/perl-glib/perl-glib.info index b41b757d70..df207e280d 100644 --- a/perl/perl-glib/perl-glib.info +++ b/perl/perl-glib/perl-glib.info @@ -1,8 +1,8 @@ PRGNAM="perl-glib" -VERSION="1.3293" +VERSION="1.3294" HOMEPAGE="https://metacpan.org/pod/Glib" -DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Glib-1.3293.tar.gz" -MD5SUM="7f7ce9844fdb30a7320d4881ccdeb3ca" +DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Glib-1.3294.tar.gz" +MD5SUM="ee0b309a6d87f7ede45f05787de1901d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-extutils-depends perl-extutils-pkgconfig" diff --git a/perl/perl-gnome2-canvas/slack-desc b/perl/perl-gnome2-canvas/slack-desc index b30edba102..7c1b1f6393 100644 --- a/perl/perl-gnome2-canvas/slack-desc +++ b/perl/perl-gnome2-canvas/slack-desc @@ -13,7 +13,7 @@ perl-gnome2-canvas: GnomeCanvas widget with Gtk2-Perl. perl-gnome2-canvas: perl-gnome2-canvas: Like the Gtk2 module on which it depends, Gnome2::Canvas follows the C perl-gnome2-canvas: API of libgnomecanvas-2.0 as closely as possible while still being -perl-gnome2-canvas: perlish. Thus, the C API reference remains the canonical documentation. +perl-gnome2-canvas: perlish; the C API reference remains the canonical documentation. perl-gnome2-canvas: perl-gnome2-canvas: Home page: https://metacpan.org/release/Gnome2-Canvas perl-gnome2-canvas: diff --git a/perl/perl-html-form/perl-html-form.SlackBuild b/perl/perl-html-form/perl-html-form.SlackBuild index a02769e550..b002bc8df9 100644 --- a/perl/perl-html-form/perl-html-form.SlackBuild +++ b/perl/perl-html-form/perl-html-form.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-html-form -VERSION=${VERSION:-6.07} +VERSION=${VERSION:-6.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -43,9 +43,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -104,7 +101,7 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Changes INSTALL LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/perl/perl-html-form/perl-html-form.info b/perl/perl-html-form/perl-html-form.info index 79e9e18c1a..330730ef45 100644 --- a/perl/perl-html-form/perl-html-form.info +++ b/perl/perl-html-form/perl-html-form.info @@ -1,10 +1,10 @@ PRGNAM="perl-html-form" -VERSION="6.07" +VERSION="6.11" HOMEPAGE="https://metacpan.org/pod/HTML::Form" -DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTML-Form-6.07.tar.gz" -MD5SUM="71718750e6a2132b50eeca417a55e18e" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SI/SIMBABQUE/HTML-Form-6.11.tar.gz" +MD5SUM="5348fbdee5ec572e21c1579d4eb183d3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-http-message" +REQUIRES="perl-html-parser perl-Test-Warnings" MAINTAINER="Donald Cooley" EMAIL="chytraeu@sdf.org" diff --git a/perl/perl-html-parser/perl-html-parser.SlackBuild b/perl/perl-html-parser/perl-html-parser.SlackBuild index 66780ddff9..09e565c957 100644 --- a/perl/perl-html-parser/perl-html-parser.SlackBuild +++ b/perl/perl-html-parser/perl-html-parser.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-html-parser -VERSION=${VERSION:-3.71} +VERSION=${VERSION:-3.82} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-html-parser/perl-html-parser.info b/perl/perl-html-parser/perl-html-parser.info index 6e651d0373..8a9c8afa03 100644 --- a/perl/perl-html-parser/perl-html-parser.info +++ b/perl/perl-html-parser/perl-html-parser.info @@ -1,10 +1,10 @@ PRGNAM="perl-html-parser" -VERSION="3.71" +VERSION="3.82" HOMEPAGE="https://metacpan.org/pod/HTML::Parser" -DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GA/GAAS/HTML-Parser-3.71.tar.gz" -MD5SUM="9128a45893097dfa3bf03301b19c5efe" +DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTML-Parser-3.82.tar.gz" +MD5SUM="65a174351fd2ec1ea2c46a6571880718" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-html-tagset" +REQUIRES="perl-html-tagset perl-http-message" MAINTAINER="LukenShiro" EMAIL="lukenshiro@ngi.it" diff --git a/perl/perl-html-tagset/perl-html-tagset.SlackBuild b/perl/perl-html-tagset/perl-html-tagset.SlackBuild index fbe879cce5..40e415371b 100644 --- a/perl/perl-html-tagset/perl-html-tagset.SlackBuild +++ b/perl/perl-html-tagset/perl-html-tagset.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-html-tagset SRC_PRGNAM=HTML-Tagset -VERSION=${VERSION:-3.20} +VERSION=${VERSION:-3.24} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -52,7 +52,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCFILES="Changes README" +DOCFILES="Changes README.md" set -e # exit on most errors diff --git a/perl/perl-html-tagset/perl-html-tagset.info b/perl/perl-html-tagset/perl-html-tagset.info index 7b87281d45..471854106e 100644 --- a/perl/perl-html-tagset/perl-html-tagset.info +++ b/perl/perl-html-tagset/perl-html-tagset.info @@ -1,8 +1,8 @@ PRGNAM="perl-html-tagset" -VERSION="3.20" +VERSION="3.24" HOMEPAGE="https://metacpan.org/pod/HTML::Tagset" -DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/HTML-Tagset-3.20.tar.gz" -MD5SUM="d2bfa18fe1904df7f683e96611e87437" +DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/HTML-Tagset-3.24.tar.gz" +MD5SUM="f8db8974f5e7fe7df2a58263a7b00552" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-http-cookies/perl-http-cookies.SlackBuild b/perl/perl-http-cookies/perl-http-cookies.SlackBuild index b7b00c5f85..d8e61a0dc1 100644 --- a/perl/perl-http-cookies/perl-http-cookies.SlackBuild +++ b/perl/perl-http-cookies/perl-http-cookies.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-http-cookies -VERSION=${VERSION:-6.01} +VERSION=${VERSION:-6.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -51,7 +51,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} SRCNAM=HTTP-Cookies -DOCFILES="Changes README" +DOCFILES="Changes README.md LICENSE INSTALL CONTRIBUTORS" set -e diff --git a/perl/perl-http-cookies/perl-http-cookies.info b/perl/perl-http-cookies/perl-http-cookies.info index 2defc8f81c..6723b5a4b4 100644 --- a/perl/perl-http-cookies/perl-http-cookies.info +++ b/perl/perl-http-cookies/perl-http-cookies.info @@ -1,8 +1,8 @@ PRGNAM="perl-http-cookies" -VERSION="6.01" +VERSION="6.11" HOMEPAGE="https://metacpan.org/pod/HTTP::Cookies" -DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GA/GAAS/HTTP-Cookies-6.01.tar.gz" -MD5SUM="ecfd0eeb88512033352c2f13c9580f03" +DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTTP-Cookies-6.11.tar.gz" +MD5SUM="80017e7e56bdc8ba16dea75789748829" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-http-message" diff --git a/perl/perl-http-daemon/perl-http-daemon.SlackBuild b/perl/perl-http-daemon/perl-http-daemon.SlackBuild index 45343590f8..6c5d8225c7 100644 --- a/perl/perl-http-daemon/perl-http-daemon.SlackBuild +++ b/perl/perl-http-daemon/perl-http-daemon.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-http-daemon -VERSION=${VERSION:-6.01} +VERSION=${VERSION:-6.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -51,7 +51,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} SRCNAM=HTTP-Daemon -DOCFILES="Changes README" +DOCFILES="Changes README LICENCE INSTALL CONTRIBUTING" set -e diff --git a/perl/perl-http-daemon/perl-http-daemon.info b/perl/perl-http-daemon/perl-http-daemon.info index 79295b076d..4c5701ca17 100644 --- a/perl/perl-http-daemon/perl-http-daemon.info +++ b/perl/perl-http-daemon/perl-http-daemon.info @@ -1,10 +1,10 @@ PRGNAM="perl-http-daemon" -VERSION="6.01" +VERSION="6.16" HOMEPAGE="https://metacpan.org/pod/HTTP::Daemon" -DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GA/GAAS/HTTP-Daemon-6.01.tar.gz" -MD5SUM="ed0ae02d25d7f1e89456d4d69732adc2" +DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTTP-Daemon-6.16.tar.gz" +MD5SUM="51425462790165aeafc2819a7359706f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-http-message" +REQUIRES="perl-http-message perl-Module-Build-Tiny perl-Test-Needs" MAINTAINER="LukenShiro" EMAIL="lukenshiro@ngi.it" diff --git a/perl/perl-http-date/perl-http-date.SlackBuild b/perl/perl-http-date/perl-http-date.SlackBuild index 2f4be8c46b..f5264ee8ef 100644 --- a/perl/perl-http-date/perl-http-date.SlackBuild +++ b/perl/perl-http-date/perl-http-date.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-http-date -VERSION=${VERSION:-6.02} +VERSION=${VERSION:-6.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -51,7 +51,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} SRCNAM=HTTP-Date -DOCFILES="Changes README" +DOCFILES="Changes README.md LICENSE INSTALL CONTRIBUTORS" set -e diff --git a/perl/perl-http-date/perl-http-date.info b/perl/perl-http-date/perl-http-date.info index 3eb57d788e..8661df0207 100644 --- a/perl/perl-http-date/perl-http-date.info +++ b/perl/perl-http-date/perl-http-date.info @@ -1,8 +1,8 @@ PRGNAM="perl-http-date" -VERSION="6.02" +VERSION="6.06" HOMEPAGE="https://metacpan.org/pod/HTTP::Date" -DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GA/GAAS/HTTP-Date-6.02.tar.gz" -MD5SUM="52b7a0d5982d61be1edb217751d7daba" +DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTTP-Date-6.06.tar.gz" +MD5SUM="60462359bfeb1e6d14602508cfd07885" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-http-message/perl-http-message.SlackBuild b/perl/perl-http-message/perl-http-message.SlackBuild index 0a22a4509b..3ae497e868 100644 --- a/perl/perl-http-message/perl-http-message.SlackBuild +++ b/perl/perl-http-message/perl-http-message.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-http-message -VERSION=${VERSION:-6.11} +VERSION=${VERSION:-6.46} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -51,7 +51,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} SRCNAM=HTTP-Message -DOCFILES="Changes README" +DOCFILES="Changes README.md LICENSE INSTALL CONTRIBUTORS CONTRIBUTING.md" set -e diff --git a/perl/perl-http-message/perl-http-message.info b/perl/perl-http-message/perl-http-message.info index 9128eb195b..aaca28d2cf 100644 --- a/perl/perl-http-message/perl-http-message.info +++ b/perl/perl-http-message/perl-http-message.info @@ -1,10 +1,10 @@ PRGNAM="perl-http-message" -VERSION="6.11" +VERSION="6.46" HOMEPAGE="https://metacpan.org/pod/HTTP::Message" -DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/HTTP-Message-6.11.tar.gz" -MD5SUM="4ed7add10daea3ab30abfeab6d03872f" +DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTTP-Message-6.46.tar.gz" +MD5SUM="12a4bf7d993ba7b231df9a24f8bf3ec5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-encode-locale perl-html-parser perl-http-date perl-lwp-mediatypes perl-IO-HTML" +REQUIRES="perl-encode-locale perl-http-date perl-lwp-mediatypes perl-IO-HTML perl-Clone perl-Try-Tiny perl-Test-Needs" MAINTAINER="LukenShiro" EMAIL="lukenshiro@ngi.it" diff --git a/perl/perl-http-tiny/perl-http-tiny.SlackBuild b/perl/perl-http-tiny/perl-http-tiny.SlackBuild index 21da672506..cbfa9b678c 100644 --- a/perl/perl-http-tiny/perl-http-tiny.SlackBuild +++ b/perl/perl-http-tiny/perl-http-tiny.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-http-tiny -VERSION=${VERSION:-0.076} +VERSION=${VERSION:-0.082} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-http-tiny/perl-http-tiny.info b/perl/perl-http-tiny/perl-http-tiny.info index 94e6094988..4e3fcc71e7 100644 --- a/perl/perl-http-tiny/perl-http-tiny.info +++ b/perl/perl-http-tiny/perl-http-tiny.info @@ -1,10 +1,10 @@ PRGNAM="perl-http-tiny" -VERSION="0.076" +VERSION="0.082" HOMEPAGE="https://metacpan.org/pod/HTTP::Tiny" -DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/HTTP-Tiny-0.076.tar.gz" -MD5SUM="752d43443c6cf9254b23b281a753120b" +DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/HTTP-Tiny-0.082.tar.gz" +MD5SUM="1dd608af9e55fd6b61e61b1aadf6ec9f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Tonus" -EMAIL="tonus1@gmail.com" +EMAIL="tonus1@free.fr" diff --git a/perl/perl-image-bmp/32bitfix.diff b/perl/perl-image-bmp/32bitfix.diff new file mode 100644 index 0000000000..69231c9c5e --- /dev/null +++ b/perl/perl-image-bmp/32bitfix.diff @@ -0,0 +1,15 @@ +diff -Naur Image-BMP-1.26/lib/Image/BMP.pm Image-BMP-1.26.patched/lib/Image/BMP.pm +--- Image-BMP-1.26/lib/Image/BMP.pm 2024-02-06 19:37:00.000000000 -0500 ++++ Image-BMP-1.26.patched/lib/Image/BMP.pm 2024-08-19 15:45:02.250718304 -0400 +@@ -382,7 +382,10 @@ + $bmp->{YpixelsPerM} = read_bmp($bmp,4); + $bmp->{ColorsUsed} = read_bmp($bmp,4); + $bmp->{ColorsImportant} = read_bmp($bmp,4); +- $bmp->{ColorsUsed} = 1<<$bmp->{BitCount} if $bmp->{ColorsUsed} == 0; ++ { ++ use bigint; ++ $bmp->{ColorsUsed} = 1<<$bmp->{BitCount} if $bmp->{ColorsUsed} == 0; ++ } + + $bmp->_debug(1,"Image: $bmp->{BitCount}/$bmp->{ColorsUsed} colors. Geometry: $bmp->{Width}x$bmp->{Height} $bmp->{ImageSize} [comp: $compStr ($bmp->{Compression})]\n"); + diff --git a/perl/perl-image-bmp/perl-image-bmp.SlackBuild b/perl/perl-image-bmp/perl-image-bmp.SlackBuild index 26523d47a2..894db25376 100644 --- a/perl/perl-image-bmp/perl-image-bmp.SlackBuild +++ b/perl/perl-image-bmp/perl-image-bmp.SlackBuild @@ -6,11 +6,14 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20240819 bkw: BUILD=2, fix 32-bit build failure. +# 20240814 bkw: update for v1.26. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-image-bmp -VERSION=${VERSION:-1.19} -BUILD=${BUILD:-1} +VERSION=${VERSION:-1.26} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,6 +42,10 @@ 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 {} \+ +# This patch is for v1.26, and was sent to upstream on 20240819. Hope +# it ends up in the next release. +patch -p1 < $CWD/32bitfix.diff + perl Makefile.PL \ PREFIX=/usr \ INSTALLDIRS=vendor \ diff --git a/perl/perl-image-bmp/perl-image-bmp.info b/perl/perl-image-bmp/perl-image-bmp.info index 8f27d7b308..4af7b2319a 100644 --- a/perl/perl-image-bmp/perl-image-bmp.info +++ b/perl/perl-image-bmp/perl-image-bmp.info @@ -1,8 +1,8 @@ PRGNAM="perl-image-bmp" -VERSION="1.19" +VERSION="1.26" HOMEPAGE="https://metacpan.org/pod/Image::BMP" -DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DA/DAVEOLA/Image/Image-BMP-1.19.tar.gz" -MD5SUM="b3853e8b832c8dddc6c308833b889716" +DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DA/DAVEOLA/Image/Image-BMP-1.26.tar.gz" +MD5SUM="8283ce7278e84437231dd95cd78c94e0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-inc-module-install/perl-inc-module-install.info b/perl/perl-inc-module-install/perl-inc-module-install.info index b6d5558220..e52499a9bf 100644 --- a/perl/perl-inc-module-install/perl-inc-module-install.info +++ b/perl/perl-inc-module-install/perl-inc-module-install.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Module-Install-1.19.ta MD5SUM="0d1b78cc13ebf9b9ad008c8928a5b2dd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-File-Remove perl-Module-Build perl-Module-ScanDeps perl-YAML-Tiny" +REQUIRES="perl-File-Remove perl-Module-ScanDeps perl-YAML-Tiny" MAINTAINER="Tonus" -EMAIL="tonus1@gmail.com" +EMAIL="tonus1@free.fr" diff --git a/perl/perl-libintl/perl-libintl.SlackBuild b/perl/perl-libintl/perl-libintl.SlackBuild index 7a227c4ee9..69bd907266 100644 --- a/perl/perl-libintl/perl-libintl.SlackBuild +++ b/perl/perl-libintl/perl-libintl.SlackBuild @@ -4,11 +4,14 @@ # Written by Luis Henrique <lmello.009@gmail.com> +# 20230702 bkw: Modified by SlackBuilds.org, BUILD=2: +# - clean up doc dir. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-libintl VERSION=${VERSION:-1.32} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -20,9 +23,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -55,30 +55,26 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/libintl-perl-$VERSION.tar.gz cd libintl-perl-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find . -type f -exec chmod 644 {} + -o -type d -exec chmod 755 {} + perl Makefile.PL \ INSTALLDIRS=vendor \ INSTALLVENDORMAN3DIR=/usr/man/man3 make make install DESTDIR=$PKG +gzip -9 $PKG/usr/man/man*/* find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -find $PKG/usr/man -type f -exec gzip -9 {} \; - find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true find $PKG -depth -type d -empty -delete || true -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING Changes FAQ MANIFEST MANIFEST.SKIP NEWS README* REFERENCES THANKS TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a COPYING Changes FAQ MANIFEST NEWS README{,-old*,.md} \ + REFERENCES THANKS TODO $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/perl/perl-linux-desktop-files/perl-linux-desktop-files.SlackBuild b/perl/perl-linux-desktop-files/perl-linux-desktop-files.SlackBuild index 3db301e3a4..368532ca92 100644 --- a/perl/perl-linux-desktop-files/perl-linux-desktop-files.SlackBuild +++ b/perl/perl-linux-desktop-files/perl-linux-desktop-files.SlackBuild @@ -22,25 +22,19 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230702 bkw: Modified by SlackBuilds.org, BUILD=2: +# - ARCH=noarch. +# - fix doc permissions (Changes was +x). + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-linux-desktop-files VERSION=${VERSION:-0.25} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +ARCH=noarch -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -50,20 +44,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e SRCNAM="Linux-DesktopFiles" @@ -75,11 +55,7 @@ rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find . -type f -exec chmod 644 {} + -o -type d -exec chmod 755 {} + perl Makefile.PL \ PREFIX=/usr \ @@ -88,9 +64,7 @@ perl Makefile.PL \ make make test make install DESTDIR=$PKG - -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +gzip -9 $PKG/usr/man/man*/* find $PKG -name perllocal.pod \ -o -name ".packlist" \ diff --git a/perl/perl-local-lib/perl-local-lib.SlackBuild b/perl/perl-local-lib/perl-local-lib.SlackBuild index 3c64e6961f..fb4d37b9a8 100644 --- a/perl/perl-local-lib/perl-local-lib.SlackBuild +++ b/perl/perl-local-lib/perl-local-lib.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-local-lib -VERSION=${VERSION:-2.000024} +VERSION=${VERSION:-2.000029} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/perl-local-lib/perl-local-lib.info b/perl/perl-local-lib/perl-local-lib.info index e6e02a643a..27bbdc2bef 100644 --- a/perl/perl-local-lib/perl-local-lib.info +++ b/perl/perl-local-lib/perl-local-lib.info @@ -1,10 +1,10 @@ PRGNAM="perl-local-lib" -VERSION="2.000024" +VERSION="2.000029" HOMEPAGE="https://metacpan.org/pod/local::lib" -DOWNLOAD="https://cpan.metacpan.org/authors/id/H/HA/HAARG/local-lib-2.000024.tar.gz" -MD5SUM="f9ce59c65137fde81c426f525cffc4e5" +DOWNLOAD="https://cpan.metacpan.org/authors/id/H/HA/HAARG/local-lib-2.000029.tar.gz" +MD5SUM="e35cd5075574b6cd2057e2e15002056e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Andreas Guldstrand" -EMAIL="andreas.guldstrand@gmail.com" +MAINTAINER="Charadon" +EMAIL="dev@iotib.net" diff --git a/perl/perl-lwp-mediatypes/perl-lwp-mediatypes.SlackBuild b/perl/perl-lwp-mediatypes/perl-lwp-mediatypes.SlackBuild index 0a82b530ff..e906318221 100644 --- a/perl/perl-lwp-mediatypes/perl-lwp-mediatypes.SlackBuild +++ b/perl/perl-lwp-mediatypes/perl-lwp-mediatypes.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-lwp-mediatypes -VERSION=${VERSION:-6.02} +VERSION=${VERSION:-6.04} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -51,7 +51,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} SRCNAM=LWP-MediaTypes -DOCFILES="Changes README" +DOCFILES="Changes README INSTALL LICENSE" set -e diff --git a/perl/perl-lwp-mediatypes/perl-lwp-mediatypes.info b/perl/perl-lwp-mediatypes/perl-lwp-mediatypes.info index 057ed692f0..fa20b51d0e 100644 --- a/perl/perl-lwp-mediatypes/perl-lwp-mediatypes.info +++ b/perl/perl-lwp-mediatypes/perl-lwp-mediatypes.info @@ -1,10 +1,10 @@ PRGNAM="perl-lwp-mediatypes" -VERSION="6.02" +VERSION="6.04" HOMEPAGE="https://metacpan.org/pod/LWP::MediaTypes" -DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GA/GAAS/LWP-MediaTypes-6.02.tar.gz" -MD5SUM="8c5f25fb64b974d22aff424476ba13c9" +DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/LWP-MediaTypes-6.04.tar.gz" +MD5SUM="84b799a90c0d2ce52897a7cb4c0478d0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="perl-Test-Fatal" MAINTAINER="LukenShiro" EMAIL="lukenshiro@ngi.it" diff --git a/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild b/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild index 82a6970f45..f51a7df887 100644 --- a/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild +++ b/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild @@ -6,21 +6,16 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230108 bkw: BUILD=2, ARCH=noarch. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-lwp-useragent-cached VERSION=${VERSION:-0.08} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" @@ -31,20 +26,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e SRCNAM="LWP-UserAgent-Cached" diff --git a/perl/perl-namespace-autoclean/perl-namespace-autoclean.info b/perl/perl-namespace-autoclean/perl-namespace-autoclean.info index aed52dd56a..48b72d0259 100644 --- a/perl/perl-namespace-autoclean/perl-namespace-autoclean.info +++ b/perl/perl-namespace-autoclean/perl-namespace-autoclean.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/namespace-autoclean-0. MD5SUM="39b38c776cd1f0ee03cc70781a2f2798" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Role-Tiny perl-B-Hooks-EndOfScope perl-Sub-Identify perl-namespace-clean perl-Sub-Name perl-Test-Needs" +REQUIRES="perl-Role-Tiny perl-Sub-Identify perl-namespace-clean perl-Sub-Name perl-Test-Needs" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-net-dns/perl-net-dns.SlackBuild b/perl/perl-net-dns/perl-net-dns.SlackBuild index cbb70831dc..e521b5001a 100644 --- a/perl/perl-net-dns/perl-net-dns.SlackBuild +++ b/perl/perl-net-dns/perl-net-dns.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-net-dns -VERSION=${VERSION:-1.06} +VERSION=${VERSION:-1.45} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -51,7 +51,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} SRCNAM=Net-DNS -DOCFILES="Changes README" +DOCFILES="Changes README LICENSE" # LIBDIRSUFFIX not used if [ "$ARCH" = "i586" ]; then diff --git a/perl/perl-net-dns/perl-net-dns.info b/perl/perl-net-dns/perl-net-dns.info index c4638b9728..c59f723d47 100644 --- a/perl/perl-net-dns/perl-net-dns.info +++ b/perl/perl-net-dns/perl-net-dns.info @@ -1,8 +1,8 @@ PRGNAM="perl-net-dns" -VERSION="1.06" +VERSION="1.45" HOMEPAGE="https://metacpan.org/pod/Net::DNS" -DOWNLOAD="https://cpan.metacpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-1.06.tar.gz" -MD5SUM="ed17abd6e7e3ba0a8db42649e34a53ae" +DOWNLOAD="https://cpan.metacpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-1.45.tar.gz" +MD5SUM="719dca9148134f93d97222b728270723" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-digest-hmac perl-net-ip" diff --git a/perl/perl-net-http/perl-net-http.SlackBuild b/perl/perl-net-http/perl-net-http.SlackBuild index 8b56cda8dd..5925856154 100644 --- a/perl/perl-net-http/perl-net-http.SlackBuild +++ b/perl/perl-net-http/perl-net-http.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-net-http -VERSION=${VERSION:-6.09} +VERSION=${VERSION:-6.23} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -51,7 +51,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} SRCNAM=Net-HTTP -DOCFILES="Changes README" +DOCFILES="Changes README.md LICENSE INSTALL CONTRIBUTORS" set -e diff --git a/perl/perl-net-http/perl-net-http.info b/perl/perl-net-http/perl-net-http.info index da2e8206a3..78fe69d314 100644 --- a/perl/perl-net-http/perl-net-http.info +++ b/perl/perl-net-http/perl-net-http.info @@ -1,8 +1,8 @@ PRGNAM="perl-net-http" -VERSION="6.09" +VERSION="6.23" HOMEPAGE="https://metacpan.org/pod/Net::HTTP" -DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Net-HTTP-6.09.tar.gz" -MD5SUM="3d84d17f64c7316d69e7eb7b4e292b9a" +DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/Net-HTTP-6.23.tar.gz" +MD5SUM="1682735ddd1c059864ca5c1bbf15ab95" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-net-mpd/perl-net-mpd.info b/perl/perl-net-mpd/perl-net-mpd.info index 7a5f1248d6..6aef47c679 100644 --- a/perl/perl-net-mpd/perl-net-mpd.info +++ b/perl/perl-net-mpd/perl-net-mpd.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Module-Build-Tiny" MAINTAINER="Tonus" -EMAIL="tonus1@gmail.com" +EMAIL="tonus1@free.fr" diff --git a/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.SlackBuild b/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.SlackBuild index 053ea901b2..2a564208a5 100644 --- a/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.SlackBuild +++ b/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-parallel-forkmanager -# Copyright 2018 Jeremy Hansen <jebrhansen+SBo -at- gmail.com> +# Copyright 2018-2024 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,22 +25,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-parallel-forkmanager -VERSION=${VERSION:-2.02} +VERSION=${VERSION:-2.03} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -50,20 +41,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -99,7 +76,9 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Changes CODE_OF_CONDUCT.md CONTRIBUTORS INSTALL README.mkdn $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes CONTRIBUTORS README.mkdn \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.info b/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.info index 2cb190465f..de7627c8ed 100644 --- a/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.info +++ b/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.info @@ -1,8 +1,8 @@ PRGNAM="perl-parallel-forkmanager" -VERSION="2.02" +VERSION="2.03" HOMEPAGE="https://github.com/dluxhu/perl-parallel-forkmanager" -DOWNLOAD="https://github.com/dluxhu/perl-parallel-forkmanager/archive/v2.02/perl-parallel-forkmanager-2.02.tar.gz" -MD5SUM="351a3f044ddb0761eeef490c61ac0dd1" +DOWNLOAD="https://github.com/dluxhu/perl-parallel-forkmanager/archive/v2.03/perl-parallel-forkmanager-2.03.tar.gz" +MD5SUM="5411e24386384d84f9f4e2808b79a4cc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Role-Tiny perl-test-warn" diff --git a/perl/perl-www-mechanize/perl-www-mechanize.info b/perl/perl-www-mechanize/perl-www-mechanize.info index 15e93dd22f..22bf0b4205 100644 --- a/perl/perl-www-mechanize/perl-www-mechanize.info +++ b/perl/perl-www-mechanize/perl-www-mechanize.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/WWW-Mechanize-1.84.t MD5SUM="a425ae16d3b634ae34062f2fafc0a4ac" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-html-form perl-http-response-encoding perl-http-server-simple perl-test-warn" +REQUIRES="perl-html-form perl-http-response-encoding perl-http-server-simple" MAINTAINER="Brenton Earl" EMAIL="brent@exitstatusone.com" diff --git a/perl/perl-xml-fast/perl-xml-fast.SlackBuild b/perl/perl-xml-fast/perl-xml-fast.SlackBuild index 4e4fb15412..299e9dc14b 100644 --- a/perl/perl-xml-fast/perl-xml-fast.SlackBuild +++ b/perl/perl-xml-fast/perl-xml-fast.SlackBuild @@ -31,20 +31,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e SRCNAM=XML-Fast @@ -68,8 +54,7 @@ make test make install DESTDIR=$PKG gzip $PKG/usr/man/man3/* -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +find $PKG -name '*.so' -exec strip --strip-unneeded '{}' + find $PKG -name perllocal.pod \ -o -name ".packlist" \ diff --git a/perl/perl-xml-libxml/perl-xml-libxml.info b/perl/perl-xml-libxml/perl-xml-libxml.info index c59daf328e..aa0a898533 100644 --- a/perl/perl-xml-libxml/perl-xml-libxml.info +++ b/perl/perl-xml-libxml/perl-xml-libxml.info @@ -6,5 +6,5 @@ MD5SUM="dce687dd8b7e82d1c359fd74b1852f64" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Dave Woodfall" +MAINTAINER="D Woodfall" EMAIL="dave@slackbuilds.org" diff --git a/perl/perlbrew/perlbrew.SlackBuild b/perl/perlbrew/perlbrew.SlackBuild index 8a0365d8c8..d51ca8033c 100644 --- a/perl/perlbrew/perlbrew.SlackBuild +++ b/perl/perlbrew/perlbrew.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perlbrew -VERSION=${VERSION:-0.85} +VERSION=${VERSION:-0.98} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -81,12 +78,13 @@ 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 {} \; +unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT +export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null perl Build.PL \ --installdirs vendor \ --config installvendorman1dir=/usr/man/man1 \ --config installvendorman3dir=/usr/man/man3 ./Build -./Build test ./Build install \ --destdir $PKG @@ -97,7 +95,7 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Changes LICENSE README README.md doc/* $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/perl/perlbrew/perlbrew.info b/perl/perlbrew/perlbrew.info index adc38b2033..f2c0c29aed 100644 --- a/perl/perlbrew/perlbrew.info +++ b/perl/perlbrew/perlbrew.info @@ -1,10 +1,10 @@ PRGNAM="perlbrew" -VERSION="0.85" +VERSION="0.98" HOMEPAGE="https://perlbrew.pl/" -DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GU/GUGOD/App-perlbrew-0.85.tar.gz" -MD5SUM="0a86d1393206c4a40efb74776f8794d1" +DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GU/GUGOD/App-perlbrew-0.98.tar.gz" +MD5SUM="30ac30758526e57d8b9b8c34ae6ae526" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-CPAN-Perl-Releases perl-Capture-Tiny perl-Devel-PatchPerl perl-File-Which perl-Module-Build-Tiny perl-IO-All perl-Path-Class perl-Test-Exception perl-Test-NoWarnings perl-Test-Output perl-Test-Spec perl-Test-TempDir-Tiny perl-local-lib" +REQUIRES="perl-CPAN-Perl-Releases perl-Devel-PatchPerl perl-File-Which perl-Module-Build-Tiny perl-IO-All perl-Path-Class perl-Test-Exception perl-Test-Output perl-Test-Spec perl-Test-TempDir-Tiny perl-local-lib" MAINTAINER="Andreas Guldstrand" EMAIL="andreas.guldstrand@gmail.com" diff --git a/perl/raku-Readline/raku-Readline.info b/perl/raku-Readline/raku-Readline.info index f3c1c361df..14e1fc6ef9 100644 --- a/perl/raku-Readline/raku-Readline.info +++ b/perl/raku-Readline/raku-Readline.info @@ -6,5 +6,5 @@ MD5SUM="6347e5c3cada706a0cdefca375e5d324" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="rakudo" -MAINTAINER="Michel Begue" -EMAIL="mab974@gmail.com" +MAINTAINER="Michel A. Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/rakudo/rakudo.SlackBuild b/perl/rakudo/rakudo.SlackBuild index bd685c28c2..005fd898d2 100644 --- a/perl/rakudo/rakudo.SlackBuild +++ b/perl/rakudo/rakudo.SlackBuild @@ -20,7 +20,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=rakudo -VERSION=${VERSION:-2022.07} +VERSION=${VERSION:-2024.07} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/perl/rakudo/rakudo.info b/perl/rakudo/rakudo.info index 3c2a1d96eb..78fff153ae 100644 --- a/perl/rakudo/rakudo.info +++ b/perl/rakudo/rakudo.info @@ -1,10 +1,10 @@ PRGNAM="rakudo" -VERSION="2022.07" +VERSION="2024.07" HOMEPAGE="https://rakudo.org/" -DOWNLOAD="https://github.com/rakudo/rakudo/releases/download/2022.07/rakudo-2022.07.tar.gz" -MD5SUM="43ff147c288ce62f58e37f647dc00dd6" +DOWNLOAD="https://github.com/rakudo/rakudo/releases/download/2024.07/rakudo-2024.07.tar.gz" +MD5SUM="b7a1d867fe6ba5aa2fec18e599155f88" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="nqp" -MAINTAINER="Michel Begue" +MAINTAINER="Michel A. Begue" EMAIL="mab974@misouk.com" diff --git a/perl/zef/zef.SlackBuild b/perl/zef/zef.SlackBuild index ce390cb3cc..c7d9586da7 100644 --- a/perl/zef/zef.SlackBuild +++ b/perl/zef/zef.SlackBuild @@ -20,7 +20,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zef -VERSION=${VERSION:-0.14.3} +VERSION=${VERSION:-0.22.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -85,6 +85,8 @@ raku-install-dist \ --for=vendor \ --from=. +rm -rf $PKG/usr/share/perl6/vendor/precomp/* + mkdir -p $PKG/usr/bin ln -s /usr/share/perl6/vendor/bin/zef $PKG/usr/bin/zef diff --git a/perl/zef/zef.info b/perl/zef/zef.info index eb68b3e8d3..61505e5921 100644 --- a/perl/zef/zef.info +++ b/perl/zef/zef.info @@ -1,10 +1,10 @@ PRGNAM="zef" -VERSION="0.14.3" +VERSION="0.22.1" HOMEPAGE="https://github.com/ugexe/zef" -DOWNLOAD="https://github.com/ugexe/zef/archive/v0.14.3/zef-0.14.3.tar.gz" -MD5SUM="8c96d8ced7bccc5b0795e6cd80cc1070" +DOWNLOAD="https://github.com/ugexe/zef/archive/v0.22.1/zef-0.22.1.tar.gz" +MD5SUM="8cc72ec2501e9e580649c62e03d4e147" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="rakudo" -MAINTAINER="Michel Begue" +MAINTAINER="Michel A. Begue" EMAIL="mab974@misouk.com" |