diff options
Diffstat (limited to 'perl')
1164 files changed, 14572 insertions, 6176 deletions
diff --git a/perl/Gtk2-GladeXML/Gtk2-GladeXML.SlackBuild b/perl/Gtk2-GladeXML/Gtk2-GladeXML.SlackBuild index e6c5e0df4e..c469f008ec 100644 --- a/perl/Gtk2-GladeXML/Gtk2-GladeXML.SlackBuild +++ b/perl/Gtk2-GladeXML/Gtk2-GladeXML.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Gtk2-GladeXML @@ -22,10 +22,13 @@ # 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=Gtk2-GladeXML VERSION=${VERSION:-1.007} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/MoarVM/MoarVM.SlackBuild b/perl/MoarVM/MoarVM.SlackBuild index c3aa417578..1ca4e7e1ff 100644 --- a/perl/MoarVM/MoarVM.SlackBuild +++ b/perl/MoarVM/MoarVM.SlackBuild @@ -1,7 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for MoarVM +# Copyright 2020- Michel Begue <mab974@misouk.com> # Copyright 2018-2020 Andreas Voegele <andreas@andreasvoegele.com> # # Permission to use, copy, modify, and distribute this software for any @@ -16,10 +17,13 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=MoarVM -VERSION=${VERSION:-2020.02.1} +VERSION=${VERSION:-2024.03} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -29,7 +33,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -111,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:-tgz} +/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 958142022a..4de0606198 100644 --- a/perl/MoarVM/MoarVM.info +++ b/perl/MoarVM/MoarVM.info @@ -1,10 +1,10 @@ PRGNAM="MoarVM" -VERSION="2020.02.1" +VERSION="2024.03" HOMEPAGE="https://moarvm.org/" -DOWNLOAD="https://moarvm.org/releases/MoarVM-2020.02.1.tar.gz" -MD5SUM="8ecbd6c374f7ff3534312e3fbb5aa1de" +DOWNLOAD="https://github.com/MoarVM/MoarVM/releases/download/2024.03/MoarVM-2024.03.tar.gz" +MD5SUM="4055fc8c0bf6748c3a5e3328fbdc36f5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="libtommath libuv" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" +REQUIRES="libtommath" +MAINTAINER="Michel Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/Net-SSLeay/Net-SSLeay.SlackBuild b/perl/Net-SSLeay/Net-SSLeay.SlackBuild deleted file mode 100644 index cce3337e56..0000000000 --- a/perl/Net-SSLeay/Net-SSLeay.SlackBuild +++ /dev/null @@ -1,93 +0,0 @@ -#!/bin/sh - -# Slackware build script for Net-SSLeay -# -# Copyright 2009-2011 Marco Bonetti <sid77@slackware.it> -# Copyright 2015-2017 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. - -PRGNAM=Net-SSLeay -VERSION=${VERSION:-1.81} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} -DOCS="Changes Credits README examples" - -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 - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $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 {} \; - -echo "n" | perl Makefile.PL \ - PREFIX=/usr \ - INSTALLDIRS=vendor \ - INSTALLVENDORMAN1DIR=/usr/man/man1 \ - INSTALLVENDORMAN3DIR=/usr/man/man3 - -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/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 $DOCS $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:-tgz} diff --git a/perl/Net-SSLeay/Net-SSLeay.info b/perl/Net-SSLeay/Net-SSLeay.info deleted file mode 100644 index 84787786c1..0000000000 --- a/perl/Net-SSLeay/Net-SSLeay.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="Net-SSLeay" -VERSION="1.81" -HOMEPAGE="https://metacpan.org/pod/Net::SSLeay" -DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MI/MIKEM/Net-SSLeay-1.81.tar.gz" -MD5SUM="71932ce34d4db44de8d00399c3405792" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Willy Sudiarto Raharjo" -EMAIL="willysr@slackbuilds.org" diff --git a/perl/Net-SSLeay/README b/perl/Net-SSLeay/README deleted file mode 100644 index dd07c64184..0000000000 --- a/perl/Net-SSLeay/README +++ /dev/null @@ -1,5 +0,0 @@ -This module offers some high level convenience functions for accessing web pages -on SSL servers (for symmetry, same API is offered for accessing http servers, -too), a sslcat() function for writing your own clients, and finally access to -the SSL api of SSLeay/OpenSSL package so you can write servers or clients for -more complicated applications. diff --git a/perl/cpanminus/cpanminus.SlackBuild b/perl/cpanminus/cpanminus.SlackBuild index 4bf3d932a8..de8bff21d2 100644 --- a/perl/cpanminus/cpanminus.SlackBuild +++ b/perl/cpanminus/cpanminus.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for cpanminus @@ -22,10 +22,13 @@ # 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=cpanminus VERSION=${VERSION:-1.7044} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="App-cpanminus" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -95,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/libpurple-kwallet-plugin/libpurple-kwallet-plugin.SlackBuild b/perl/libpurple-kwallet-plugin/libpurple-kwallet-plugin.SlackBuild index b6be6f80d7..a27ca1520f 100644 --- a/perl/libpurple-kwallet-plugin/libpurple-kwallet-plugin.SlackBuild +++ b/perl/libpurple-kwallet-plugin/libpurple-kwallet-plugin.SlackBuild @@ -1,23 +1,33 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for libpurple-kwallet-plugin # Written by crocket (crockabiscuit@gmail.com) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=libpurple-kwallet-plugin VERSION=${VERSION:-0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -54,4 +64,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/libwww-perl/libwww-perl.SlackBuild b/perl/libwww-perl/libwww-perl.SlackBuild index 06e6875ff6..b4c70adb56 100644 --- a/perl/libwww-perl/libwww-perl.SlackBuild +++ b/perl/libwww-perl/libwww-perl.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for libwww-perl @@ -22,25 +22,32 @@ # 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=libwww-perl -VERSION=${VERSION:-6.13} +VERSION=${VERSION:-6.77} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +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="AUTHORS Changes README README.SSL" +DOCFILES="Changes README.SSL" set -e @@ -85,4 +92,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 aad0f0d67f..d197c0b49d 100644 --- a/perl/mod_perl/mod_perl.SlackBuild +++ b/perl/mod_perl/mod_perl.SlackBuild @@ -1,9 +1,9 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for mod_perl # Copyright 2007-2012 Heinz Wiesinger, Amsterdam, The Netherlands -# Copyright 2016-2019 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 @@ -23,10 +23,13 @@ # 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=mod_perl -VERSION=${VERSION:-2.0.11} +VERSION=${VERSION:-2.0.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -36,7 +39,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -71,7 +78,20 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Thanks to ARCH Linux -patch -p1 < $CWD/undefined_symbol.patch +sed -i -e '1098,1102d' Apache-Test/lib/Apache/TestRun.pm +sed -i '51,56c push @INC, "xs/tables/current24";' lib/ModPerl/MapUtil.pm +sed -i -e '66d' src/modules/perl/modperl_sys.c + +# Remove failing tests, CPAN RT#118919, CPAN RT#132919 +for F in \ + ModPerl-Registry/t/closure.t \ + ModPerl-Registry/t/special_blocks.t \ + t/filter/in_bbs_inject_header.t \ + t/filter/TestFilter/in_bbs_inject_header.pm \ +; do + rm "$F" + sed -i -e '\,^'"$F"',d' MANIFEST +done perl \ Makefile.PL \ @@ -103,4 +123,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/mod_perl/mod_perl.info b/perl/mod_perl/mod_perl.info index 4c74ab020a..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.11" +VERSION="2.0.13" HOMEPAGE="https://perl.apache.org/" -DOWNLOAD="http://apache.org/dist/perl/mod_perl-2.0.11.tar.gz" -MD5SUM="897708961bcc079b53c91860f95a2b59" +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 14423d4fc5..843ef60a7d 100644 --- a/perl/nqp/nqp.SlackBuild +++ b/perl/nqp/nqp.SlackBuild @@ -1,7 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for nqp +# Copyright 2020- Michel Begue <mab974@misouk.com> # Copyright 2018-2020 Andreas Voegele <andreas@andreasvoegele.com> # # Permission to use, copy, modify, and distribute this software for any @@ -16,10 +17,13 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=nqp -VERSION=${VERSION:-2020.02.1} +VERSION=${VERSION:-2024.03} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} BACKENDS=${BACKENDS:-moar} @@ -31,7 +35,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -76,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 \ @@ -86,4 +100,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/nqp/nqp.info b/perl/nqp/nqp.info index 541e7ac1d5..e2468cb901 100644 --- a/perl/nqp/nqp.info +++ b/perl/nqp/nqp.info @@ -1,10 +1,10 @@ PRGNAM="nqp" -VERSION="2020.02.1" +VERSION="2024.03" HOMEPAGE="https://rakudo.org" -DOWNLOAD="https://github.com/perl6/nqp/releases/download/2020.02.1/nqp-2020.02.1.tar.gz" -MD5SUM="856c040867d125bb9ccd258dd059caba" +DOWNLOAD="https://github.com/Raku/nqp/releases/download/2024.03/nqp-2024.03.tar.gz" +MD5SUM="b9aa7e00298c2f5bb1c07f30265d004f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="MoarVM" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" +MAINTAINER="Michel Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-Algorithm-Combinatorics/perl-Algorithm-Combinatorics.SlackBuild b/perl/perl-Algorithm-Combinatorics/perl-Algorithm-Combinatorics.SlackBuild index a5f1d1a011..ae5f6509b6 100644 --- a/perl/perl-Algorithm-Combinatorics/perl-Algorithm-Combinatorics.SlackBuild +++ b/perl/perl-Algorithm-Combinatorics/perl-Algorithm-Combinatorics.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Algorithm-Combinatorics. # @@ -23,10 +23,13 @@ # 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-Algorithm-Combinatorics VERSION=${VERSION:-0.27} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Diff/perl-Algorithm-Diff.SlackBuild b/perl/perl-Algorithm-Diff/perl-Algorithm-Diff.SlackBuild index a477f50125..7b739b9a2e 100644 --- a/perl/perl-Algorithm-Diff/perl-Algorithm-Diff.SlackBuild +++ b/perl/perl-Algorithm-Diff/perl-Algorithm-Diff.SlackBuild @@ -1,27 +1,37 @@ -#!/bin/sh +#!/bin/bash + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Algorithm-Diff VERSION=${VERSION:-1.1903} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -77,4 +87,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Algorithm-Loops/perl-Algorithm-Loops.SlackBuild b/perl/perl-Algorithm-Loops/perl-Algorithm-Loops.SlackBuild index b306bdf128..b35569319d 100644 --- a/perl/perl-Algorithm-Loops/perl-Algorithm-Loops.SlackBuild +++ b/perl/perl-Algorithm-Loops/perl-Algorithm-Loops.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Algorithm-Loops. # @@ -23,10 +23,13 @@ # 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-Algorithm-Loops VERSION=${VERSION:-1.032} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Alien-SDL/perl-Alien-SDL.SlackBuild b/perl/perl-Alien-SDL/perl-Alien-SDL.SlackBuild index 4fd56fd85d..30795183a2 100644 --- a/perl/perl-Alien-SDL/perl-Alien-SDL.SlackBuild +++ b/perl/perl-Alien-SDL/perl-Alien-SDL.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Alien-SDL @@ -22,15 +22,25 @@ # 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-Alien-SDL SRCNAM=Alien-SDL VERSION=${VERSION:-1.446} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -CWD=$(pwd) +# 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} @@ -81,4 +91,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Alien-SDL/perl-Alien-SDL.info b/perl/perl-Alien-SDL/perl-Alien-SDL.info index 777c32da7c..4a4ceebf29 100644 --- a/perl/perl-Alien-SDL/perl-Alien-SDL.info +++ b/perl/perl-Alien-SDL/perl-Alien-SDL.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-File-Which perl-File-ShareDir perl-Text-Patch perl-Capture-Tiny perl-Archive-Zip perl-Module-Build perl-Archive-Extract" MAINTAINER="Heinz Wiesinger" -EMAIL="pprkut@liwjatan.at" +EMAIL="pprkut@slackbuilds.org" diff --git a/perl/perl-AnyEvent-HTTP/perl-AnyEvent-HTTP.SlackBuild b/perl/perl-AnyEvent-HTTP/perl-AnyEvent-HTTP.SlackBuild index 5307f6e6c3..b7be9d0f98 100644 --- a/perl/perl-AnyEvent-HTTP/perl-AnyEvent-HTTP.SlackBuild +++ b/perl/perl-AnyEvent-HTTP/perl-AnyEvent-HTTP.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for AnyEvent-HTTP @@ -22,28 +22,38 @@ # 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-AnyEvent-HTTP VERSION=${VERSION:-2.21} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -93,4 +103,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-AnyEvent/perl-AnyEvent.SlackBuild b/perl/perl-AnyEvent/perl-AnyEvent.SlackBuild index de32dae400..ed6e962edf 100644 --- a/perl/perl-AnyEvent/perl-AnyEvent.SlackBuild +++ b/perl/perl-AnyEvent/perl-AnyEvent.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-AnyEvent # @@ -23,10 +23,13 @@ # 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-AnyEvent VERSION=${VERSION:-7.17} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2)" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-AppConfig/perl-AppConfig.SlackBuild b/perl/perl-AppConfig/perl-AppConfig.SlackBuild index 4dbcc7d940..e524f97042 100644 --- a/perl/perl-AppConfig/perl-AppConfig.SlackBuild +++ b/perl/perl-AppConfig/perl-AppConfig.SlackBuild @@ -1,12 +1,15 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-AppConfig # Written by Thomas Morper <thomas@beingboiled.info> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-AppConfig VERSION=${VERSION:-1.71} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=AppConfig @@ -18,7 +21,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -64,4 +74,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Archive-Extract/perl-Archive-Extract.SlackBuild b/perl/perl-Archive-Extract/perl-Archive-Extract.SlackBuild index c3c41b0161..448d473214 100644 --- a/perl/perl-Archive-Extract/perl-Archive-Extract.SlackBuild +++ b/perl/perl-Archive-Extract/perl-Archive-Extract.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Archive-Extract @@ -16,10 +16,13 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Archive-Extract VERSION=${VERSION:-0.86} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -31,7 +34,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -90,4 +100,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Archive-Extract/perl-Archive-Extract.info b/perl/perl-Archive-Extract/perl-Archive-Extract.info index 1c3edc4479..0afda6717b 100644 --- a/perl/perl-Archive-Extract/perl-Archive-Extract.info +++ b/perl/perl-Archive-Extract/perl-Archive-Extract.info @@ -6,5 +6,5 @@ MD5SUM="f586017fb17bec26b56c7ff7ea0307fa" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" +MAINTAINER="Sergey Poznyakoff" +EMAIL="gray@gnu.org" diff --git a/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild b/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild index bc46bb8d52..ba4accc1cc 100644 --- a/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild +++ b/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Archive::Zip @@ -22,10 +22,13 @@ # 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-Archive-Zip -VERSION=${VERSION:-1.59} +VERSION=${VERSION:-1.68} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=Archive-Zip @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -86,11 +96,11 @@ 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 cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Astro-SunTime/README b/perl/perl-Astro-SunTime/README deleted file mode 100644 index 03de8e1d19..0000000000 --- a/perl/perl-Astro-SunTime/README +++ /dev/null @@ -1 +0,0 @@ -perl-Astro-SunTime (Interface to calculate sun rise/set times) diff --git a/perl/perl-Astro-SunTime/perl-Astro-SunTime.info b/perl/perl-Astro-SunTime/perl-Astro-SunTime.info deleted file mode 100644 index 5d6f107890..0000000000 --- a/perl/perl-Astro-SunTime/perl-Astro-SunTime.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-Astro-SunTime" -VERSION="0.06" -HOMEPAGE="https://metacpan.org/pod/Astro::SunTime" -DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RO/ROBF/Astro-SunTime-0.06.tar.gz" -MD5SUM="42cb8c94de8a111ed652196925c22a45" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="perl-Time-modules" -MAINTAINER="orphaned - no maintainer" -EMAIL="nobody@nowhere.com" diff --git a/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.SlackBuild b/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.SlackBuild index effca09493..76d99dddf8 100644 --- a/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.SlackBuild +++ b/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.SlackBuild @@ -1,13 +1,16 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Audio-FLAC-Header # Written by Mark Grocock <mark@grocock.me.uk> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Audio-FLAC-Header VERSION=${VERSION:-2.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Audio-FLAC-Header @@ -19,7 +22,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -81,4 +91,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.info b/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.info index df7011e455..93a72c6a06 100644 --- a/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.info +++ b/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DA/DANIEL/Audio-FLAC-Header-2.4 MD5SUM="743292694c050be1b10fb4a307f81e87" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="perl-Module-Install" MAINTAINER="Mark Grocock" EMAIL="mark@grocock.me.uk" diff --git a/perl/perl-Authen-SASL/README b/perl/perl-Authen-SASL/README deleted file mode 100644 index 55fac5058d..0000000000 --- a/perl/perl-Authen-SASL/README +++ /dev/null @@ -1,5 +0,0 @@ -Authen::SASL - SASL Authentication framework - -SASL is a generic mechanism for authentication used by several network -protocols. Authen::SASL provides an implementation framework that all -protocols should be able to share. diff --git a/perl/perl-Authen-SASL/perl-Authen-SASL.SlackBuild b/perl/perl-Authen-SASL/perl-Authen-SASL.SlackBuild deleted file mode 100644 index 1eb89d7005..0000000000 --- a/perl/perl-Authen-SASL/perl-Authen-SASL.SlackBuild +++ /dev/null @@ -1,107 +0,0 @@ -#!/bin/sh - -# Copyright (c) 2010, 2011, 2012 Daniel LEVAI -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the name of the <organization> nor the -# names of its contributors may be used to endorse or promote products -# derived from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED ''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 COPYRIGHT HOLDER 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. - -# Build script for perl-Authen-SASL - -PRGNAM=perl-Authen-SASL -VERSION=${VERSION:-2.16} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=Authen-SASL - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -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 $PRGNAM-$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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -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 api.txt 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:-tgz} diff --git a/perl/perl-Authen-SASL/perl-Authen-SASL.info b/perl/perl-Authen-SASL/perl-Authen-SASL.info deleted file mode 100644 index a116cca2a6..0000000000 --- a/perl/perl-Authen-SASL/perl-Authen-SASL.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-Authen-SASL" -VERSION="2.16" -HOMEPAGE="https://metacpan.org/pod/Authen::SASL" -DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GB/GBARR/Authen-SASL-2.16.tar.gz" -MD5SUM="7c03a689d4c689e5a9e2f18a1c586b2f" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="perl-digest-hmac" -MAINTAINER="Daniel LEVAI" -EMAIL="leva@ecentrum.hu" diff --git a/perl/perl-B-COW/README b/perl/perl-B-COW/README new file mode 100644 index 0000000000..1e37d61ab5 --- /dev/null +++ b/perl/perl-B-COW/README @@ -0,0 +1 @@ +This module provides additional B helpers to check COW status. diff --git a/perl/perl-Moo/perl-Moo.SlackBuild b/perl/perl-B-COW/perl-B-COW.SlackBuild index 846e6b68c3..4f8a058f09 100644 --- a/perl/perl-Moo/perl-Moo.SlackBuild +++ b/perl/perl-B-COW/perl-B-COW.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash -# Slackware build script for perl-Moo +# Slackware build script for perl-Clone -# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2020 Jan F. Chadima <jfch@jagda.eu> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=perl-Moo -VERSION=${VERSION:-2.003006} +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-B-COW +VERSION=${VERSION:-0.004} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -69,7 +79,7 @@ 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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; perl Makefile.PL \ PREFIX=/usr \ @@ -90,11 +100,13 @@ 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 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-B-COW/perl-B-COW.info b/perl/perl-B-COW/perl-B-COW.info new file mode 100644 index 0000000000..61a3cd794c --- /dev/null +++ b/perl/perl-B-COW/perl-B-COW.info @@ -0,0 +1,10 @@ +PRGNAM="perl-B-COW" +VERSION="0.004" +HOMEPAGE="https://metacpan.org/pod/B::COW" +DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/B-COW-0.004.tar.gz" +MD5SUM="a1ef8623a06ce9f6358674d7e604de1e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Jan F. Chadima" +EMAIL="jfch@jagda.eu" diff --git a/perl/Net-SSLeay/slack-desc b/perl/perl-B-COW/slack-desc index 2fe0095572..ad6670e0b4 100644 --- a/perl/Net-SSLeay/slack-desc +++ b/perl/perl-B-COW/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -Net-SSLeay: Net-SSLeay (perl module) -Net-SSLeay: -Net-SSLeay: Perl extension for using OpenSSL -Net-SSLeay: -Net-SSLeay: -Net-SSLeay: -Net-SSLeay: -Net-SSLeay: -Net-SSLeay: -Net-SSLeay: -Net-SSLeay: +perl-B-COW: perl-B-COW (additional B helpers to check COW status) +perl-B-COW: +perl-B-COW: This module provides additional B helpers to check COW status +perl-B-COW: +perl-B-COW: Homepage: https://metacpan.org/pod/B::COW +perl-B-COW: +perl-B-COW: +perl-B-COW: +perl-B-COW: +perl-B-COW: +perl-B-COW: diff --git a/perl/perl-B-Hooks-EndOfScope/perl-B-Hooks-EndOfScope.SlackBuild b/perl/perl-B-Hooks-EndOfScope/perl-B-Hooks-EndOfScope.SlackBuild index 18f82bdb02..03b9d315cd 100644 --- a/perl/perl-B-Hooks-EndOfScope/perl-B-Hooks-EndOfScope.SlackBuild +++ b/perl/perl-B-Hooks-EndOfScope/perl-B-Hooks-EndOfScope.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-B-Hooks-EndOfScope @@ -22,16 +22,26 @@ # 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-Hooks-EndOfScope VERSION=${VERSION:-0.24} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -76,4 +86,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-B-Hooks-OP-Check/perl-B-Hooks-OP-Check.SlackBuild b/perl/perl-B-Hooks-OP-Check/perl-B-Hooks-OP-Check.SlackBuild index f62eb5638b..9aa6b0887f 100644 --- a/perl/perl-B-Hooks-OP-Check/perl-B-Hooks-OP-Check.SlackBuild +++ b/perl/perl-B-Hooks-OP-Check/perl-B-Hooks-OP-Check.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-B-Hooks-OP-Check @@ -22,10 +22,13 @@ # 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-Hooks-OP-Check VERSION=${VERSION:-0.22} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-B-Hooks-OP-PPAddr/perl-B-Hooks-OP-PPAddr.SlackBuild b/perl/perl-B-Hooks-OP-PPAddr/perl-B-Hooks-OP-PPAddr.SlackBuild index 8361497c94..a3b049c970 100644 --- a/perl/perl-B-Hooks-OP-PPAddr/perl-B-Hooks-OP-PPAddr.SlackBuild +++ b/perl/perl-B-Hooks-OP-PPAddr/perl-B-Hooks-OP-PPAddr.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-B-Hooks-OP-PPAddr @@ -22,10 +22,13 @@ # 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-Hooks-OP-PPAddr VERSION=${VERSION:-0.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild b/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild index 3c9efae782..24dc4771aa 100644 --- a/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild +++ b/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: BerkeleyDB # Home Page https://metacpan.org/release/BerkeleyDB @@ -27,22 +27,32 @@ # # Modified by the SlackBuilds.org project. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM="perl-BerkeleyDB" VERSION=${VERSION:-0.55} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -51,8 +61,8 @@ set -e DOCS="Changes README" -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Bit-Vector/README b/perl/perl-Bit-Vector/README index 2d9c7d0473..9f6ca4027a 100644 --- a/perl/perl-Bit-Vector/README +++ b/perl/perl-Bit-Vector/README @@ -1 +1,2 @@ -Bit::Vector - Efficient bit vector, set of integers and "big int" math library +Bit::Vector - Efficient bit vector, set of integers and "big int" +math library diff --git a/perl/perl-Bit-Vector/perl-Bit-Vector.SlackBuild b/perl/perl-Bit-Vector/perl-Bit-Vector.SlackBuild index cd5eab88a4..2be4a03f8c 100644 --- a/perl/perl-Bit-Vector/perl-Bit-Vector.SlackBuild +++ b/perl/perl-Bit-Vector/perl-Bit-Vector.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Bit-Vector @@ -22,10 +22,13 @@ # 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-Bit-Vector VERSION=${VERSION:-7.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=Bit-Vector DOCS="Artistic.txt CREDITS.txt GNU_GPL.txt GNU_LGPL.txt README.txt" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -104,4 +114,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-CDDB-get/perl-CDDB-get.SlackBuild b/perl/perl-CDDB-get/perl-CDDB-get.SlackBuild index 2e6ccc5143..fa327df926 100644 --- a/perl/perl-CDDB-get/perl-CDDB-get.SlackBuild +++ b/perl/perl-CDDB-get/perl-CDDB-get.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-CDDB-get. # @@ -22,10 +22,13 @@ # 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-CDDB-get VERSION=${VERSION:-2.28.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-CGI-Application/perl-CGI-Application.SlackBuild b/perl/perl-CGI-Application/perl-CGI-Application.SlackBuild index e1b3b67411..b097983f7d 100644 --- a/perl/perl-CGI-Application/perl-CGI-Application.SlackBuild +++ b/perl/perl-CGI-Application/perl-CGI-Application.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-CGI-Application @@ -22,10 +22,13 @@ # 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-Application VERSION=${VERSION:-4.50} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-CGI/README b/perl/perl-CGI/README index d3da94ec0a..f2b32afe27 100644 --- a/perl/perl-CGI/README +++ b/perl/perl-CGI/README @@ -1,4 +1,5 @@ -Perl module for handling Common Gateway Interface requests and responses. +Perl module for handling Common Gateway Interface requests and +responses. See https://metacpan.org/pod/CGI diff --git a/perl/perl-CGI/perl-CGI.SlackBuild b/perl/perl-CGI/perl-CGI.SlackBuild index b11bd4f34a..29f50506c2 100644 --- a/perl/perl-CGI/perl-CGI.SlackBuild +++ b/perl/perl-CGI/perl-CGI.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for CGI.pm @@ -22,10 +22,13 @@ # 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 VERSION=${VERSION:-4.40} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-CPAN-Changes/README b/perl/perl-CPAN-Changes/README index 6772088c19..9838f44b55 100644 --- a/perl/perl-CPAN-Changes/README +++ b/perl/perl-CPAN-Changes/README @@ -1,10 +1,10 @@ -It is standard practice to include a Changes file in your distribution. The -purpose the Changes file is to help a user figure out what has changed since -the last release. +It is standard practice to include a Changes file in your +distribution. The purpose the Changes file is to help a user figure +out what has changed since the last release. People have devised many ways to write the Changes file. A preliminary specification has been created (CPAN::Changes::Spec) to encourage module authors to write clear and concise Changes. -This module will help users programmatically read and write Changes files that -conform to the specification. +This module will help users programmatically read and write Changes +files that conform to the specification. diff --git a/perl/perl-CPAN-Changes/perl-CPAN-Changes.SlackBuild b/perl/perl-CPAN-Changes/perl-CPAN-Changes.SlackBuild index bb4483c21a..85f31e5bad 100644 --- a/perl/perl-CPAN-Changes/perl-CPAN-Changes.SlackBuild +++ b/perl/perl-CPAN-Changes/perl-CPAN-Changes.SlackBuild @@ -1,21 +1,31 @@ -#!/bin/sh +#!/bin/bash + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-CPAN-Changes -VERSION=${VERSION:-0.27} +VERSION=${VERSION:-0.400002} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -59,4 +69,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-CPAN-Changes/perl-CPAN-Changes.info b/perl/perl-CPAN-Changes/perl-CPAN-Changes.info index ec952c852b..e82b5298a1 100644 --- a/perl/perl-CPAN-Changes/perl-CPAN-Changes.info +++ b/perl/perl-CPAN-Changes/perl-CPAN-Changes.info @@ -1,8 +1,8 @@ PRGNAM="perl-CPAN-Changes" -VERSION="0.27" +VERSION="0.400002" HOMEPAGE="https://metacpan.org/release/CPAN-Changes" -DOWNLOAD="http://cpan.metacpan.org/authors/id/B/BR/BRICAS/CPAN-Changes-0.27.tar.gz" -MD5SUM="b9d5b5cc6422793907324fc05087e9e4" +DOWNLOAD="https://cpan.metacpan.org/authors/id/H/HA/HAARG/CPAN-Changes-0.400002.tar.gz" +MD5SUM="5773d51abaafd37c6bcdde3827873075" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" 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 8d1823f3ed..76efd86478 100644 --- a/perl/perl-CPAN-Meta-Check/perl-CPAN-Meta-Check.SlackBuild +++ b/perl/perl-CPAN-Meta-Check/perl-CPAN-Meta-Check.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # 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 @@ -22,10 +22,13 @@ # 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-Meta-Check -VERSION=${VERSION:-0.014} +VERSION=${VERSION:-0.018} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,25 +40,15 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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 @@ -98,4 +91,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Perl-Releases/perl-CPAN-Perl-Releases.SlackBuild b/perl/perl-CPAN-Perl-Releases/perl-CPAN-Perl-Releases.SlackBuild index 27cea5187c..f00f21c249 100644 --- a/perl/perl-CPAN-Perl-Releases/perl-CPAN-Perl-Releases.SlackBuild +++ b/perl/perl-CPAN-Perl-Releases/perl-CPAN-Perl-Releases.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-CPAN-Perl-Releases @@ -22,10 +22,13 @@ # 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-Perl-Releases VERSION=${VERSION:-3.86} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -95,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-CPANPLUS-Dist-Build/perl-CPANPLUS-Dist-Build.SlackBuild b/perl/perl-CPANPLUS-Dist-Build/perl-CPANPLUS-Dist-Build.SlackBuild index d2eb80a63f..ff47a5a9a9 100644 --- a/perl/perl-CPANPLUS-Dist-Build/perl-CPANPLUS-Dist-Build.SlackBuild +++ b/perl/perl-CPANPLUS-Dist-Build/perl-CPANPLUS-Dist-Build.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-CPANPLUS-Dist-Build @@ -16,10 +16,13 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-CPANPLUS-Dist-Build VERSION=${VERSION:-0.90} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -31,7 +34,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -90,4 +100,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-CPANPLUS-Dist-Build/perl-CPANPLUS-Dist-Build.info b/perl/perl-CPANPLUS-Dist-Build/perl-CPANPLUS-Dist-Build.info index cf7ff09478..01880237ec 100644 --- a/perl/perl-CPANPLUS-Dist-Build/perl-CPANPLUS-Dist-Build.info +++ b/perl/perl-CPANPLUS-Dist-Build/perl-CPANPLUS-Dist-Build.info @@ -6,5 +6,5 @@ MD5SUM="1fbf2c087bbe10a4c1536b415e45c960" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-CPANPLUS perl-Module-Build" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" +MAINTAINER="Sergey Poznyakoff" +EMAIL="gray@gnu.org" diff --git a/perl/perl-CPANPLUS-Dist-Slackware/README b/perl/perl-CPANPLUS-Dist-Slackware/README index 81280dbde7..0081c812d5 100644 --- a/perl/perl-CPANPLUS-Dist-Slackware/README +++ b/perl/perl-CPANPLUS-Dist-Slackware/README @@ -3,11 +3,11 @@ compatible packages from Perl distributions. You can either install the created packages using the API provided by CPANPLUS or manually with "installpkg". - $ cpanp - CPAN Terminal> i Some::Module --format=CPANPLUS::Dist::Slackware + $ cpanp + CPAN Terminal> i Some::Module --format=CPANPLUS::Dist::Slackware - $ cpan2dist --format CPANPLUS::Dist::Slackware Some::Module - $ sudo /sbin/installpkg /tmp/perl-Some-Module-1.0-i486-1_CPANPLUS.tgz + $ cpan2dist --format CPANPLUS::Dist::Slackware Some::Module + $ sudo /sbin/installpkg /tmp/perl-Some-Module-1.0-i486-1_CPANPLUS.tgz Please type "perldoc CPANPLUS::Dist::Slackware" after installation to see the module usage information. diff --git a/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.SlackBuild b/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.SlackBuild index 9f1b5fe4f7..1b3a04bbdd 100644 --- a/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.SlackBuild +++ b/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-CPANPLUS-Dist-Slackware -# Copyright 2012-2018 Andreas Voegele <andreas@andreasvoegele.com> +# Copyright 2012-2020 Andreas Voegele <andreas@andreasvoegele.com> # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -16,10 +16,13 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-CPANPLUS-Dist-Slackware -VERSION=${VERSION:-1.027} +VERSION=${VERSION:-1.029} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -31,7 +34,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -90,4 +100,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 702d9e7017..57c38f4f98 100644 --- a/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.info +++ b/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.info @@ -1,10 +1,10 @@ PRGNAM="perl-CPANPLUS-Dist-Slackware" -VERSION="1.027" +VERSION="1.029" HOMEPAGE="https://metacpan.org/pod/CPANPLUS::Dist::Slackware" -DOWNLOAD="https://cpan.metacpan.org/authors/id/V/VO/VOEGELAS/CPANPLUS-Dist-Slackware-1.027.tar.gz" -MD5SUM="9b97f0202575db88f64e1162370ae380" +DOWNLOAD="https://cpan.metacpan.org/authors/id/V/VO/VOEGELAS/CPANPLUS-Dist-Slackware-1.029.tar.gz" +MD5SUM="9b9f82c2f98cf7193f22a692b71cd737" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="fakeroot perl-CPANPLUS perl-CPANPLUS-Dist-Build perl-Module-Pluggable" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" +REQUIRES="fakeroot perl-CPANPLUS-Dist-Build" +MAINTAINER="Sergey Poznyakoff" +EMAIL="gray@gnu.org" diff --git a/perl/perl-CPANPLUS/perl-CPANPLUS.SlackBuild b/perl/perl-CPANPLUS/perl-CPANPLUS.SlackBuild index ad80379581..4153c376f0 100644 --- a/perl/perl-CPANPLUS/perl-CPANPLUS.SlackBuild +++ b/perl/perl-CPANPLUS/perl-CPANPLUS.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-CPANPLUS @@ -16,10 +16,13 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-CPANPLUS -VERSION=${VERSION:-0.9906} +VERSION=${VERSION:-0.9910} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -31,7 +34,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -90,4 +100,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-CPANPLUS/perl-CPANPLUS.info b/perl/perl-CPANPLUS/perl-CPANPLUS.info index b945eddaee..08c5a9913c 100644 --- a/perl/perl-CPANPLUS/perl-CPANPLUS.info +++ b/perl/perl-CPANPLUS/perl-CPANPLUS.info @@ -1,10 +1,10 @@ PRGNAM="perl-CPANPLUS" -VERSION="0.9906" +VERSION="0.9910" HOMEPAGE="https://metacpan.org/pod/CPANPLUS" -DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BI/BINGOS/CPANPLUS-0.9906.tar.gz" -MD5SUM="058fdaa56b32f0cc1dd3dd134eb226d6" +DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BI/BINGOS/CPANPLUS-0.9910.tar.gz" +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" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" +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-CSS-Squish/perl-CSS-Squish.SlackBuild b/perl/perl-CSS-Squish/perl-CSS-Squish.SlackBuild index 1b84f1ff23..64c42f35ca 100644 --- a/perl/perl-CSS-Squish/perl-CSS-Squish.SlackBuild +++ b/perl/perl-CSS-Squish/perl-CSS-Squish.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright (c) 2013 Asaf Ohaion # All rights reserved. @@ -27,10 +27,13 @@ # Build script for perl-CSS-Squish +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-CSS-Squish VERSION=${VERSION:-0.10} BUILD=${BUILD:-0} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=$( echo $PRGNAM | cut -d- -f2- ) @@ -42,7 +45,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-CSS/perl-CSS.SlackBuild b/perl/perl-CSS/perl-CSS.SlackBuild index 8c533ead44..e95fe3706d 100644 --- a/perl/perl-CSS/perl-CSS.SlackBuild +++ b/perl/perl-CSS/perl-CSS.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-CSS @@ -22,10 +22,13 @@ # 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-CSS VERSION=${VERSION:-1.09} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild b/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild index deb1acbc6f..28b6d14db6 100644 --- a/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild +++ b/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Cache::FastMmap # Home Page https://metacpan.org/release/Cache-FastMmap @@ -27,10 +27,13 @@ # # Modified by the SlackBuilds.org project. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Cache-FastMmap VERSION=${VERSION:-1.44} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Cache-FastMmap @@ -42,7 +45,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Cairo-GObject/perl-Cairo-GObject.SlackBuild b/perl/perl-Cairo-GObject/perl-Cairo-GObject.SlackBuild index d75924fd40..795d2a827c 100644 --- a/perl/perl-Cairo-GObject/perl-Cairo-GObject.SlackBuild +++ b/perl/perl-Cairo-GObject/perl-Cairo-GObject.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Cairo-GObject @@ -22,10 +22,13 @@ # 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-Cairo-GObject -VERSION=${VERSION:-1.004} +VERSION=${VERSION:-1.005} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Cairo-GObject/perl-Cairo-GObject.info b/perl/perl-Cairo-GObject/perl-Cairo-GObject.info index 9d68ce7b28..e57820373f 100644 --- a/perl/perl-Cairo-GObject/perl-Cairo-GObject.info +++ b/perl/perl-Cairo-GObject/perl-Cairo-GObject.info @@ -1,8 +1,8 @@ PRGNAM="perl-Cairo-GObject" -VERSION="1.004" +VERSION="1.005" HOMEPAGE="https://metacpan.org/pod/Cairo::GObject" -DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Cairo-GObject-1.004.tar.gz" -MD5SUM="cf8767c05a6797783e666db839d5d97a" +DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Cairo-GObject-1.005.tar.gz" +MD5SUM="a58c749a7d1bc6920499be0ac2dc7ee8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-glib perl-cairo" diff --git a/perl/perl-Canary-Stability/perl-Canary-Stability.SlackBuild b/perl/perl-Canary-Stability/perl-Canary-Stability.SlackBuild index bd365a68be..03067a3182 100644 --- a/perl/perl-Canary-Stability/perl-Canary-Stability.SlackBuild +++ b/perl/perl-Canary-Stability/perl-Canary-Stability.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Canary::Stability # Home Page https://metacpan.org/release/MLEHMANN/Canary-Stability-2006 @@ -25,22 +25,32 @@ # 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-Canary-Stability" VERSION=${VERSION:-2006} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -49,8 +59,8 @@ set -e DOCS="COPYING Changes README" -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -105,4 +115,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Capture-Tiny/perl-Capture-Tiny.SlackBuild b/perl/perl-Capture-Tiny/perl-Capture-Tiny.SlackBuild index bb58abe2f9..9e080f1a10 100644 --- a/perl/perl-Capture-Tiny/perl-Capture-Tiny.SlackBuild +++ b/perl/perl-Capture-Tiny/perl-Capture-Tiny.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Capture-Tiny @@ -22,10 +22,13 @@ # 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-Capture-Tiny VERSION=${VERSION:-0.48} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Carp-Clan/README b/perl/perl-Carp-Clan/README index f74236ebc6..49ebf4aa61 100644 --- a/perl/perl-Carp-Clan/README +++ b/perl/perl-Carp-Clan/README @@ -1,20 +1,25 @@ -Carp::Clan - Report errors from perspective of caller of a "clan" of modules. +Carp::Clan - Report errors from perspective of caller of a "clan" +of modules. -This module is based on "Carp.pm" from Perl 5.005_03. It has been modified to -skip all package names matching the pattern given in the "use" statement -inside the "qw()" term (or argument list). -Suppose you have a family of modules or classes named "Pack::A", "Pack::B" and -so on, and each of them uses "Carp::Clan qw(^Pack::);" (or at least the one in -which the error or warning gets raised). -Thus when for example your script "tool.pl" calls module "Pack::A", and module -"Pack::A" calls module "Pack::B", an exception raised in module "Pack::B" will -appear to have originated in "tool.pl" where "Pack::A" was called, and not in -"Pack::A" where "Pack::B" was called, as the unmodified "Carp.pm" would try to -make you believe :-). -This works similarly if "Pack::B" calls "Pack::C" where the exception is -raised, etcetera. -In other words, this blames all errors in the "Pack::*" modules on the user of -these modules, i.e., on you. ;-) +This module is based on "Carp.pm" from Perl 5.005_03. It has been +modified to skip all package names matching the pattern given in the +"use" statement inside the "qw()" term (or argument list). + +Suppose you have a family of modules or classes named "Pack::A", +"Pack::B" and so on, and each of them uses "Carp::Clan qw(^Pack::);" +(or at least the one in which the error or warning gets raised). + +Thus when for example your script "tool.pl" calls module "Pack::A", +and module "Pack::A" calls module "Pack::B", an exception raised in +module "Pack::B" will appear to have originated in "tool.pl" where +"Pack::A" was called, and not in "Pack::A" where "Pack::B" was called, +as the unmodified "Carp.pm" would try to make you believe :-). + +This works similarly if "Pack::B" calls "Pack::C" where the exception +is raised, etcetera. + +In other words, this blames all errors in the "Pack::*" modules on the +user of these modules, i.e., on you. ;-) For more informations, see: https://metacpan.org/pod/distribution/Carp-Clan/lib/Carp/Clan.pod diff --git a/perl/perl-Carp-Clan/perl-Carp-Clan.SlackBuild b/perl/perl-Carp-Clan/perl-Carp-Clan.SlackBuild index fbde244caa..8138b02a23 100644 --- a/perl/perl-Carp-Clan/perl-Carp-Clan.SlackBuild +++ b/perl/perl-Carp-Clan/perl-Carp-Clan.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Carp-Clan @@ -22,10 +22,13 @@ # 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-Carp-Clan VERSION=${VERSION:-6.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=Carp-Clan DOCS="README" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -101,4 +111,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Class-Data-Inheritable/perl-Class-Data-Inheritable.SlackBuild b/perl/perl-Class-Data-Inheritable/perl-Class-Data-Inheritable.SlackBuild index 9628ea8b03..9252b43389 100644 --- a/perl/perl-Class-Data-Inheritable/perl-Class-Data-Inheritable.SlackBuild +++ b/perl/perl-Class-Data-Inheritable/perl-Class-Data-Inheritable.SlackBuild @@ -1,31 +1,41 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for <appname> # Written by (your name) (your contact information) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Class-Data-Inheritable VERSION=${VERSION:-0.08} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -81,4 +91,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Class-Factory-Util/perl-Class-Factory-Util.SlackBuild b/perl/perl-Class-Factory-Util/perl-Class-Factory-Util.SlackBuild index fba8e962f1..64d540482f 100644 --- a/perl/perl-Class-Factory-Util/perl-Class-Factory-Util.SlackBuild +++ b/perl/perl-Class-Factory-Util/perl-Class-Factory-Util.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Class-Factory-Util @@ -26,10 +26,13 @@ # 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-Class-Factory-Util VERSION=${VERSION:-1.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Class-Factory-Util @@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -104,4 +114,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Class-Gomor/README b/perl/perl-Class-Gomor/README index ac25c4af7b..36633a650f 100644 --- a/perl/perl-Class-Gomor/README +++ b/perl/perl-Class-Gomor/README @@ -1,14 +1,17 @@ Class::Gomor - another class and object builder -This module is yet another class builder. This one adds parameter checking in -new constructor, that is to check for attributes existence, and definedness. -In order to validate parameters, the module needs to find attributes, and that -is the reason for declaring attributes in global variables named @AS, @AA, -@AO. They respectively state for Attributes Scalar, Attributes Array and -Attributes Other. The last one is used to avoid autocreation of accessors, -that is to let you declare your own ones. +This module is yet another class builder. This one adds parameter +checking in new constructor, that is to check for attributes +existence, and definedness. In order to validate parameters, the +module needs to find attributes, and that is the reason for declaring +attributes in global variables named @AS, @AA, @AO. They respectively +state for Attributes Scalar, Attributes Array and Attributes +Other. The last one is used to avoid autocreation of accessors, that +is to let you declare your own ones. + Attribute validation is performed by looking at classes hierarchy, by following @ISA tree inheritance. -The loss in speed by validating all attributes is quite negligeable on a -decent machine (Pentium IV, 2.4 GHz) with Perl 5.8.x. But if you want to avoid -checking, you can do it. + +The loss in speed by validating all attributes is quite negligeable +on a decent machine (Pentium IV, 2.4 GHz) with Perl 5.8.x. But if you +want to avoid checking, you can do it. diff --git a/perl/perl-Class-Gomor/perl-Class-Gomor.SlackBuild b/perl/perl-Class-Gomor/perl-Class-Gomor.SlackBuild index 4f7fa163da..05cbd6d43f 100644 --- a/perl/perl-Class-Gomor/perl-Class-Gomor.SlackBuild +++ b/perl/perl-Class-Gomor/perl-Class-Gomor.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Class-Gomor @@ -22,10 +22,13 @@ # 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-Class-Gomor VERSION=${VERSION:-1.02} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=Class-Gomor DOCS="LICENSE LICENSE.Artistic README" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -105,4 +115,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Class-ISA/perl-Class-ISA.SlackBuild b/perl/perl-Class-ISA/perl-Class-ISA.SlackBuild index 37aac0a65e..eef295217f 100644 --- a/perl/perl-Class-ISA/perl-Class-ISA.SlackBuild +++ b/perl/perl-Class-ISA/perl-Class-ISA.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Class-ISA @@ -22,10 +22,13 @@ # 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-Class-ISA VERSION=${VERSION:-0.36} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Class-Inspector/perl-Class-Inspector.SlackBuild b/perl/perl-Class-Inspector/perl-Class-Inspector.SlackBuild index 9320b07b98..349c4bdc0d 100644 --- a/perl/perl-Class-Inspector/perl-Class-Inspector.SlackBuild +++ b/perl/perl-Class-Inspector/perl-Class-Inspector.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Class-Inspector # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-Class-Inspector VERSION=${VERSION:-1.32} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Class-Inspector if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Class-Load-XS/perl-Class-Load-XS.SlackBuild b/perl/perl-Class-Load-XS/perl-Class-Load-XS.SlackBuild index 420af9b17a..0149df5528 100644 --- a/perl/perl-Class-Load-XS/perl-Class-Load-XS.SlackBuild +++ b/perl/perl-Class-Load-XS/perl-Class-Load-XS.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Class-Load-XS @@ -22,10 +22,13 @@ # 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-Class-Load-XS VERSION=${VERSION:-0.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Load/perl-Class-Load.SlackBuild b/perl/perl-Class-Load/perl-Class-Load.SlackBuild index 4d8992cd45..08e30accec 100644 --- a/perl/perl-Class-Load/perl-Class-Load.SlackBuild +++ b/perl/perl-Class-Load/perl-Class-Load.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Class-Load # Written by David Somero <dsomero@hotmail.com> @@ -25,10 +25,13 @@ # 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-Class-Load VERSION=${VERSION:-0.24} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Class-Load @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Class-Load/perl-Class-Load.info b/perl/perl-Class-Load/perl-Class-Load.info index 23df9a7979..5cdf1f68bb 100644 --- a/perl/perl-Class-Load/perl-Class-Load.info +++ b/perl/perl-Class-Load/perl-Class-Load.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Class-Load-0.24.tar.gz MD5SUM="daf8aeedf4d19ed6d3f75cd3e720116d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Module-Runtime perl-Package-Stash perl-Module-Build-Tiny" +REQUIRES="perl-Package-Stash perl-Module-Build-Tiny" MAINTAINER="David Somero" EMAIL="dsomero@hotmail.com" 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 f7bf7e5963..8167dfadad 100644 --- a/perl/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.SlackBuild +++ b/perl/perl-Class-Method-Modifiers/perl-Class-Method-Modifiers.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # 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 @@ -22,10 +22,13 @@ # 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-Class-Method-Modifiers -VERSION=${VERSION:-2.13} +VERSION=${VERSION:-2.15} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -96,4 +103,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Class-MethodMaker/perl-Class-MethodMaker.SlackBuild b/perl/perl-Class-MethodMaker/perl-Class-MethodMaker.SlackBuild index 6ef73e0ada..20042eeb81 100644 --- a/perl/perl-Class-MethodMaker/perl-Class-MethodMaker.SlackBuild +++ b/perl/perl-Class-MethodMaker/perl-Class-MethodMaker.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Class-MethodMaker # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-Class-MethodMaker VERSION=${VERSION:-2.24} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Class-MethodMaker if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Class-Mix/perl-Class-Mix.SlackBuild b/perl/perl-Class-Mix/perl-Class-Mix.SlackBuild index ed82649e21..aca3fed59f 100644 --- a/perl/perl-Class-Mix/perl-Class-Mix.SlackBuild +++ b/perl/perl-Class-Mix/perl-Class-Mix.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Class-Mix # @@ -19,28 +19,38 @@ # 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-Class-Mix VERSION=${VERSION:-0.006} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Class-Mix if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -71,7 +81,7 @@ find -L . \ perl Build.PL \ --prefix /usr \ --install_path libdoc=/usr/man/man3 \ - --install_path lib=/usr/lib64/perl5/vendor_perl \ + --install_path lib=/usr/lib$LIBDIRSUFFIX/perl5/vendor_perl \ --destdir $PKG ./Build @@ -99,5 +109,5 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Class-ReturnValue/perl-Class-ReturnValue.SlackBuild b/perl/perl-Class-ReturnValue/perl-Class-ReturnValue.SlackBuild index 1351842035..e52ea6cc20 100644 --- a/perl/perl-Class-ReturnValue/perl-Class-ReturnValue.SlackBuild +++ b/perl/perl-Class-ReturnValue/perl-Class-ReturnValue.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright (c) 2013 Asaf Ohaion # All rights reserved. @@ -25,10 +25,13 @@ # (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-Class-ReturnValue VERSION=${VERSION:-0.55} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Class-ReturnValue @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Class-ReturnValue/perl-Class-ReturnValue.info b/perl/perl-Class-ReturnValue/perl-Class-ReturnValue.info index 63cffc7fb2..be5e1477c9 100644 --- a/perl/perl-Class-ReturnValue/perl-Class-ReturnValue.info +++ b/perl/perl-Class-ReturnValue/perl-Class-ReturnValue.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/J/JE/JESSE/Class-ReturnValue-0.55 MD5SUM="047fbbcfd90d5c399a1feba55781329e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Devel-StackTrace" +REQUIRES="perl-Module-Install perl-Devel-StackTrace" MAINTAINER="Asaf Ohaion" EMAIL="asaf at hadasa-oss dot net" diff --git a/perl/perl-Class-Singleton/perl-Class-Singleton.SlackBuild b/perl/perl-Class-Singleton/perl-Class-Singleton.SlackBuild index d53660b8da..a6ee160911 100644 --- a/perl/perl-Class-Singleton/perl-Class-Singleton.SlackBuild +++ b/perl/perl-Class-Singleton/perl-Class-Singleton.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Class-Singleton @@ -26,10 +26,13 @@ # 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-Class-Singleton VERSION=${VERSION:-1.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Class-Singleton @@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -104,4 +114,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Class-Tiny/perl-Class-Tiny.SlackBuild b/perl/perl-Class-Tiny/perl-Class-Tiny.SlackBuild index 1d714c568a..6dc1d852e3 100644 --- a/perl/perl-Class-Tiny/perl-Class-Tiny.SlackBuild +++ b/perl/perl-Class-Tiny/perl-Class-Tiny.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Class-Tiny -# Copyright 2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2017-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # 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-Class-Tiny -VERSION=${VERSION:-1.006} +VERSION=${VERSION:-1.008} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Class-Tiny/perl-Class-Tiny.info b/perl/perl-Class-Tiny/perl-Class-Tiny.info index 5af67cff77..146b5634fd 100644 --- a/perl/perl-Class-Tiny/perl-Class-Tiny.info +++ b/perl/perl-Class-Tiny/perl-Class-Tiny.info @@ -1,8 +1,8 @@ PRGNAM="perl-Class-Tiny" -VERSION="1.006" -HOMEPAGE="https://metacpan.org/pod/release/DAGOLDEN/Class-Tiny-1.006/lib/Class/Tiny.pm" -DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Class-Tiny-1.006.tar.gz" -MD5SUM="fa905646a85a1478b2db1fc9113cb6ac" +VERSION="1.008" +HOMEPAGE="https://metacpan.org/pod/release/DAGOLDEN/Class-Tiny-1.008/lib/Class/Tiny.pm" +DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Class-Tiny-1.008.tar.gz" +MD5SUM="e3ccfae5f64d443e7e1110be964d7202" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-Clone-PP/perl-Clone-PP.SlackBuild b/perl/perl-Clone-PP/perl-Clone-PP.SlackBuild index 643c839e98..4be348194a 100644 --- a/perl/perl-Clone-PP/perl-Clone-PP.SlackBuild +++ b/perl/perl-Clone-PP/perl-Clone-PP.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Clone-PP @@ -22,16 +22,26 @@ # 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-Clone-PP VERSION=${VERSION:-1.07} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -79,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Clone/perl-Clone.SlackBuild b/perl/perl-Clone/perl-Clone.SlackBuild index 980d8eafe7..e2e2fae396 100644 --- a/perl/perl-Clone/perl-Clone.SlackBuild +++ b/perl/perl-Clone/perl-Clone.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Clone -# Copyright 2018-2019 Jan F. Chadima <jfch@jagda.eu> +# Copyright 2018-2020 Jan F. Chadima <jfch@jagda.eu> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # 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-Clone -VERSION=${VERSION:-0.42} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.46} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Clone/perl-Clone.info b/perl/perl-Clone/perl-Clone.info index 862fbb2a0e..16c1b2899d 100644 --- a/perl/perl-Clone/perl-Clone.info +++ b/perl/perl-Clone/perl-Clone.info @@ -1,10 +1,10 @@ PRGNAM="perl-Clone" -VERSION="0.42" +VERSION="0.46" HOMEPAGE="https://metacpan.org/pod/Clone" -DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GA/GARU/Clone-0.42.tar.gz" -MD5SUM="1a305f399e1293f8f43b9ef07f6554ff" +DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GA/GARU/Clone-0.46.tar.gz" +MD5SUM="cafa8984a2c2e005e54b27dd1e3f0afe" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="perl-B-COW" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Compress-Bzip2/perl-Compress-Bzip2.SlackBuild b/perl/perl-Compress-Bzip2/perl-Compress-Bzip2.SlackBuild index 06f2ad0f71..d9bb63e2df 100644 --- a/perl/perl-Compress-Bzip2/perl-Compress-Bzip2.SlackBuild +++ b/perl/perl-Compress-Bzip2/perl-Compress-Bzip2.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Compress-Bzip2 -# Copyright 2013-2017 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2013-2021 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -11,22 +11,25 @@ # 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. +# 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-Compress-Bzip2 SRCNAM=Compress-Bzip2 -VERSION=${VERSION:-2.25} +VERSION=${VERSION:-2.28} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Compress-Bzip2/perl-Compress-Bzip2.info b/perl/perl-Compress-Bzip2/perl-Compress-Bzip2.info index 12172291f7..6b5c24c172 100644 --- a/perl/perl-Compress-Bzip2/perl-Compress-Bzip2.info +++ b/perl/perl-Compress-Bzip2/perl-Compress-Bzip2.info @@ -1,10 +1,10 @@ PRGNAM="perl-Compress-Bzip2" -VERSION="2.25" +VERSION="2.28" HOMEPAGE="https://metacpan.org/pod/Compress::Bzip2" -DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Compress-Bzip2-2.25.tar.gz" -MD5SUM="2c4336e3cd345acce4fae07e9f8b71fb" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Compress-Bzip2-2.28.tar.gz" +MD5SUM="882ceb8bb025f32896b1f60c748c1374" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Heinz Wiesinger" -EMAIL="pprkut@liwjatan.at" +EMAIL="pprkut@slackbuilds.org" diff --git a/perl/perl-Config-File/README b/perl/perl-Config-File/README index 22a809e17f..5a7bc9c153 100644 --- a/perl/perl-Config-File/README +++ b/perl/perl-Config-File/README @@ -1,2 +1,2 @@ -The Config::File parses a simple configuration file and stores its values -in an anonymous hash reference. +The Config::File parses a simple configuration file and stores its +values in an anonymous hash reference. diff --git a/perl/perl-Config-File/perl-Config-File.SlackBuild b/perl/perl-Config-File/perl-Config-File.SlackBuild index 9809f2d106..99ef214eae 100644 --- a/perl/perl-Config-File/perl-Config-File.SlackBuild +++ b/perl/perl-Config-File/perl-Config-File.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Config-File @@ -22,15 +22,25 @@ # 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-File VERSION=${VERSION:-1.50} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -78,4 +88,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Config-Find/perl-Config-Find.SlackBuild b/perl/perl-Config-Find/perl-Config-Find.SlackBuild index b24e599e05..cc99307e15 100644 --- a/perl/perl-Config-Find/perl-Config-Find.SlackBuild +++ b/perl/perl-Config-Find/perl-Config-Find.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Config-Find @@ -22,22 +22,26 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220222 bkw: Modified by SlackBuilds.org, BUILD=2: +# - make this noarch, since there's no compiled code. +# - fix build if perl-Test-Pod is installed. + +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Config-Find VERSION=${VERSION:-0.26} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +ARCH=noarch SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -51,11 +55,17 @@ 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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; +# 20220301 bkw: permissions are most bletcherous, don't revert to template. +find . -type f -exec chmod 644 {} \+ +find . -type d -exec chmod 755 {} \+ + +# 20220301 bkw: if perl-Test-POD was installed, the test "t/3_pods.t" was +# failing, because the .pm files didn't specify an encoding for the +# embedded POD docs, and there's a non-ASCII character in the author's +# name in every file. The easy way to fix it would have been: +# rm -f t/3_pods.t +# but the *correct* fix is to do this: +sed -i '2i\\n=encoding latin1\n\n=cut\n\n' lib/Config/Find{/*,.pm} perl Makefile.PL \ PREFIX=/usr \ @@ -64,9 +74,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 $PKG/usr/man/man*/* find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true @@ -80,4 +88,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Astro-SunTime/perl-Astro-SunTime.SlackBuild b/perl/perl-Config-Grammar/perl-Config-Grammar.SlackBuild index f928497fdd..e70f26b565 100644 --- a/perl/perl-Astro-SunTime/perl-Astro-SunTime.SlackBuild +++ b/perl/perl-Config-Grammar/perl-Config-Grammar.SlackBuild @@ -1,11 +1,10 @@ -#!/bin/sh +#!/bin/bash -# Slackware build script for perl-Astro-SunTime -# Copyright 2010 V'yacheslav Stetskevych <slava18@gmail.com> +# Slackware build script for perl-Config-Grammar + +# Copyright 2023, Lockywolf # All rights reserved. # -# Adopted 2015 Glenn Becker <glenn.becker@gmail.com> -# # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # @@ -23,12 +22,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=perl-Astro-SunTime -VERSION=${VERSION:-0.06} +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Config-Grammar +VERSION=${VERSION:-1.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=Astro-SunTime +SRC_PRGNAM=Config-Grammar if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -38,7 +40,13 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -62,35 +70,43 @@ 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 +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 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 + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +perl Makefile.PL INSTALLDIRS=perl make make test make install DESTDIR=$PKG -find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true +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 || true +find $PKG -depth -type d -empty -delete mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Changes $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:-tgz} +/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-Devel-CheckLib/slack-desc b/perl/perl-Config-Grammar/slack-desc index 1b71dfee7f..4faa969d9b 100644 --- a/perl/perl-Devel-CheckLib/slack-desc +++ b/perl/perl-Config-Grammar/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -perl-Devel-CheckLib: perl-Devel-CheckLib (perl module) -perl-Devel-CheckLib: -perl-Devel-CheckLib: Devel::CheckLib is a perl module that checks whether a particular C -perl-Devel-CheckLib: library and its headers are available. -perl-Devel-CheckLib: -perl-Devel-CheckLib: Homepage: https://github.com/mattn/p5-Devel-CheckLib -perl-Devel-CheckLib: -perl-Devel-CheckLib: -perl-Devel-CheckLib: -perl-Devel-CheckLib: -perl-Devel-CheckLib: +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/README b/perl/perl-Config-IniFiles/README index 3aa7d08e3c..8ec6c42140 100644 --- a/perl/perl-Config-IniFiles/README +++ b/perl/perl-Config-IniFiles/README @@ -1,3 +1,4 @@ -perl-Config-IniFiles perl module for reading .ini-style configuration files. +perl-Config-IniFiles perl module for reading .ini-style configuration +files. perl-Config-IniFiles package is required for policyd v2 (cluebringer). diff --git a/perl/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild b/perl/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild index 4423c3a6fa..729599d2c0 100644 --- a/perl/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild +++ b/perl/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Config::IniFiles # Home Page https://metacpan.org/release/Config-IniFiles @@ -27,22 +27,32 @@ # # Modified by the SlackBuilds.org project. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM="perl-Config-IniFiles" VERSION=${VERSION:-2.82} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -51,8 +61,8 @@ set -e DOCS="Changes README" -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Config-Simple/perl-Config-Simple.SlackBuild b/perl/perl-Config-Simple/perl-Config-Simple.SlackBuild index 5c8af9cb85..f797fa75d3 100644 --- a/perl/perl-Config-Simple/perl-Config-Simple.SlackBuild +++ b/perl/perl-Config-Simple/perl-Config-Simple.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Config-Simple @@ -23,10 +23,13 @@ # 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-Simple VERSION=${VERSION:-4.58} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -81,4 +91,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Convert-ASN1/README b/perl/perl-Convert-ASN1/README index d8d99515d6..e855cf6860 100644 --- a/perl/perl-Convert-ASN1/README +++ b/perl/perl-Convert-ASN1/README @@ -1 +1,2 @@ -Convert::ASN1 encodes and decodes ASN.1 data structures using BER/DER rules. +Convert::ASN1 encodes and decodes ASN.1 data structures using BER/DER +rules. diff --git a/perl/perl-Convert-ASN1/perl-Convert-ASN1.SlackBuild b/perl/perl-Convert-ASN1/perl-Convert-ASN1.SlackBuild index 40a1be7c1a..7ad988a223 100644 --- a/perl/perl-Convert-ASN1/perl-Convert-ASN1.SlackBuild +++ b/perl/perl-Convert-ASN1/perl-Convert-ASN1.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Convert-ASN1 @@ -22,10 +22,13 @@ # 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-Convert-ASN1 VERSION=${VERSION:-0.27} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Convert-ASN1 @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -84,5 +94,5 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Convert-BinHex/perl-Convert-BinHex.SlackBuild b/perl/perl-Convert-BinHex/perl-Convert-BinHex.SlackBuild index 6369fa2a49..552b1ac085 100644 --- a/perl/perl-Convert-BinHex/perl-Convert-BinHex.SlackBuild +++ b/perl/perl-Convert-BinHex/perl-Convert-BinHex.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Convert::BinHex # Home Page https://metacpan.org/release/Convert-BinHex @@ -27,21 +27,31 @@ # # Modified by the SlackBuilds.org project. -SRCNAM="Convert-BinHex" +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM="perl-Convert-BinHex" +SRCNAM="Convert-BinHex" VERSION=${VERSION:-1.124} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -50,8 +60,8 @@ set -e DOCS="COPYING README" -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -108,4 +118,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Convert-Color/perl-Convert-Color.SlackBuild b/perl/perl-Convert-Color/perl-Convert-Color.SlackBuild index 52c075eca1..e69422630b 100644 --- a/perl/perl-Convert-Color/perl-Convert-Color.SlackBuild +++ b/perl/perl-Convert-Color/perl-Convert-Color.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Convert-Color @@ -22,10 +22,13 @@ # 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-Convert-Color VERSION=${VERSION:-0.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild b/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild index b361224cb9..0b0a81b90f 100644 --- a/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild +++ b/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Convert::TNEF # Home Page https://metacpan.org/release/Convert-TNEF @@ -26,21 +26,31 @@ # # 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} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -49,8 +59,8 @@ set -e DOCS="Changes README" -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -106,4 +116,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Convert-UU/README b/perl/perl-Convert-UU/README deleted file mode 100644 index e7ab92b7ae..0000000000 --- a/perl/perl-Convert-UU/README +++ /dev/null @@ -1,22 +0,0 @@ -Convert::UU -- Perl module for uuencode and uudecode - -- uuencode - -uuencode() takes as the first argument a string that is to -be uuencoded. Note, that it is the string that is encoded, -not a filename. Alternatively a filehandle may be passed -that must be opened for reading. It returns the uuencoded -string including begin and end. Second and third argument -are optional and specify filename and mode. If unspecified -these default to "uuencode.uu" and 644. - -- uudecode - -uudecode() takes a string as argument which will be uudecoded. -If the argument is a filehandle this handle will be read -instead. If it is a reference to an ARRAY, the elements are -treated like lines that form a string. Leading and trailing -garbage will be ignored. The function returns the uudecoded -string for the first begin/end pair. In array context it -returns an array whose first element is the uudecoded string, -the second is the filename and the third is the mode. diff --git a/perl/perl-Convert-UU/perl-Convert-UU.SlackBuild b/perl/perl-Convert-UU/perl-Convert-UU.SlackBuild deleted file mode 100644 index 41ddc298b3..0000000000 --- a/perl/perl-Convert-UU/perl-Convert-UU.SlackBuild +++ /dev/null @@ -1,103 +0,0 @@ -#!/bin/sh - -# Slackware build script for perl-Convert-UU - -# Copyright 2012 Glenn Becker, Arlington, MA USA -# 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. - -PRGNAM=perl-Convert-UU -VERSION=${VERSION:-0.5201} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=$(printf $PRGNAM | cut -d- -f2-) - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -perl Makefile.PL \ - PREFIX=/usr \ - INSTALLDIRS=vendor \ - INSTALLVENDORMAN3DIR=/usr/man/man3 \ - INSTALLVENDORMAN1DIR=/usr/man/man1 -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 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:-tgz} diff --git a/perl/perl-Convert-UU/perl-Convert-UU.info b/perl/perl-Convert-UU/perl-Convert-UU.info deleted file mode 100644 index fa62221fbd..0000000000 --- a/perl/perl-Convert-UU/perl-Convert-UU.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-Convert-UU" -VERSION="0.5201" -HOMEPAGE="https://metacpan.org/pod/Convert::UU" -DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AN/ANDK/Convert-UU-0.5201.tar.gz" -MD5SUM="f60f49d15770503efa5ed0c81296ef2f" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="orphaned - no maintainer" -EMAIL="nobody@nowhere.com" diff --git a/perl/perl-Convert-UU/slack-desc b/perl/perl-Convert-UU/slack-desc deleted file mode 100644 index 5f60950096..0000000000 --- a/perl/perl-Convert-UU/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-Convert-UU: perl-Convert-UU (Perl module for uuencode and uudecode) -perl-Convert-UU: -perl-Convert-UU: - uuencode -perl-Convert-UU: uuencode() takes as the first argument a string that is to -perl-Convert-UU: be uuencoded. -perl-Convert-UU: -perl-Convert-UU: - uudecode -perl-Convert-UU: uudecode() takes a string as argument which will be uudecoded. -perl-Convert-UU: -perl-Convert-UU: -perl-Convert-UU: https://metacpan.org/release/ANDK/Convert-UU-0.5201 diff --git a/perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild b/perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild index fda40c05c9..e02900a8eb 100644 --- a/perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild +++ b/perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Convert::UUlib # Home Page https://metacpan.org/release/Convert-UUlib @@ -26,10 +26,13 @@ # # Modified by the SlackBuilds.org project. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Convert-UUlib VERSION=${VERSION:-1.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="Convert-UUlib" @@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -107,4 +117,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Coro/README b/perl/perl-Coro/README index 829b494763..22b7805e1e 100644 --- a/perl/perl-Coro/README +++ b/perl/perl-Coro/README @@ -1,29 +1,29 @@ -This module collection manages continuations in general, most often in +This module collection manages continuations in general, most often in the form of cooperative threads (also called coros, or simply "coro" in the documentation). They are similar to kernel threads but don't (in general) run in parallel at the same time even on SMP machines. The specific flavor of thread offered by this module also guarantees you that it will not switch between threads unless necessary, at easily-identified points in your program, so locking and parallel access -are rarely an issue, making thread programming much safer and easier than -using other thread models. +are rarely an issue, making thread programming much safer and easier +than using other thread models. Unlike the so-called "Perl threads" (which are not actually real threads -but only the windows process emulation (see section of same name for more -details) ported to UNIX, and as such act as processes), Coro provides a -full shared address space, which makes communication between threads very -easy. And coro threads are fast, too: disabling the Windows process -emulation code in your perl and using Coro can easily result in a two to -four times speed increase for your programs. A parallel matrix +but only the windows process emulation (see section of same name for +more details) ported to UNIX, and as such act as processes), Coro +provides a full shared address space, which makes communication between +threads very easy. And coro threads are fast, too: disabling the Windows +process emulation code in your perl and using Coro can easily result in +a two to four times speed increase for your programs. A parallel matrix multiplication benchmark (very communication-intensive) runs over 300 times faster on a single core than perls pseudo-threads on a quad core using all four cores. -Coro achieves that by supporting multiple running interpreters that share -data, which is especially useful to code pseudo-parallel processes and for -event-based programming, such as multiple HTTP-GET requests running -concurrently. See Coro::AnyEvent to learn more on how to integrate Coro -into an event-based environment. +Coro achieves that by supporting multiple running interpreters that +share data, which is especially useful to code pseudo-parallel processes +and for event-based programming, such as multiple HTTP-GET requests +running concurrently. See Coro::AnyEvent to learn more on how to +integrate Coro into an event-based environment. In this module, a thread is defined as "callchain + lexical variables + some package variables + C stack), that is, a thread has its own diff --git a/perl/perl-Coro/perl-Coro.SlackBuild b/perl/perl-Coro/perl-Coro.SlackBuild index 13b208d433..6a5cb26ac2 100644 --- a/perl/perl-Coro/perl-Coro.SlackBuild +++ b/perl/perl-Coro/perl-Coro.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Coro @@ -22,10 +22,13 @@ # 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-Coro -VERSION=${VERSION:-6.55} -BUILD=${BUILD:-1} +VERSION=${VERSION:-6.57} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -78,14 +88,15 @@ perl Makefile.PL \ INSTALLDIRS=vendor \ INSTALLVENDORMAN1DIR=/usr/man/man1 \ INSTALLVENDORMAN3DIR=/usr/man/man3 + make make test make 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 || true +find $PKG/usr/man -type f -exec gzip -9 {} \+ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a Changes COPYING README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -94,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Coro/perl-Coro.info b/perl/perl-Coro/perl-Coro.info index 668619546c..36d93832a0 100644 --- a/perl/perl-Coro/perl-Coro.info +++ b/perl/perl-Coro/perl-Coro.info @@ -1,10 +1,10 @@ PRGNAM="perl-Coro" -VERSION="6.55" +VERSION="6.57" HOMEPAGE="https://metacpan.org/pod/Coro" -DOWNLOAD="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Coro-6.55.tar.gz" -MD5SUM="db97217f32ebcbc571ae8219cd08931d" +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-Cpanel-JSON-XS/perl-Cpanel-JSON-XS.SlackBuild b/perl/perl-Cpanel-JSON-XS/perl-Cpanel-JSON-XS.SlackBuild index 9b2e492a2d..20516b126a 100644 --- a/perl/perl-Cpanel-JSON-XS/perl-Cpanel-JSON-XS.SlackBuild +++ b/perl/perl-Cpanel-JSON-XS/perl-Cpanel-JSON-XS.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Cpanel-JSON-XS -# Copyright 2018-2019 Donald Cooley South Haven, Indiana USA +# Copyright 2018-2020 Donald Cooley South Haven, Indiana USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # 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-Cpanel-JSON-XS -VERSION=${VERSION:-4.18} +VERSION=${VERSION:-4.19} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Cpanel-JSON-XS/perl-Cpanel-JSON-XS.info b/perl/perl-Cpanel-JSON-XS/perl-Cpanel-JSON-XS.info index d3e6e22ee3..5c04f65b64 100644 --- a/perl/perl-Cpanel-JSON-XS/perl-Cpanel-JSON-XS.info +++ b/perl/perl-Cpanel-JSON-XS/perl-Cpanel-JSON-XS.info @@ -1,8 +1,8 @@ PRGNAM="perl-Cpanel-JSON-XS" -VERSION="4.18" +VERSION="4.19" HOMEPAGE="https://metacpan.org/release/Cpanel-JSON-XS" -DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Cpanel-JSON-XS-4.18.tar.gz" -MD5SUM="a9c791dbdce96d41f235b4800987ef3f" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Cpanel-JSON-XS-4.19.tar.gz" +MD5SUM="ffaae20b84cb22033907f99b99199575" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-Crypt-Blowfish/perl-Crypt-Blowfish.SlackBuild b/perl/perl-Crypt-Blowfish/perl-Crypt-Blowfish.SlackBuild index e20c5e3798..52ef16962d 100644 --- a/perl/perl-Crypt-Blowfish/perl-Crypt-Blowfish.SlackBuild +++ b/perl/perl-Crypt-Blowfish/perl-Crypt-Blowfish.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Crypt-Blowfish @@ -22,28 +22,38 @@ # 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-Crypt-Blowfish VERSION=${VERSION:-2.14} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Crypt-Blowfish if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -100,5 +110,5 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Crypt-Blowfish_PP/README b/perl/perl-Crypt-Blowfish_PP/README index 560bff0077..e674bbbda3 100644 --- a/perl/perl-Crypt-Blowfish_PP/README +++ b/perl/perl-Crypt-Blowfish_PP/README @@ -1,8 +1,9 @@ Blowfish encryption algorithm implemented purely in Perl -The Crypt::Blowfish_PP module provides for users to use the Blowfish encryption -algorithm in perl. The implementation is entirely Object Oriented, as there is -quite a lot of context inherent in making blowfish as fast as it is. The key is -anywhere between 64 and 448 bits (8 and 56 bytes), and should be passed as a -packed string. The transformation itself is a 16-round Feistel Network, and -operates on a 64 bit block. +The Crypt::Blowfish_PP module provides for users to use the Blowfish +encryption algorithm in perl. The implementation is entirely Object +Oriented, as there is quite a lot of context inherent in making +blowfish as fast as it is. The key is anywhere between 64 and 448 +bits (8 and 56 bytes), and should be passed as a packed string. The +transformation itself is a 16-round Feistel Network, and operates on a +64 bit block. diff --git a/perl/perl-Crypt-Blowfish_PP/perl-Crypt-Blowfish_PP.SlackBuild b/perl/perl-Crypt-Blowfish_PP/perl-Crypt-Blowfish_PP.SlackBuild index e96f46e93d..7347be7e5b 100644 --- a/perl/perl-Crypt-Blowfish_PP/perl-Crypt-Blowfish_PP.SlackBuild +++ b/perl/perl-Crypt-Blowfish_PP/perl-Crypt-Blowfish_PP.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Crypt-Blowfish_PP @@ -22,28 +22,38 @@ # 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-Crypt-Blowfish_PP VERSION=${VERSION:-1.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Crypt-Blowfish_PP if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -99,5 +109,5 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Crypt-CAST5/README b/perl/perl-Crypt-CAST5/README index d0ca998300..68904789fa 100644 --- a/perl/perl-Crypt-CAST5/README +++ b/perl/perl-Crypt-CAST5/README @@ -1,5 +1,6 @@ -This module provides an implementation of the CAST5 block cipher using compiled -C code for increased speed. CAST5 is also known as CAST-128. It is a product of -the CAST design procedure developed by C. Adams and S. Tavares. +This module provides an implementation of the CAST5 block cipher +using compiled C code for increased speed. CAST5 is also known as +CAST-128. It is a product of the CAST design procedure developed by +C. Adams and S. Tavares. The CAST5 cipher is available royalty-free. diff --git a/perl/perl-Crypt-CAST5/perl-Crypt-CAST5.SlackBuild b/perl/perl-Crypt-CAST5/perl-Crypt-CAST5.SlackBuild index 0dd99e9e99..a32ac98c8c 100644 --- a/perl/perl-Crypt-CAST5/perl-Crypt-CAST5.SlackBuild +++ b/perl/perl-Crypt-CAST5/perl-Crypt-CAST5.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Crypt-CAST5 @@ -22,28 +22,38 @@ # 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-Crypt-CAST5 VERSION=${VERSION:-0.05} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Crypt-CAST5 if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Crypt-CBC/README b/perl/perl-Crypt-CBC/README index fd5e1d55b1..2a3471560e 100644 --- a/perl/perl-Crypt-CBC/README +++ b/perl/perl-Crypt-CBC/README @@ -1,4 +1,5 @@ -This module is a Perl-only implementation of the cryptographic cipher block -chaining mode (CBC). In combination with a block cipher such as DES or IDEA, -you can encrypt and decrypt messages of arbitrarily long length. The encrypted -messages are compatible with the encryption format used by the OpenSSL package. +This module is a Perl-only implementation of the cryptographic cipher +block chaining mode (CBC). In combination with a block cipher such +as DES or IDEA, you can encrypt and decrypt messages of arbitrarily +long length. The encrypted messages are compatible with the encryption +format used by the OpenSSL package. diff --git a/perl/perl-Crypt-CBC/perl-Crypt-CBC.SlackBuild b/perl/perl-Crypt-CBC/perl-Crypt-CBC.SlackBuild index 8df1fd69c7..a401c3b9b1 100644 --- a/perl/perl-Crypt-CBC/perl-Crypt-CBC.SlackBuild +++ b/perl/perl-Crypt-CBC/perl-Crypt-CBC.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Crypt-CBC @@ -22,28 +22,38 @@ # 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-Crypt-CBC VERSION=${VERSION:-2.33} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Crypt-CBC if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -100,5 +110,5 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Crypt-DES/perl-Crypt-DES.SlackBuild b/perl/perl-Crypt-DES/perl-Crypt-DES.SlackBuild index aa21334c26..776c32313d 100644 --- a/perl/perl-Crypt-DES/perl-Crypt-DES.SlackBuild +++ b/perl/perl-Crypt-DES/perl-Crypt-DES.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Crypt-DES @@ -19,28 +19,38 @@ # 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-Crypt-DES VERSION=${VERSION:-2.07} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Crypt-DES if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Crypt-Eksblowfish/perl-Crypt-Eksblowfish.SlackBuild b/perl/perl-Crypt-Eksblowfish/perl-Crypt-Eksblowfish.SlackBuild index 01a156e366..3979c7973f 100644 --- a/perl/perl-Crypt-Eksblowfish/perl-Crypt-Eksblowfish.SlackBuild +++ b/perl/perl-Crypt-Eksblowfish/perl-Crypt-Eksblowfish.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Crypt-Eksblowfish @@ -20,28 +20,38 @@ # 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-Crypt-Eksblowfish VERSION=${VERSION:-0.009} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Crypt-Eksblowfish if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -97,5 +107,5 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Crypt-Eksblowfish/perl-Crypt-Eksblowfish.info b/perl/perl-Crypt-Eksblowfish/perl-Crypt-Eksblowfish.info index 495de8caaa..641c081241 100644 --- a/perl/perl-Crypt-Eksblowfish/perl-Crypt-Eksblowfish.info +++ b/perl/perl-Crypt-Eksblowfish/perl-Crypt-Eksblowfish.info @@ -1,10 +1,10 @@ PRGNAM="perl-Crypt-Eksblowfish" -VERSION="0.0009" +VERSION="0.009" HOMEPAGE="https://metacpan.org/pod/Crypt::Eksblowfish::Bcrypt" DOWNLOAD="https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/Crypt-Eksblowfish-0.009.tar.gz" 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-IDEA/README b/perl/perl-Crypt-IDEA/README index afd0d6ec1d..8165b0f85a 100644 --- a/perl/perl-Crypt-IDEA/README +++ b/perl/perl-Crypt-IDEA/README @@ -1 +1,2 @@ -This perl extension is an implementation of the IDEA block cipher algorithm. +This perl extension is an implementation of the IDEA block cipher +algorithm. diff --git a/perl/perl-Crypt-IDEA/perl-Crypt-IDEA.SlackBuild b/perl/perl-Crypt-IDEA/perl-Crypt-IDEA.SlackBuild index cdaf13b856..9931c991bb 100644 --- a/perl/perl-Crypt-IDEA/perl-Crypt-IDEA.SlackBuild +++ b/perl/perl-Crypt-IDEA/perl-Crypt-IDEA.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Crypt-IDEA @@ -22,28 +22,38 @@ # 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-Crypt-IDEA VERSION=${VERSION:-1.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Crypt-IDEA if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Crypt-OpenSSL-AES/README b/perl/perl-Crypt-OpenSSL-AES/README index 01201595d5..4317ad9796 100644 --- a/perl/perl-Crypt-OpenSSL-AES/README +++ b/perl/perl-Crypt-OpenSSL-AES/README @@ -1,2 +1,2 @@ -perl-Crypt-OpenSSL-AES provides perl module for AES encoding and decoding, -using the openSSL libraries. +perl-Crypt-OpenSSL-AES provides perl module for AES encoding and +decoding, using the openSSL libraries. 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 18d597e0d9..97cf8e5e67 100644 --- a/perl/perl-Crypt-OpenSSL-AES/perl-Crypt-OpenSSL-AES.SlackBuild +++ b/perl/perl-Crypt-OpenSSL-AES/perl-Crypt-OpenSSL-AES.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright (c) 2020, Edgar Pettijohn, Memphis, TN # All rights reserved. @@ -21,10 +21,13 @@ # 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-Crypt-OpenSSL-AES" SRCNAM="Crypt-OpenSSL-AES" VERSION=${VERSION:-0.02} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} BUILD=${BUILD:-1} if [ -z "$ARCH" ]; then @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -105,4 +115,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 dc0311699d..aa3c36cb70 100644 --- a/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.SlackBuild +++ b/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Crypt::OpenSSL::Bignum # Home Page https://metacpan.org/release/Crypt-OpenSSL-Bignum @@ -27,10 +27,13 @@ # # 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} if [ -z "$ARCH" ]; then @@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -87,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 @@ -109,4 +120,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-DSA/perl-Crypt-OpenSSL-DSA.SlackBuild b/perl/perl-Crypt-OpenSSL-DSA/perl-Crypt-OpenSSL-DSA.SlackBuild index 4cce086259..a1a891f417 100644 --- a/perl/perl-Crypt-OpenSSL-DSA/perl-Crypt-OpenSSL-DSA.SlackBuild +++ b/perl/perl-Crypt-OpenSSL-DSA/perl-Crypt-OpenSSL-DSA.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Crypt::OpenSSL::DSA # Home Page https://metacpan.org/pod/Crypt::OpenSSL::DSA @@ -25,11 +25,14 @@ # 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-Crypt-OpenSSL-DSA" SRCNAM="Crypt-OpenSSL-DSA" VERSION=${VERSION:-0.19} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Crypt-OpenSSL-EC/perl-Crypt-OpenSSL-EC.SlackBuild b/perl/perl-Crypt-OpenSSL-EC/perl-Crypt-OpenSSL-EC.SlackBuild index de29dab9a2..e6d60ffdd1 100644 --- a/perl/perl-Crypt-OpenSSL-EC/perl-Crypt-OpenSSL-EC.SlackBuild +++ b/perl/perl-Crypt-OpenSSL-EC/perl-Crypt-OpenSSL-EC.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Crypt::OpenSSL::EC # Home Page https://metacpan.org/pod/Crypt::OpenSSL::EC @@ -25,10 +25,13 @@ # 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-Crypt-OpenSSL-EC" VERSION=${VERSION:-1.01} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Crypt-OpenSSL-ECDSA/perl-Crypt-OpenSSL-ECDSA.SlackBuild b/perl/perl-Crypt-OpenSSL-ECDSA/perl-Crypt-OpenSSL-ECDSA.SlackBuild index 24f5d82d85..a0f334b6f5 100644 --- a/perl/perl-Crypt-OpenSSL-ECDSA/perl-Crypt-OpenSSL-ECDSA.SlackBuild +++ b/perl/perl-Crypt-OpenSSL-ECDSA/perl-Crypt-OpenSSL-ECDSA.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Crypt::OpenSSL::ECDSA # Home Page https://metacpan.org/pod/Crypt::OpenSSL::ECDSA @@ -25,10 +25,13 @@ # 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-Crypt-OpenSSL-ECDSA" -VERSION=${VERSION:-0.08} +VERSION=${VERSION:-0.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Crypt-OpenSSL-ECDSA/perl-Crypt-OpenSSL-ECDSA.info b/perl/perl-Crypt-OpenSSL-ECDSA/perl-Crypt-OpenSSL-ECDSA.info index 72207a0c5f..8896a092b4 100644 --- a/perl/perl-Crypt-OpenSSL-ECDSA/perl-Crypt-OpenSSL-ECDSA.info +++ b/perl/perl-Crypt-OpenSSL-ECDSA/perl-Crypt-OpenSSL-ECDSA.info @@ -1,8 +1,8 @@ PRGNAM="perl-Crypt-OpenSSL-ECDSA" -VERSION="0.08" +VERSION="0.10" HOMEPAGE="https://metacpan.org/pod/Crypt::OpenSSL::ECDSA" -DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MI/MIKEM/Crypt-OpenSSL-ECDSA-0.08.tar.gz" -MD5SUM="4f2adbf2ec9cd2865b6d6cfd1defc3ee" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MI/MIKEM/Crypt-OpenSSL-ECDSA-0.10.tar.gz" +MD5SUM="182eb2eec5f490f416358d4271fe2237" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Crypt-OpenSSL-EC" diff --git a/perl/perl-Crypt-OpenSSL-Guess/README b/perl/perl-Crypt-OpenSSL-Guess/README new file mode 100644 index 0000000000..99268792a7 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-Guess/README @@ -0,0 +1,4 @@ +perl-Crypt-OpenSSL-Guess provides perl modules for Guess encoding and +decoding, using the openSSL libraries. + +perl-Crypt-OpenSSL-Guess is required for perl-Mail-DKIM. diff --git a/perl/perl-Crypt-OpenSSL-Guess/perl-Crypt-OpenSSL-Guess.SlackBuild b/perl/perl-Crypt-OpenSSL-Guess/perl-Crypt-OpenSSL-Guess.SlackBuild new file mode 100644 index 0000000000..8b292d5db3 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-Guess/perl-Crypt-OpenSSL-Guess.SlackBuild @@ -0,0 +1,119 @@ +#!/bin/bash + +# Slackware Package Build Script for perl modules: Crypt::OpenSSL::Guess + +# Copyright (c) 2020 Matteo Bernardini <ponce@slackbuilds.org, Pisa, Italy +# 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 script must retain the above copyright notice, +# this list of conditions and the following disclaimer. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "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 COPYRIGHT OWNER OR +# CONTRIBUTORS 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-Crypt-OpenSSL-Guess" +SRCNAM="Crypt-OpenSSL-Guess" +VERSION=${VERSION:-0.15} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +BUILD=${BUILD:-2} + +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 + +DOCS="Changes LICENSE README.md" + +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 + + +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 . +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 {} \; + +CFLAGS="$SLKCFLAGS" \ +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Remove perlocal.pod and .packlist from $PKG +( cd $PKG + find . -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +) + +# Remove empty directories +find $PKG -depth -type d -empty -exec rm -rf {} \; + +### strip binaries +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +( 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 +) + +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-OpenSSL-Guess/perl-Crypt-OpenSSL-Guess.info b/perl/perl-Crypt-OpenSSL-Guess/perl-Crypt-OpenSSL-Guess.info new file mode 100644 index 0000000000..b6d91af554 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-Guess/perl-Crypt-OpenSSL-Guess.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Crypt-OpenSSL-Guess" +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.15.tar.gz" +MD5SUM="e07f470dd25023730cf8536e0cefbabd" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/perl/perl-Crypt-OpenSSL-Guess/slack-desc b/perl/perl-Crypt-OpenSSL-Guess/slack-desc new file mode 100644 index 0000000000..3ca34f679a --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-Guess/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-OpenSSL-Guess: perl-Crypt-OpenSSL-Guess (Crypt::OpenSSL::Guess) +perl-Crypt-OpenSSL-Guess: +perl-Crypt-OpenSSL-Guess: perl-Crypt-OpenSSL-Guess provides helpers to guess OpenSSL include +perl-Crypt-OpenSSL-Guess: path on any platforms. +perl-Crypt-OpenSSL-Guess: +perl-Crypt-OpenSSL-Guess: homepage: https://metacpan.org/pod/Crypt::OpenSSL::Guess +perl-Crypt-OpenSSL-Guess: +perl-Crypt-OpenSSL-Guess: +perl-Crypt-OpenSSL-Guess: +perl-Crypt-OpenSSL-Guess: +perl-Crypt-OpenSSL-Guess: diff --git a/perl/perl-Crypt-OpenSSL-RSA/README b/perl/perl-Crypt-OpenSSL-RSA/README index 1a1cbe57a3..bf07a31bca 100644 --- a/perl/perl-Crypt-OpenSSL-RSA/README +++ b/perl/perl-Crypt-OpenSSL-RSA/README @@ -1,4 +1,4 @@ -perl-Crypt-OpenSSL-RSA provides perl modules for RSA encoding and decoding, -using the openSSL libraries. +perl-Crypt-OpenSSL-RSA provides perl modules for RSA encoding and +decoding, using the openSSL libraries. perl-Crypt-OpenSSL-RSA is required for perl-Mail-DKIM. 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 dbdca99896..990a758039 100644 --- a/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.SlackBuild +++ b/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Crypt::OpenSSL::RSA # Home Page https://metacpan.org/release/Crypt-OpenSSL-RSA @@ -27,10 +27,13 @@ # # Modified by the SlackBuilds.org project. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM="perl-Crypt-OpenSSL-RSA" SRCNAM="Crypt-OpenSSL-RSA" -VERSION=${VERSION:-0.28} +VERSION=${VERSION:-0.33} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} BUILD=${BUILD:-1} if [ -z "$ARCH" ]; then @@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -111,4 +121,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 d8112f1a2b..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.28" +VERSION="0.33" HOMEPAGE="https://metacpan.org/pod/Crypt::OpenSSL::RSA" -DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PERLER/Crypt-OpenSSL-RSA-0.28.tar.gz" -MD5SUM="86217a5036fc63779c30420b5fd84129" +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-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 81d616b49d..547e15ae68 100644 --- a/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild +++ b/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl module: Crypt::OpenSSL::Random # Home Page https://metacpan.org/release/Crypt-OpenSSL-Random @@ -27,11 +27,14 @@ # # 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} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -109,4 +119,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Crypt-Rijndael/README b/perl/perl-Crypt-Rijndael/README index 3b4460d421..343fd63d2b 100644 --- a/perl/perl-Crypt-Rijndael/README +++ b/perl/perl-Crypt-Rijndael/README @@ -1,2 +1,2 @@ -This module implements the Rijndael cipher, which has just been selected as the -Advanced Encryption Standard. +This module implements the Rijndael cipher, which has just been +selected as the Advanced Encryption Standard. diff --git a/perl/perl-Crypt-Rijndael/perl-Crypt-Rijndael.SlackBuild b/perl/perl-Crypt-Rijndael/perl-Crypt-Rijndael.SlackBuild index f6691f9c07..583369af71 100644 --- a/perl/perl-Crypt-Rijndael/perl-Crypt-Rijndael.SlackBuild +++ b/perl/perl-Crypt-Rijndael/perl-Crypt-Rijndael.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Crypt-Rijndael @@ -22,28 +22,38 @@ # 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-Crypt-Rijndael VERSION=${VERSION:-1.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Crypt-Rijndael if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Cstools/perl-Cstools.SlackBuild b/perl/perl-Cstools/perl-Cstools.SlackBuild index ce8404f5d1..b2134d619f 100644 --- a/perl/perl-Cstools/perl-Cstools.SlackBuild +++ b/perl/perl-Cstools/perl-Cstools.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for cstools @@ -22,27 +22,37 @@ # 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-Cstools SRCNAM=Cstools VERSION=${VERSION:-3.42} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -104,4 +114,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Curses-UI/perl-Curses-UI.SlackBuild b/perl/perl-Curses-UI/perl-Curses-UI.SlackBuild index 37cd962174..ae2b5f3a7b 100644 --- a/perl/perl-Curses-UI/perl-Curses-UI.SlackBuild +++ b/perl/perl-Curses-UI/perl-Curses-UI.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright (c) 2010 Daniel LEVAI # All rights reserved. @@ -27,10 +27,13 @@ # Build script for perl-Curses-UI +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Curses-UI VERSION=${VERSION:-0.9609} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Curses-UI @@ -42,7 +45,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -106,4 +116,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Curses-UI/perl-Curses-UI.info b/perl/perl-Curses-UI/perl-Curses-UI.info index 99cd3f199d..d94bba6c0f 100644 --- a/perl/perl-Curses-UI/perl-Curses-UI.info +++ b/perl/perl-Curses-UI/perl-Curses-UI.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MD/MDXI/Curses-UI-0.9609.tar.gz MD5SUM="0dc4de85d94389b1d0eaaf36e804fc96" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Curses" +REQUIRES="perl-Curses perl-Module-Install" MAINTAINER="Daniel LEVAI" EMAIL="leva@ecentrum.hu" diff --git a/perl/perl-Curses/perl-Curses.SlackBuild b/perl/perl-Curses/perl-Curses.SlackBuild index 581d35cce2..b8504f9b92 100644 --- a/perl/perl-Curses/perl-Curses.SlackBuild +++ b/perl/perl-Curses/perl-Curses.SlackBuild @@ -1,13 +1,19 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Curses # Written by Vincent Batts, vbatts@hashbangbash.com +# 20220415 bkw: Modified by SlackBuilds.org, BUILD=2: +# - fix doc permissions, remove useless INSTALL. + +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Curses VERSION=${VERSION:-1.28} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Curses @@ -19,7 +25,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -49,9 +59,9 @@ 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 \ + -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ perl Makefile.PL \ PREFIX=/usr \ @@ -61,20 +71,18 @@ perl Makefile.PL \ make make test make install DESTDIR=$PKG +gzip -9 $PKG/usr/man/man*/* find $PKG | xargs 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 \ - MAINTENANCE HISTORY INSTALL README \ +install -m0644 \ + MAINTENANCE HISTORY README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -82,5 +90,5 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Sub-Quote/slack-desc b/perl/perl-Cwd-Guard/slack-desc index 0739d7950f..8dd2947438 100644 --- a/perl/perl-Sub-Quote/slack-desc +++ b/perl/perl-Cwd-Guard/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -perl-Sub-Quote: perl-Sub-Quote (perl module) -perl-Sub-Quote: -perl-Sub-Quote: efficient generation of subroutines via string eval -perl-Sub-Quote: -perl-Sub-Quote: -perl-Sub-Quote: -perl-Sub-Quote: -perl-Sub-Quote: -perl-Sub-Quote: -perl-Sub-Quote: -perl-Sub-Quote: +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 9df99f5a72..07a2799214 100644 --- a/perl/perl-DBD-Pg/perl-DBD-Pg.SlackBuild +++ b/perl/perl-DBD-Pg/perl-DBD-Pg.SlackBuild @@ -1,30 +1,40 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for DBD::Pg # Written by Joey Trungale <joey@trungale.net> +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} SRC_PRGNAM=DBD-Pg if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -82,4 +92,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 e7e9be808b..5aefac69aa 100644 --- a/perl/perl-DBD-SQLite/perl-DBD-SQLite.SlackBuild +++ b/perl/perl-DBD-SQLite/perl-DBD-SQLite.SlackBuild @@ -1,14 +1,36 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-DBD-SQLite -# Written by Thomas Morper <thomas@beingboiled.info> + +# Copyright 2012-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-DBD-SQLite -VERSION=${VERSION:-1.64} +VERSION=${VERSION:-1.74} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=$(echo $PRGNAM | cut -f2- -d-) +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -18,7 +40,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -47,28 +73,28 @@ 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 | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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" -empty | xargs rm -f || true +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 @@ -81,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-DBD-SQLite/perl-DBD-SQLite.info b/perl/perl-DBD-SQLite/perl-DBD-SQLite.info index ddb686eaa0..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.64" -HOMEPAGE="https://metacpan.org/release/DBD-SQLite" -DOWNLOAD="https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/DBD-SQLite-1.64.tar.gz" -MD5SUM="10796495b52927eb2e1df34c86924027" +VERSION="1.74" +HOMEPAGE="https://metacpan.org/pod/DBD::SQLite" +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-DBIx-Simple/perl-DBIx-Simple.SlackBuild b/perl/perl-DBIx-Simple/perl-DBIx-Simple.SlackBuild index dd47a9da58..be1e6f7003 100644 --- a/perl/perl-DBIx-Simple/perl-DBIx-Simple.SlackBuild +++ b/perl/perl-DBIx-Simple/perl-DBIx-Simple.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-DBIx-Simple @@ -16,10 +16,13 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-DBIx-Simple VERSION=${VERSION:-1.37} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -31,7 +34,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -90,4 +100,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-DBIx-Simple/perl-DBIx-Simple.info b/perl/perl-DBIx-Simple/perl-DBIx-Simple.info index 7dafb1c53b..6a9aeeb5de 100644 --- a/perl/perl-DBIx-Simple/perl-DBIx-Simple.info +++ b/perl/perl-DBIx-Simple/perl-DBIx-Simple.info @@ -6,5 +6,5 @@ MD5SUM="eb53ef4a93be7ebf043cd49075e81913" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" +MAINTAINER="Sergey Poznyakoff" +EMAIL="gray@gnu.org" diff --git a/perl/perl-Danga-Socket/perl-Danga-Socket.SlackBuild b/perl/perl-Danga-Socket/perl-Danga-Socket.SlackBuild index 4c204c9166..7fb968ca53 100644 --- a/perl/perl-Danga-Socket/perl-Danga-Socket.SlackBuild +++ b/perl/perl-Danga-Socket/perl-Danga-Socket.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Danga-Socket @@ -22,22 +22,32 @@ # 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-Danga-Socket VERSION=${VERSION:-1.61} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=Danga-Socket if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -83,4 +93,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Data-Compare/perl-Data-Compare.SlackBuild b/perl/perl-Data-Compare/perl-Data-Compare.SlackBuild index e7c75bb1d0..7a49d21af1 100644 --- a/perl/perl-Data-Compare/perl-Data-Compare.SlackBuild +++ b/perl/perl-Data-Compare/perl-Data-Compare.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Data-Compare @@ -22,15 +22,25 @@ # 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-Data-Compare VERSION=${VERSION:-1.25} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -78,4 +88,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Data-Dumper-Concise/perl-Data-Dumper-Concise.SlackBuild b/perl/perl-Data-Dumper-Concise/perl-Data-Dumper-Concise.SlackBuild index 4f578b80fe..538f82b30e 100644 --- a/perl/perl-Data-Dumper-Concise/perl-Data-Dumper-Concise.SlackBuild +++ b/perl/perl-Data-Dumper-Concise/perl-Data-Dumper-Concise.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Data-Dumper-Concise @@ -22,16 +22,26 @@ # 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-Data-Dumper-Concise VERSION=${VERSION:-2.023} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -79,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Data-Dumper-Concise/perl-Data-Dumper-Concise.info b/perl/perl-Data-Dumper-Concise/perl-Data-Dumper-Concise.info index 0a23bd2a01..cc15ccdbd2 100644 --- a/perl/perl-Data-Dumper-Concise/perl-Data-Dumper-Concise.info +++ b/perl/perl-Data-Dumper-Concise/perl-Data-Dumper-Concise.info @@ -1,6 +1,6 @@ PRGNAM="perl-Data-Dumper-Concise" VERSION="2.023" -HOMEPAGE="https://metacpan.org/pod/Data-Dumper-Concise" +HOMEPAGE="https://metacpan.org/pod/Data::Dumper::Concise" DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Data-Dumper-Concise-2.023.tar.gz" MD5SUM="12aee80af6ffb8ad9db6f008620300ba" DOWNLOAD_x86_64="" diff --git a/perl/perl-Data-IEEE754/README b/perl/perl-Data-IEEE754/README new file mode 100644 index 0000000000..aaac7a8ea1 --- /dev/null +++ b/perl/perl-Data-IEEE754/README @@ -0,0 +1 @@ +Data::IEEE754 - Pack and unpack big-endian IEEE754 floats and doubles diff --git a/perl/perl-Data-IEEE754/perl-Data-IEEE754.SlackBuild b/perl/perl-Data-IEEE754/perl-Data-IEEE754.SlackBuild new file mode 100644 index 0000000000..664a3befcb --- /dev/null +++ b/perl/perl-Data-IEEE754/perl-Data-IEEE754.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/bash + +# Slackware build script for perl-Data-IEEE754 + +# Copyright 2020 Jan F. Chadima <jfch@jagda.eu> +# 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-Data-IEEE754 +VERSION=${VERSION:-0.02} +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 +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 \ + CONTRIBUTING* Changes INSTALL 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-Data-IEEE754/perl-Data-IEEE754.info b/perl/perl-Data-IEEE754/perl-Data-IEEE754.info new file mode 100644 index 0000000000..638ff62c20 --- /dev/null +++ b/perl/perl-Data-IEEE754/perl-Data-IEEE754.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Data-IEEE754" +VERSION="0.02" +HOMEPAGE="https://metacpan.org/pod/Data::IEEE754" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MAXMIND/Data-IEEE754-0.02.tar.gz" +MD5SUM="0fa222cef88477f7d644205e0ec67027" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Test-Bits" +MAINTAINER="Jan F. Chadima" +EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Data-IEEE754/slack-desc b/perl/perl-Data-IEEE754/slack-desc new file mode 100644 index 0000000000..e570e79b66 --- /dev/null +++ b/perl/perl-Data-IEEE754/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-Data-IEEE754: perl-Data-IEEE754 (Support for IEEE754 floats) +perl-Data-IEEE754: +perl-Data-IEEE754: This module provides Perl availability to work with IEEE754 floats +perl-Data-IEEE754: and doubles. +perl-Data-IEEE754: +perl-Data-IEEE754: Homepage: https://metacpan.org/pod/Data::IEEE754 +perl-Data-IEEE754: +perl-Data-IEEE754: +perl-Data-IEEE754: +perl-Data-IEEE754: +perl-Data-IEEE754: diff --git a/perl/perl-Data-OptList/perl-Data-OptList.SlackBuild b/perl/perl-Data-OptList/perl-Data-OptList.SlackBuild index 27cb7b43b8..14a627c8cf 100644 --- a/perl/perl-Data-OptList/perl-Data-OptList.SlackBuild +++ b/perl/perl-Data-OptList/perl-Data-OptList.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Data-OptList # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-Data-OptList VERSION=${VERSION:-0.110} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Data-OptList if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Data-Printer/perl-Data-Printer.SlackBuild b/perl/perl-Data-Printer/perl-Data-Printer.SlackBuild index c7673ff1ea..5fe98b7bf3 100644 --- a/perl/perl-Data-Printer/perl-Data-Printer.SlackBuild +++ b/perl/perl-Data-Printer/perl-Data-Printer.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Data-Printer @@ -22,16 +22,23 @@ # 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-Data-Printer -VERSION=${VERSION:-0.40} +VERSION=${VERSION:-1.000004} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +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} @@ -47,9 +54,9 @@ 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 \ + -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 \ @@ -79,4 +86,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Data-Printer/perl-Data-Printer.info b/perl/perl-Data-Printer/perl-Data-Printer.info index d318027b28..4e6e72ba7d 100644 --- a/perl/perl-Data-Printer/perl-Data-Printer.info +++ b/perl/perl-Data-Printer/perl-Data-Printer.info @@ -1,8 +1,8 @@ PRGNAM="perl-Data-Printer" -VERSION="0.40" +VERSION="1.000004" HOMEPAGE="https://metacpan.org/pod/Data::Printer" -DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GA/GARU/Data-Printer-0.40.tar.gz" -MD5SUM="a8d976880254233775bba35b2989b61c" +DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GA/GARU/Data-Printer-1.000004.tar.gz" +MD5SUM="34e52ee70a7a19779251062251f6f422" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Clone-PP perl-File-HomeDir perl-Package-Stash perl-Sort-Naturally" diff --git a/perl/perl-Data-Random/perl-Data-Random.SlackBuild b/perl/perl-Data-Random/perl-Data-Random.SlackBuild index cc799ba9c9..7da6096d43 100644 --- a/perl/perl-Data-Random/perl-Data-Random.SlackBuild +++ b/perl/perl-Data-Random/perl-Data-Random.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Data-Random @@ -22,10 +22,13 @@ # 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-Data-Random VERSION=${VERSION:-0.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Data-UUID/README b/perl/perl-Data-UUID/README index eb85295ed4..0003ac7d66 100644 --- a/perl/perl-Data-UUID/README +++ b/perl/perl-Data-UUID/README @@ -1,4 +1,4 @@ -This module provides a framework for generating v3 UUIDs (Universally Unique -Identifiers, also known as GUIDs (Globally Unique Identifiers)). A UUID is 128 -bits long, and is guaranteed to be different from all other UUIDs/GUIDs -generated until 3400 CE. +This module provides a framework for generating v3 UUIDs +(Universally Unique Identifiers, also known as GUIDs (Globally Unique +Identifiers)). A UUID is 128 bits long, and is guaranteed to be +different from all other UUIDs/GUIDs generated until 3400 CE. diff --git a/perl/perl-Data-UUID/perl-Data-UUID.SlackBuild b/perl/perl-Data-UUID/perl-Data-UUID.SlackBuild index 6e836ab2af..85114fa0dd 100644 --- a/perl/perl-Data-UUID/perl-Data-UUID.SlackBuild +++ b/perl/perl-Data-UUID/perl-Data-UUID.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Data-UUID @@ -22,28 +22,38 @@ # 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-Data-UUID VERSION=${VERSION:-1.219} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Data-UUID if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Data-Validate-IP/perl-Data-Validate-IP.SlackBuild b/perl/perl-Data-Validate-IP/perl-Data-Validate-IP.SlackBuild index b544450dbc..2029998f9f 100644 --- a/perl/perl-Data-Validate-IP/perl-Data-Validate-IP.SlackBuild +++ b/perl/perl-Data-Validate-IP/perl-Data-Validate-IP.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Data-Validate-IP @@ -22,16 +22,26 @@ # 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-Data-Validate-IP VERSION=${VERSION:-0.27} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -79,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Data-Validate-IP/perl-Data-Validate-IP.info b/perl/perl-Data-Validate-IP/perl-Data-Validate-IP.info index 0bb8d3b231..d41984355d 100644 --- a/perl/perl-Data-Validate-IP/perl-Data-Validate-IP.info +++ b/perl/perl-Data-Validate-IP/perl-Data-Validate-IP.info @@ -1,6 +1,6 @@ PRGNAM="perl-Data-Validate-IP" VERSION="0.27" -HOMEPAGE="https://metacpan.org/pod/Data::Validate-IP" +HOMEPAGE="https://metacpan.org/pod/Data::Validate::IP" DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Data-Validate-IP-0.27.tar.gz" MD5SUM="cb0bbf1b555cceb9dc9d4a1cae940868" DOWNLOAD_x86_64="" diff --git a/perl/perl-Date-Calc/README b/perl/perl-Date-Calc/README index fdf34cb4b1..0bcf0cc097 100644 --- a/perl/perl-Date-Calc/README +++ b/perl/perl-Date-Calc/README @@ -1,3 +1,4 @@ -perl-Date-Calc provides perl modules for Gregorian calendar date calculations. +perl-Date-Calc provides perl modules for Gregorian calendar date +calculations. perl-Date-Calc is required for pflogsumm. diff --git a/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild b/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild index 6f6e20b1c2..f9e18c8db6 100644 --- a/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild +++ b/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Date::Calc # Home Page https://metacpan.org/release/Date-Calc @@ -25,29 +25,39 @@ # 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} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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 -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +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 @@ -102,4 +112,4 @@ fi 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild b/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild index 21a58e997e..338b3bad79 100644 --- a/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild +++ b/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild @@ -1,9 +1,9 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Date-Manip # Copyright 2010 V'yacheslav Stetskevych <slava18 dont_spam_me gmail com> -# Copyright 2014-2017 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 @@ -23,10 +23,13 @@ # 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-Date-Manip -VERSION=${VERSION:-6.81} +VERSION=${VERSION:-6.95} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Date-Manip @@ -38,7 +41,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -101,4 +108,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Date-Manip/perl-Date-Manip.info b/perl/perl-Date-Manip/perl-Date-Manip.info index 2ebf5523c5..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.81" +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.81.tar.gz" -MD5SUM="a9ff96f05675ac4cb7f19c4b03a7363b" +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-Builder/README b/perl/perl-DateTime-Format-Builder/README index c7adb954b7..6f49e9b3f6 100644 --- a/perl/perl-DateTime-Format-Builder/README +++ b/perl/perl-DateTime-Format-Builder/README @@ -1 +1,2 @@ -perl-DateTime-Format-Builder - Create DateTime parser classes and objects. +perl-DateTime-Format-Builder - Create DateTime parser classes and +objects. diff --git a/perl/perl-DateTime-Format-Builder/perl-DateTime-Format-Builder.SlackBuild b/perl/perl-DateTime-Format-Builder/perl-DateTime-Format-Builder.SlackBuild index 111bade7d2..e6e726a27b 100644 --- a/perl/perl-DateTime-Format-Builder/perl-DateTime-Format-Builder.SlackBuild +++ b/perl/perl-DateTime-Format-Builder/perl-DateTime-Format-Builder.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-DateTime-Format-Builder @@ -26,10 +26,13 @@ # 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-DateTime-Format-Builder VERSION=${VERSION:-0.81} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=DateTime-Format-Builder @@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -104,4 +114,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-DateTime-Format-DateParse/perl-DateTime-Format-DateParse.SlackBuild b/perl/perl-DateTime-Format-DateParse/perl-DateTime-Format-DateParse.SlackBuild index 3ffff7fc5d..afa01be8d4 100644 --- a/perl/perl-DateTime-Format-DateParse/perl-DateTime-Format-DateParse.SlackBuild +++ b/perl/perl-DateTime-Format-DateParse/perl-DateTime-Format-DateParse.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-DateTime-Format-DateParse @@ -22,10 +22,13 @@ # 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-DateTime-Format-DateParse VERSION=${VERSION:-0.05} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-DateTime-Format-ISO8601/README b/perl/perl-DateTime-Format-ISO8601/README index 829468f56b..8dee091001 100644 --- a/perl/perl-DateTime-Format-ISO8601/README +++ b/perl/perl-DateTime-Format-ISO8601/README @@ -1,2 +1,2 @@ -perl-DateTime-Format-ISO8601 parses almost all ISO8601 date and time formats. -ISO8601 time-intervals will be supported in a later release. +perl-DateTime-Format-ISO8601 parses almost all ISO8601 date and time +formats. ISO8601 time-intervals will be supported in a later release. diff --git a/perl/perl-DateTime-Format-ISO8601/perl-DateTime-Format-ISO8601.SlackBuild b/perl/perl-DateTime-Format-ISO8601/perl-DateTime-Format-ISO8601.SlackBuild index 2f4fe0198e..ce0b8cd0b0 100644 --- a/perl/perl-DateTime-Format-ISO8601/perl-DateTime-Format-ISO8601.SlackBuild +++ b/perl/perl-DateTime-Format-ISO8601/perl-DateTime-Format-ISO8601.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-DateTime-Format-ISO8601 @@ -26,10 +26,13 @@ # 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-DateTime-Format-ISO8601 VERSION=${VERSION:-0.08} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=DateTime-Format-ISO8601 @@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -104,4 +114,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Format-Strptime/README b/perl/perl-DateTime-Format-Strptime/README index 6d8911c4cd..4917389f3d 100644 --- a/perl/perl-DateTime-Format-Strptime/README +++ b/perl/perl-DateTime-Format-Strptime/README @@ -1 +1,2 @@ -perl-DateTime-Format-Strptime will parse and format strp and strf time patterns. +perl-DateTime-Format-Strptime will parse and format strp and strf time +patterns. diff --git a/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.SlackBuild b/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.SlackBuild index d371170da3..327efe9bcb 100644 --- a/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.SlackBuild +++ b/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-DateTime-Format-Strptime @@ -26,28 +26,38 @@ # 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-DateTime-Format-Strptime VERSION=${VERSION:-1.56} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=DateTime-Format-Strptime if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -81,7 +91,6 @@ perl Makefile.PL \ INSTALLVENDORMAN1DIR=/usr/man/man1 \ INSTALLVENDORMAN3DIR=/usr/man/man3 make -make test make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ @@ -104,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-DateTime-Locale/perl-DateTime-Locale.SlackBuild b/perl/perl-DateTime-Locale/perl-DateTime-Locale.SlackBuild index bb6f73f9a5..f4de0823d0 100644 --- a/perl/perl-DateTime-Locale/perl-DateTime-Locale.SlackBuild +++ b/perl/perl-DateTime-Locale/perl-DateTime-Locale.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-DateTime-Locale @@ -26,10 +26,13 @@ # 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-DateTime-Locale VERSION=${VERSION:-0.45} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=DateTime-Locale @@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -104,4 +114,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild b/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild index 68b4a3de5c..e8d7bd4e1b 100644 --- a/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild +++ b/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-DateTime-TimeZone @@ -26,28 +26,38 @@ # 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-DateTime-TimeZone -VERSION=${VERSION:-1.70} +VERSION=${VERSION:-2.01} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=DateTime-TimeZone if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -95,13 +105,11 @@ find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs r find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - LICENSE README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE $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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.info b/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.info index 5ab2cb8569..9ba6f842d0 100644 --- a/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.info +++ b/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.info @@ -1,10 +1,10 @@ PRGNAM="perl-DateTime-TimeZone" -VERSION="1.70" +VERSION="2.01" HOMEPAGE="https://metacpan.org/pod/DateTime::TimeZone" -DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-1.70.tar.gz" -MD5SUM="27cd0930f05a20b7438beffa5702a667" +DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-2.01.tar.gz" +MD5SUM="a9f8a8f3aedef2879b68b773b7e0fa5b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Class-Load perl-Class-Singleton perl-Params-Validate" +REQUIRES="perl-Class-Load perl-Class-Singleton perl-Params-Validate perl-List-AllUtils" MAINTAINER="David Somero" EMAIL="dsomero@hotmail.com" diff --git a/perl/perl-DateTime/perl-DateTime.SlackBuild b/perl/perl-DateTime/perl-DateTime.SlackBuild index 2b8e4f013f..4cdc8f9e5a 100644 --- a/perl/perl-DateTime/perl-DateTime.SlackBuild +++ b/perl/perl-DateTime/perl-DateTime.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-DateTime # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-DateTime -VERSION=${VERSION:-1.10} +VERSION=${VERSION:-1.25} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=DateTime if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -96,7 +106,7 @@ find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - CREDITS INSTALL LICENSE README TODO *.txt \ + CREDITS LICENSE README* TODO *.txt \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -104,4 +114,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-DateTime/perl-DateTime.info b/perl/perl-DateTime/perl-DateTime.info index b82ec2e8f6..ee399c6cf6 100644 --- a/perl/perl-DateTime/perl-DateTime.info +++ b/perl/perl-DateTime/perl-DateTime.info @@ -1,10 +1,10 @@ PRGNAM="perl-DateTime" -VERSION="1.10" +VERSION="1.25" HOMEPAGE="https://metacpan.org/pod/DateTime" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/DateTime-1.10.tar.gz" -MD5SUM="2dccc83565dfffef50611acaa50f0426" +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-CheckLib/README b/perl/perl-Devel-CheckLib/README deleted file mode 100644 index c0e9bdd6f9..0000000000 --- a/perl/perl-Devel-CheckLib/README +++ /dev/null @@ -1,2 +0,0 @@ -Devel::CheckLib is a perl module that checks whether a particular C library and -its headers are available. diff --git a/perl/perl-Devel-CheckLib/perl-Devel-CheckLib.info b/perl/perl-Devel-CheckLib/perl-Devel-CheckLib.info deleted file mode 100644 index 08823baa4b..0000000000 --- a/perl/perl-Devel-CheckLib/perl-Devel-CheckLib.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-Devel-CheckLib" -VERSION="1.07" -HOMEPAGE="https://metacpan.org/release/MATTN/Devel-CheckLib-1.07" -DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MATTN/Devel-CheckLib-1.07.tar.gz" -MD5SUM="66c76e5cdbae547bb61c3e872f0c6479" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="perl-IO-CaptureOutput" -MAINTAINER="Larry Hajali" -EMAIL="larryhaja[at]gmail[dot]com" diff --git a/perl/perl-Devel-Cycle/README b/perl/perl-Devel-Cycle/README new file mode 100644 index 0000000000..015ffa1efa --- /dev/null +++ b/perl/perl-Devel-Cycle/README @@ -0,0 +1 @@ + perl-Devel-Cycle - Find memory cycles in objects. diff --git a/perl/perl-Image-Magick/perl-Image-Magick.SlackBuild b/perl/perl-Devel-Cycle/perl-Devel-Cycle.SlackBuild index 875c5ed930..a81a2fcb51 100644 --- a/perl/perl-Image-Magick/perl-Image-Magick.SlackBuild +++ b/perl/perl-Devel-Cycle/perl-Devel-Cycle.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash -# Slackware build script for perl-Image-Magick +# Slackware build script for perl-Devel-Cycle -# Copyright 2020 M.A. Begue mab974@gmail.com +# Copyright 2020 M.A.Begue mab974@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,16 +22,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# !!!!!!!! make test commented out !!!!!!!!!! +cd $(dirname $0) ; CWD=$(pwd) -PRGNAM=perl-Image-Magick -VERSION=${VERSION:-6.89_1} +PRGNAM=perl-Devel-Cycle +VERSION=${VERSION:-1.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} -SRCNAM="PerlMagick" -SRCVER="${VERSION/_/-}" -DIRVER="$( echo $VERSION | cut -d_ -f1 )" +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -41,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -66,8 +72,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz -cd $SRCNAM-$DIRVER +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 \ @@ -81,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 \ @@ -95,7 +102,7 @@ find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - Changelog MANIFEST README.txt \ + Changes README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -103,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Devel-Cycle/perl-Devel-Cycle.info b/perl/perl-Devel-Cycle/perl-Devel-Cycle.info new file mode 100644 index 0000000000..451f50c8ec --- /dev/null +++ b/perl/perl-Devel-Cycle/perl-Devel-Cycle.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Devel-Cycle" +VERSION="1.12" +HOMEPAGE="https://metacpan.org/pod/Devel::Cycle" +DOWNLOAD="https://cpan.metacpan.org/authors/id/L/LD/LDS/Devel-Cycle-1.12.tar.gz" +MD5SUM="3d9a963da87b17398fab9acbef63f277" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Michel A. BEGUE" +EMAIL="mab974@gmail.com" diff --git a/perl/perl-Moo/slack-desc b/perl/perl-Devel-Cycle/slack-desc index 1f8c61358f..08ab477771 100644 --- a/perl/perl-Moo/slack-desc +++ b/perl/perl-Devel-Cycle/slack-desc @@ -5,15 +5,15 @@ # 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-Moo: perl-Moo (Minimalist Object Orientation) -perl-Moo: -perl-Moo: This module is an extremely light-weight subset of Moose optimised -perl-Moo: for rapid startup and "pay only for what you use". -perl-Moo: -perl-Moo: -perl-Moo: -perl-Moo: -perl-Moo: -perl-Moo: -perl-Moo: + |-----handy-ruler------------------------------------------------------| +perl-Devel-Cycle: perl-Devel-Cycle (find memory cycles in objects) +perl-Devel-Cycle: +perl-Devel-Cycle: homepage : https://metacpan.org/pod/Devel::Cycle +perl-Devel-Cycle: +perl-Devel-Cycle: +perl-Devel-Cycle: +perl-Devel-Cycle: +perl-Devel-Cycle: +perl-Devel-Cycle: +perl-Devel-Cycle: +perl-Devel-Cycle: diff --git a/perl/perl-Devel-Declare/perl-Devel-Declare.SlackBuild b/perl/perl-Devel-Declare/perl-Devel-Declare.SlackBuild index c1bb691891..310122cb34 100644 --- a/perl/perl-Devel-Declare/perl-Devel-Declare.SlackBuild +++ b/perl/perl-Devel-Declare/perl-Devel-Declare.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Devel-Declare -# Copyright 2018 Jan F. Chadima <jfch@jagda.eu> +# Copyright 2018-2020 Jan F. Chadima <jfch@jagda.eu> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # 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-Declare -VERSION=${VERSION:-0.006019} +VERSION=${VERSION:-0.006022} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Devel-Declare/perl-Devel-Declare.info b/perl/perl-Devel-Declare/perl-Devel-Declare.info index 4ddcacb2a1..0ece848e10 100644 --- a/perl/perl-Devel-Declare/perl-Devel-Declare.info +++ b/perl/perl-Devel-Declare/perl-Devel-Declare.info @@ -1,10 +1,10 @@ PRGNAM="perl-Devel-Declare" -VERSION="0.006019" +VERSION="0.006022" HOMEPAGE="https://metacpan.org/pod/Devel::Declare" -DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Devel-Declare-0.006019.tar.gz" -MD5SUM="1897b6af1646fc3aabe2d3fdfd7c53f0" +DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Devel-Declare-0.006022.tar.gz" +MD5SUM="664646c5872e233f640ca6bb8e84714d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-extutils-depends perl-B-Hooks-OP-Check perl-B-Hooks-EndOfScope perl-Sub-Name" +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-GlobalDestruction/perl-Devel-GlobalDestruction.SlackBuild b/perl/perl-Devel-GlobalDestruction/perl-Devel-GlobalDestruction.SlackBuild index c990f602eb..e58940402c 100644 --- a/perl/perl-Devel-GlobalDestruction/perl-Devel-GlobalDestruction.SlackBuild +++ b/perl/perl-Devel-GlobalDestruction/perl-Devel-GlobalDestruction.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Devel-GlobalDestruction @@ -22,10 +22,13 @@ # 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-GlobalDestruction VERSION=${VERSION:-0.14} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Devel-OverloadInfo/perl-Devel-OverloadInfo.SlackBuild b/perl/perl-Devel-OverloadInfo/perl-Devel-OverloadInfo.SlackBuild index b005d233dc..1de26c46c9 100644 --- a/perl/perl-Devel-OverloadInfo/perl-Devel-OverloadInfo.SlackBuild +++ b/perl/perl-Devel-OverloadInfo/perl-Devel-OverloadInfo.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Devel-OverloadInfo @@ -22,16 +22,26 @@ # 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-OverloadInfo VERSION=${VERSION:-0.005} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -76,4 +86,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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/README b/perl/perl-Devel-PartialDump/README index 518ca35d33..c61d1760ec 100644 --- a/perl/perl-Devel-PartialDump/README +++ b/perl/perl-Devel-PartialDump/README @@ -1,3 +1,4 @@ Devel::PartialDump is an extension of the Perl 5 object system. -It does partial dumping of data structures, optimized for argument printing. +It does partial dumping of data structures, optimized for argument +printing. diff --git a/perl/perl-Devel-PartialDump/perl-Devel-PartialDump.SlackBuild b/perl/perl-Devel-PartialDump/perl-Devel-PartialDump.SlackBuild index a94b410031..4643c40f47 100644 --- a/perl/perl-Devel-PartialDump/perl-Devel-PartialDump.SlackBuild +++ b/perl/perl-Devel-PartialDump/perl-Devel-PartialDump.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Devel-PartialDump @@ -22,16 +22,26 @@ # 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-PartialDump VERSION=${VERSION:-0.20} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -79,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Devel-PartialDump/perl-Devel-PartialDump.info b/perl/perl-Devel-PartialDump/perl-Devel-PartialDump.info index 7f442b7efa..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" +REQUIRES="perl-Class-Tiny perl-namespace-clean perl-Test-Warnings" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Devel-PatchPerl/perl-Devel-PatchPerl.SlackBuild b/perl/perl-Devel-PatchPerl/perl-Devel-PatchPerl.SlackBuild index 9ad2c946f2..1a540191d9 100644 --- a/perl/perl-Devel-PatchPerl/perl-Devel-PatchPerl.SlackBuild +++ b/perl/perl-Devel-PatchPerl/perl-Devel-PatchPerl.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Devel-PatchPerl @@ -22,10 +22,13 @@ # 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-PatchPerl VERSION=${VERSION:-1.52} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -95,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Devel-StackTrace/perl-Devel-StackTrace.SlackBuild b/perl/perl-Devel-StackTrace/perl-Devel-StackTrace.SlackBuild index b46c008cb1..0493273f64 100644 --- a/perl/perl-Devel-StackTrace/perl-Devel-StackTrace.SlackBuild +++ b/perl/perl-Devel-StackTrace/perl-Devel-StackTrace.SlackBuild @@ -1,32 +1,42 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Devel-StackTrace # This is in the public domain. # Written by LEVAI Daniel +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Devel-StackTrace VERSION=${VERSION:-2.03} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -82,4 +92,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Devel-Symdump/perl-Devel-Symdump.SlackBuild b/perl/perl-Devel-Symdump/perl-Devel-Symdump.SlackBuild index 9a8091c301..d64d5ca12b 100644 --- a/perl/perl-Devel-Symdump/perl-Devel-Symdump.SlackBuild +++ b/perl/perl-Devel-Symdump/perl-Devel-Symdump.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Devel-Symdump @@ -23,10 +23,13 @@ # 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-Symdump VERSION=${VERSION:-2.18} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Devel-Symdump @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Devel-Trace/README b/perl/perl-Devel-Trace/README new file mode 100644 index 0000000000..cb25f9ee53 --- /dev/null +++ b/perl/perl-Devel-Trace/README @@ -0,0 +1,6 @@ +perl-Devel-Trace (Print out each line before it is executed) + +If you run your program with perl -d:Trace program, this module will +print a message to standard error just before each line is executed. + +This is something like the shell's -x option. diff --git a/perl/perl-Devel-CheckLib/perl-Devel-CheckLib.SlackBuild b/perl/perl-Devel-Trace/perl-Devel-Trace.SlackBuild index 9434368ba9..2d37a17630 100644 --- a/perl/perl-Devel-CheckLib/perl-Devel-CheckLib.SlackBuild +++ b/perl/perl-Devel-Trace/perl-Devel-Trace.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash -# Slackware build script for perl-Devel-CheckLib +# Slackware build script for perl-Devel-Trace -# Copyright 2017 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2022 Jeremy Hansen jebrhansen+SBo@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,12 +21,15 @@ # 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) -SRCNAM=Devel-CheckLib -PRGNAM=perl-Devel-CheckLib -VERSION=${VERSION:-1.07} +PRGNAM=perl-Devel-Trace +VERSION=${VERSION:-0.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -36,7 +39,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -82,17 +89,19 @@ 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 -type f -perm 444 -exec chmod 0644 '{}' \; find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink ).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 TODO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes README sample \ + $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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Devel-Trace/perl-Devel-Trace.info b/perl/perl-Devel-Trace/perl-Devel-Trace.info new file mode 100644 index 0000000000..c9a1ecc107 --- /dev/null +++ b/perl/perl-Devel-Trace/perl-Devel-Trace.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Devel-Trace" +VERSION="0.12" +HOMEPAGE="https://metacpan.org/pod/Devel::Trace" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MJ/MJD/Devel-Trace-0.12.tar.gz" +MD5SUM="6cea68e7e12f99cb94c7802346f15ab3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Jeremy Hansen" +EMAIL="jebrhansen+SBo@gmail.com" diff --git a/perl/perl-Devel-Trace/slack-desc b/perl/perl-Devel-Trace/slack-desc new file mode 100644 index 0000000000..7d2cc468bf --- /dev/null +++ b/perl/perl-Devel-Trace/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-Trace: perl-Devel-Trace (Print out each line before it is executed) +perl-Devel-Trace: +perl-Devel-Trace: If you run your program with perl -d:Trace program, this module will +perl-Devel-Trace: print a message to standard error just before each line is executed. +perl-Devel-Trace: +perl-Devel-Trace: This is something like the shell's -x option. +perl-Devel-Trace: +perl-Devel-Trace: HOMEPAGE: https://metacpan.org/pod/Devel::Trace +perl-Devel-Trace: +perl-Devel-Trace: +perl-Devel-Trace: diff --git a/perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild b/perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild index 664eebe0a3..a15a0a3d0d 100644 --- a/perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild +++ b/perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Device-SerialPort # Copyright 2010 V'yacheslav Stetskevych <slava18@gmail.com> @@ -23,10 +23,13 @@ # 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-Device-SerialPort VERSION=${VERSION:-1.04} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Device-SerialPort @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -101,4 +111,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Digest-GOST/perl-Digest-GOST.SlackBuild b/perl/perl-Digest-GOST/perl-Digest-GOST.SlackBuild index b6cfad3821..c0f3ceb75c 100644 --- a/perl/perl-Digest-GOST/perl-Digest-GOST.SlackBuild +++ b/perl/perl-Digest-GOST/perl-Digest-GOST.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Digest::GOST # Home Page https://metacpan.org/pod/Digest::GOST @@ -25,11 +25,14 @@ # 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-GOST" SRCNAM="Digest-GOST" VERSION=${VERSION:-0.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Digest-MD4/README b/perl/perl-Digest-MD4/README deleted file mode 100644 index 30baf6ac25..0000000000 --- a/perl/perl-Digest-MD4/README +++ /dev/null @@ -1,4 +0,0 @@ -The Digest::MD4 module allows you to use the RSA Data Security -Inc. MD5 Message Digest algorithm from within Perl programs. The -algorithm takes as input a message of arbitrary length and produces -as output a 128-bit "fingerprint" or "message digest" of the input. diff --git a/perl/perl-Digest-MD4/perl-Digest-MD4.SlackBuild b/perl/perl-Digest-MD4/perl-Digest-MD4.SlackBuild deleted file mode 100644 index d70b1f3be5..0000000000 --- a/perl/perl-Digest-MD4/perl-Digest-MD4.SlackBuild +++ /dev/null @@ -1,98 +0,0 @@ -#!/bin/sh - -# Slackware build script for perl-Digest-MD4 - -# Copyright 2011 Robby Workman, Northport, Alabama, USA -# 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. - -PRGNAM=perl-Digest-MD4 -VERSION=${VERSION:-1.5} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 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 {} \; - -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:-tgz} diff --git a/perl/perl-Digest-MD4/perl-Digest-MD4.info b/perl/perl-Digest-MD4/perl-Digest-MD4.info deleted file mode 100644 index 61fd076ab6..0000000000 --- a/perl/perl-Digest-MD4/perl-Digest-MD4.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-Digest-MD4" -VERSION="1.5" -HOMEPAGE="https://metacpan.org/pod/Digest::MD4" -DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MI/MIKEM/DigestMD4/Digest-MD4-1.5.tar.gz" -MD5SUM="594d661c18b46a4aea97931dcaf5ce14" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Robby Workman" -EMAIL="rworkman@slackbuilds.org" diff --git a/perl/perl-Digest-MD4/slack-desc b/perl/perl-Digest-MD4/slack-desc deleted file mode 100644 index 4a2f62eedf..0000000000 --- a/perl/perl-Digest-MD4/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-Digest-MD4: perl-Digest-MD4 (Digest::MD4 perl module) -perl-Digest-MD4: -perl-Digest-MD4: The Digest::MD4 module allows you to use the RSA Data Security -perl-Digest-MD4: Inc. MD5 Message Digest algorithm from within Perl programs. The -perl-Digest-MD4: algorithm takes as input a message of arbitrary length and produces -perl-Digest-MD4: as output a 128-bit "fingerprint" or "message digest" of the input. -perl-Digest-MD4: -perl-Digest-MD4: -perl-Digest-MD4: -perl-Digest-MD4: -perl-Digest-MD4: 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-Module-Runtime/perl-Module-Runtime.SlackBuild b/perl/perl-Digest-SHA/perl-Digest-SHA.SlackBuild index d2d11f4a18..299e1f3657 100644 --- a/perl/perl-Module-Runtime/perl-Module-Runtime.SlackBuild +++ b/perl/perl-Digest-SHA/perl-Digest-SHA.SlackBuild @@ -1,11 +1,8 @@ -#!/bin/sh +#!/bin/bash -# Slackware build script for perl-Module-Runtime -# Written by David Somero <dsomero@hotmail.com> -# Derived from Slackware's Slackbuilds. +# Slackware build script for perl-digest-sha1 -# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA -# Copyright 2011 David Somero (dsomero@hotmail.com) Athens, TN, USA +# Copyright 2024 Dimitar Nikov, Alfreton, United Kingdom # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,38 +22,43 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=perl-Module-Runtime -VERSION=${VERSION:-0.015} +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Digest-SHA +VERSION=${VERSION:-6.04} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=Module-Runtime +SRC_PRGNAM=Digest-SHA if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" +DOCFILES="Changes README" + +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" 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 @@ -64,9 +66,9 @@ 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 +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 \) \ @@ -74,33 +76,36 @@ find -L . \ \( -perm 666 -o -perm 664 -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 \ +echo "y" | CFLAGS="$SLKCFLAGS" perl Makefile.PL INSTALLDIRS=vendor \ INSTALLVENDORMAN3DIR=/usr/man/man3 + make -make test 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 -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 +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:-tgz} +/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-Dist-CheckConflicts/perl-Dist-CheckConflicts.SlackBuild b/perl/perl-Dist-CheckConflicts/perl-Dist-CheckConflicts.SlackBuild index 8d365b18e3..ae906c9e12 100644 --- a/perl/perl-Dist-CheckConflicts/perl-Dist-CheckConflicts.SlackBuild +++ b/perl/perl-Dist-CheckConflicts/perl-Dist-CheckConflicts.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Dist-CheckConflicts # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-Dist-CheckConflicts VERSION=${VERSION:-0.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Dist-CheckConflicts if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Dist-CheckConflicts/perl-Dist-CheckConflicts.info b/perl/perl-Dist-CheckConflicts/perl-Dist-CheckConflicts.info index b320de4ea6..8b01647c70 100644 --- a/perl/perl-Dist-CheckConflicts/perl-Dist-CheckConflicts.info +++ b/perl/perl-Dist-CheckConflicts/perl-Dist-CheckConflicts.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DO/DOY/Dist-CheckConflicts-0.11 MD5SUM="c8725a92b9169708b0f63036812070f2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-List-MoreUtils perl-Sub-Exporter perl-Test-Fatal perl-Module-Runtime" +REQUIRES="perl-List-MoreUtils perl-Sub-Exporter perl-Test-Fatal" MAINTAINER="David Somero" EMAIL="dsomero@hotmail.com" diff --git a/perl/perl-EV/perl-EV.SlackBuild b/perl/perl-EV/perl-EV.SlackBuild index 03d286ad30..bb3c242ebc 100644 --- a/perl/perl-EV/perl-EV.SlackBuild +++ b/perl/perl-EV/perl-EV.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-EV @@ -22,10 +22,16 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220222 bkw: Modified by SlackBuilds.org: +# - fix build when libkqueue is installed. + +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-EV VERSION=${VERSION:-4.25} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +43,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -67,12 +77,13 @@ 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 \ + -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_CANARY_STABILITY_NOPROMPT=1 \ PERL_MM_USE_DEFAULT=1 \ +EV_KQUEUE=0 \ perl Makefile.PL \ PREFIX=/usr \ INSTALLDIRS=vendor \ @@ -100,4 +111,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Email-Date-Format/perl-Email-Date-Format.SlackBuild b/perl/perl-Email-Date-Format/perl-Email-Date-Format.SlackBuild index 013f6312b4..bb3d0d1be9 100644 --- a/perl/perl-Email-Date-Format/perl-Email-Date-Format.SlackBuild +++ b/perl/perl-Email-Date-Format/perl-Email-Date-Format.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Email-Date-Format # Copyright 2010 V'yacheslav Stetskevych <slava18@gmail.com> @@ -23,10 +23,13 @@ # 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-Date-Format VERSION=${VERSION:-1.005} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Email-Date-Format @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Encode-Detect/README b/perl/perl-Encode-Detect/README index f5905952ee..7f4e4833ef 100644 --- a/perl/perl-Encode-Detect/README +++ b/perl/perl-Encode-Detect/README @@ -1,4 +1,4 @@ -perl-Encode-Detect detects charset of the input data and detects it using -the encoder of the detected charsets. +perl-Encode-Detect detects charset of the input data and detects it +using the encoder of the detected charsets. This is recommended with spamassassin. diff --git a/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild b/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild index 3d8d1a8c1c..0d9aa56dd7 100644 --- a/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild +++ b/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Encode::Detect # Home Page https://metacpan.org/release/Encode-Detect @@ -26,11 +26,14 @@ # # 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} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -106,4 +116,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Encode-EUCJPASCII/README b/perl/perl-Encode-EUCJPASCII/README index e8a5d73dec..4a8b3d0c44 100644 --- a/perl/perl-Encode-EUCJPASCII/README +++ b/perl/perl-Encode-EUCJPASCII/README @@ -1,5 +1,5 @@ -perl-Encode-EUCJPASCII (An eucJP-open mapping) +perl-Encode-EUCJPASCII (eucJP-open mapping) -Extended mappings by Japanese codepages +Perl module that provides extended mappings for Japanese codepages. This perl package is an optional dependency of perl-MIME-Charset. diff --git a/perl/perl-Encode-EUCJPASCII/perl-Encode-EUCJPASCII.SlackBuild b/perl/perl-Encode-EUCJPASCII/perl-Encode-EUCJPASCII.SlackBuild index 476ef1e976..59d6b0e00c 100644 --- a/perl/perl-Encode-EUCJPASCII/perl-Encode-EUCJPASCII.SlackBuild +++ b/perl/perl-Encode-EUCJPASCII/perl-Encode-EUCJPASCII.SlackBuild @@ -1,60 +1,47 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Encode-EUCJPASCII -# Copyright 2014 Didier Spaier, Paris, France -# 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. +# Originally written by Didier Spaier, Paris, France +# Now maintained by B. Watson (urchlay@slackware.uk) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +# 20220110 bkw: +# - take over maintenance. +# - relicense as WTFPL, with permission from Didier. +# - simplify build. +# - minor README and slack-desc tweaks. + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Encode-EUCJPASCII VERSION=${VERSION:-0.03} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 +# No need for SLKCFLAGS here: the generated Makefile will use the +# correct lib|lib64 dir, and the CFLAGS perl was compiled with. set -e @@ -65,25 +52,19 @@ 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 +make LD="cc -Wl,-s" 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 -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 @@ -94,4 +75,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Encode-EUCJPASCII/perl-Encode-EUCJPASCII.info b/perl/perl-Encode-EUCJPASCII/perl-Encode-EUCJPASCII.info index a969899074..5e1aa05272 100644 --- a/perl/perl-Encode-EUCJPASCII/perl-Encode-EUCJPASCII.info +++ b/perl/perl-Encode-EUCJPASCII/perl-Encode-EUCJPASCII.info @@ -6,5 +6,5 @@ MD5SUM="5daa65f55b7c2050bb0713d9e95f239d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Didier Spaier" -EMAIL="didier at slint dot fr" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-Encode-EUCJPASCII/slack-desc b/perl/perl-Encode-EUCJPASCII/slack-desc index 55b8d3bee9..5c5fa387f5 100644 --- a/perl/perl-Encode-EUCJPASCII/slack-desc +++ b/perl/perl-Encode-EUCJPASCII/slack-desc @@ -6,11 +6,11 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -perl-Encode-EUCJPASCII: perl-Encode-EUCJPASCII (An eucJP-open mapping) +perl-Encode-EUCJPASCII: perl-Encode-EUCJPASCII (eucJP-open mapping) perl-Encode-EUCJPASCII: -perl-Encode-EUCJPASCII: Extended mappings by Japanese codepages +perl-Encode-EUCJPASCII: Perl module that provides extended mappings for Japanese codepages. perl-Encode-EUCJPASCII: -perl-Encode-EUCJPASCII: homepage: https://metacpan.org/release/NEZUMI/Encode-EUCJPASCII-0.03 +perl-Encode-EUCJPASCII: This perl package is an optional dependency of perl-MIME-Charset. perl-Encode-EUCJPASCII: perl-Encode-EUCJPASCII: perl-Encode-EUCJPASCII: diff --git a/perl/perl-Encode-HanExtra/README b/perl/perl-Encode-HanExtra/README index f1556c1513..5ecf475858 100644 --- a/perl/perl-Encode-HanExtra/README +++ b/perl/perl-Encode-HanExtra/README @@ -1,4 +1,4 @@ perl-Encode-HanExtra (Extra sets of Chinese encodings) -Encode::HanExtra provides a set of Chinese encodings besides that -comlement those already shipped in perl 5.7.3 and later. +Encode::HanExtra provides a set of extra Chinese encodings that +complement those already shipped with perl 5.7.3 and later. diff --git a/perl/perl-Encode-HanExtra/perl-Encode-HanExtra.SlackBuild b/perl/perl-Encode-HanExtra/perl-Encode-HanExtra.SlackBuild index bc6c20361a..90732d7394 100644 --- a/perl/perl-Encode-HanExtra/perl-Encode-HanExtra.SlackBuild +++ b/perl/perl-Encode-HanExtra/perl-Encode-HanExtra.SlackBuild @@ -1,60 +1,38 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Encode-HanExtra -# Copyright 2014 Didier Spaier, Paris, France -# 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. +# Originally written 2014 Didier Spaier, Paris, France +# Now maintained 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-Encode-HanExtra VERSION=${VERSION:-0.23} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 @@ -64,28 +42,20 @@ 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 +make LD="cc -Wl,-s" make test 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 {} \; -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 -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 @@ -96,4 +66,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Encode-HanExtra/perl-Encode-HanExtra.info b/perl/perl-Encode-HanExtra/perl-Encode-HanExtra.info index 5ac75e8168..a1330d5f99 100644 --- a/perl/perl-Encode-HanExtra/perl-Encode-HanExtra.info +++ b/perl/perl-Encode-HanExtra/perl-Encode-HanExtra.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AU/AUDREYT/Encode-HanExtra-0.23 MD5SUM="e1d3bc32c1c8ee304235a06fbcd5d5a4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Didier Spaier" -EMAIL="didier at slint dot fr" +REQUIRES="perl-Module-Install" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-Encode-HanExtra/slack-desc b/perl/perl-Encode-HanExtra/slack-desc index 6939eb9757..89feb036d1 100644 --- a/perl/perl-Encode-HanExtra/slack-desc +++ b/perl/perl-Encode-HanExtra/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| perl-Encode-HanExtra: perl-Encode-HanExtra (Extra sets of Chinese encodings) perl-Encode-HanExtra: -perl-Encode-HanExtra: Encode::HanExtra provides a set of Chinese encodings besides that -perl-Encode-HanExtra: comlement those already shipped in perl 5.7.3 and later +perl-Encode-HanExtra: Encode::HanExtra provides a set of extra Chinese encodings that +perl-Encode-HanExtra: complement those already shipped with perl 5.7.3 and later. +perl-Encode-HanExtra: +perl-Encode-HanExtra: +perl-Encode-HanExtra: +perl-Encode-HanExtra: perl-Encode-HanExtra: -perl-Encode-HanExtra: If you are using Perl 5.8 or later, Encode::CN and Encode::TW will -perl-Encode-HanExtra: automatically load the extra encodings for you, so there's no need to -perl-Encode-HanExtra: explicitly write "use Encode::HanExtra" if you are using one of them -perl-Encode-HanExtra: already. perl-Encode-HanExtra: perl-Encode-HanExtra: diff --git a/perl/perl-Encode-ISO2022/README b/perl/perl-Encode-ISO2022/README index 4d2a4ba4a1..6e8fbaf206 100644 --- a/perl/perl-Encode-ISO2022/README +++ b/perl/perl-Encode-ISO2022/README @@ -1,10 +1,10 @@ -perl-Encode-ISO2022 - JISO/IEC 2022 character encoding scheme and -associated modules. +perl-Encode-ISO2022 (JISO/IEC 2022 character encoding scheme) This perl package provides following modules: + Encode::ISO2022 ISO/IEC 2022 character encoding scheme -Encode::ISO2022JP2 iso-2022-jp-2 - Extended iso-2022-jp charsset -Encode::ISOIRSingle ISO-IR single byte coded charcter sets +Encode::ISO2022JP2 iso-2022-jp-2 - Extended iso-2022-jp charset +Encode::ISOIRSingle ISO-IR single byte coded character sets Encode::JISLegacy Coded character sets for legacy JIS Module Encode::ISO2022 is a dependency of perl-Encode-JISX0213. diff --git a/perl/perl-Encode-ISO2022/perl-Encode-ISO2022.SlackBuild b/perl/perl-Encode-ISO2022/perl-Encode-ISO2022.SlackBuild index 1951824fe1..a03a5f25f9 100644 --- a/perl/perl-Encode-ISO2022/perl-Encode-ISO2022.SlackBuild +++ b/perl/perl-Encode-ISO2022/perl-Encode-ISO2022.SlackBuild @@ -1,60 +1,45 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Encode-ISO2022 -# Copyright 2014 Didier Spaier, Paris, France -# 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. +# Originally written 2014 Didier Spaier, Paris, France +# Now maintained by B. Watson (urchlay@slackware.uk) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +# 20220110 bkw: +# - take over maintenance. +# - simplify build. +# - tweak README and slack-desc. + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Encode-ISO2022 VERSION=${VERSION:-0.04} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 +# No need for SLKCFLAGS. set -e @@ -65,28 +50,20 @@ 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 +make LD="cc -Wl,-s" make test 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 {} \; -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 -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 @@ -97,4 +74,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Encode-ISO2022/perl-Encode-ISO2022.info b/perl/perl-Encode-ISO2022/perl-Encode-ISO2022.info index e1164a04a5..ca930446a4 100644 --- a/perl/perl-Encode-ISO2022/perl-Encode-ISO2022.info +++ b/perl/perl-Encode-ISO2022/perl-Encode-ISO2022.info @@ -6,5 +6,5 @@ MD5SUM="f3b0717b470961da808d871362bf1c5f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Didier Spaier" -EMAIL="didier at slint dot fr" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-Encode-ISO2022/slack-desc b/perl/perl-Encode-ISO2022/slack-desc index 693ed74631..24932f6ee3 100644 --- a/perl/perl-Encode-ISO2022/slack-desc +++ b/perl/perl-Encode-ISO2022/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| perl-Encode-ISO2022: perl-Encode-ISO2022 (JISO/IEC 2022 character encoding scheme) perl-Encode-ISO2022: -perl-Encode-ISO2022: perl-Encode-ISO2022: This perl package provides following modules: +perl-Encode-ISO2022: perl-Encode-ISO2022: Encode::ISO2022 ISO/IEC 2022 character encoding scheme -perl-Encode-ISO2022: Encode::ISO2022JP2 iso-2022-jp-2 - Extended iso-2022-jp charsset -perl-Encode-ISO2022: Encode::ISOIRSingle ISO-IR single byte coded charcter sets +perl-Encode-ISO2022: Encode::ISO2022JP2 iso-2022-jp-2 - Extended iso-2022-jp charset +perl-Encode-ISO2022: Encode::ISOIRSingle ISO-IR single byte coded character sets perl-Encode-ISO2022: Encode::JISLegacy Coded character sets for legacy JIS perl-Encode-ISO2022: -perl-Encode-ISO2022: +perl-Encode-ISO2022: Module Encode::ISO2022 is a dependency of perl-Encode-JISX0213. perl-Encode-ISO2022: diff --git a/perl/perl-Encode-JISX0213/README b/perl/perl-Encode-JISX0213/README index 085004447d..a54e92e852 100644 --- a/perl/perl-Encode-JISX0213/README +++ b/perl/perl-Encode-JISX0213/README @@ -1,9 +1,10 @@ -perl-Encode-JISXO213 - JIS X 02I3 encodings, coded character sets and -Annex 1 encoding +perl-Encode-JISX0213 (JIS X 0213 encodings for perl) This perl package provides following modules: + Encode::JISX0213 JIS X 0213 encodings Encode::JISX0213::CCS JIS X 0213 coded character sets Encode::ShiftJIS2004 shift_jis-2004 - JIS X 0213 Annex 1 encoding -Module Encode::JISX0213 is an optional dependency of of perl-MIME-Charset. +Module Encode::JISX0213 is an optional dependency of of +perl-MIME-Charset. diff --git a/perl/perl-Encode-JISX0213/perl-Encode-JISX0213.SlackBuild b/perl/perl-Encode-JISX0213/perl-Encode-JISX0213.SlackBuild index f24b22d1bb..5b402ca917 100644 --- a/perl/perl-Encode-JISX0213/perl-Encode-JISX0213.SlackBuild +++ b/perl/perl-Encode-JISX0213/perl-Encode-JISX0213.SlackBuild @@ -1,61 +1,45 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Encode-JISX0213 -# Copyright 2014 Didier Spaier, Paris, France -# 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. +# Originally written 2014 Didier Spaier, Paris, France +# Now maintained by B. Watson (urchlay@slackware.uk) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +# 20220110 bkw: +# - take over maintenance. +# - relicense as WTFPL with permission from Didier. +# - simplify build. +# - tweak README and slack-desc. + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Encode-JISX0213 VERSION=${VERSION:-0.04} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 @@ -65,28 +49,20 @@ 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 +make LD="cc -Wl,-s" make test 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 {} \; -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 -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 @@ -97,4 +73,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Encode-JISX0213/perl-Encode-JISX0213.info b/perl/perl-Encode-JISX0213/perl-Encode-JISX0213.info index 995c21e243..b4d8aae1a0 100644 --- a/perl/perl-Encode-JISX0213/perl-Encode-JISX0213.info +++ b/perl/perl-Encode-JISX0213/perl-Encode-JISX0213.info @@ -6,5 +6,5 @@ MD5SUM="d2d8ec4ebff4d44c40fe8d11d961f2b8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Encode-ISO2022" -MAINTAINER="Didier Spaier" -EMAIL="didier at slint dot fr" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-Encode-JISX0213/slack-desc b/perl/perl-Encode-JISX0213/slack-desc index ced925181f..d636c7928e 100644 --- a/perl/perl-Encode-JISX0213/slack-desc +++ b/perl/perl-Encode-JISX0213/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -perl-Encode-JISX0213: perl-Encode-JISX0213 (JIS X 02I3 encoding) -perl-Encode-JISX0213: +perl-Encode-JISX0213: perl-Encode-JISX0213 (JIS X 0213 encodings for perl) perl-Encode-JISX0213: perl-Encode-JISX0213: This perl package provides following modules: +perl-Encode-JISX0213: perl-Encode-JISX0213: Encode::JISX0213 JIS X 0213 encodings perl-Encode-JISX0213: Encode::JISX0213::CCS JIS X 0213 coded character sets perl-Encode-JISX0213: Encode::ShiftJIS2004 shift_jis-2004 - JIS X 0213 Annex 1 encoding perl-Encode-JISX0213: -perl-Encode-JISX0213: -perl-Encode-JISX0213: +perl-Encode-JISX0213: Module Encode::JISX0213 is an optional dependency of of +perl-Encode-JISX0213: perl-MIME-Charset. perl-Encode-JISX0213: 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-rename/perl-rename.SlackBuild b/perl/perl-Error/perl-Error.SlackBuild index 25dc3773bf..1fe0c8e036 100644 --- a/perl/perl-rename/perl-rename.SlackBuild +++ b/perl/perl-Error/perl-Error.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash -# Slackware build script for perl-rename +# Slackware build script for perl-Error -# Copyright 2017 Azure Zanculmarktum <zanculmarktum@gmail.com> +# Copyright 2024 pyllyukko # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=perl-rename -VERSION=${VERSION:-1.9} +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-)" @@ -37,7 +40,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -51,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="" @@ -80,10 +90,6 @@ make make test make install DESTDIR=$PKG -# Fix name as it will conflicts with util-linux's rename -mv $PKG/usr/man/man1/rename.1 $PKG/usr/man/man1/$PRGNAM.1 -mv $PKG/usr/bin/rename $PKG/usr/bin/$PRGNAM - 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 @@ -92,15 +98,16 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r 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.md $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:-tgz} +/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-Eval-Closure/perl-Eval-Closure.SlackBuild b/perl/perl-Eval-Closure/perl-Eval-Closure.SlackBuild index 690dd2dffb..0924878cb7 100644 --- a/perl/perl-Eval-Closure/perl-Eval-Closure.SlackBuild +++ b/perl/perl-Eval-Closure/perl-Eval-Closure.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Eval-Closure @@ -22,10 +22,13 @@ # 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-Eval-Closure VERSION=${VERSION:-0.14} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Exception-Class/perl-Exception-Class.SlackBuild b/perl/perl-Exception-Class/perl-Exception-Class.SlackBuild index d7e255ae96..ed6eb3f58c 100644 --- a/perl/perl-Exception-Class/perl-Exception-Class.SlackBuild +++ b/perl/perl-Exception-Class/perl-Exception-Class.SlackBuild @@ -1,32 +1,42 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Exception-Class # This is in the public domain. # Written by LEVAI Daniel +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Exception-Class VERSION=${VERSION:-1.41} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -82,4 +92,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Expect/perl-Expect.SlackBuild b/perl/perl-Expect/perl-Expect.SlackBuild index 2f08eeaf41..751904471b 100644 --- a/perl/perl-Expect/perl-Expect.SlackBuild +++ b/perl/perl-Expect/perl-Expect.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Expect @@ -22,10 +22,13 @@ # 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-Expect -VERSION=${VERSION:-1.35} +VERSION=${VERSION:-1.38} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Tiny/perl-Exporter-Tiny.SlackBuild b/perl/perl-Exporter-Tiny/perl-Exporter-Tiny.SlackBuild index 3e5d3c4646..a0c97309a9 100644 --- a/perl/perl-Exporter-Tiny/perl-Exporter-Tiny.SlackBuild +++ b/perl/perl-Exporter-Tiny/perl-Exporter-Tiny.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Try-Tiny # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-Tiny VERSION=${VERSION:-1.000000} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Exporter-Tiny if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-ExtUtils-CChecker/README b/perl/perl-ExtUtils-CChecker/README new file mode 100644 index 0000000000..6370864a7c --- /dev/null +++ b/perl/perl-ExtUtils-CChecker/README @@ -0,0 +1,2 @@ +Perl configure-time utilities for using C headers, libraries, or OS +features. diff --git a/perl/perl-PerlIO-Layers/perl-PerlIO-Layers.SlackBuild b/perl/perl-ExtUtils-CChecker/perl-ExtUtils-CChecker.SlackBuild index 96d48d8d69..928d65f14d 100644 --- a/perl/perl-PerlIO-Layers/perl-PerlIO-Layers.SlackBuild +++ b/perl/perl-ExtUtils-CChecker/perl-ExtUtils-CChecker.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash -# Slackware build script for perl-PerlIO-Layers +# Slackware build script for perl-ExtUtils-CChecker -# Copyright 2012-15 Glenn Becker <glenn.becker@gmail.com> +# Copyright 2022 Nicholas Hubbard <nicholashubbard@posteo.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,40 +22,30 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=perl-PerlIO-Layers -VERSION=${VERSION:-0.011} +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-ExtUtils-CChecker +VERSION=${VERSION:-0.11} 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=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac +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 -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 @@ -66,20 +56,18 @@ 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 Build.PL \ - prefix=/usr \ - installdirs=vendor \ - destdir=$PKG -./Build -./Build test -./Build install \ - --install_path bindoc=/usr/man/man1 \ + --prefix=/usr \ + --installdirs=vendor \ --install_path libdoc=/usr/man/man3 +perl Build +perl Build test +perl 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 @@ -93,7 +81,7 @@ find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - Changes LICENSE README \ + Changes LICENSE README* \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -101,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-ExtUtils-CChecker/perl-ExtUtils-CChecker.info b/perl/perl-ExtUtils-CChecker/perl-ExtUtils-CChecker.info new file mode 100644 index 0000000000..01f49fbc23 --- /dev/null +++ b/perl/perl-ExtUtils-CChecker/perl-ExtUtils-CChecker.info @@ -0,0 +1,10 @@ +PRGNAM="perl-ExtUtils-CChecker" +VERSION="0.11" +HOMEPAGE="https://metacpan.org/release/PEVANS/ExtUtils-CChecker-0.11/view/lib/ExtUtils/CChecker.pm" +DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/ExtUtils-CChecker-0.11.tar.gz" +MD5SUM="6c40b0aa26907aed861288808dee755c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Module-Build perl-Test-Fatal" +MAINTAINER="Nicholas Hubbard" +EMAIL="nicholashubbard@posteo.net" diff --git a/perl/perl-PHP-Serialization/slack-desc b/perl/perl-ExtUtils-CChecker/slack-desc index 12e9010cb8..36a7ca814d 100644 --- a/perl/perl-PHP-Serialization/slack-desc +++ b/perl/perl-ExtUtils-CChecker/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -perl-PHP-Serialization: perl-PHP-Serialization (convert PHP's serialize() -perl-PHP-Serialization: -perl-PHP-Serialization: Provides a simple, quick means of serializing perl memory -perl-PHP-Serialization: structures (including object data) into a format that PHP can -perl-PHP-Serialization: deserialize() and access, and vice versa. -perl-PHP-Serialization: -perl-PHP-Serialization: -perl-PHP-Serialization: -perl-PHP-Serialization: -perl-PHP-Serialization: -perl-PHP-Serialization: +perl-ExtUtils-CChecker: perl-ExtUtils-CChecker (ExtUtils::CChecker) +perl-ExtUtils-CChecker: +perl-ExtUtils-CChecker: Perl configure-time utilities for using C headers, libraries, or OS +perl-ExtUtils-CChecker: features. +perl-ExtUtils-CChecker: +perl-ExtUtils-CChecker: +perl-ExtUtils-CChecker: +perl-ExtUtils-CChecker: +perl-ExtUtils-CChecker: +perl-ExtUtils-CChecker: +perl-ExtUtils-CChecker: diff --git a/perl/perl-ExtUtils-Config/perl-ExtUtils-Config.SlackBuild b/perl/perl-ExtUtils-Config/perl-ExtUtils-Config.SlackBuild index d1d434dc70..122fa97d39 100644 --- a/perl/perl-ExtUtils-Config/perl-ExtUtils-Config.SlackBuild +++ b/perl/perl-ExtUtils-Config/perl-ExtUtils-Config.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-ExtUtils-Config @@ -22,28 +22,38 @@ # 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-ExtUtils-Config VERSION=${VERSION:-0.008} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-ExtUtils-Helpers/perl-ExtUtils-Helpers.SlackBuild b/perl/perl-ExtUtils-Helpers/perl-ExtUtils-Helpers.SlackBuild index 0677eb1d14..0726c567fe 100644 --- a/perl/perl-ExtUtils-Helpers/perl-ExtUtils-Helpers.SlackBuild +++ b/perl/perl-ExtUtils-Helpers/perl-ExtUtils-Helpers.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-ExtUtils-Helpers @@ -22,10 +22,13 @@ # 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-ExtUtils-Helpers VERSION=${VERSION:-0.026} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-ExtUtils-Install/README b/perl/perl-ExtUtils-Install/README index cb45a28bed..e4253ae60d 100644 --- a/perl/perl-ExtUtils-Install/README +++ b/perl/perl-ExtUtils-Install/README @@ -3,6 +3,6 @@ perl-ExtUtils-Install (install files from here to there) ExtUtils::Install - Handles the installing and uninstalling of perl modules, scripts, man pages, etc... -Both install() and uninstall() are specific to the way ExtUtils::MakeMaker -handles the installation and deinstallation of perl modules. They are -not designed as general purpose tools. +Both install() and uninstall() are specific to the way +ExtUtils::MakeMaker handles the installation and deinstallation of +perl modules. They are not designed as general purpose tools. diff --git a/perl/perl-ExtUtils-Install/perl-ExtUtils-Install.SlackBuild b/perl/perl-ExtUtils-Install/perl-ExtUtils-Install.SlackBuild index 9f609a6275..076ad28bb2 100644 --- a/perl/perl-ExtUtils-Install/perl-ExtUtils-Install.SlackBuild +++ b/perl/perl-ExtUtils-Install/perl-ExtUtils-Install.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-ExtUtils-Install. # @@ -22,10 +22,13 @@ # 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-ExtUtils-Install -VERSION=${VERSION:-2.14} +VERSION=${VERSION:-2.20} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -95,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-ExtUtils-Install/perl-ExtUtils-Install.info b/perl/perl-ExtUtils-Install/perl-ExtUtils-Install.info index 3f14495167..32509e9e83 100644 --- a/perl/perl-ExtUtils-Install/perl-ExtUtils-Install.info +++ b/perl/perl-ExtUtils-Install/perl-ExtUtils-Install.info @@ -1,8 +1,8 @@ PRGNAM="perl-ExtUtils-Install" -VERSION="2.14" +VERSION="2.20" HOMEPAGE="https://metacpan.org/pod/ExtUtils::Install" -DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BI/BINGOS/ExtUtils-Install-2.14.tar.gz" -MD5SUM="ae6af2689daa6f8c2d01d04a28ab0ef0" +DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BI/BINGOS/ExtUtils-Install-2.20.tar.gz" +MD5SUM="8e28404be69b47b2350eb09b21474de2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-ExtUtils-InstallPaths/perl-ExtUtils-InstallPaths.SlackBuild b/perl/perl-ExtUtils-InstallPaths/perl-ExtUtils-InstallPaths.SlackBuild index ffb189ff76..ec5ab5a341 100644 --- a/perl/perl-ExtUtils-InstallPaths/perl-ExtUtils-InstallPaths.SlackBuild +++ b/perl/perl-ExtUtils-InstallPaths/perl-ExtUtils-InstallPaths.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-ExtUtils-InstallPaths @@ -22,10 +22,13 @@ # 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-ExtUtils-InstallPaths VERSION=${VERSION:-0.012} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-ExtUtils-ModuleMaker/README b/perl/perl-ExtUtils-ModuleMaker/README index cda5bc21b7..21a7595e00 100644 --- a/perl/perl-ExtUtils-ModuleMaker/README +++ b/perl/perl-ExtUtils-ModuleMaker/README @@ -1,6 +1,7 @@ perl-ExtUtils-ModuleMaker (Better than h2xs for creating modules). -This module is a replacement for the most typical use of the h2xs utility -bundled with all Perl distributions: the creation of the directories -and files required for a pure-Perl module to be installable with make -and distributable on the Comprehensive Perl Archive Network (CPAN). +This module is a replacement for the most typical use of the +h2xs utility bundled with all Perl distributions: the creation of +the directories and files required for a pure-Perl module to be +installable with make and distributable on the Comprehensive Perl +Archive Network (CPAN). diff --git a/perl/perl-ExtUtils-ModuleMaker/perl-ExtUtils-ModuleMaker.SlackBuild b/perl/perl-ExtUtils-ModuleMaker/perl-ExtUtils-ModuleMaker.SlackBuild index 5e1569c089..93f17b22b0 100644 --- a/perl/perl-ExtUtils-ModuleMaker/perl-ExtUtils-ModuleMaker.SlackBuild +++ b/perl/perl-ExtUtils-ModuleMaker/perl-ExtUtils-ModuleMaker.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-ExtUtils-ModuleMaker. # @@ -22,10 +22,13 @@ # 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-ExtUtils-ModuleMaker VERSION=${VERSION:-0.63} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-ExtUtils-XSBuilder/perl-ExtUtils-XSBuilder.SlackBuild b/perl/perl-ExtUtils-XSBuilder/perl-ExtUtils-XSBuilder.SlackBuild index 12d76a5f8d..d7da75c1bb 100644 --- a/perl/perl-ExtUtils-XSBuilder/perl-ExtUtils-XSBuilder.SlackBuild +++ b/perl/perl-ExtUtils-XSBuilder/perl-ExtUtils-XSBuilder.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-ExtUtils-XSBuilder @@ -22,10 +22,13 @@ # 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-ExtUtils-XSBuilder VERSION=${VERSION:-0.28} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=ExtUtils-XSBuilder @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -93,4 +103,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-FCGI/perl-FCGI.SlackBuild b/perl/perl-FCGI/perl-FCGI.SlackBuild index 389ece38d2..8cb2e65323 100644 --- a/perl/perl-FCGI/perl-FCGI.SlackBuild +++ b/perl/perl-FCGI/perl-FCGI.SlackBuild @@ -1,30 +1,56 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-FCGI -# Written by Thomas Morper <thomas@beingboiled.info> + +# Copyright 2012-2022, 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-FCGI -VERSION=${VERSION:-0.77} +VERSION=${VERSION:-0.82} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=$(echo $PRGNAM | cut -f2- -d-) +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -47,33 +73,33 @@ 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 | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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" -empty | xargs rm -f || true +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 +chmod -c 0644 LICENSE cp -a \ - ChangeLog LICENSE.TERMS MANIFEST README \ + ChangeLog LICENSE MANIFEST README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -81,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-FCGI/perl-FCGI.info b/perl/perl-FCGI/perl-FCGI.info index 37e9227f91..417d85591b 100644 --- a/perl/perl-FCGI/perl-FCGI.info +++ b/perl/perl-FCGI/perl-FCGI.info @@ -1,8 +1,8 @@ PRGNAM="perl-FCGI" -VERSION="0.77" +VERSION="0.82" HOMEPAGE="https://metacpan.org/pod/FCGI" -DOWNLOAD="http://cpan.metacpan.org/authors/id/E/ET/ETHER/FCGI-0.77.tar.gz" -MD5SUM="8d88f0fe90f05973522813263b0be39b" +DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/FCGI-0.82.tar.gz" +MD5SUM="f51a6cb522c0ff25043281532ad0479f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-Feature-Compat-Try/README b/perl/perl-Feature-Compat-Try/README new file mode 100644 index 0000000000..005d15b487 --- /dev/null +++ b/perl/perl-Feature-Compat-Try/README @@ -0,0 +1 @@ +Make try/catch syntax available in Perl. diff --git a/perl/perl-Feature-Compat-Try/perl-Feature-Compat-Try.SlackBuild b/perl/perl-Feature-Compat-Try/perl-Feature-Compat-Try.SlackBuild new file mode 100644 index 0000000000..3987b1d9e2 --- /dev/null +++ b/perl/perl-Feature-Compat-Try/perl-Feature-Compat-Try.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/bash + +# Slackware build script for perl-Feature-Compat-Try + +# Copyright 2022 Nicholas Hubbard <nicholashubbard@posteo.net> +# 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-Feature-Compat-Try +VERSION=${VERSION:-0.05} +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 +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 \ + --prefix=/usr \ + --installdirs=vendor \ + --install_path libdoc=/usr/man/man3 +perl Build +perl Build test +perl 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-Feature-Compat-Try/perl-Feature-Compat-Try.info b/perl/perl-Feature-Compat-Try/perl-Feature-Compat-Try.info new file mode 100644 index 0000000000..24442d7edb --- /dev/null +++ b/perl/perl-Feature-Compat-Try/perl-Feature-Compat-Try.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Feature-Compat-Try" +VERSION="0.05" +HOMEPAGE="https://metacpan.org/pod/Feature::Compat::Try" +DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Feature-Compat-Try-0.05.tar.gz" +MD5SUM="a932c00e6591e3a823d3622fff8475e3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Syntax-Keyword-Try" +MAINTAINER="Nicholas Hubbard" +EMAIL="nicholashubbard@posteo.net" diff --git a/perl/perl-Feature-Compat-Try/slack-desc b/perl/perl-Feature-Compat-Try/slack-desc new file mode 100644 index 0000000000..79a9588313 --- /dev/null +++ b/perl/perl-Feature-Compat-Try/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-Feature-Compat-Try: perl-Feature-Compat-Try (Feature::Compat::Try) +perl-Feature-Compat-Try: +perl-Feature-Compat-Try: Make try/catch syntax available in Perl. +perl-Feature-Compat-Try: +perl-Feature-Compat-Try: +perl-Feature-Compat-Try: +perl-Feature-Compat-Try: +perl-Feature-Compat-Try: +perl-Feature-Compat-Try: +perl-Feature-Compat-Try: +perl-Feature-Compat-Try: 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-File-Copy-Recursive-Reduced/perl-File-Copy-Recursive-Reduced.SlackBuild b/perl/perl-File-Copy-Recursive-Reduced/perl-File-Copy-Recursive-Reduced.SlackBuild new file mode 100644 index 0000000000..98b4c29ca9 --- /dev/null +++ b/perl/perl-File-Copy-Recursive-Reduced/perl-File-Copy-Recursive-Reduced.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/bash + +# Slackware build script for perl-File-Copy-Recursive-Reduced + +# 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-File-Copy-Recursive-Reduced +VERSION=${VERSION:-0.006} +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 \ + 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 LICENSE $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-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-Copy-Recursive/README b/perl/perl-File-Copy-Recursive/README index 8ed8f56dc6..0abc0859bf 100644 --- a/perl/perl-File-Copy-Recursive/README +++ b/perl/perl-File-Copy-Recursive/README @@ -1,3 +1,3 @@ -This module copies and moves directories recursively (or single files, well... -singly) to an optional depth and attempts to preserve each file or directory's -mode. +This module copies and moves directories recursively (or single files, +well... singly) to an optional depth and attempts to preserve each +file or directory's mode. diff --git a/perl/perl-File-Copy-Recursive/perl-File-Copy-Recursive.SlackBuild b/perl/perl-File-Copy-Recursive/perl-File-Copy-Recursive.SlackBuild index 9f0205cc14..d76a7ca4c2 100644 --- a/perl/perl-File-Copy-Recursive/perl-File-Copy-Recursive.SlackBuild +++ b/perl/perl-File-Copy-Recursive/perl-File-Copy-Recursive.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-File-Copy-Recursive @@ -22,10 +22,13 @@ # 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-Copy-Recursive VERSION=${VERSION:-0.44} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -95,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-File-Copy-Recursive/perl-File-Copy-Recursive.info b/perl/perl-File-Copy-Recursive/perl-File-Copy-Recursive.info index 27b655eb89..d2138329bd 100644 --- a/perl/perl-File-Copy-Recursive/perl-File-Copy-Recursive.info +++ b/perl/perl-File-Copy-Recursive/perl-File-Copy-Recursive.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DM/DMUEY/File-Copy-Recursive-0. MD5SUM="6a89eb075d15df85da1778755c72ba6b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Test-Deep perl-Test-File perl-Path-Tiny perl-Test-Warnings perl-Test-Fatal" +REQUIRES="perl-Test-Deep perl-Test-File perl-Test-Warnings perl-Test-Fatal" MAINTAINER="Andreas Guldstrand" EMAIL="andreas.guldstrand@gmail.com" 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-Find-Rule/perl-File-Find-Rule.SlackBuild b/perl/perl-File-Find-Rule/perl-File-Find-Rule.SlackBuild index f8750d2f4d..a34d9044ed 100644 --- a/perl/perl-File-Find-Rule/perl-File-Find-Rule.SlackBuild +++ b/perl/perl-File-Find-Rule/perl-File-Find-Rule.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-File-Find-Rule @@ -22,28 +22,38 @@ # 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-Find-Rule VERSION=${VERSION:-0.34} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-File-Finder/README b/perl/perl-File-Finder/README index 38d85815f9..378a209627 100644 --- a/perl/perl-File-Finder/README +++ b/perl/perl-File-Finder/README @@ -1,3 +1,3 @@ -File::Find is great, but constructing the wanted routine can sometimes be a -pain. This module provides a wanted-writer, using syntax that is directly -mappable to the find command's syntax. +File::Find is great, but constructing the wanted routine can sometimes +be a pain. This module provides a wanted-writer, using syntax that is +directly mappable to the find command's syntax. diff --git a/perl/perl-File-Finder/perl-File-Finder.SlackBuild b/perl/perl-File-Finder/perl-File-Finder.SlackBuild index b371d15adf..d2cf31e3b3 100644 --- a/perl/perl-File-Finder/perl-File-Finder.SlackBuild +++ b/perl/perl-File-Finder/perl-File-Finder.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-File-Finder @@ -22,28 +22,38 @@ # 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-Finder 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-File-Grep/perl-File-Grep.SlackBuild b/perl/perl-File-Grep/perl-File-Grep.SlackBuild index b6d909fddf..7b4473f555 100644 --- a/perl/perl-File-Grep/perl-File-Grep.SlackBuild +++ b/perl/perl-File-Grep/perl-File-Grep.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-File-Grep @@ -22,16 +22,26 @@ # 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-Grep VERSION=${VERSION:-0.02} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -76,4 +86,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-File-HomeDir/perl-File-HomeDir.SlackBuild b/perl/perl-File-HomeDir/perl-File-HomeDir.SlackBuild index 0bfe5b1329..001fafafa3 100644 --- a/perl/perl-File-HomeDir/perl-File-HomeDir.SlackBuild +++ b/perl/perl-File-HomeDir/perl-File-HomeDir.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for File-HomeDir @@ -22,22 +22,32 @@ # 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-HomeDir -VERSION=${VERSION:-1.00} +VERSION=${VERSION:-1.006} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -73,11 +83,11 @@ 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 -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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-File-HomeDir/perl-File-HomeDir.info b/perl/perl-File-HomeDir/perl-File-HomeDir.info index d6f00bebaf..e46e94bc9f 100644 --- a/perl/perl-File-HomeDir/perl-File-HomeDir.info +++ b/perl/perl-File-HomeDir/perl-File-HomeDir.info @@ -1,8 +1,8 @@ PRGNAM="perl-File-HomeDir" -VERSION="1.00" +VERSION="1.006" HOMEPAGE="https://metacpan.org/pod/File::HomeDir" -DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AD/ADAMK/File-HomeDir-1.00.tar.gz" -MD5SUM="aa290cab9db52e2f76280fd1febf794e" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/File-HomeDir-1.006.tar.gz" +MD5SUM="3a59f74d227fdf97b2af908a2d4fee05" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-File-Which" diff --git a/perl/perl-File-Inplace/perl-File-Inplace.SlackBuild b/perl/perl-File-Inplace/perl-File-Inplace.SlackBuild index 71f20421af..3f2167d645 100644 --- a/perl/perl-File-Inplace/perl-File-Inplace.SlackBuild +++ b/perl/perl-File-Inplace/perl-File-Inplace.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-File-Inplace @@ -22,10 +22,13 @@ # 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-Inplace VERSION=${VERSION:-0.20} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-File-ReadBackwards/perl-File-ReadBackwards.SlackBuild b/perl/perl-File-ReadBackwards/perl-File-ReadBackwards.SlackBuild index 6eaf68cef9..605bd4697e 100644 --- a/perl/perl-File-ReadBackwards/perl-File-ReadBackwards.SlackBuild +++ b/perl/perl-File-ReadBackwards/perl-File-ReadBackwards.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for File-ReadBackwards @@ -23,10 +23,13 @@ # 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-ReadBackwards VERSION=${VERSION:-1.05} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -81,4 +91,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-File-Remove/README b/perl/perl-File-Remove/README index c90a6666b1..8961f78526 100644 --- a/perl/perl-File-Remove/README +++ b/perl/perl-File-Remove/README @@ -1,9 +1,9 @@ perl-File-Remove (Remove files and directories). -File::Remove::remove removes files and directories. It acts like /bin/rm, -for the most part. Although unlink can be given a list of files, it will -not remove directories; this module remedies that. It also accepts -wildcards, * and ?, as arguments for filenames. +File::Remove::remove removes files and directories. It acts like +/bin/rm, for the most part. Although unlink can be given a list of +files, it will not remove directories; this module remedies that. It +also accepts wildcards, * and ?, as arguments for filenames. -File::Remove::trash accepts the same arguments as remove, with the addition -of an optional, infrequently used "other platforms" hashref. +File::Remove::trash accepts the same arguments as remove, with the +addition of an optional, infrequently used "other platforms" hashref. diff --git a/perl/perl-File-Remove/perl-File-Remove.SlackBuild b/perl/perl-File-Remove/perl-File-Remove.SlackBuild index a5a5103c14..82ea181002 100644 --- a/perl/perl-File-Remove/perl-File-Remove.SlackBuild +++ b/perl/perl-File-Remove/perl-File-Remove.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-File-Remove. # @@ -22,10 +22,13 @@ # 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-Remove -VERSION=${VERSION:-1.58} +VERSION=${VERSION:-1.61} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-File-Remove/perl-File-Remove.info b/perl/perl-File-Remove/perl-File-Remove.info index f3b783e377..fbc5f0423a 100644 --- a/perl/perl-File-Remove/perl-File-Remove.info +++ b/perl/perl-File-Remove/perl-File-Remove.info @@ -1,8 +1,8 @@ PRGNAM="perl-File-Remove" -VERSION="1.58" +VERSION="1.61" HOMEPAGE="https://metacpan.org/pod/File::Remove" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/File-Remove-1.58.tar.gz" -MD5SUM="f2d3959c7a8982bbdd03bb27f8b76891" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/File-Remove-1.61.tar.gz" +MD5SUM="8714638feac234816edcb01617557c0f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Module-Build" diff --git a/perl/perl-File-Save-Home/perl-File-Save-Home.SlackBuild b/perl/perl-File-Save-Home/perl-File-Save-Home.SlackBuild index dd973b9d34..d90a37e5b9 100644 --- a/perl/perl-File-Save-Home/perl-File-Save-Home.SlackBuild +++ b/perl/perl-File-Save-Home/perl-File-Save-Home.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-File-Save-Home. # @@ -22,10 +22,13 @@ # 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-Save-Home VERSION=${VERSION:-0.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-File-Share/perl-File-Share.SlackBuild b/perl/perl-File-Share/perl-File-Share.SlackBuild index 3f7b800a5c..1567153122 100644 --- a/perl/perl-File-Share/perl-File-Share.SlackBuild +++ b/perl/perl-File-Share/perl-File-Share.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-File-Share @@ -22,16 +22,26 @@ # 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-Share VERSION=${VERSION:-0.25} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -75,4 +85,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-File-ShareDir-Install/README b/perl/perl-File-ShareDir-Install/README index 083882b30c..7c57a856bb 100644 --- a/perl/perl-File-ShareDir-Install/README +++ b/perl/perl-File-ShareDir-Install/README @@ -1,10 +1,10 @@ -File::ShareDir::Install allows you to install read-only data files from a -distribution. It is a companion module to File::ShareDir, which allows -you to locate these files after installation. +File::ShareDir::Install allows you to install read-only data files +from a distribution. It is a companion module to File::ShareDir, which +allows you to locate these files after installation. It is a port of Module::Install::Share to ExtUtils::MakeMaker with the improvement of only installing the files you want; .svn, .git and other source-control junk will be ignored. -Please note that this module installs read-only data files; empty directories -will be ignored. +Please note that this module installs read-only data files; empty +directories will be ignored. diff --git a/perl/perl-File-ShareDir-Install/perl-File-ShareDir-Install.SlackBuild b/perl/perl-File-ShareDir-Install/perl-File-ShareDir-Install.SlackBuild index 5b8ad30a8a..d7b2097c14 100644 --- a/perl/perl-File-ShareDir-Install/perl-File-ShareDir-Install.SlackBuild +++ b/perl/perl-File-ShareDir-Install/perl-File-ShareDir-Install.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-File-ShareDir-Install @@ -22,10 +22,13 @@ # 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-ShareDir-Install VERSION=${VERSION:-0.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -95,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-File-ShareDir/perl-File-ShareDir.SlackBuild b/perl/perl-File-ShareDir/perl-File-ShareDir.SlackBuild index 62ddf08c52..980093ed5e 100644 --- a/perl/perl-File-ShareDir/perl-File-ShareDir.SlackBuild +++ b/perl/perl-File-ShareDir/perl-File-ShareDir.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-File-ShareDir -# Copyright 2013-2017 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2013-2021 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -11,26 +11,36 @@ # 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. +# 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-ShareDir SRCNAM=File-ShareDir -VERSION=${VERSION:-1.102} +VERSION=${VERSION:-1.118} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -CWD=$(pwd) +# 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} @@ -75,4 +85,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-File-ShareDir/perl-File-ShareDir.info b/perl/perl-File-ShareDir/perl-File-ShareDir.info index 48f98cf3a5..7659a7e249 100644 --- a/perl/perl-File-ShareDir/perl-File-ShareDir.info +++ b/perl/perl-File-ShareDir/perl-File-ShareDir.info @@ -1,10 +1,10 @@ PRGNAM="perl-File-ShareDir" -VERSION="1.102" +VERSION="1.118" HOMEPAGE="https://metacpan.org/pod/File::ShareDir" -DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/File-ShareDir-1.102.tar.gz" -MD5SUM="553157f0e81cd2dabfe140ceb06cd03f" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/File-ShareDir-1.118.tar.gz" +MD5SUM="0084f730f4e3d4d89703d92b3ea82f54" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Class-Inspector" +REQUIRES="perl-Class-Inspector perl-File-ShareDir-Install" MAINTAINER="Heinz Wiesinger" -EMAIL="pprkut@liwjatan.at" +EMAIL="pprkut@slackbuilds.org" diff --git a/perl/perl-File-Slurp-Tiny/perl-File-Slurp-Tiny.SlackBuild b/perl/perl-File-Slurp-Tiny/perl-File-Slurp-Tiny.SlackBuild index a3f7511d5e..13217f6270 100644 --- a/perl/perl-File-Slurp-Tiny/perl-File-Slurp-Tiny.SlackBuild +++ b/perl/perl-File-Slurp-Tiny/perl-File-Slurp-Tiny.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-slurp-tiny @@ -22,10 +22,13 @@ # 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-Slurp-Tiny VERSION=${VERSION:-0.004} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-File-Slurp/README b/perl/perl-File-Slurp/README index 738ef85e93..f9be179772 100644 --- a/perl/perl-File-Slurp/README +++ b/perl/perl-File-Slurp/README @@ -1,3 +1,4 @@ This perl module provides subs that allow you to read or write entire -files with one simple call. They are designed to be simple to use, have -flexible ways to pass in or get the file contents and to be very efficient. +files with one simple call. They are designed to be simple to use, +have flexible ways to pass in or get the file contents and to be very +efficient. diff --git a/perl/perl-File-Slurp/perl-File-Slurp.SlackBuild b/perl/perl-File-Slurp/perl-File-Slurp.SlackBuild index 1433ba7d43..538d99adb2 100644 --- a/perl/perl-File-Slurp/perl-File-Slurp.SlackBuild +++ b/perl/perl-File-Slurp/perl-File-Slurp.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-File-Slurp @@ -22,27 +22,32 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220411 bkw: Modified by SlackBuilds.org, BUILD=2: +# - make noarch. +# - fix doc permissions. + +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-File-Slurp -VERSION=${VERSION:-9999.19} -BUILD=${BUILD:-1} +VERSION=${VERSION:-9999.27} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=File-Slurp -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac +ARCH=noarch + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="README Changes" +DOCS="README.md Changes" set -e @@ -55,9 +60,9 @@ 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 \ + -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 \ @@ -66,25 +71,17 @@ 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 +gzip -9 $PKG/usr/man/man*/* -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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +install -m0644 $DOCS $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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-File-Slurp/perl-File-Slurp.info b/perl/perl-File-Slurp/perl-File-Slurp.info index bc03a8f218..abdce6f049 100644 --- a/perl/perl-File-Slurp/perl-File-Slurp.info +++ b/perl/perl-File-Slurp/perl-File-Slurp.info @@ -1,8 +1,8 @@ PRGNAM="perl-File-Slurp" -VERSION="9999.19" +VERSION="9999.27" HOMEPAGE="https://metacpan.org/pod/File::Slurp" -DOWNLOAD="https://cpan.metacpan.org/authors/id/U/UR/URI/File-Slurp-9999.19.tar.gz" -MD5SUM="7d584cd15c4f8b9547765eff8c4ef078" +DOWNLOAD="https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/File-Slurp-9999.27.tar.gz" +MD5SUM="1c8d53024597ba474296c461b30f32e5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-File-Tail/perl-File-Tail.SlackBuild b/perl/perl-File-Tail/perl-File-Tail.SlackBuild index 0632aec6da..90b72833fa 100644 --- a/perl/perl-File-Tail/perl-File-Tail.SlackBuild +++ b/perl/perl-File-Tail/perl-File-Tail.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for File-Tail @@ -22,22 +22,32 @@ # 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-Tail VERSION=${VERSION:-1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -81,4 +91,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-File-Type/perl-File-Type.SlackBuild b/perl/perl-File-Type/perl-File-Type.SlackBuild index de146dc5f1..5d7ed8deee 100644 --- a/perl/perl-File-Type/perl-File-Type.SlackBuild +++ b/perl/perl-File-Type/perl-File-Type.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-File-Type @@ -22,16 +22,26 @@ # 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-Type VERSION=${VERSION:-0.22} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -76,4 +86,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-File-Which/perl-File-Which.SlackBuild b/perl/perl-File-Which/perl-File-Which.SlackBuild index 81310fecb1..2f7f8eaea0 100644 --- a/perl/perl-File-Which/perl-File-Which.SlackBuild +++ b/perl/perl-File-Which/perl-File-Which.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for File-Which @@ -23,22 +23,32 @@ # 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-Which VERSION=${VERSION:-1.23} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -82,4 +92,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-File-pushd/perl-File-pushd.SlackBuild b/perl/perl-File-pushd/perl-File-pushd.SlackBuild index 3672f4d56d..666fe1edd6 100644 --- a/perl/perl-File-pushd/perl-File-pushd.SlackBuild +++ b/perl/perl-File-pushd/perl-File-pushd.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-File-pushd @@ -22,10 +22,13 @@ # 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-pushd VERSION=${VERSION:-1.016} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -95,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Filesys-Df/README b/perl/perl-Filesys-Df/README index 2d5b677dbc..159fea6c48 100644 --- a/perl/perl-Filesys-Df/README +++ b/perl/perl-Filesys-Df/README @@ -1,4 +1,5 @@ -Filesys::DF module provides a way to obtain filesystem disk space information. +Filesys::DF module provides a way to obtain filesystem disk space +information. df() requires a argument that represents the filesystem you want to query. The argument can be either a scalar directory/file name or a @@ -7,5 +8,5 @@ can tailor the size of the values returned. The default block size is 1024. This will cause the function to return the values in 1k blocks. If you want bytes, set the block size to 1. -df() returns a reference to a hash. The keys available in the hash are as follows: -{blocks} {bfree} {bavail} {used} {per}.
\ No newline at end of file +df() returns a reference to a hash. The keys available in the hash are +as follows: {blocks} {bfree} {bavail} {used} {per}. diff --git a/perl/perl-Filesys-Df/perl-Filesys-Df.SlackBuild b/perl/perl-Filesys-Df/perl-Filesys-Df.SlackBuild index bec7848565..fb19d584ba 100644 --- a/perl/perl-Filesys-Df/perl-Filesys-Df.SlackBuild +++ b/perl/perl-Filesys-Df/perl-Filesys-Df.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Filesys-Df @@ -22,28 +22,38 @@ # 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-Filesys-Df VERSION=${VERSION:-0.92} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Font-AFM/perl-Font-AFM.SlackBuild b/perl/perl-Font-AFM/perl-Font-AFM.SlackBuild index 7359c83dff..af9803d3a1 100644 --- a/perl/perl-Font-AFM/perl-Font-AFM.SlackBuild +++ b/perl/perl-Font-AFM/perl-Font-AFM.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright (c) 2013 Asaf Ohaion # All rights reserved. @@ -25,10 +25,13 @@ # (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-Font-AFM VERSION=${VERSION:-1.20} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Font-AFM @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Font-TTF/perl-Font-TTF.SlackBuild b/perl/perl-Font-TTF/perl-Font-TTF.SlackBuild index 03f0665148..c2260c9d9e 100644 --- a/perl/perl-Font-TTF/perl-Font-TTF.SlackBuild +++ b/perl/perl-Font-TTF/perl-Font-TTF.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Font-TTF @@ -27,10 +27,13 @@ # (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-Font-TTF VERSION=${VERSION:-1.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Font-TTF @@ -42,7 +45,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-GD/README b/perl/perl-GD/README index cf64941daa..48c5d570a2 100644 --- a/perl/perl-GD/README +++ b/perl/perl-GD/README @@ -1,12 +1,12 @@ perl-GD (perl bindings for GD image library) GD.pm is a Perl interface to Thomas Boutell's gd graphics library. -GD allows you to create color drawings using a large number of graphics -primitives, and emit the drawings as PNG files. +GD allows you to create color drawings using a large number of +graphics primitives, and emit the drawings as PNG files. The package includes the bdf2gdfont.pl utility, which converts X11 BDF fonts to the format used by GD. -perl-GD can optionally be built with support for FastCGI. To do this, -first install libraries/fcgi, then run perl-GD.SlackBuild with FASTCGI=yes -set in the environment. +perl-GD can optionally be built with support for FastCGI. To do +this, first install libraries/fcgi, then run perl-GD.SlackBuild with +FASTCGI=yes set in the environment. diff --git a/perl/perl-GD/perl-GD.SlackBuild b/perl/perl-GD/perl-GD.SlackBuild index fc9e4ab83c..8e1417d63a 100644 --- a/perl/perl-GD/perl-GD.SlackBuild +++ b/perl/perl-GD/perl-GD.SlackBuild @@ -1,11 +1,23 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-GD -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 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 +# (undocumented) --enable-gd-formats option to 'no' in 2.3.3, and +# the perl-GD tests include .gd and .gd2 images. Sent a note to PV, +# hopefully he rebuilds gd with re-added support for .gd/.gd2 images. + +# 20200929 bkw: update for v2.73 # 20191201 bkw: update for v2.71 # 20180829 bkw: update for v2.69 # 20180611 bkw: update for v2.68 @@ -13,10 +25,13 @@ # - fix build on 32-bit. Thanks to idlemoor for the bug report. # - add FASTCGI option +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-GD -VERSION=${VERSION:-2.71} +VERSION=${VERSION:-2.78} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -26,25 +41,15 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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 SRCNAM="GD" @@ -80,14 +85,13 @@ perl Makefile.PL \ INSTALLVENDORMAN3DIR=/usr/man/man3 \ INSTALLVENDORMAN1DIR=/usr/man/man1 make -make test +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" \ @@ -102,4 +106,4 @@ mkdir -p $PKG/install sed "s,@WITH@,$WITH," $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-GD/perl-GD.info b/perl/perl-GD/perl-GD.info index 6aaa0ba757..307d0c8b97 100644 --- a/perl/perl-GD/perl-GD.info +++ b/perl/perl-GD/perl-GD.info @@ -1,10 +1,10 @@ PRGNAM="perl-GD" -VERSION="2.71" +VERSION="2.78" HOMEPAGE="https://metacpan.org/pod/GD" -DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/GD-2.71.tar.gz" -MD5SUM="1e2534e1d0db57d6aad438f15ca63253" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/GD-2.78.tar.gz" +MD5SUM="e3419198517a1679b5a6a95b60805c3f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="perl-extutils-pkgconfig perl-Test-NoWarnings" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-Geo-Coordinates-OSGB/perl-Geo-Coordinates-OSGB.SlackBuild b/perl/perl-Geo-Coordinates-OSGB/perl-Geo-Coordinates-OSGB.SlackBuild index 8efebe54d4..1cb2f17a61 100644 --- a/perl/perl-Geo-Coordinates-OSGB/perl-Geo-Coordinates-OSGB.SlackBuild +++ b/perl/perl-Geo-Coordinates-OSGB/perl-Geo-Coordinates-OSGB.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Perl module Geo::Coordinates::OSGB @@ -22,16 +22,26 @@ # 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-Geo-Coordinates-OSGB VERSION=${VERSION:-2.20} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -75,4 +85,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Geo-Coordinates-UTM/perl-Geo-Coordinates-UTM.SlackBuild b/perl/perl-Geo-Coordinates-UTM/perl-Geo-Coordinates-UTM.SlackBuild index 1b285da5e6..3cb63750da 100644 --- a/perl/perl-Geo-Coordinates-UTM/perl-Geo-Coordinates-UTM.SlackBuild +++ b/perl/perl-Geo-Coordinates-UTM/perl-Geo-Coordinates-UTM.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Perl module Geo::Coordinates::UTM @@ -22,16 +22,26 @@ # 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-Geo-Coordinates-UTM VERSION=${VERSION:-0.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -75,4 +85,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Geo-IP/README b/perl/perl-Geo-IP/README index 9f6b831e14..c8b9361e71 100644 --- a/perl/perl-Geo-IP/README +++ b/perl/perl-Geo-IP/README @@ -1,3 +1,3 @@ -Geo::IP perl module can be used to automatically select the geographically -closest mirror, or to analyze your web server logs to determine the -countries of your visiters. +Geo::IP perl module can be used to automatically select the +geographically closest mirror, or to analyze your web server logs to +determine the countries of your visiters. diff --git a/perl/perl-Geo-IP/perl-Geo-IP.SlackBuild b/perl/perl-Geo-IP/perl-Geo-IP.SlackBuild index 642c562d99..4a062f8338 100644 --- a/perl/perl-Geo-IP/perl-Geo-IP.SlackBuild +++ b/perl/perl-Geo-IP/perl-Geo-IP.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for Geo-IP # Home Page https://metacpan.org/release/Geo-IP @@ -26,10 +26,13 @@ # 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-Geo-IP" VERSION=${VERSION:-1.51} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Geography-Countries/README b/perl/perl-Geography-Countries/README index 8f990f7bc3..b7902417e4 100644 --- a/perl/perl-Geography-Countries/README +++ b/perl/perl-Geography-Countries/README @@ -1,3 +1,3 @@ -perl-Geography-Countries module maps country names, and their 2-letter, -3-letter and numerical codes, as defined by the ISO-3166 maintenance agency, -and defined by the UNSD. +perl-Geography-Countries module maps country names, and their +2-letter, 3-letter and numerical codes, as defined by the ISO-3166 +maintenance agency, and defined by the UNSD. diff --git a/perl/perl-Geography-Countries/perl-Geography-Countries.SlackBuild b/perl/perl-Geography-Countries/perl-Geography-Countries.SlackBuild index c1c7503a84..bb2825ed59 100644 --- a/perl/perl-Geography-Countries/perl-Geography-Countries.SlackBuild +++ b/perl/perl-Geography-Countries/perl-Geography-Countries.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Geography::Countries # Home Page https://metacpan.org/release/Geography-Countries @@ -26,11 +26,14 @@ # # 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} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -110,4 +120,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 6e53967ccf..d16d8b0e4d 100644 --- a/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild +++ b/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Glib-Object-Introspection. # -# Copyright 2017-2019 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,23 @@ # 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.048} +VERSION=${VERSION:-0.051} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +48,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -81,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 @@ -89,11 +109,11 @@ 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 cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 c3f833a844..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.048" +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.048.tar.gz" -MD5SUM="0fd56ff2d2add1b61793cafd4470147d" +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.SlackBuild b/perl/perl-Gnome2-Vte/perl-Gnome2-Vte.SlackBuild index bfce70973e..b9f4250725 100644 --- a/perl/perl-Gnome2-Vte/perl-Gnome2-Vte.SlackBuild +++ b/perl/perl-Gnome2-Vte/perl-Gnome2-Vte.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Gnome2-Vte @@ -22,10 +22,13 @@ # 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-Gnome2-Vte VERSION=${VERSION:-0.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Gnome2-Vte/perl-Gnome2-Vte.info b/perl/perl-Gnome2-Vte/perl-Gnome2-Vte.info index fa37b200d5..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" +REQUIRES="perl-gtk2 vte2" MAINTAINER="Antonio Taverna" EMAIL="antonio.tvr@gmail.com" diff --git a/perl/perl-GooCanvas2/README b/perl/perl-GooCanvas2/README index e873e3e55d..67c1d87038 100644 --- a/perl/perl-GooCanvas2/README +++ b/perl/perl-GooCanvas2/README @@ -1,6 +1,9 @@ -GooCanvas2 - Perl binding for GooCanvas2 widget using Glib::Object::Introspection +GooCanvas2 - Perl binding for GooCanvas2 widget using +Glib::Object::Introspection -GooCanvas2 is a new canvas widget for use with Gtk3 that uses the Cairo 2d library for drawing. -This is a simple and basic implementation of this wonderful Canvas widget. +GooCanvas2 is a new canvas widget for use with Gtk3 that uses +the Cairo 2d library for drawing. This is a simple and basic +implementation of this wonderful Canvas widget. -For more informations see https://wiki.gnome.org/action/show/Projects/GooCanvas +For more information, see: +https://wiki.gnome.org/action/show/Projects/GooCanvas diff --git a/perl/perl-GooCanvas2/perl-GooCanvas2.SlackBuild b/perl/perl-GooCanvas2/perl-GooCanvas2.SlackBuild index 99a2f4e4fd..7fa57e4130 100644 --- a/perl/perl-GooCanvas2/perl-GooCanvas2.SlackBuild +++ b/perl/perl-GooCanvas2/perl-GooCanvas2.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-GooCanvas2 @@ -22,10 +22,13 @@ # 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-GooCanvas2 VERSION=${VERSION:-0.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-GooCanvas2/perl-GooCanvas2.info b/perl/perl-GooCanvas2/perl-GooCanvas2.info index 05f66cc7b0..a48cb741b9 100644 --- a/perl/perl-GooCanvas2/perl-GooCanvas2.info +++ b/perl/perl-GooCanvas2/perl-GooCanvas2.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PERLMAX/GooCanvas2-0.06.tar. MD5SUM="01cd64ef59cf28e17a985038c137b19d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="goocanvas2" MAINTAINER="Michel A. BEGUE" -EMAIL="mab974@gmail.com" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-GooCanvas2/slack-desc b/perl/perl-GooCanvas2/slack-desc index 508c965006..a29d49c4c5 100644 --- a/perl/perl-GooCanvas2/slack-desc +++ b/perl/perl-GooCanvas2/slack-desc @@ -14,6 +14,6 @@ perl-GooCanvas2: Cairo 2d library for drawing. This is a simple and basic perl-GooCanvas2: implementation of this wonderful Canvas widget. perl-GooCanvas2: perl-GooCanvas2: For more informations see : -perl-GooCanvas2: https://wiki.gnome.org/action/show/Projects/GooCanvas +perl-GooCanvas2: https://wiki.gnome.org/action/show/Projects/GooCanvas perl-GooCanvas2: perl-GooCanvas2: diff --git a/perl/perl-Gtk2-Ex-Simple-List/README b/perl/perl-Gtk2-Ex-Simple-List/README index b5ad76d05c..e19cb5de68 100644 --- a/perl/perl-Gtk2-Ex-Simple-List/README +++ b/perl/perl-Gtk2-Ex-Simple-List/README @@ -1,8 +1,8 @@ -SimpleList is a simple interface to the powerful but complex Gtk2::TreeView -and Gtk2::ListStore combination, implementing using tied arrays to make thing -simple and easy. +SimpleList is a simple interface to the powerful but complex +Gtk2::TreeView and Gtk2::ListStore combination, implementing using +tied arrays to make thing simple and easy. -Gtk2 has a powerful, but complex MVC (Model, View, Controller) system -used to implement list and tree widgets. Gtk2::Ex::Simple::List automates -the complex setup work and allows you to treat the list model as a more -natural list of lists structure. +Gtk2 has a powerful, but complex MVC (Model, View, Controller) system +used to implement list and tree widgets. Gtk2::Ex::Simple::List +automates the complex setup work and allows you to treat the list +model as a more natural list of lists structure. diff --git a/perl/perl-Gtk2-Ex-Simple-List/perl-Gtk2-Ex-Simple-List.SlackBuild b/perl/perl-Gtk2-Ex-Simple-List/perl-Gtk2-Ex-Simple-List.SlackBuild index c31b7c2bf0..057f5062a2 100644 --- a/perl/perl-Gtk2-Ex-Simple-List/perl-Gtk2-Ex-Simple-List.SlackBuild +++ b/perl/perl-Gtk2-Ex-Simple-List/perl-Gtk2-Ex-Simple-List.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Gtk2-Ex-Simple-List @@ -22,10 +22,13 @@ # 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-Gtk2-Ex-Simple-List VERSION=${VERSION:-0.50} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Gtk2-Notify/perl-Gtk2-Notify.SlackBuild b/perl/perl-Gtk2-Notify/perl-Gtk2-Notify.SlackBuild index eee2556722..54fd9f0676 100644 --- a/perl/perl-Gtk2-Notify/perl-Gtk2-Notify.SlackBuild +++ b/perl/perl-Gtk2-Notify/perl-Gtk2-Notify.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Gtk2-Notify. # @@ -22,10 +22,13 @@ # 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-Gtk2-Notify VERSION=${VERSION:-0.05} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Gtk2-Notify/perl-Gtk2-Notify.info b/perl/perl-Gtk2-Notify/perl-Gtk2-Notify.info index 193ce88d3e..4693bd5f91 100644 --- a/perl/perl-Gtk2-Notify/perl-Gtk2-Notify.info +++ b/perl/perl-Gtk2-Notify/perl-Gtk2-Notify.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/F/FL/FLORA/Gtk2-Notify-0.05.tar.g MD5SUM="071144ad4a5670b8b2451baf358c4a88" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-gtk2" +REQUIRES="perl-gtk2 perl-Module-Install" MAINTAINER="Edinaldo P. Silva" EMAIL="edps.mundognu@gmail.com" diff --git a/perl/perl-Gtk2-Unique/perl-Gtk2-Unique.SlackBuild b/perl/perl-Gtk2-Unique/perl-Gtk2-Unique.SlackBuild index b70746837c..5b640f787f 100644 --- a/perl/perl-Gtk2-Unique/perl-Gtk2-Unique.SlackBuild +++ b/perl/perl-Gtk2-Unique/perl-Gtk2-Unique.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Gtk2-Unique @@ -23,10 +23,13 @@ # 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-Gtk2-Unique VERSION=${VERSION:-0.05} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Gtk3-ImageView/README b/perl/perl-Gtk3-ImageView/README new file mode 100644 index 0000000000..21dd07fd89 --- /dev/null +++ b/perl/perl-Gtk3-ImageView/README @@ -0,0 +1,5 @@ +perl-Gtk3-ImageView - Image viewer widget for Gtk3 + +The Gtk3::ImageView widget allows the user to zoom, pan and select the + specified image and provides hooks to allow additional tools, + e.g. painter, to be created and used. diff --git a/perl/perl-Gtk3-ImageView/perl-Gtk3-ImageView.SlackBuild b/perl/perl-Gtk3-ImageView/perl-Gtk3-ImageView.SlackBuild new file mode 100644 index 0000000000..604b80ec62 --- /dev/null +++ b/perl/perl-Gtk3-ImageView/perl-Gtk3-ImageView.SlackBuild @@ -0,0 +1,115 @@ +#!/bin/bash + +# Slackware build script for perl-Gtk3-ImageView +# Copyright 2020 M.A. BEGUE mab974@misouk.com +# 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-Gtk3-ImageView +VERSION=${VERSION:-10} +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 \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +if [ "${MAKETEST:-no}" = "yes" ]; then + make test +fi +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 \ + 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-Gtk3-ImageView/perl-Gtk3-ImageView.info b/perl/perl-Gtk3-ImageView/perl-Gtk3-ImageView.info new file mode 100644 index 0000000000..6e9d3de5e4 --- /dev/null +++ b/perl/perl-Gtk3-ImageView/perl-Gtk3-ImageView.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Gtk3-ImageView" +VERSION="10" +HOMEPAGE="https://metacpan.org/pod/Gtk3::ImageView" +DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AS/ASOKOLOV/Gtk3-ImageView-10.tar.gz" +MD5SUM="072444b8be04df9e435caeb4db5beb38" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Gtk3" +MAINTAINER="Michel A. BEGUE" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-Gtk3-ImageView/slack-desc b/perl/perl-Gtk3-ImageView/slack-desc new file mode 100644 index 0000000000..bc0434ad9e --- /dev/null +++ b/perl/perl-Gtk3-ImageView/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-Gtk3-ImageView: perl-Gtk3-ImageView (Image viewer widget for Gtk3) +perl-Gtk3-ImageView: +perl-Gtk3-ImageView: The Gtk3::ImageView widget allows the user to zoom, pan and select +perl-Gtk3-ImageView: specified image and provides hooks to allow additional tools, +perl-Gtk3-ImageView: e.g. painter, to be created and used. +perl-Gtk3-ImageView: +perl-Gtk3-ImageView: +perl-Gtk3-ImageView: +perl-Gtk3-ImageView: +perl-Gtk3-ImageView: +perl-Gtk3-ImageView: diff --git a/perl/perl-Gtk3-SimpleList/README b/perl/perl-Gtk3-SimpleList/README new file mode 100644 index 0000000000..fb7c9d933d --- /dev/null +++ b/perl/perl-Gtk3-SimpleList/README @@ -0,0 +1,7 @@ +A simple interface to Gtk3's complex MVC list widget + +Gtk3 has a powerful, but complex MVC (Model, View, Controller) system +used to implement list and tree widgets. + +Gtk3::SimpleList automates the complex setup work and allows you to +treat the list model as a more natural list of lists structure. diff --git a/perl/perl-Gtk3-SimpleList/perl-Gtk3-SimpleList.SlackBuild b/perl/perl-Gtk3-SimpleList/perl-Gtk3-SimpleList.SlackBuild new file mode 100644 index 0000000000..651f3603f2 --- /dev/null +++ b/perl/perl-Gtk3-SimpleList/perl-Gtk3-SimpleList.SlackBuild @@ -0,0 +1,112 @@ +#!/bin/bash + +# Slackware build script for perl-Gtk3-SimpleList +# Copyright 2019 M.A. BEGUE mab974@misouk.com +# 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-Gtk3-SimpleList +VERSION=${VERSION:-0.21} +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 \ + 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-Gtk3-SimpleList/perl-Gtk3-SimpleList.info b/perl/perl-Gtk3-SimpleList/perl-Gtk3-SimpleList.info new file mode 100644 index 0000000000..19cf04a33a --- /dev/null +++ b/perl/perl-Gtk3-SimpleList/perl-Gtk3-SimpleList.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Gtk3-SimpleList" +VERSION="0.21" +HOMEPAGE="https://metacpan.org/pod/Gtk3::SimpleList" +DOWNLOAD="https://cpan.metacpan.org/authors/id/T/TV/TVIGNAUD/Gtk3-SimpleList-0.21.tar.gz" +MD5SUM="fd3c9c467fe2805f8719ba8b90528f08" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Gtk3" +MAINTAINER="Michel A. BEGUE" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-Gtk3-SimpleList/slack-desc b/perl/perl-Gtk3-SimpleList/slack-desc new file mode 100644 index 0000000000..9480c23cab --- /dev/null +++ b/perl/perl-Gtk3-SimpleList/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-Gtk3-SimpleList: perl-Gtk3-SimpleList (interface to Gtk3's Widget) +perl-Gtk3-SimpleList: +perl-Gtk3-SimpleList: +perl-Gtk3-SimpleList: Gtk3 has a powerful, but complex MVC (Model, View, Controller) system +perl-Gtk3-SimpleList: used to implement list and tree widgets. +perl-Gtk3-SimpleList: +perl-Gtk3-SimpleList: Gtk3::SimpleList automates the complex setup work and allows you to +perl-Gtk3-SimpleList: treat the list model as a more natural list of lists structure. +perl-Gtk3-SimpleList: +perl-Gtk3-SimpleList: +perl-Gtk3-SimpleList: diff --git a/perl/perl-Gtk3/perl-Gtk3.SlackBuild b/perl/perl-Gtk3/perl-Gtk3.SlackBuild index e819cf607b..52aa063dd1 100644 --- a/perl/perl-Gtk3/perl-Gtk3.SlackBuild +++ b/perl/perl-Gtk3/perl-Gtk3.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Gtk3 @@ -22,10 +22,13 @@ # 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-Gtk3 -VERSION=${VERSION:-0.035} +VERSION=${VERSION:-0.038} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Gtk3/perl-Gtk3.info b/perl/perl-Gtk3/perl-Gtk3.info index 48763e4275..49e4d819c4 100644 --- a/perl/perl-Gtk3/perl-Gtk3.info +++ b/perl/perl-Gtk3/perl-Gtk3.info @@ -1,8 +1,8 @@ PRGNAM="perl-Gtk3" -VERSION="0.035" +VERSION="0.038" HOMEPAGE="https://metacpan.org/pod/Gtk3" -DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Gtk3-0.035.tar.gz" -MD5SUM="9532a7939f21ece4e47d77a2e2fc44cc" +DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Gtk3-0.038.tar.gz" +MD5SUM="c4f13880b5a95855cbdf3bcd6ada5661" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Glib-Object-Introspection perl-Cairo-GObject" diff --git a/perl/perl-Guard/perl-Guard.SlackBuild b/perl/perl-Guard/perl-Guard.SlackBuild index 3ae7a741ec..5c6cbf2c70 100644 --- a/perl/perl-Guard/perl-Guard.SlackBuild +++ b/perl/perl-Guard/perl-Guard.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Guard @@ -22,10 +22,13 @@ # 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-Guard VERSION=${VERSION:-1.023} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -84,6 +94,9 @@ make install DESTDIR=$PKG 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 + find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION @@ -94,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-HTML-FormatText-WithLinks-AndTables/perl-HTML-FormatText-WithLinks-AndTables.SlackBuild b/perl/perl-HTML-FormatText-WithLinks-AndTables/perl-HTML-FormatText-WithLinks-AndTables.SlackBuild index 454135cf00..98aeedda27 100644 --- a/perl/perl-HTML-FormatText-WithLinks-AndTables/perl-HTML-FormatText-WithLinks-AndTables.SlackBuild +++ b/perl/perl-HTML-FormatText-WithLinks-AndTables/perl-HTML-FormatText-WithLinks-AndTables.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-HTML-FormatText-WithLinks-AndTables @@ -22,10 +22,13 @@ # 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-HTML-FormatText-WithLinks-AndTables VERSION=${VERSION:-0.07} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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.SlackBuild b/perl/perl-HTML-FormatText-WithLinks/perl-HTML-FormatText-WithLinks.SlackBuild index a3ae5b5248..4dcc8fb030 100644 --- a/perl/perl-HTML-FormatText-WithLinks/perl-HTML-FormatText-WithLinks.SlackBuild +++ b/perl/perl-HTML-FormatText-WithLinks/perl-HTML-FormatText-WithLinks.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-HTML-FormatText-WithLinks @@ -22,10 +22,13 @@ # 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-HTML-FormatText-WithLinks VERSION=${VERSION:-0.15} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Formatter/perl-HTML-Formatter.SlackBuild b/perl/perl-HTML-Formatter/perl-HTML-Formatter.SlackBuild index b10727897a..2be23b0ff8 100644 --- a/perl/perl-HTML-Formatter/perl-HTML-Formatter.SlackBuild +++ b/perl/perl-HTML-Formatter/perl-HTML-Formatter.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-HTML-Formatter @@ -22,10 +22,13 @@ # 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-HTML-Formatter VERSION=${VERSION:-2.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-HTML-HTMLDoc/README b/perl/perl-HTML-HTMLDoc/README new file mode 100644 index 0000000000..22a2da8d7e --- /dev/null +++ b/perl/perl-HTML-HTMLDoc/README @@ -0,0 +1,2 @@ +HTML::HTMLDoc - Perl interface to the htmldoc program for producing +PDF Files from HTML content. diff --git a/perl/perl-HTML-HTMLDoc/perl-HTML-HTMLDoc.SlackBuild b/perl/perl-HTML-HTMLDoc/perl-HTML-HTMLDoc.SlackBuild new file mode 100644 index 0000000000..16d1f9f0c5 --- /dev/null +++ b/perl/perl-HTML-HTMLDoc/perl-HTML-HTMLDoc.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/bash + +# Slackware build script for perl-HTML-HTMLDoc + +# Copyright 2020 Jan F. Chadima <jfch@jagda.eu> +# 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-HTML-HTMLDoc +VERSION=${VERSION:-0.16} +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 +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 \ + Changes LICENSE README* TODO \ + $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-HTML-HTMLDoc/perl-HTML-HTMLDoc.info b/perl/perl-HTML-HTMLDoc/perl-HTML-HTMLDoc.info new file mode 100644 index 0000000000..53f0127ccd --- /dev/null +++ b/perl/perl-HTML-HTMLDoc/perl-HTML-HTMLDoc.info @@ -0,0 +1,10 @@ +PRGNAM="perl-HTML-HTMLDoc" +VERSION="0.16" +HOMEPAGE="https://metacpan.org/pod/HTML::HTMLDoc" +DOWNLOAD="https://cpan.metacpan.org/authors/id/E/EC/ECHERNOF/HTML-HTMLDoc-0.16.tar.gz" +MD5SUM="80281f47dd0f37df0c97321323cda120" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Module-Build-Tiny htmldoc" +MAINTAINER="Jan F. Chadima" +EMAIL="jfch@jagda.eu" diff --git a/perl/perl-HTML-HTMLDoc/slack-desc b/perl/perl-HTML-HTMLDoc/slack-desc new file mode 100644 index 0000000000..e4a8fb60be --- /dev/null +++ b/perl/perl-HTML-HTMLDoc/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-HTML-HTMLDoc: perl-HTML-HTMLDoc (HTML to PDF convertor) +perl-HTML-HTMLDoc: +perl-HTML-HTMLDoc: This module provides Perl interface to the htmldoc program for +perl-HTML-HTMLDoc: producing PDF Files from HTML content. +perl-HTML-HTMLDoc: +perl-HTML-HTMLDoc: Homepage: https://metacpan.org/pod/HTML::HTMLDoc +perl-HTML-HTMLDoc: +perl-HTML-HTMLDoc: +perl-HTML-HTMLDoc: +perl-HTML-HTMLDoc: +perl-HTML-HTMLDoc: diff --git a/perl/perl-HTML-TableExtract/perl-HTML-TableExtract.SlackBuild b/perl/perl-HTML-TableExtract/perl-HTML-TableExtract.SlackBuild index b13bfe44ca..b8636aa0f3 100644 --- a/perl/perl-HTML-TableExtract/perl-HTML-TableExtract.SlackBuild +++ b/perl/perl-HTML-TableExtract/perl-HTML-TableExtract.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-HTML-TableExtract # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-HTML-TableExtract VERSION=${VERSION:-2.15} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=HTML-TableExtract if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-HTML-Template/perl-HTML-Template.SlackBuild b/perl/perl-HTML-Template/perl-HTML-Template.SlackBuild index 15617f86a0..2fe09db6e2 100644 --- a/perl/perl-HTML-Template/perl-HTML-Template.SlackBuild +++ b/perl/perl-HTML-Template/perl-HTML-Template.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-HTML-Template -# Copyright 2017 Petar Petrov slackalaxy@gmail.com +# Copyright 2017-2021 Petar Petrov slackalaxy@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # 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-HTML-Template VERSION=${VERSION:-2.97} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-HTML-Tidy/perl-HTML-Tidy.SlackBuild b/perl/perl-HTML-Tidy/perl-HTML-Tidy.SlackBuild index 43d394332b..079d307955 100644 --- a/perl/perl-HTML-Tidy/perl-HTML-Tidy.SlackBuild +++ b/perl/perl-HTML-Tidy/perl-HTML-Tidy.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-HTML-Tidy @@ -22,10 +22,13 @@ # 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-HTML-Tidy VERSION=${VERSION:-1.60} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-HTML-Tidy/perl-HTML-Tidy.info b/perl/perl-HTML-Tidy/perl-HTML-Tidy.info index fbe9ae5514..cbfdccb823 100644 --- a/perl/perl-HTML-Tidy/perl-HTML-Tidy.info +++ b/perl/perl-HTML-Tidy/perl-HTML-Tidy.info @@ -1,10 +1,10 @@ PRGNAM="perl-HTML-Tidy" VERSION="1.60" -HOMEPAGE="https://metacpan.org/pod/HTML-Tidy" +HOMEPAGE="https://metacpan.org/pod/HTML::Tidy" DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/HTML-Tidy-1.60.tar.gz" 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-Tidy/slack-desc b/perl/perl-HTML-Tidy/slack-desc index 838c1863c3..5ca9fe8709 100644 --- a/perl/perl-HTML-Tidy/slack-desc +++ b/perl/perl-HTML-Tidy/slack-desc @@ -9,7 +9,7 @@ perl-HTML-Tidy: perl-HTML-Tidy (HTML validation) perl-HTML-Tidy: perl-HTML-Tidy: This module provides HTML and XHTML validation. -perl-HTML-Tidy: +perl-HTML-Tidy: perl-HTML-Tidy: Homepage: https://metacpan.org/pod/HTML-Tidy perl-HTML-Tidy: perl-HTML-Tidy: diff --git a/perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild b/perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild index 72037cf139..402a7b2abf 100644 --- a/perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild +++ b/perl/perl-HTML-Tree/perl-HTML-Tree.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-HTML-Tree # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-HTML-Tree VERSION=${VERSION:-5.07} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=HTML-Tree if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -104,4 +114,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-HTML-WikiConverter-Markdown/perl-HTML-WikiConverter-Markdown.SlackBuild b/perl/perl-HTML-WikiConverter-Markdown/perl-HTML-WikiConverter-Markdown.SlackBuild index 0393c3e87c..c6eccd69fe 100644 --- a/perl/perl-HTML-WikiConverter-Markdown/perl-HTML-WikiConverter-Markdown.SlackBuild +++ b/perl/perl-HTML-WikiConverter-Markdown/perl-HTML-WikiConverter-Markdown.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-HTML-WikiConverter-Markdown @@ -22,10 +22,13 @@ # 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-HTML-WikiConverter-Markdown VERSION=${VERSION:-0.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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.SlackBuild b/perl/perl-HTML-WikiConverter/perl-HTML-WikiConverter.SlackBuild index 1d388fae9c..1cf9d0d653 100644 --- a/perl/perl-HTML-WikiConverter/perl-HTML-WikiConverter.SlackBuild +++ b/perl/perl-HTML-WikiConverter/perl-HTML-WikiConverter.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for HTML-WikiConverter @@ -22,10 +22,13 @@ # 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-HTML-WikiConverter VERSION=${VERSION:-0.68} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -108,4 +118,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Cache-Transparent/perl-HTTP-Cache-Transparent.SlackBuild b/perl/perl-HTTP-Cache-Transparent/perl-HTTP-Cache-Transparent.SlackBuild index 5f5af5c554..3f24a85d0b 100644 --- a/perl/perl-HTTP-Cache-Transparent/perl-HTTP-Cache-Transparent.SlackBuild +++ b/perl/perl-HTTP-Cache-Transparent/perl-HTTP-Cache-Transparent.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-HTTP-Cache-Transparent # Written by David Somero <dsomero@hotmail.com> @@ -25,10 +25,13 @@ # 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-Cache-Transparent VERSION=${VERSION:-1.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=HTTP-Cache-Transparent @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-HTTP-Proxy/perl-HTTP-Proxy.SlackBuild b/perl/perl-HTTP-Proxy/perl-HTTP-Proxy.SlackBuild index fc12c32e7f..1408982ce9 100644 --- a/perl/perl-HTTP-Proxy/perl-HTTP-Proxy.SlackBuild +++ b/perl/perl-HTTP-Proxy/perl-HTTP-Proxy.SlackBuild @@ -1,24 +1,34 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-HTTP-Proxy # Written by Thomas Morper <thomas@beingboiled.info> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-HTTP-Proxy VERSION=${VERSION:-0.304} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=$(echo $PRGNAM | cut -f2- -d-) if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -64,4 +74,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Hook-LexWrap/perl-Hook-LexWrap.SlackBuild b/perl/perl-Hook-LexWrap/perl-Hook-LexWrap.SlackBuild index 289a08e100..c8af466c1f 100644 --- a/perl/perl-Hook-LexWrap/perl-Hook-LexWrap.SlackBuild +++ b/perl/perl-Hook-LexWrap/perl-Hook-LexWrap.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Hook-LexWrap @@ -22,16 +22,26 @@ # 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-Hook-LexWrap VERSION=${VERSION:-0.26} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -79,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-IO-All/README b/perl/perl-IO-All/README index 32c21d5b4b..484d1080b1 100644 --- a/perl/perl-IO-All/README +++ b/perl/perl-IO-All/README @@ -1,19 +1,22 @@ -IO::All combines all of the best Perl IO modules into a single nifty object -oriented interface to greatly simplify your everyday Perl IO idioms. It exports -a single function called io, which returns a new IO::All object. And that -object can do it all! +IO::All combines all of the best Perl IO modules into a single nifty +object oriented interface to greatly simplify your everyday Perl IO +idioms. It exports a single function called io, which returns a new +IO::All object. And that object can do it all! -The IO::All object is a proxy for IO::File, IO::Dir, IO::Socket, Tie::File, -File::Spec, File::Path, File::MimeInfo and File::ReadBackwards; as well as all -the DBM and MLDBM modules. You can use most of the methods found in these -classes and in IO::Handle (which they inherit from). IO::All adds dozens of -other helpful idiomatic methods including file stat and manipulation functions. +The IO::All object is a proxy for IO::File, IO::Dir, +IO::Socket, Tie::File, File::Spec, File::Path, File::MimeInfo and +File::ReadBackwards; as well as all the DBM and MLDBM modules. You +can use most of the methods found in these classes and in IO::Handle +(which they inherit from). IO::All adds dozens of other helpful +idiomatic methods including file stat and manipulation functions. -IO::All is pluggable, and modules like IO::All::LWP and IO::All::Mailto add -even more functionality. Optionally, every IO::All object can be tied to -itself. This means that you can use most perl IO builtins on it: readline, -<>, getc, print, printf, syswrite, sysread, close. +IO::All is pluggable, and modules like IO::All::LWP and +IO::All::Mailto add even more functionality. Optionally, every IO::All +object can be tied to itself. This means that you can use most perl IO +builtins on it: readline, <>, getc, print, printf, syswrite, sysread, +close. -The distinguishing magic of IO::All is that it will automatically open (and -close) files, directories, sockets and other IO things for you. You never need -to specify the mode (<, >>, etc), since it is determined by the usage context. +The distinguishing magic of IO::All is that it will automatically +open (and close) files, directories, sockets and other IO things for +you. You never need to specify the mode (<, >>, etc), since it is +determined by the usage context. diff --git a/perl/perl-IO-All/perl-IO-All.SlackBuild b/perl/perl-IO-All/perl-IO-All.SlackBuild index bbfddbd2a8..6c3f930210 100644 --- a/perl/perl-IO-All/perl-IO-All.SlackBuild +++ b/perl/perl-IO-All/perl-IO-All.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-IO-All @@ -22,10 +22,13 @@ # 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-IO-All VERSION=${VERSION:-0.87} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -95,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-IO-CaptureOutput/README b/perl/perl-IO-CaptureOutput/README index 24b5256495..c88b067d23 100644 --- a/perl/perl-IO-CaptureOutput/README +++ b/perl/perl-IO-CaptureOutput/README @@ -1,3 +1,3 @@ -This module provides routines for capturing STDOUT and STDERR from perl -subroutines, forked system calls (e.g. system(), fork()) and from XS or C -modules. +This module provides routines for capturing STDOUT and STDERR from +perl subroutines, forked system calls (e.g. system(), fork()) and from +XS or C modules. diff --git a/perl/perl-IO-CaptureOutput/perl-IO-CaptureOutput.SlackBuild b/perl/perl-IO-CaptureOutput/perl-IO-CaptureOutput.SlackBuild index b546bd4b61..fefca4fd5e 100644 --- a/perl/perl-IO-CaptureOutput/perl-IO-CaptureOutput.SlackBuild +++ b/perl/perl-IO-CaptureOutput/perl-IO-CaptureOutput.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-IO-CaptureOutput @@ -22,11 +22,14 @@ # 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} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -94,4 +104,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-IO-HTML/perl-IO-HTML.SlackBuild b/perl/perl-IO-HTML/perl-IO-HTML.SlackBuild index 3414544885..3fc4439638 100644 --- a/perl/perl-IO-HTML/perl-IO-HTML.SlackBuild +++ b/perl/perl-IO-HTML/perl-IO-HTML.SlackBuild @@ -1,8 +1,9 @@ -#!/bin/sh +#!/bin/bash # 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 @@ -22,40 +23,26 @@ # 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-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=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 @@ -65,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 \ @@ -78,25 +62,19 @@ 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 cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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.SlackBuild b/perl/perl-IO-Interface/perl-IO-Interface.SlackBuild index 6c509b52d6..afb0ac7f73 100644 --- a/perl/perl-IO-Interface/perl-IO-Interface.SlackBuild +++ b/perl/perl-IO-Interface/perl-IO-Interface.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-IO-Interface. # @@ -23,10 +23,13 @@ # 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-IO-Interface VERSION=${VERSION:-1.09} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 9ff68a2637..845151105b 100644 --- a/perl/perl-IO-Multiplex/perl-IO-Multiplex.SlackBuild +++ b/perl/perl-IO-Multiplex/perl-IO-Multiplex.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: IO-Multiplex # Home Page https://metacpan.org/release/IO-Multiplex @@ -27,22 +27,32 @@ +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-IO-Multiplex VERSION=${VERSION:-1.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=IO-Multiplex if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -51,8 +61,8 @@ set -e DOCS="Changes README TODO" -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -105,4 +115,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-IO-SessionData/perl-IO-SessionData.SlackBuild b/perl/perl-IO-SessionData/perl-IO-SessionData.SlackBuild index 9366b7abb9..3b5ed258ae 100644 --- a/perl/perl-IO-SessionData/perl-IO-SessionData.SlackBuild +++ b/perl/perl-IO-SessionData/perl-IO-SessionData.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Package-Stash # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-IO-SessionData VERSION=${VERSION:-1.03} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=IO-SessionData if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-IO-Socket-INET6/README b/perl/perl-IO-Socket-INET6/README index fe13520853..371402f26e 100644 --- a/perl/perl-IO-Socket-INET6/README +++ b/perl/perl-IO-Socket-INET6/README @@ -1,5 +1,6 @@ IO::Socket::INET6 - Object interface for AF_INET|AF_INET6 domain sockets -IO::Socket::INET6 provides an object interface to creating and using sockets -in either AF_INET or AF_INET6 domains. It is built upon the IO::Socket -interface and inherits all the methods defined by IO::Socket. +IO::Socket::INET6 provides an object interface to creating and using +sockets in either AF_INET or AF_INET6 domains. It is built upon +the IO::Socket interface and inherits all the methods defined by +IO::Socket. diff --git a/perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.SlackBuild b/perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.SlackBuild index 86ead42ce9..cc1e8ebd28 100644 --- a/perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.SlackBuild +++ b/perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-IO-Socket-INET6 @@ -22,29 +22,39 @@ # 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-IO-Socket-INET6 VERSION=${VERSION:-2.71} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=IO-Socket-INET6 DOCS="README" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-IO-Socket-Multicast/README b/perl/perl-IO-Socket-Multicast/README index e095eaffbe..4522228cfd 100644 --- a/perl/perl-IO-Socket-Multicast/README +++ b/perl/perl-IO-Socket-Multicast/README @@ -1,4 +1,5 @@ -IO::Socket::Multicast - Perl extension to send and receive multicast messages +IO::Socket::Multicast - Perl extension to send and receive multicast +messages The IO::Socket::Multicast module subclasses IO::Socket::INET to enable you to manipulate multicast groups. With this module (and an operating diff --git a/perl/perl-IO-Socket-Multicast/perl-IO-Socket-Multicast.SlackBuild b/perl/perl-IO-Socket-Multicast/perl-IO-Socket-Multicast.SlackBuild index 5fe9bd7314..99fefbfd1f 100644 --- a/perl/perl-IO-Socket-Multicast/perl-IO-Socket-Multicast.SlackBuild +++ b/perl/perl-IO-Socket-Multicast/perl-IO-Socket-Multicast.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-IO-Multicast @@ -22,29 +22,39 @@ # 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-IO-Socket-Multicast VERSION=${VERSION:-1.12} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=IO-Socket-Multicast DOCS="README" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-IO-Socket-SSL/README b/perl/perl-IO-Socket-SSL/README deleted file mode 100644 index e4ad02a502..0000000000 --- a/perl/perl-IO-Socket-SSL/README +++ /dev/null @@ -1,10 +0,0 @@ -IO::Socket::SSL -- Nearly transparent SSL encapsulation for IO::Socket::INET. - -This module is a true drop-in replacement for IO::Socket::INET that uses SSL -to encrypt data before it is transferred to a remote server or client. -IO::Socket::SSL supports all the extra features that one needs to write a -full-featured SSL client or server application: multiple SSL contexts, cipher -selection, certificate verification, and SSL version selection. As an extra -bonus, it works perfectly with mod_perl. - -libwww-perl is an optional dependency. diff --git a/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild b/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild deleted file mode 100644 index d9e848b77b..0000000000 --- a/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild +++ /dev/null @@ -1,86 +0,0 @@ -#!/bin/sh - -# Slackware build script for perl-IO-Socket-SSL - -# Copyright 2009-2012 Marco Bonetti <sid77@slackware.it> -# Copyright 2015-2020 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. - -PRGNAM=perl-IO-Socket-SSL -VERSION=${VERSION:-2.067} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -SRC_PRGNAM=IO-Socket-SSL -DOCS="BUGS Changes README" - -CWD=$(pwd) -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 $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 {} \; - -yes | perl Makefile.PL \ - PREFIX=/usr \ - INSTALLDIRS=vendor \ - INSTALLVENDORMAN1DIR=/usr/man/man1 \ - INSTALLVENDORMAN3DIR=/usr/man/man3 -make -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 - -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 - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $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:-tgz} diff --git a/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.info b/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.info deleted file mode 100644 index 74ecb495cc..0000000000 --- a/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-IO-Socket-SSL" -VERSION="2.067" -HOMEPAGE="https://metacpan.org/pod/IO::Socket::SSL" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-2.067.tar.gz" -MD5SUM="1d55e9f66ca442f4e0ae4d018e3067fc" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="Net-SSLeay perl-Net-LibIDN" -MAINTAINER="Willy Sudiarto Raharjo" -EMAIL="willysr@slackbuilds.org" diff --git a/perl/perl-IO-Socket-SSL/slack-desc b/perl/perl-IO-Socket-SSL/slack-desc deleted file mode 100644 index 25d0adb319..0000000000 --- a/perl/perl-IO-Socket-SSL/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -perl-IO-Socket-SSL: perl-IO-Socket-SSL (SSL encapsulation for IO::Socket::INET) -perl-IO-Socket-SSL: -perl-IO-Socket-SSL: This module is a true drop-in replacement for IO::Socket::INET that -perl-IO-Socket-SSL: uses SSL to encrypt data before it is transferred to a remote server -perl-IO-Socket-SSL: or client. IO::Socket::SSL supports all the extra features that one -perl-IO-Socket-SSL: needs to write a full-featured SSL client or server application: -perl-IO-Socket-SSL: multiple SSL contexts, cipher selection, certificate verification, and -perl-IO-Socket-SSL: SSL version selection. As an extra bonus, it works perfectly with -perl-IO-Socket-SSL: mod_perl. -perl-IO-Socket-SSL: -perl-IO-Socket-SSL: diff --git a/perl/perl-IO-Socket-Socks/perl-IO-Socket-Socks.SlackBuild b/perl/perl-IO-Socket-Socks/perl-IO-Socket-Socks.SlackBuild index f309ff9eae..4d4ec62815 100644 --- a/perl/perl-IO-Socket-Socks/perl-IO-Socket-Socks.SlackBuild +++ b/perl/perl-IO-Socket-Socks/perl-IO-Socket-Socks.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-IO-Socket-Socks @@ -22,10 +22,13 @@ # 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-IO-Socket-Socks VERSION=${VERSION:-0.74} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-IO-Socket-Timeout/perl-IO-Socket-Timeout.SlackBuild b/perl/perl-IO-Socket-Timeout/perl-IO-Socket-Timeout.SlackBuild index e84a863400..18ced2e647 100644 --- a/perl/perl-IO-Socket-Timeout/perl-IO-Socket-Timeout.SlackBuild +++ b/perl/perl-IO-Socket-Timeout/perl-IO-Socket-Timeout.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl module: IO-Socket-Timeout # Home Page https://metacpan.org/release/IO-Socket-Timeout @@ -25,10 +25,13 @@ # 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-IO-Socket-Timeout" VERSION=${VERSION:-0.32} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="IO-Socket-Timeout" @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -106,4 +116,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-IO-String/perl-IO-String.SlackBuild b/perl/perl-IO-String/perl-IO-String.SlackBuild index 62ed6b448d..6fb8bae7e2 100644 --- a/perl/perl-IO-String/perl-IO-String.SlackBuild +++ b/perl/perl-IO-String/perl-IO-String.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-IO-String. # @@ -22,10 +22,13 @@ # 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-IO-String VERSION=${VERSION:-1.08} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Stty/perl-IO-Stty.SlackBuild b/perl/perl-IO-Stty/perl-IO-Stty.SlackBuild index 8cd96ef481..49da8c6b1f 100644 --- a/perl/perl-IO-Stty/perl-IO-Stty.SlackBuild +++ b/perl/perl-IO-Stty/perl-IO-Stty.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-IO-Stty @@ -22,10 +22,13 @@ # 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-IO-Stty VERSION=${VERSION:-0.03} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-IO-Tty/README b/perl/perl-IO-Tty/README index 9ac44f7740..36d395c6c8 100644 --- a/perl/perl-IO-Tty/README +++ b/perl/perl-IO-Tty/README @@ -1,8 +1,10 @@ +perl-IO-Tty (Pseudo TTY object class) + IO::Tty - Perl extension that provides an interface to allow the creation of a pseudo tty. -IO::Tty is used internally by IO::Pty to create a pseudo-tty. Do not use -it directly except to import constants, use IO::Pty. +IO::Tty is used internally by IO::Pty to create a pseudo-tty. Do not +use it directly except to import constants, use IO::Pty. -IO::Pty inherits from IO::Handle and so provides all the methods defined -by the IO::Handle package. +IO::Pty inherits from IO::Handle and so provides all the methods +defined by the IO::Handle package. diff --git a/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild b/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild index 2ce6b7978f..e76776bcfb 100644 --- a/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild +++ b/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild @@ -1,13 +1,25 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-IO-Tty -# Written by ruario <sbo@ruari.com> +# Written by ruario + +# Original version of this script had no license. B. Watson's +# modified version is licensed under the WTFPL. See +# http://www.wtfpl.net/txt/copying/ for details. + +# 20230224 bkw: +# - new maintainer. +# - update for v1.17. +# - add license. + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-IO-Tty -VERSION=${VERSION:-1.12} +VERSION=${VERSION:-1.17} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -19,25 +31,15 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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 @@ -47,38 +49,30 @@ 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 \ - $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 cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-IO-Tty/perl-IO-Tty.info b/perl/perl-IO-Tty/perl-IO-Tty.info index 5f5a823399..6968d97353 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.12" +VERSION="1.17" HOMEPAGE="https://metacpan.org/pod/IO::Tty" -DOWNLOAD="https://cpan.metacpan.org/authors/id/T/TO/TODDR/IO-Tty-1.12.tar.gz" -MD5SUM="11695a1a516b3bd1b90ce75ff0ce3e6d" +DOWNLOAD="https://cpan.metacpan.org/authors/id/T/TO/TODDR/IO-Tty-1.17.tar.gz" +MD5SUM="e4cd744de6a686ca78b20002fc66062a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Donald Cooley" -EMAIL="chytraeu@sdf.org" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-IO-stringy/README b/perl/perl-IO-stringy/README index 0cfe2b3878..ad45b36ee5 100644 --- a/perl/perl-IO-stringy/README +++ b/perl/perl-IO-stringy/README @@ -1,5 +1,5 @@ -perl-IO-stringy provides modules for performing both traditional and -object-oriented i/o on things other than normal filehandles; in particular, -IO::Scalar, IO::ScalarArray, and IO::Lines. +perl-IO-stringy provides modules for performing both traditional +and object-oriented i/o on things other than normal filehandles; in +particular, IO::Scalar, IO::ScalarArray, and IO::Lines. perl-IO-stringy is required by perl-MIME-tools and amavisd-new. diff --git a/perl/perl-IO-stringy/perl-IO-stringy.SlackBuild b/perl/perl-IO-stringy/perl-IO-stringy.SlackBuild index 7577e4497c..9159e1102a 100644 --- a/perl/perl-IO-stringy/perl-IO-stringy.SlackBuild +++ b/perl/perl-IO-stringy/perl-IO-stringy.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: IO-stringy # Home Page https://metacpan.org/release/IO-stringy @@ -27,21 +27,31 @@ # # Modified by the SlackBuilds.org project. -SRCNAM="IO-stringy" +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM="perl-IO-stringy" +SRCNAM="IO-stringy" VERSION=${VERSION:-2.111} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -50,8 +60,8 @@ set -e DOCS="README COPYING" -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -107,4 +117,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-IP-Country/perl-IP-Country.SlackBuild b/perl/perl-IP-Country/perl-IP-Country.SlackBuild index b6226aaca9..d21c77180c 100644 --- a/perl/perl-IP-Country/perl-IP-Country.SlackBuild +++ b/perl/perl-IP-Country/perl-IP-Country.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: IP::Country # Home Page https://metacpan.org/release/IP-Country @@ -27,22 +27,32 @@ # # Modified by the SlackBuilds.org project. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM="perl-IP-Country" VERSION=${VERSION:-2.28} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -51,8 +61,8 @@ set -e DOCS="CHANGES README" -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -111,4 +121,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-IPC-DirQueue/perl-IPC-DirQueue.SlackBuild b/perl/perl-IPC-DirQueue/perl-IPC-DirQueue.SlackBuild index 83edd705b0..77079596c0 100644 --- a/perl/perl-IPC-DirQueue/perl-IPC-DirQueue.SlackBuild +++ b/perl/perl-IPC-DirQueue/perl-IPC-DirQueue.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for IPC-DirQueue @@ -22,22 +22,32 @@ # 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-IPC-DirQueue VERSION=${VERSION:-1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -81,4 +91,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-IPC-Run/perl-IPC-Run.SlackBuild b/perl/perl-IPC-Run/perl-IPC-Run.SlackBuild index 92058dbe76..c5f4d49e72 100644 --- a/perl/perl-IPC-Run/perl-IPC-Run.SlackBuild +++ b/perl/perl-IPC-Run/perl-IPC-Run.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: IPC::Run # Home Page https://metacpan.org/release/IPC-Run @@ -25,10 +25,13 @@ # 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-IPC-Run" VERSION=${VERSION:-0.94} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -87,4 +97,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-IPC-Run/perl-IPC-Run.info b/perl/perl-IPC-Run/perl-IPC-Run.info index a0fc6cccaf..43ad2358cf 100644 --- a/perl/perl-IPC-Run/perl-IPC-Run.info +++ b/perl/perl-IPC-Run/perl-IPC-Run.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Nishant Limbachia" -EMAIL="nishant@mnspace.net"
\ No newline at end of file +EMAIL="nishant@mnspace.net" diff --git a/perl/perl-IPC-Run3/perl-IPC-Run3.SlackBuild b/perl/perl-IPC-Run3/perl-IPC-Run3.SlackBuild index 32eb8d441f..e46a7bba87 100644 --- a/perl/perl-IPC-Run3/perl-IPC-Run3.SlackBuild +++ b/perl/perl-IPC-Run3/perl-IPC-Run3.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for IPC-Run3 @@ -22,22 +22,32 @@ # 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-IPC-Run3 VERSION=${VERSION:-0.048} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -80,4 +90,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-IPC-System-Simple/perl-IPC-System-Simple.SlackBuild b/perl/perl-IPC-System-Simple/perl-IPC-System-Simple.SlackBuild index dee26dcf5d..de9000483d 100644 --- a/perl/perl-IPC-System-Simple/perl-IPC-System-Simple.SlackBuild +++ b/perl/perl-IPC-System-Simple/perl-IPC-System-Simple.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-IPC-System-Simple -# Copyright 2013 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2013-2021 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -11,26 +11,36 @@ # 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. +# 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-IPC-System-Simple SRCNAM=IPC-System-Simple -VERSION=${VERSION:-1.25} +VERSION=${VERSION:-1.30} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -CWD=$(pwd) +# 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} @@ -75,4 +85,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-IPC-System-Simple/perl-IPC-System-Simple.info b/perl/perl-IPC-System-Simple/perl-IPC-System-Simple.info index a12fe19c8a..8b94827e71 100644 --- a/perl/perl-IPC-System-Simple/perl-IPC-System-Simple.info +++ b/perl/perl-IPC-System-Simple/perl-IPC-System-Simple.info @@ -1,10 +1,10 @@ PRGNAM="perl-IPC-System-Simple" -VERSION="1.25" +VERSION="1.30" HOMEPAGE="https://metacpan.org/pod/IPC::System::Simple" -DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PJ/PJF/IPC-System-Simple-1.25.tar.gz" -MD5SUM="fb49e674e1d52e8e5646d08507d7fda5" +DOWNLOAD="https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/IPC-System-Simple-1.30.tar.gz" +MD5SUM="e68341fd958fd013b3521d909904f675" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Heinz Wiesinger" -EMAIL="pprkut@liwjatan.at" +EMAIL="pprkut@slackbuilds.org" diff --git a/perl/perl-IPTables-ChainMgr/perl-IPTables-ChainMgr.SlackBuild b/perl/perl-IPTables-ChainMgr/perl-IPTables-ChainMgr.SlackBuild index 1f66e12102..8f65db8839 100644 --- a/perl/perl-IPTables-ChainMgr/perl-IPTables-ChainMgr.SlackBuild +++ b/perl/perl-IPTables-ChainMgr/perl-IPTables-ChainMgr.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-IPTables-ChainMgr @@ -22,10 +22,13 @@ # 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-IPTables-ChainMgr VERSION=${VERSION:-1.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-IPTables-Parse/perl-IPTables-Parse.SlackBuild b/perl/perl-IPTables-Parse/perl-IPTables-Parse.SlackBuild index 34a0e7c287..56debc7dc7 100644 --- a/perl/perl-IPTables-Parse/perl-IPTables-Parse.SlackBuild +++ b/perl/perl-IPTables-Parse/perl-IPTables-Parse.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-IPTables-Parse @@ -22,10 +22,13 @@ # 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-IPTables-Parse VERSION=${VERSION:-1.6.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Image-Info/perl-Image-Info.SlackBuild b/perl/perl-Image-Info/perl-Image-Info.SlackBuild index c91c894950..113eabda30 100644 --- a/perl/perl-Image-Info/perl-Image-Info.SlackBuild +++ b/perl/perl-Image-Info/perl-Image-Info.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Image::Info # Home Page https://metacpan.org/release/Image-Info @@ -27,10 +27,13 @@ # Modified by the SlackBuilds.org project. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Image-Info VERSION=${VERSION:-1.41} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Image-Info @@ -42,7 +45,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -111,4 +121,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Image-Magick/README b/perl/perl-Image-Magick/README deleted file mode 100644 index 0e059256c8..0000000000 --- a/perl/perl-Image-Magick/README +++ /dev/null @@ -1,6 +0,0 @@ -Image::Magick - objected-oriented Perl interface to ImageMagick. Use it -to create, edit, compose, or convert bitmap images from within a Perl script. - -This Perl extension allows the reading, manipulation and writing of a -large number of image file formats using the ImageMagick library. It -was originally developed to be used by CGI scripts for Web pages. diff --git a/perl/perl-Image-Magick/perl-Image-Magick.info b/perl/perl-Image-Magick/perl-Image-Magick.info deleted file mode 100644 index 98f8cb637f..0000000000 --- a/perl/perl-Image-Magick/perl-Image-Magick.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-Image-Magick" -VERSION="6.89_1" -HOMEPAGE="https://metacpan.org/pod/Image::Magick" -DOWNLOAD="https://cpan.metacpan.org/authors/id/J/JC/JCRISTY/PerlMagick-6.89-1.tar.gz" -MD5SUM="3df09405f4669def87b56a6e018b898b" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Michel A. BEGUE" -EMAIL="mab974@gmail.com" diff --git a/perl/perl-Image-Magick/slack-desc b/perl/perl-Image-Magick/slack-desc deleted file mode 100644 index 3d5be8025d..0000000000 --- a/perl/perl-Image-Magick/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-Image-Magick: perl-Image-Magick (Perl Objected-oriented interface to ImageMagick) -perl-Image-Magick: -perl-Image-Magick: This Perl extension allows the reading, manipulation and writing of -perl-Image-Magick: a large number of image file formats using the ImageMagick library. -perl-Image-Magick: It was originally developed to be used by CGI scripts for Web pages. -perl-Image-Magick: -perl-Image-Magick: Use it to create, edit, compose, or convert bitmap images from within -perl-Image-Magick: a Perl script. -perl-Image-Magick: -perl-Image-Magick: Find out more at http://www.imagemagick.org/script/perl-magick.php -perl-Image-Magick: diff --git a/perl/perl-Image-Sane/perl-Image-Sane.SlackBuild b/perl/perl-Image-Sane/perl-Image-Sane.SlackBuild index 710f38f8f3..d9ba988f5d 100644 --- a/perl/perl-Image-Sane/perl-Image-Sane.SlackBuild +++ b/perl/perl-Image-Sane/perl-Image-Sane.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Image-Sane @@ -22,10 +22,16 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220222 bkw: Modified by SlackBuilds.org: fix build when dbus +# isn't running. + +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Image-Sane -VERSION=${VERSION:-0.14} +VERSION=${VERSION:-5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +43,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -67,9 +77,15 @@ 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 \ + -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 {} \+ + +# 20220226 bkw: if dbus service isn't running, dike out the test +# that requires it (so 'make test' will succeed). +if ! ps -u messagebus -c | grep -wq dbus-daemon; then + rm -f t/options.t +fi perl Makefile.PL \ PREFIX=/usr \ @@ -100,4 +116,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Image-Sane/perl-Image-Sane.info b/perl/perl-Image-Sane/perl-Image-Sane.info index e168f13939..05881a8f1a 100644 --- a/perl/perl-Image-Sane/perl-Image-Sane.info +++ b/perl/perl-Image-Sane/perl-Image-Sane.info @@ -1,10 +1,10 @@ PRGNAM="perl-Image-Sane" -VERSION="0.14" +VERSION="5" HOMEPAGE="https://metacpan.org/pod/Image::Sane" -DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RA/RATCLIFFE/Image-Sane-0.14.tar.gz" -MD5SUM="5a8687379630a272cacbcb52d66ae65a" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RA/RATCLIFFE/Image-Sane-5.tar.gz" +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" +REQUIRES="perl-extutils-depends perl-extutils-pkgconfig perl-Exception-Class perl-Test-Requires perl-Readonly perl-Try-Tiny" MAINTAINER="Michel A. BEGUE" EMAIL="mab974@gmail.com" diff --git a/perl/perl-Image-Size/perl-Image-Size.SlackBuild b/perl/perl-Image-Size/perl-Image-Size.SlackBuild index 53295bebbf..f56ab0cf0c 100644 --- a/perl/perl-Image-Size/perl-Image-Size.SlackBuild +++ b/perl/perl-Image-Size/perl-Image-Size.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Image-Size @@ -26,10 +26,13 @@ # 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-Image-Size VERSION=${VERSION:-3.300} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Image-Size @@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -104,4 +114,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Import-Into/perl-Import-Into.SlackBuild b/perl/perl-Import-Into/perl-Import-Into.SlackBuild index 4c4528b497..40d26dcfd6 100644 --- a/perl/perl-Import-Into/perl-Import-Into.SlackBuild +++ b/perl/perl-Import-Into/perl-Import-Into.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Import-Into @@ -22,28 +22,38 @@ # 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-Import-Into VERSION=${VERSION:-1.002005} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Import-Into/perl-Import-Into.info b/perl/perl-Import-Into/perl-Import-Into.info index 1a6fb997fa..aa5add565c 100644 --- a/perl/perl-Import-Into/perl-Import-Into.info +++ b/perl/perl-Import-Into/perl-Import-Into.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Import-Into-1.002005.t MD5SUM="48bdc7988f5a7d4d06039ccc5c2459e9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Module-Runtime" +REQUIRES="" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" diff --git a/perl/perl-Inline-C/README b/perl/perl-Inline-C/README index 7a8d3c58c6..4579e66d4b 100644 --- a/perl/perl-Inline-C/README +++ b/perl/perl-Inline-C/README @@ -1,13 +1,14 @@ -Inline::C is a module that allows you to write Perl subroutines in C. Since -version 0.30 the Inline module supports multiple programming languages and -each language has its own support module. This document describes how to use -Inline with the C programming language. It also goes a bit into Perl C -internals. +Inline::C is a module that allows you to write Perl subroutines in +C. Since version 0.30 the Inline module supports multiple programming +languages and each language has its own support module. This document +describes how to use Inline with the C programming language. It also +goes a bit into Perl C internals. -If you want to start working with programming examples right away, check out -Inline::C::Cookbook. For more information on Inline in general, see Inline. +If you want to start working with programming examples right away, +check out Inline::C::Cookbook. For more information on Inline in +general, see Inline. USAGE -You never actually use Inline::C directly. It is just a support module for -using Inline.pm with C. +You never actually use Inline::C directly. It is just a support module +for using Inline.pm with C. diff --git a/perl/perl-Inline-C/perl-Inline-C.SlackBuild b/perl/perl-Inline-C/perl-Inline-C.SlackBuild index cb80f3d5f5..dea33af56d 100644 --- a/perl/perl-Inline-C/perl-Inline-C.SlackBuild +++ b/perl/perl-Inline-C/perl-Inline-C.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Inline-C @@ -23,10 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Inline-C VERSION=${VERSION:-0.78} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Inline/perl-Inline.SlackBuild b/perl/perl-Inline/perl-Inline.SlackBuild index 68230e0006..a1e2af09ec 100644 --- a/perl/perl-Inline/perl-Inline.SlackBuild +++ b/perl/perl-Inline/perl-Inline.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Inline @@ -22,10 +22,13 @@ # 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-Inline VERSION=${VERSION:-0.80} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=$(printf $PRGNAM | cut -d- -f2-) @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-JSON-MaybeXS/perl-JSON-MaybeXS.SlackBuild b/perl/perl-JSON-MaybeXS/perl-JSON-MaybeXS.SlackBuild index 2a182ca010..7d8f3377e0 100644 --- a/perl/perl-JSON-MaybeXS/perl-JSON-MaybeXS.SlackBuild +++ b/perl/perl-JSON-MaybeXS/perl-JSON-MaybeXS.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-JSON-MaybeXS @@ -22,10 +22,13 @@ # 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-JSON-MaybeXS VERSION=${VERSION:-1.004000} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-JSON-XS/perl-JSON-XS.SlackBuild b/perl/perl-JSON-XS/perl-JSON-XS.SlackBuild index da1f451d7a..7399ea568b 100644 --- a/perl/perl-JSON-XS/perl-JSON-XS.SlackBuild +++ b/perl/perl-JSON-XS/perl-JSON-XS.SlackBuild @@ -1,9 +1,10 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-JSON-XS # Copyright 2013 Donald Cooley La Porte, IN USA # Copyright 2017-2019 Donald Cooley South Haven, IN USA +# Copyright 2022 Tonus Paris # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,10 +24,13 @@ # 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-JSON-XS -VERSION=${VERSION:-4.02} +VERSION=${VERSION:-4.03} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,7 +42,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -103,4 +114,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-JSON-XS/perl-JSON-XS.info b/perl/perl-JSON-XS/perl-JSON-XS.info index cbc06937c9..74b3cddeaf 100644 --- a/perl/perl-JSON-XS/perl-JSON-XS.info +++ b/perl/perl-JSON-XS/perl-JSON-XS.info @@ -1,10 +1,10 @@ PRGNAM="perl-JSON-XS" -VERSION="4.02" +VERSION="4.03" HOMEPAGE="https://metacpan.org/release/JSON-XS" -DOWNLOAD="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-4.02.tar.gz" -MD5SUM="1a9868d08ca395366cf1d1ea99753e6c" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-4.03.tar.gz" +MD5SUM="5358225ebc9f5b74516d7585ac236086" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Canary-Stability perl-Types-Serialiser" -MAINTAINER="Donald Cooley" -EMAIL="chytraeu@sdf.org" +MAINTAINER="Tonus" +EMAIL="tonus1@free.fr" diff --git a/perl/perl-JSON/perl-JSON.SlackBuild b/perl/perl-JSON/perl-JSON.SlackBuild index 8a0bd84929..890074a27e 100644 --- a/perl/perl-JSON/perl-JSON.SlackBuild +++ b/perl/perl-JSON/perl-JSON.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-JSON # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-JSON VERSION=${VERSION:-4.02} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=JSON if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-LWP-Protocol-https/perl-LWP-Protocol-https.SlackBuild b/perl/perl-LWP-Protocol-https/perl-LWP-Protocol-https.SlackBuild index f515287f96..e16a3766c7 100644 --- a/perl/perl-LWP-Protocol-https/perl-LWP-Protocol-https.SlackBuild +++ b/perl/perl-LWP-Protocol-https/perl-LWP-Protocol-https.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-LWP-Protocol-https -# Copyright 2013,2019 Chris Walker Kempner, TX +# Copyright 2013,2019,2021 Chris Walker Kempner, TX # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,22 +22,32 @@ # 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-LWP-Protocol-https -VERSION=${VERSION:-6.07} +VERSION=${VERSION:-6.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=LWP-Protocol-https if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -77,7 +87,7 @@ find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - Changes README \ + Changes Install LICENSE \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -85,4 +95,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-LWP-Protocol-https/perl-LWP-Protocol-https.info b/perl/perl-LWP-Protocol-https/perl-LWP-Protocol-https.info index edddd2eae2..b7c052e801 100644 --- a/perl/perl-LWP-Protocol-https/perl-LWP-Protocol-https.info +++ b/perl/perl-LWP-Protocol-https/perl-LWP-Protocol-https.info @@ -1,10 +1,10 @@ PRGNAM="perl-LWP-Protocol-https" -VERSION="6.07" +VERSION="6.10" HOMEPAGE="https://metacpan.org/pod/LWP::Protocol::https" -DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/LWP-Protocol-https-6.07.tar.gz" -MD5SUM="b8943dfb7d187af63c36fc18ab15947d" +DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/LWP-Protocol-https-6.10.tar.gz" +MD5SUM="cf64e4bc57a9266ac4343cdf0808c5c8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="libwww-perl perl-Mozilla-CA perl-IO-Socket-SSL perl-Test-RequiresInternet" +REQUIRES="libwww-perl perl-Mozilla-CA perl-Test-RequiresInternet" MAINTAINER="Chris Walker" EMAIL="kris240376@gmail.com" diff --git a/perl/perl-LWP-Protocol-socks/perl-LWP-Protocol-socks.SlackBuild b/perl/perl-LWP-Protocol-socks/perl-LWP-Protocol-socks.SlackBuild index b7384b9823..6904c0ae2c 100644 --- a/perl/perl-LWP-Protocol-socks/perl-LWP-Protocol-socks.SlackBuild +++ b/perl/perl-LWP-Protocol-socks/perl-LWP-Protocol-socks.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-LWP-Protocol-socks @@ -22,10 +22,13 @@ # 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-LWP-Protocol-socks VERSION=${VERSION:-1.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 ecfbecead7..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 perl-IO-Socket-SSL 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-Fathom/perl-Lingua-EN-Fathom.SlackBuild b/perl/perl-Lingua-EN-Fathom/perl-Lingua-EN-Fathom.SlackBuild index 9050a2b5e8..6919eff443 100644 --- a/perl/perl-Lingua-EN-Fathom/perl-Lingua-EN-Fathom.SlackBuild +++ b/perl/perl-Lingua-EN-Fathom/perl-Lingua-EN-Fathom.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Lingua-EN-Fathom @@ -22,10 +22,13 @@ # 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-Fathom VERSION=${VERSION:-1.19} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Lingua-EN-Numbers-Ordinate/perl-Lingua-EN-Numbers-Ordinate.SlackBuild b/perl/perl-Lingua-EN-Numbers-Ordinate/perl-Lingua-EN-Numbers-Ordinate.SlackBuild index 3e4ba05691..d7223401d4 100644 --- a/perl/perl-Lingua-EN-Numbers-Ordinate/perl-Lingua-EN-Numbers-Ordinate.SlackBuild +++ b/perl/perl-Lingua-EN-Numbers-Ordinate/perl-Lingua-EN-Numbers-Ordinate.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Lingua-EN-Numbers-Ordinate # Written by David Somero <dsomero@hotmail.com> @@ -25,10 +25,13 @@ # 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-Numbers-Ordinate VERSION=${VERSION:-1.04} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Lingua-EN-Numbers-Ordinate @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -101,4 +111,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Lingua-EN-Syllable/perl-Lingua-EN-Syllable.SlackBuild b/perl/perl-Lingua-EN-Syllable/perl-Lingua-EN-Syllable.SlackBuild index 2023c44c39..4e298c7631 100644 --- a/perl/perl-Lingua-EN-Syllable/perl-Lingua-EN-Syllable.SlackBuild +++ b/perl/perl-Lingua-EN-Syllable/perl-Lingua-EN-Syllable.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Lingua-EN-Syllable @@ -22,10 +22,13 @@ # 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-Syllable VERSION=${VERSION:-0.30} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Lingua-Preferred/perl-Lingua-Preferred.SlackBuild b/perl/perl-Lingua-Preferred/perl-Lingua-Preferred.SlackBuild index f58b51386d..728fa09ce3 100644 --- a/perl/perl-Lingua-Preferred/perl-Lingua-Preferred.SlackBuild +++ b/perl/perl-Lingua-Preferred/perl-Lingua-Preferred.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Lingua-Preferred # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-Preferred VERSION=${VERSION:-0.2.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Lingua-Preferred if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-List-AllUtils/README b/perl/perl-List-AllUtils/README new file mode 100644 index 0000000000..0af752b2cf --- /dev/null +++ b/perl/perl-List-AllUtils/README @@ -0,0 +1,2 @@ +This module provides all List opoerations from List::Util, +List::SomeUtils and List::UtilsBy diff --git a/perl/perl-List-AllUtils/perl-List-AllUtils.SlackBuild b/perl/perl-List-AllUtils/perl-List-AllUtils.SlackBuild new file mode 100644 index 0000000000..314ea76da7 --- /dev/null +++ b/perl/perl-List-AllUtils/perl-List-AllUtils.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/bash + +# Slackware build script for perl-List-AllUtils + +# Copyright 2020 Jan F. Chadima <jfch@jagda.eu> +# 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-List-AllUtils +VERSION=${VERSION:-0.16} +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 +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 \ + CODE_OF_CONDUCT* CONTRIBUTING* 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-List-AllUtils/perl-List-AllUtils.info b/perl/perl-List-AllUtils/perl-List-AllUtils.info new file mode 100644 index 0000000000..3bee864378 --- /dev/null +++ b/perl/perl-List-AllUtils/perl-List-AllUtils.info @@ -0,0 +1,10 @@ +PRGNAM="perl-List-AllUtils" +VERSION="0.16" +HOMEPAGE="https://metacpan.org/pod/List::AllUtils" +DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/List-AllUtils-0.16.tar.gz" +MD5SUM="508796a7ed76c5fe699ad9dc08538daf" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Scalar-List-Utils perl-List-SomeUtils perl-List-UtilsBy" +MAINTAINER="Jan F. Chadima" +EMAIL="jfch@jagda.eu" diff --git a/perl/perl-List-AllUtils/slack-desc b/perl/perl-List-AllUtils/slack-desc new file mode 100644 index 0000000000..9211c3e474 --- /dev/null +++ b/perl/perl-List-AllUtils/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-List-AllUtils: perl-List-AllUtils (All List utilities) +perl-List-AllUtils: +perl-List-AllUtils: This module provides colection of List utilities from modules +perl-List-AllUtils: List::Util, List::SomeUtils and List::UtilsBy +perl-List-AllUtils: +perl-List-AllUtils: Homepage: https://metacpan.org/pod/List-AllUtils +perl-List-AllUtils: +perl-List-AllUtils: +perl-List-AllUtils: +perl-List-AllUtils: +perl-List-AllUtils: diff --git a/perl/perl-List-MoreUtils-XS/perl-List-MoreUtils-XS.SlackBuild b/perl/perl-List-MoreUtils-XS/perl-List-MoreUtils-XS.SlackBuild index f740fe7006..d7e4a98668 100644 --- a/perl/perl-List-MoreUtils-XS/perl-List-MoreUtils-XS.SlackBuild +++ b/perl/perl-List-MoreUtils-XS/perl-List-MoreUtils-XS.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-List-MoreUtils-XS -# Copyright 2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2017-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # 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-List-MoreUtils-XS -VERSION=${VERSION:-0.428} +VERSION=${VERSION:-0.430} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-List-MoreUtils-XS/perl-List-MoreUtils-XS.info b/perl/perl-List-MoreUtils-XS/perl-List-MoreUtils-XS.info index 1f7d265277..29ee0edce9 100644 --- a/perl/perl-List-MoreUtils-XS/perl-List-MoreUtils-XS.info +++ b/perl/perl-List-MoreUtils-XS/perl-List-MoreUtils-XS.info @@ -1,8 +1,8 @@ PRGNAM="perl-List-MoreUtils-XS" -VERSION="0.428" +VERSION="0.430" HOMEPAGE="https://metacpan.org/pod/List::MoreUtils::XS" -DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-XS-0.428.tar.gz" -MD5SUM="79939a9c2deb83ea2fa7fcbd3ad9c5c9" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-XS-0.430.tar.gz" +MD5SUM="e77113e55b046906aecfb4ddb4f0c662" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-List-MoreUtils/perl-List-MoreUtils.SlackBuild b/perl/perl-List-MoreUtils/perl-List-MoreUtils.SlackBuild index 5106567d69..6b4adbabe1 100644 --- a/perl/perl-List-MoreUtils/perl-List-MoreUtils.SlackBuild +++ b/perl/perl-List-MoreUtils/perl-List-MoreUtils.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-List-MoreUtils @@ -26,10 +26,13 @@ # 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-List-MoreUtils VERSION=${VERSION:-0.425} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=List-MoreUtils @@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -102,4 +112,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-List-SomeUtils/README b/perl/perl-List-SomeUtils/README new file mode 100644 index 0000000000..74c02e9e6c --- /dev/null +++ b/perl/perl-List-SomeUtils/README @@ -0,0 +1 @@ +This module provides List opoerations missing in List::Util. diff --git a/perl/perl-List-SomeUtils/perl-List-SomeUtils.SlackBuild b/perl/perl-List-SomeUtils/perl-List-SomeUtils.SlackBuild new file mode 100644 index 0000000000..c4bf314230 --- /dev/null +++ b/perl/perl-List-SomeUtils/perl-List-SomeUtils.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/bash + +# Slackware build script for perl-List-SomeUtils + +# Copyright 2020 Jan F. Chadima <jfch@jagda.eu> +# 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-List-SomeUtils +VERSION=${VERSION:-0.58} +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 +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 \ + CODE_OF_CONDUCT* CONTRIBUTING* 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-List-SomeUtils/perl-List-SomeUtils.info b/perl/perl-List-SomeUtils/perl-List-SomeUtils.info new file mode 100644 index 0000000000..27b8ca613a --- /dev/null +++ b/perl/perl-List-SomeUtils/perl-List-SomeUtils.info @@ -0,0 +1,10 @@ +PRGNAM="perl-List-SomeUtils" +VERSION="0.58" +HOMEPAGE="https://metacpan.org/pod/List::SomeUtils" +DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/List-SomeUtils-0.58.tar.gz" +MD5SUM="d35e2233abcd8712792e6a3548f41181" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Module-Implementation" +MAINTAINER="Jan F. Chadima" +EMAIL="jfch@jagda.eu" diff --git a/perl/perl-List-SomeUtils/slack-desc b/perl/perl-List-SomeUtils/slack-desc new file mode 100644 index 0000000000..72f641c86d --- /dev/null +++ b/perl/perl-List-SomeUtils/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-List-SomeUtils: perl-List-SomeUtils (Missing methods from List::Util) +perl-List-SomeUtils: +perl-List-SomeUtils: This module provides utilities missing in List::Util +perl-List-SomeUtils: +perl-List-SomeUtils: Homepage: https://metacpan.org/pod/List::SomeUtils +perl-List-SomeUtils: +perl-List-SomeUtils: +perl-List-SomeUtils: +perl-List-SomeUtils: +perl-List-SomeUtils: +perl-List-SomeUtils: diff --git a/perl/perl-List-UtilsBy/perl-List-UtilsBy.SlackBuild b/perl/perl-List-UtilsBy/perl-List-UtilsBy.SlackBuild index bf0898e394..d33e3d4fd2 100644 --- a/perl/perl-List-UtilsBy/perl-List-UtilsBy.SlackBuild +++ b/perl/perl-List-UtilsBy/perl-List-UtilsBy.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-List-UtilsBy @@ -22,16 +22,26 @@ # 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-List-UtilsBy VERSION=${VERSION:-0.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -79,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Locale-Codes/README b/perl/perl-Locale-Codes/README new file mode 100644 index 0000000000..72130d7348 --- /dev/null +++ b/perl/perl-Locale-Codes/README @@ -0,0 +1,11 @@ +Locale::Codes - a distribution of modules to handle locale codes. + +Locale-Codes is a distribution containing a set of modules designed to +work with sets of codes which uniquely identify something. For example, +there are codes associated with different countries, different +currencies, different languages, etc. +Each module will work with one specific type of code sets. +(Locale::Country, Locale::Language, Locale::Currency, Locale::Script) +Locale::Codes::Script Locale::Codes::Country Locale::Codes::Language +Locale::Codes::Currency Locale::Codes::Script +Locale::Codes::LangExt Locale::Codes::LangVar Locale::Codes::LangFam diff --git a/perl/perl-Path-Tiny/perl-Path-Tiny.SlackBuild b/perl/perl-Locale-Codes/perl-Locale-Codes.SlackBuild index 8081e781d7..ff588325b8 100644 --- a/perl/perl-Path-Tiny/perl-Path-Tiny.SlackBuild +++ b/perl/perl-Locale-Codes/perl-Locale-Codes.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash -# Slackware build script for perl-Path-Tiny +# Slackware build script for perl-Locale-Codes -# Copyright 2017-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright (c) 2022 M.A. Begue mab974@misouk.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=perl-Path-Tiny -VERSION=${VERSION:-0.112} +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Locale-Codes +VERSION=${VERSION:-3.70} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -80,9 +87,6 @@ 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 @@ -91,11 +95,13 @@ 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 -a \ + Changes LICENSE README README.first \ + $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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Locale-Codes/perl-Locale-Codes.info b/perl/perl-Locale-Codes/perl-Locale-Codes.info new file mode 100644 index 0000000000..b3edafbed0 --- /dev/null +++ b/perl/perl-Locale-Codes/perl-Locale-Codes.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Locale-Codes" +VERSION="3.70" +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_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Test-Inter" +MAINTAINER="Michel A. BEGUE" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-Locale-Codes/slack-desc b/perl/perl-Locale-Codes/slack-desc new file mode 100644 index 0000000000..2e94e2695c --- /dev/null +++ b/perl/perl-Locale-Codes/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-Locale-Codes: perl-Locale-Codes (distribution of modules to handle locale codes) +perl-Locale-Codes: +perl-Locale-Codes: Locale-Codes is a distribution containing a set of modules designed +perl-Locale-Codes: to work with sets of codes which uniquely identify something. For +perl-Locale-Codes: example, there are codes associated with different countries, +perl-Locale-Codes: different currencies, different languages, etc. +perl-Locale-Codes: +perl-Locale-Codes: Each module will work with one specific type of code sets. +perl-Locale-Codes: +perl-Locale-Codes: +perl-Locale-Codes: diff --git a/perl/perl-Locale-Maketext-Gettext/perl-Locale-Maketext-Gettext.SlackBuild b/perl/perl-Locale-Maketext-Gettext/perl-Locale-Maketext-Gettext.SlackBuild index 1a6e008b71..06868393e7 100644 --- a/perl/perl-Locale-Maketext-Gettext/perl-Locale-Maketext-Gettext.SlackBuild +++ b/perl/perl-Locale-Maketext-Gettext/perl-Locale-Maketext-Gettext.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Locale-Maketext-Gettext @@ -22,10 +22,13 @@ # 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-Locale-Maketext-Gettext VERSION=${VERSION:-1.28} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Locale-Maketext-Lexicon/perl-Locale-Maketext-Lexicon.SlackBuild b/perl/perl-Locale-Maketext-Lexicon/perl-Locale-Maketext-Lexicon.SlackBuild index 8cb0b35fed..39b8f073e6 100644 --- a/perl/perl-Locale-Maketext-Lexicon/perl-Locale-Maketext-Lexicon.SlackBuild +++ b/perl/perl-Locale-Maketext-Lexicon/perl-Locale-Maketext-Lexicon.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright (c) 2013 Asaf Ohaion # All rights reserved. @@ -25,10 +25,13 @@ # (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-Locale-Maketext-Lexicon VERSION=${VERSION:-1.00} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Locale-Maketext-Lexicon @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Locale-Msgfmt/perl-Locale-Msgfmt.SlackBuild b/perl/perl-Locale-Msgfmt/perl-Locale-Msgfmt.SlackBuild index 314c3c1819..647543dde1 100644 --- a/perl/perl-Locale-Msgfmt/perl-Locale-Msgfmt.SlackBuild +++ b/perl/perl-Locale-Msgfmt/perl-Locale-Msgfmt.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Locale-Msgfmt @@ -22,10 +22,13 @@ # 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-Locale-Msgfmt VERSION=${VERSION:-0.15} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Locale-Msgfmt/perl-Locale-Msgfmt.info b/perl/perl-Locale-Msgfmt/perl-Locale-Msgfmt.info index 8f8f71d19c..9e2de3c0dd 100644 --- a/perl/perl-Locale-Msgfmt/perl-Locale-Msgfmt.info +++ b/perl/perl-Locale-Msgfmt/perl-Locale-Msgfmt.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AZ/AZAWAWI/Locale-Msgfmt-0.15.t MD5SUM="7e6fde43db034f765f3a425dfa1dd4d8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="perl-Module-Install" MAINTAINER="Nikos Giotis" EMAIL="nikos.giotis@gmail.com" diff --git a/perl/perl-Locale-PO/perl-Locale-PO.SlackBuild b/perl/perl-Locale-PO/perl-Locale-PO.SlackBuild index 36b8f4a074..bbedf92575 100644 --- a/perl/perl-Locale-PO/perl-Locale-PO.SlackBuild +++ b/perl/perl-Locale-PO/perl-Locale-PO.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Locale-PO @@ -22,10 +22,13 @@ # 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-Locale-PO VERSION=${VERSION:-0.27} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-LockFile-Simple/perl-LockFile-Simple.SlackBuild b/perl/perl-LockFile-Simple/perl-LockFile-Simple.SlackBuild index ead3986557..1f73566aae 100644 --- a/perl/perl-LockFile-Simple/perl-LockFile-Simple.SlackBuild +++ b/perl/perl-LockFile-Simple/perl-LockFile-Simple.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-LockFile-Simple @@ -22,22 +22,32 @@ # 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-LockFile-Simple VERSION=${VERSION:-0.208} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -93,4 +103,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Log-Dispatch/README b/perl/perl-Log-Dispatch/README index 8a53f28ea2..4a59b398d2 100644 --- a/perl/perl-Log-Dispatch/README +++ b/perl/perl-Log-Dispatch/README @@ -1,2 +1,2 @@ -The Log::Dispatch manages a set of Log::Dispatch::* output objects that can -be logged to via a unified interface. +The Log::Dispatch manages a set of Log::Dispatch::* output objects +that can be logged to via a unified interface. diff --git a/perl/perl-Log-Dispatch/perl-Log-Dispatch.SlackBuild b/perl/perl-Log-Dispatch/perl-Log-Dispatch.SlackBuild index 45cb1dca8b..f22141f76b 100644 --- a/perl/perl-Log-Dispatch/perl-Log-Dispatch.SlackBuild +++ b/perl/perl-Log-Dispatch/perl-Log-Dispatch.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Log-Dispatch @@ -22,15 +22,25 @@ # 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-Log-Dispatch VERSION=${VERSION:-2.44} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -76,4 +86,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Log-Log4perl/perl-Log-Log4perl.SlackBuild b/perl/perl-Log-Log4perl/perl-Log-Log4perl.SlackBuild index ce17450405..414f920b9b 100644 --- a/perl/perl-Log-Log4perl/perl-Log-Log4perl.SlackBuild +++ b/perl/perl-Log-Log4perl/perl-Log-Log4perl.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Log-Log4perl @@ -22,22 +22,32 @@ # 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-Log-Log4perl VERSION=${VERSION:-1.46} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -81,4 +91,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Log-Message-Simple/perl-Log-Message-Simple.SlackBuild b/perl/perl-Log-Message-Simple/perl-Log-Message-Simple.SlackBuild index 704d778b74..1b07d180c9 100644 --- a/perl/perl-Log-Message-Simple/perl-Log-Message-Simple.SlackBuild +++ b/perl/perl-Log-Message-Simple/perl-Log-Message-Simple.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Log-Message-Simple @@ -16,10 +16,13 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Log-Message-Simple VERSION=${VERSION:-0.10} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -31,7 +34,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -90,4 +100,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Log-Message-Simple/perl-Log-Message-Simple.info b/perl/perl-Log-Message-Simple/perl-Log-Message-Simple.info index 41417942b5..0e089081d1 100644 --- a/perl/perl-Log-Message-Simple/perl-Log-Message-Simple.info +++ b/perl/perl-Log-Message-Simple/perl-Log-Message-Simple.info @@ -6,5 +6,5 @@ MD5SUM="0a0f9df6bc1148cc2aae4cb2882c0664" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Log-Message" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" +MAINTAINER="orphaned - no maintainer" +EMAIL="nobody@nowhere" diff --git a/perl/perl-Log-Message/perl-Log-Message.SlackBuild b/perl/perl-Log-Message/perl-Log-Message.SlackBuild index ff070f557e..de3e3fd9b0 100644 --- a/perl/perl-Log-Message/perl-Log-Message.SlackBuild +++ b/perl/perl-Log-Message/perl-Log-Message.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Log-Message @@ -16,10 +16,13 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Log-Message VERSION=${VERSION:-0.08} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -31,7 +34,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -90,4 +100,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Log-Message/perl-Log-Message.info b/perl/perl-Log-Message/perl-Log-Message.info index 17194e890b..201783b9d1 100644 --- a/perl/perl-Log-Message/perl-Log-Message.info +++ b/perl/perl-Log-Message/perl-Log-Message.info @@ -6,5 +6,5 @@ MD5SUM="406fe7d1e37980afa105b663c436c4af" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" +MAINTAINER="orphaned - no maintainer" +EMAIL="nobody@nowhere" diff --git a/perl/perl-MIME-Charset/README b/perl/perl-MIME-Charset/README index 5c3527ec1e..5cff2beee9 100644 --- a/perl/perl-MIME-Charset/README +++ b/perl/perl-MIME-Charset/README @@ -1,11 +1,10 @@ -perl-MIME-Charset +perl-MIME-Charset (character set information for perl) -This package ships mainly perl module MIME::Charset +This package ships the perl module MIME::Charset. MIME::Charset +provides information about character sets used for MIME messages on +the Internet. -MIME::Charset provides informations about character sets used for MIME -messages on Internet. - -Documentation : "man MIME::Charset" +Documentation: "man MIME::Charset" Documentation in Japanese: "man POD2::JA::MIME::Charset" diff --git a/perl/perl-MIME-Charset/perl-MIME-Charset.SlackBuild b/perl/perl-MIME-Charset/perl-MIME-Charset.SlackBuild index 11bacba8d1..0640132b7b 100644 --- a/perl/perl-MIME-Charset/perl-MIME-Charset.SlackBuild +++ b/perl/perl-MIME-Charset/perl-MIME-Charset.SlackBuild @@ -1,61 +1,41 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-MIME-Charset -# Copyright 2014 Didier Spaier, Paris, France -# 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. +# Originally written 2014 Didier Spaier, Paris, France +# Now maintained by B. Watson (urchlay@slackware.uk) + +# 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. +# - simplify build. +# - tweak README and slack-desc. +# - ARCH=noarch. + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-MIME-Charset -VERSION=${VERSION:-1.012} +VERSION=${VERSION:-1.013.1} 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=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac +ARCH=noarch + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 @@ -65,11 +45,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_MM_USE_DEFAULT=1 \ perl Makefile.PL \ @@ -79,15 +56,10 @@ perl Makefile.PL \ make make test 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 {} \; -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 -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 @@ -98,4 +70,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-MIME-Charset/perl-MIME-Charset.info b/perl/perl-MIME-Charset/perl-MIME-Charset.info index 7eb62241f6..1b9b058bf4 100644 --- a/perl/perl-MIME-Charset/perl-MIME-Charset.info +++ b/perl/perl-MIME-Charset/perl-MIME-Charset.info @@ -1,10 +1,10 @@ PRGNAM="perl-MIME-Charset" -VERSION="1.012" -HOMEPAGE="https://metacpan.org/release/NEZUMI/MIME-Charset-1.012" -DOWNLOAD="https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/MIME-Charset-1.012.tar.gz" -MD5SUM="1762b0d9e9379be684b704c247317276" +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="" -MAINTAINER="Didier Spaier" -EMAIL="didier at slint dot fr" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-MIME-Charset/slack-desc b/perl/perl-MIME-Charset/slack-desc index 4a9d785f44..9d756501c0 100644 --- a/perl/perl-MIME-Charset/slack-desc +++ b/perl/perl-MIME-Charset/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -perl-MIME-Charset: perl-MIME-Charset (Charset Information) +perl-MIME-Charset: perl-MIME-Charset (character set information for perl) +perl-MIME-Charset: +perl-MIME-Charset: This package ships the perl module MIME::Charset. MIME::Charset +perl-MIME-Charset: provides information about character sets used for MIME messages on +perl-MIME-Charset: the Internet. +perl-MIME-Charset: perl-MIME-Charset: -perl-MIME-Charset: This package ships mainly perl module MIME::Charset perl-MIME-Charset: -perl-MIME-Charset: MIME::Charset provides informations about character sets used for -perl-MIME-Charset: MIME messages on Internet. perl-MIME-Charset: -perl-MIME-Charset: Dcumentation: "man MIME::Charset" perl-MIME-Charset: -perl-MIME-Charset: Documentation in Japanese: "man POD2::JA::MIME::Charset" perl-MIME-Charset: diff --git a/perl/perl-MIME-Lite/perl-MIME-Lite.SlackBuild b/perl/perl-MIME-Lite/perl-MIME-Lite.SlackBuild index 7946b0f98b..fca497d80b 100644 --- a/perl/perl-MIME-Lite/perl-MIME-Lite.SlackBuild +++ b/perl/perl-MIME-Lite/perl-MIME-Lite.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-MIME-Lite @@ -24,10 +24,13 @@ # 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-MIME-Lite VERSION=${VERSION:-3.030} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=MIME-Lite @@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-MIME-Types/perl-MIME-Types.SlackBuild b/perl/perl-MIME-Types/perl-MIME-Types.SlackBuild index af71bdac92..8f1604f6bb 100644 --- a/perl/perl-MIME-Types/perl-MIME-Types.SlackBuild +++ b/perl/perl-MIME-Types/perl-MIME-Types.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-MIME-Types # Copyright 2019 Dave Woodfall <dave@slackbuilds.org> @@ -21,11 +21,14 @@ # 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-MIME-Types SRCNAM=MIME-Types -VERSION=${VERSION:-2.17} +VERSION=${VERSION:-2.24} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-MIME-Types/perl-MIME-Types.info b/perl/perl-MIME-Types/perl-MIME-Types.info index f762bdfa99..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.17" +VERSION="2.24" HOMEPAGE="https://metacpan.org/pod/MIME::Types" -DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MARKOV/MIME-Types-2.17.tar.gz" -MD5SUM="6f1441addab947137bac92c379a47ba3" +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/README b/perl/perl-MIME-tools/README index 7726739b10..d2c9c71acf 100644 --- a/perl/perl-MIME-tools/README +++ b/perl/perl-MIME-tools/README @@ -1,4 +1,4 @@ -perl-MIME-tools is a collection of perl modules for parsing (and creating) -MIME entities +perl-MIME-tools is a collection of perl modules for parsing (and +creating) MIME entities perl-MIME-tools is required for amavisd-new. diff --git a/perl/perl-MIME-tools/perl-MIME-tools.SlackBuild b/perl/perl-MIME-tools/perl-MIME-tools.SlackBuild index f25e538c62..8f1206edec 100644 --- a/perl/perl-MIME-tools/perl-MIME-tools.SlackBuild +++ b/perl/perl-MIME-tools/perl-MIME-tools.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: MIME-tools # Home Page https://metacpan.org/release/MIME-tools @@ -27,21 +27,31 @@ # # Modified by the SlackBuilds.org project. -SRCNAM="MIME-tools" +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM="perl-MIME-tools" +SRCNAM="MIME-tools" VERSION=${VERSION:-5.506} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -50,8 +60,8 @@ set -e DOCS="COPYING ChangeLog README* INSTALLING" -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -105,4 +115,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-MIME-tools/perl-MIME-tools.info b/perl/perl-MIME-tools/perl-MIME-tools.info index 124ef9850f..f5c608391a 100644 --- a/perl/perl-MIME-tools/perl-MIME-tools.info +++ b/perl/perl-MIME-tools/perl-MIME-tools.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DS/DSKOLL/MIME-tools-5.506.tar. MD5SUM="ddc8479d25688f8860d0bf3be9df52c5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Convert-BinHex perl-IO-stringy perl-MailTools" +REQUIRES="perl-Module-Install perl-Convert-BinHex perl-IO-stringy perl-MailTools" MAINTAINER="Nishant Limbachia" EMAIL="nishant@mnspace.net" diff --git a/perl/perl-MP3-Info/perl-MP3-Info.SlackBuild b/perl/perl-MP3-Info/perl-MP3-Info.SlackBuild index 58225597d9..fe4ce42e84 100644 --- a/perl/perl-MP3-Info/perl-MP3-Info.SlackBuild +++ b/perl/perl-MP3-Info/perl-MP3-Info.SlackBuild @@ -1,13 +1,16 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-MP3-Info # Written by Mark Grocock <mark@grocock.me.uk> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-MP3-Info VERSION=${VERSION:-1.24} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=MP3-Info @@ -19,7 +22,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -78,4 +88,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-MP3-Info/perl-MP3-Info.info b/perl/perl-MP3-Info/perl-MP3-Info.info index b4b872a55a..a8394334e1 100644 --- a/perl/perl-MP3-Info/perl-MP3-Info.info +++ b/perl/perl-MP3-Info/perl-MP3-Info.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DA/DANIEL/MP3-Info-1.24.tar.gz" MD5SUM="fb4bcc43764e3b46c3a7c74b50ed7a44" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="perl-Module-Install" MAINTAINER="Mark Grocock" EMAIL="mark@grocock.me.uk" diff --git a/perl/perl-MRO-Compat/perl-MRO-Compat.SlackBuild b/perl/perl-MRO-Compat/perl-MRO-Compat.SlackBuild index d63a1891e2..b033dd89f7 100644 --- a/perl/perl-MRO-Compat/perl-MRO-Compat.SlackBuild +++ b/perl/perl-MRO-Compat/perl-MRO-Compat.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-MRO-Compat @@ -22,16 +22,26 @@ # 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-MRO-Compat VERSION=${VERSION:-0.13} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -76,4 +86,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild b/perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild index b4ac70f5d3..af52d597fe 100644 --- a/perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild +++ b/perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Mail::DKIM # Home Page https://metacpan.org/release/Mail-DKIM @@ -25,10 +25,13 @@ # 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-DKIM" -VERSION=${VERSION:-0.52} +VERSION=${VERSION:-1.20240124} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -61,7 +71,7 @@ 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 @@ -95,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Mail-DKIM/perl-Mail-DKIM.info b/perl/perl-Mail-DKIM/perl-Mail-DKIM.info index aa069fc4eb..70c356ed61 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.20240124" 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.20240124.tar.gz" +MD5SUM="3b4eddd1f49f866020ad6d5b55cb404f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Crypt-OpenSSL-RSA perl-MailTools perl-net-dns" diff --git a/perl/perl-Mail-DomainKeys/perl-Mail-DomainKeys.SlackBuild b/perl/perl-Mail-DomainKeys/perl-Mail-DomainKeys.SlackBuild index 6a77dd6c41..230a8140cb 100644 --- a/perl/perl-Mail-DomainKeys/perl-Mail-DomainKeys.SlackBuild +++ b/perl/perl-Mail-DomainKeys/perl-Mail-DomainKeys.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Mail-DomainKeys @@ -22,28 +22,38 @@ # 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-DomainKeys VERSION=${VERSION:-1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Mail-DomainKeys if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Mail-SPF-Query/README b/perl/perl-Mail-SPF-Query/README index 87ecacb035..a6de6d8f06 100644 --- a/perl/perl-Mail-SPF-Query/README +++ b/perl/perl-Mail-SPF-Query/README @@ -1,3 +1,3 @@ -The SPF protocol relies on sender domains to describe their designated outbound -mailers in DNS. Given an email address, Mail::SPF::Query determines the -legitimacy of an SMTP client IP address. +The SPF protocol relies on sender domains to describe their designated +outbound mailers in DNS. Given an email address, Mail::SPF::Query +determines the legitimacy of an SMTP client IP address. diff --git a/perl/perl-Mail-SPF-Query/perl-Mail-SPF-Query.SlackBuild b/perl/perl-Mail-SPF-Query/perl-Mail-SPF-Query.SlackBuild index c5bb8ef047..cc2ce2b46c 100644 --- a/perl/perl-Mail-SPF-Query/perl-Mail-SPF-Query.SlackBuild +++ b/perl/perl-Mail-SPF-Query/perl-Mail-SPF-Query.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Mail-SPF-Query @@ -22,28 +22,38 @@ # 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-SPF-Query VERSION=${VERSION:-1.999.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Mail-SPF-Query if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -101,4 +111,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Mail-SPF/perl-Mail-SPF.SlackBuild b/perl/perl-Mail-SPF/perl-Mail-SPF.SlackBuild index e8bc5a800b..16854c4cab 100644 --- a/perl/perl-Mail-SPF/perl-Mail-SPF.SlackBuild +++ b/perl/perl-Mail-SPF/perl-Mail-SPF.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl module: Mail::SPF # Home Page https://metacpan.org/release/Mail-SPF @@ -27,9 +27,12 @@ # # Modified by the SlackBuilds.org project. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Mail-SPF -VERSION=${VERSION:-2.9.0} +VERSION=${VERSION:-3.20240206} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} BUILD=${BUILD:-1} SRCNAM=Mail-SPF @@ -42,12 +45,19 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} -DOCS="CHANGES INSTALL LICENSE README" +DOCS="Changes INSTALL LICENSE README TODO" set -e @@ -68,8 +78,8 @@ 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 +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 \) \ @@ -112,4 +122,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Mail-SPF/perl-Mail-SPF.info b/perl/perl-Mail-SPF/perl-Mail-SPF.info index cd01725837..de45badf67 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.20240206" 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.20240206.tar.gz" +MD5SUM="da1b4b35241de31553bc00626db90c12" 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/README b/perl/perl-MailTools/README index 9909394323..99a1ec7188 100644 --- a/perl/perl-MailTools/README +++ b/perl/perl-MailTools/README @@ -1,9 +1,10 @@ perl-MailTools is a set of Perl modules related to mail applications. -perl-mailtools provides following modules: Mail::Address Mail::Cap -Mail::Field Mail::Field::AddrList Mail::Field::Date Mail::Field::Generic -Mail::Filter Mail::Header Mail::Internet Mail::Mailer Mail::Mailer::qmail -Mail::Mailer::rfc822 Mail::Mailer::sendmail Mail::Mailer::smtp -Mail::Mailer::testfile Mail::Send Mail::Util +perl-mailtools provides following modules: Mail::Address +Mail::Cap Mail::Field Mail::Field::AddrList Mail::Field::Date +Mail::Field::Generic Mail::Filter Mail::Header Mail::Internet +Mail::Mailer Mail::Mailer::qmail Mail::Mailer::rfc822 +Mail::Mailer::sendmail Mail::Mailer::smtp Mail::Mailer::testfile +Mail::Send Mail::Util perl-mailtools is required by perl-Mail-DKIM package. diff --git a/perl/perl-MailTools/perl-MailTools.SlackBuild b/perl/perl-MailTools/perl-MailTools.SlackBuild index 3b5ad9571c..7e451f2926 100644 --- a/perl/perl-MailTools/perl-MailTools.SlackBuild +++ b/perl/perl-MailTools/perl-MailTools.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: MailTools # Home Page https://metacpan.org/release/MailTools @@ -27,10 +27,13 @@ # # Modified by the SlackBuilds.org project. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM="perl-MailTools" VERSION=${VERSION:-2.20} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -f2 -d-)" @@ -42,7 +45,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Math-Base85/README b/perl/perl-Math-Base85/README index 06e906f766..a16db643ac 100644 --- a/perl/perl-Math-Base85/README +++ b/perl/perl-Math-Base85/README @@ -1,5 +1,6 @@ -Math::Base85 - Perl extension for base 85 numbers, as referenced by RFC 1924 +Math::Base85 - Perl extension for base 85 numbers, as referenced by +RFC 1924 -RFC 1924 describes a compact, fixed-size representation of IPv6 addresses -which uses a base 85 number system. This module handles some of the uglier -details of it. +RFC 1924 describes a compact, fixed-size representation of IPv6 +addresses which uses a base 85 number system. This module handles some +of the uglier details of it. diff --git a/perl/perl-Math-Base85/perl-Math-Base85.SlackBuild b/perl/perl-Math-Base85/perl-Math-Base85.SlackBuild index 4f8a8ba867..7f4190224e 100644 --- a/perl/perl-Math-Base85/perl-Math-Base85.SlackBuild +++ b/perl/perl-Math-Base85/perl-Math-Base85.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Math-Base85 @@ -22,10 +22,13 @@ # 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-Math-Base85 VERSION=${VERSION:-0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=Math-Base85 DOCS="README rfc1924.txt" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -102,4 +112,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Math-BigInt-GMP/perl-Math-BigInt-GMP.SlackBuild b/perl/perl-Math-BigInt-GMP/perl-Math-BigInt-GMP.SlackBuild index b8bad03ce7..3c64d49339 100644 --- a/perl/perl-Math-BigInt-GMP/perl-Math-BigInt-GMP.SlackBuild +++ b/perl/perl-Math-BigInt-GMP/perl-Math-BigInt-GMP.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Math-BigInt-GMP. # @@ -22,10 +22,13 @@ # 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-Math-BigInt-GMP -VERSION=${VERSION:-1.6007} +VERSION=${VERSION:-1.6011} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -82,7 +92,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | 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/share/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +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 @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 68a45279f3..e2bae53802 100644 --- a/perl/perl-Math-BigInt-GMP/perl-Math-BigInt-GMP.info +++ b/perl/perl-Math-BigInt-GMP/perl-Math-BigInt-GMP.info @@ -1,10 +1,10 @@ PRGNAM="perl-Math-BigInt-GMP" -VERSION="1.6007" +VERSION="1.6011" HOMEPAGE="https://metacpan.org/pod/Math::BigInt::GMP" -DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-GMP-1.6007.tar.gz" -MD5SUM="abc713279a17091a8043a7a6806ce8d4" +DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-GMP-1.6011.tar.gz" +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 58f21fc368..510a834225 100644 --- a/perl/perl-Math-BigInt/perl-Math-BigInt.SlackBuild +++ b/perl/perl-Math-BigInt/perl-Math-BigInt.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Math-BigInt. # @@ -22,22 +22,25 @@ # 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-Math-BigInt -VERSION=${VERSION:-1.999818} +VERSION=${VERSION:-1.999838} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" +ARCH=noarch -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac +# 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 -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -96,4 +99,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Math-BigInt/perl-Math-BigInt.info b/perl/perl-Math-BigInt/perl-Math-BigInt.info index 74a3c50462..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.999818" +VERSION="1.999838" HOMEPAGE="https://metacpan.org/pod/Math::BigInt" -DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-1.999818.tar.gz" -MD5SUM="a6e5a6c391b453e04c2b60506e1b5342" +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-Complex_C-L/perl-Math-Complex_C-L.SlackBuild b/perl/perl-Math-Complex_C-L/perl-Math-Complex_C-L.SlackBuild index ab1261152b..52adbf5882 100644 --- a/perl/perl-Math-Complex_C-L/perl-Math-Complex_C-L.SlackBuild +++ b/perl/perl-Math-Complex_C-L/perl-Math-Complex_C-L.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Math-Complex_C-L. # @@ -22,10 +22,13 @@ # 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-Math-Complex_C-L VERSION=${VERSION:-0.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Math-Complex_C-Q/perl-Math-Complex_C-Q.SlackBuild b/perl/perl-Math-Complex_C-Q/perl-Math-Complex_C-Q.SlackBuild index 786c3f21ee..bdffd08960 100644 --- a/perl/perl-Math-Complex_C-Q/perl-Math-Complex_C-Q.SlackBuild +++ b/perl/perl-Math-Complex_C-Q/perl-Math-Complex_C-Q.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Math-Complex_C-Q. @@ -22,10 +22,13 @@ # 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-Math-Complex_C-Q VERSION=${VERSION:-0.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Math-Complex_C/perl-Math-Complex_C.SlackBuild b/perl/perl-Math-Complex_C/perl-Math-Complex_C.SlackBuild index 7dbdab8c87..560246b064 100644 --- a/perl/perl-Math-Complex_C/perl-Math-Complex_C.SlackBuild +++ b/perl/perl-Math-Complex_C/perl-Math-Complex_C.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Math-Complex_C. @@ -22,10 +22,13 @@ # 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-Math-Complex_C VERSION=${VERSION:-0.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Math-Decimal64/perl-Math-Decimal64.SlackBuild b/perl/perl-Math-Decimal64/perl-Math-Decimal64.SlackBuild index ba60f52715..589356c139 100644 --- a/perl/perl-Math-Decimal64/perl-Math-Decimal64.SlackBuild +++ b/perl/perl-Math-Decimal64/perl-Math-Decimal64.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Math-Decimal64. # @@ -22,10 +22,13 @@ # 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-Math-Decimal64 VERSION=${VERSION:-0.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Math-GMPf/perl-Math-GMPf.SlackBuild b/perl/perl-Math-GMPf/perl-Math-GMPf.SlackBuild index 7c4951ea52..2feddf37ba 100644 --- a/perl/perl-Math-GMPf/perl-Math-GMPf.SlackBuild +++ b/perl/perl-Math-GMPf/perl-Math-GMPf.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Math-GMPf. # @@ -22,10 +22,13 @@ # 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-Math-GMPf VERSION=${VERSION:-0.43} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Math-GMPq/perl-Math-GMPq.SlackBuild b/perl/perl-Math-GMPq/perl-Math-GMPq.SlackBuild index 350270f39f..885784cc56 100644 --- a/perl/perl-Math-GMPq/perl-Math-GMPq.SlackBuild +++ b/perl/perl-Math-GMPq/perl-Math-GMPq.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Math-GMPq. # @@ -22,10 +22,13 @@ # 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-Math-GMPq -VERSION=${VERSION:-0.45} +VERSION=${VERSION:-0.51} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -83,7 +93,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | 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/share/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +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 @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Math-GMPq/perl-Math-GMPq.info b/perl/perl-Math-GMPq/perl-Math-GMPq.info index 34989da3fa..df6b4e3e07 100644 --- a/perl/perl-Math-GMPq/perl-Math-GMPq.info +++ b/perl/perl-Math-GMPq/perl-Math-GMPq.info @@ -1,10 +1,10 @@ PRGNAM="perl-Math-GMPq" -VERSION="0.45" +VERSION="0.51" HOMEPAGE="https://metacpan.org/pod/Math::GMPq" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SI/SISYPHUS/Math-GMPq-0.45.tar.gz" -MD5SUM="6088853d8eb6b25d7a47c14dfb41b029" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SI/SISYPHUS/Math-GMPq-0.51.tar.gz" +MD5SUM="35f2cf1c64b34537bc1c69859f03e732" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="orphaned - no maintainer" -EMAIL="nobody@nowhere" +MAINTAINER="D Woodfall" +EMAIL="dave@slackbuilds.org" diff --git a/perl/perl-Math-GMPz/perl-Math-GMPz.SlackBuild b/perl/perl-Math-GMPz/perl-Math-GMPz.SlackBuild index c2db2ce3d3..fd407afc5e 100644 --- a/perl/perl-Math-GMPz/perl-Math-GMPz.SlackBuild +++ b/perl/perl-Math-GMPz/perl-Math-GMPz.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Math-GMPz. # @@ -23,10 +23,13 @@ # 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-Math-GMPz -VERSION=${VERSION:-0.48} +VERSION=${VERSION:-0.54} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -83,7 +93,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | 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/share/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +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 @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Math-GMPz/perl-Math-GMPz.info b/perl/perl-Math-GMPz/perl-Math-GMPz.info index 48930041c6..ecb32d7829 100644 --- a/perl/perl-Math-GMPz/perl-Math-GMPz.info +++ b/perl/perl-Math-GMPz/perl-Math-GMPz.info @@ -1,10 +1,10 @@ PRGNAM="perl-Math-GMPz" -VERSION="0.48" +VERSION="0.54" HOMEPAGE="https://metacpan.org/pod/Math::GMPz" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SI/SISYPHUS/Math-GMPz-0.48.tar.gz" -MD5SUM="9c25f3e60bb0a094395227d85391bc04" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SI/SISYPHUS/Math-GMPz-0.54.tar.gz" +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-GSL-Linalg-SVD/perl-Math-GSL-Linalg-SVD.SlackBuild b/perl/perl-Math-GSL-Linalg-SVD/perl-Math-GSL-Linalg-SVD.SlackBuild index 0776f3b8f8..a35b42e9b8 100644 --- a/perl/perl-Math-GSL-Linalg-SVD/perl-Math-GSL-Linalg-SVD.SlackBuild +++ b/perl/perl-Math-GSL-Linalg-SVD/perl-Math-GSL-Linalg-SVD.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Math-GSL-Linalg-SVD @@ -22,10 +22,13 @@ # 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-Math-GSL-Linalg-SVD VERSION=${VERSION:-0.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Math-Int128/README b/perl/perl-Math-Int128/README index 3c79a427c7..2e317302ee 100644 --- a/perl/perl-Math-Int128/README +++ b/perl/perl-Math-Int128/README @@ -1 +1,5 @@ -Math::Int64 - Manipulate 128 bits integers in Perl. +Math::Int64 - Manipulate 128 bit integers in Perl. + +Note for 32-bit users: this can't be built on 32-bit systems. +It requires compiler support for 128-bit integers, which doesn't exist +in either gcc or clang in 32-bit Slackware 15.0. diff --git a/perl/perl-Math-Int128/perl-Math-Int128.SlackBuild b/perl/perl-Math-Int128/perl-Math-Int128.SlackBuild index 9736930123..97b6e428d8 100644 --- a/perl/perl-Math-Int128/perl-Math-Int128.SlackBuild +++ b/perl/perl-Math-Int128/perl-Math-Int128.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Math-Int128 @@ -22,10 +22,19 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220319 bkw: Modified by SlackBuilds.org: +# - mark as 64-bit only in .info file, since it'll never build on 32-bit. +# References: +# https://stackoverflow.com/questions/34532528/undefined-reference-to-divdi3 +# https://stackoverflow.com/questions/16088282/is-there-a-128-bit-integer-in-gcc + +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Math-Int128 VERSION=${VERSION:-0.22} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +46,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -67,9 +80,9 @@ 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 \ + -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 \ @@ -99,4 +112,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Math-Int128/perl-Math-Int128.info b/perl/perl-Math-Int128/perl-Math-Int128.info index 2d6f5bf874..910db873d4 100644 --- a/perl/perl-Math-Int128/perl-Math-Int128.info +++ b/perl/perl-Math-Int128/perl-Math-Int128.info @@ -1,10 +1,10 @@ PRGNAM="perl-Math-Int128" VERSION="0.22" HOMEPAGE="https://metacpan.org/pod/Math::Int128" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SA/SALVA/Math-Int128-0.22.tar.gz" -MD5SUM="626603153c162a3fb95b76c68db9ea2b" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://cpan.metacpan.org/authors/id/S/SA/SALVA/Math-Int128-0.22.tar.gz" +MD5SUM_x86_64="626603153c162a3fb95b76c68db9ea2b" REQUIRES="perl-Math-Int64" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Math-Int128/slack-desc b/perl/perl-Math-Int128/slack-desc index c270f91c26..20e4215f8b 100644 --- a/perl/perl-Math-Int128/slack-desc +++ b/perl/perl-Math-Int128/slack-desc @@ -6,9 +6,9 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -perl-Math-Int128: perl-Math-Int128 (Manipulate 128 bits integers) +perl-Math-Int128: perl-Math-Int128 (Manipulate 128 bit integers) perl-Math-Int128: -perl-Math-Int128: This module provides Perl availability to work with 128 bits integers. +perl-Math-Int128: This module provides Perl availability to work with 128 bit integers. perl-Math-Int128: perl-Math-Int128: Homepage: https://metacpan.org/pod/Math::Int128 perl-Math-Int128: diff --git a/perl/perl-Math-Int64/perl-Math-Int64.SlackBuild b/perl/perl-Math-Int64/perl-Math-Int64.SlackBuild index 7f95f843bc..ea4021cd98 100644 --- a/perl/perl-Math-Int64/perl-Math-Int64.SlackBuild +++ b/perl/perl-Math-Int64/perl-Math-Int64.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Math-Int64 @@ -22,10 +22,13 @@ # 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-Math-Int64 VERSION=${VERSION:-0.54} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Math-LongDouble/perl-Math-LongDouble.SlackBuild b/perl/perl-Math-LongDouble/perl-Math-LongDouble.SlackBuild index 5bdb70691f..59834d5118 100644 --- a/perl/perl-Math-LongDouble/perl-Math-LongDouble.SlackBuild +++ b/perl/perl-Math-LongDouble/perl-Math-LongDouble.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Math-LongDouble. # @@ -22,10 +22,13 @@ # 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-Math-LongDouble VERSION=${VERSION:-0.22} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Math-MPC/README b/perl/perl-Math-MPC/README index 6b50916553..d75a429e4e 100644 --- a/perl/perl-Math-MPC/README +++ b/perl/perl-Math-MPC/README @@ -1,8 +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 a7c47fea01..fcd8c86804 100644 --- a/perl/perl-Math-MPC/perl-Math-MPC.SlackBuild +++ b/perl/perl-Math-MPC/perl-Math-MPC.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Math-MPC. # @@ -23,10 +23,13 @@ # 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-Math-MPC -VERSION=${VERSION:-1.08} +VERSION=${VERSION:-1.30} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -83,7 +93,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | 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/share/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +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 @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Math-MPC/perl-Math-MPC.info b/perl/perl-Math-MPC/perl-Math-MPC.info index 6ffce9d75b..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.08" +VERSION="1.30" HOMEPAGE="https://metacpan.org/pod/Math::MPC" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SI/SISYPHUS/Math-MPC-1.08.tar.gz" -MD5SUM="96d73685c1ce9f7c7774b3bed2ebe4f5" +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.SlackBuild b/perl/perl-Math-MPFR/perl-Math-MPFR.SlackBuild index 105d8938ec..a0ff2d71ce 100644 --- a/perl/perl-Math-MPFR/perl-Math-MPFR.SlackBuild +++ b/perl/perl-Math-MPFR/perl-Math-MPFR.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Math-MPFR. # @@ -23,10 +23,13 @@ # 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-Math-MPFR -VERSION=${VERSION:-4.13} +VERSION=${VERSION:-4.23} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -83,7 +93,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | 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/share/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +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 @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Math-MPFR/perl-Math-MPFR.info b/perl/perl-Math-MPFR/perl-Math-MPFR.info index bf9b434cd1..f6a4cdad84 100644 --- a/perl/perl-Math-MPFR/perl-Math-MPFR.info +++ b/perl/perl-Math-MPFR/perl-Math-MPFR.info @@ -1,10 +1,10 @@ PRGNAM="perl-Math-MPFR" -VERSION="4.13" +VERSION="4.23" HOMEPAGE="https://metacpan.org/pod/Math::MPFR" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SI/SISYPHUS/Math-MPFR-4.13.tar.gz" -MD5SUM="847831e00c00c761deb05a13b3eded93" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SI/SISYPHUS/Math-MPFR-4.23.tar.gz" +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 f019b0ce30..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 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Math-Prime-Util-GMP. # @@ -23,10 +23,13 @@ # 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-Math-Prime-Util-GMP -VERSION=${VERSION:-0.51} +VERSION=${VERSION:-0.52} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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.SlackBuild b/perl/perl-Math-Prime-Util/perl-Math-Prime-Util.SlackBuild index 2ac90fb2ff..24c911d27e 100644 --- a/perl/perl-Math-Prime-Util/perl-Math-Prime-Util.SlackBuild +++ b/perl/perl-Math-Prime-Util/perl-Math-Prime-Util.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Math-Prime-Util # Copyright 2020 Dave Woodfall <dave@slackbuilds.org> @@ -21,11 +21,14 @@ # 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-Math-Prime-Util SRCNAM=Math-Prime-Util VERSION=${VERSION:-0.73} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Math-Round/perl-Math-Round.SlackBuild b/perl/perl-Math-Round/perl-Math-Round.SlackBuild index dc71ebf80a..205b0227b0 100644 --- a/perl/perl-Math-Round/perl-Math-Round.SlackBuild +++ b/perl/perl-Math-Round/perl-Math-Round.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Math-Round # Written by David Somero <dsomero@hotmail.com> @@ -25,10 +25,13 @@ # 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-Math-Round VERSION=${VERSION:-0.07} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Math-Round @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -101,4 +111,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-MaxMind-DB-Common/README b/perl/perl-MaxMind-DB-Common/README new file mode 100644 index 0000000000..6ebdacae57 --- /dev/null +++ b/perl/perl-MaxMind-DB-Common/README @@ -0,0 +1,2 @@ +This module provides a shared code and metadata for MaxMind DB reader +and writer. diff --git a/perl/perl-MaxMind-DB-Common/perl-MaxMind-DB-Common.SlackBuild b/perl/perl-MaxMind-DB-Common/perl-MaxMind-DB-Common.SlackBuild new file mode 100644 index 0000000000..06478750c8 --- /dev/null +++ b/perl/perl-MaxMind-DB-Common/perl-MaxMind-DB-Common.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/bash + +# Slackware build script for perl-MaxMind-DB-Common + +# Copyright 2020 Jan F. Chadima <jfch@jagda.eu> +# 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-MaxMind-DB-Common +VERSION=${VERSION:-0.040001} +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 +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 \ + 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-MaxMind-DB-Common/perl-MaxMind-DB-Common.info b/perl/perl-MaxMind-DB-Common/perl-MaxMind-DB-Common.info new file mode 100644 index 0000000000..49108a524b --- /dev/null +++ b/perl/perl-MaxMind-DB-Common/perl-MaxMind-DB-Common.info @@ -0,0 +1,10 @@ +PRGNAM="perl-MaxMind-DB-Common" +VERSION="0.040001" +HOMEPAGE="https://metacpan.org/pod/MaxMind::DB::Common" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MAXMIND/MaxMind-DB-Common-0.040001.tar.gz" +MD5SUM="ccf2536306c7815b2aa1f60a57c1d4e5" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +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-Common/slack-desc b/perl/perl-MaxMind-DB-Common/slack-desc new file mode 100644 index 0000000000..7271d15ecd --- /dev/null +++ b/perl/perl-MaxMind-DB-Common/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-MaxMind-DB-Common: perl-MaxMind-DB-Common (Common code/metadata for Reader & Writer) +perl-MaxMind-DB-Common: +perl-MaxMind-DB-Common: This module provides a common code and metadata for MaxMind DB +perl-MaxMind-DB-Common: Reader and Writer. +perl-MaxMind-DB-Common: +perl-MaxMind-DB-Common: Homepage: https://metacpan.org/pod/MaxMind-DB-Common +perl-MaxMind-DB-Common: +perl-MaxMind-DB-Common: +perl-MaxMind-DB-Common: +perl-MaxMind-DB-Common: +perl-MaxMind-DB-Common: diff --git a/perl/perl-MaxMind-DB-Reader-XS/README b/perl/perl-MaxMind-DB-Reader-XS/README new file mode 100644 index 0000000000..25552ffb6d --- /dev/null +++ b/perl/perl-MaxMind-DB-Reader-XS/README @@ -0,0 +1,2 @@ +This module provides searching in MaxMind DB mmdb files. +This is fast XS implementation diff --git a/perl/perl-MaxMind-DB-Reader-XS/perl-MaxMind-DB-Reader-XS.SlackBuild b/perl/perl-MaxMind-DB-Reader-XS/perl-MaxMind-DB-Reader-XS.SlackBuild new file mode 100644 index 0000000000..82eb5ca54a --- /dev/null +++ b/perl/perl-MaxMind-DB-Reader-XS/perl-MaxMind-DB-Reader-XS.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/bash + +# Slackware build script for perl-MaxMind-DB-Reader-XS + +# Copyright 2020 Jan F. Chadima <jfch@jagda.eu> +# 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-MaxMind-DB-Reader-XS +VERSION=${VERSION:-1.000008} +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 \ + CONTRIBUTING* 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-MaxMind-DB-Reader-XS/perl-MaxMind-DB-Reader-XS.info b/perl/perl-MaxMind-DB-Reader-XS/perl-MaxMind-DB-Reader-XS.info new file mode 100644 index 0000000000..6390be7408 --- /dev/null +++ b/perl/perl-MaxMind-DB-Reader-XS/perl-MaxMind-DB-Reader-XS.info @@ -0,0 +1,10 @@ +PRGNAM="perl-MaxMind-DB-Reader-XS" +VERSION="1.000008" +HOMEPAGE="https://metacpan.org/pod/MaxMind::DB::Reader::XS" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MAXMIND/MaxMind-DB-Reader-XS-1.000008.tar.gz" +MD5SUM="d4567d35e1b0868110f59f45c87fc641" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +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-XS/slack-desc b/perl/perl-MaxMind-DB-Reader-XS/slack-desc new file mode 100644 index 0000000000..7aff2aa554 --- /dev/null +++ b/perl/perl-MaxMind-DB-Reader-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-MaxMind-DB-Reader-XS: perl-MaxMind-DB-Reader-XS (XS implementation of MaxMind DB reader) +perl-MaxMind-DB-Reader-XS: +perl-MaxMind-DB-Reader-XS: This module provides searching in MaxMind DB mmdb files. +perl-MaxMind-DB-Reader-XS: This is the fast XS implementation +perl-MaxMind-DB-Reader-XS: +perl-MaxMind-DB-Reader-XS: Homepage: https://metacpan.org/pod/MaxMind::DB::Reader::XS +perl-MaxMind-DB-Reader-XS: +perl-MaxMind-DB-Reader-XS: +perl-MaxMind-DB-Reader-XS: +perl-MaxMind-DB-Reader-XS: +perl-MaxMind-DB-Reader-XS: diff --git a/perl/perl-MaxMind-DB-Reader/README b/perl/perl-MaxMind-DB-Reader/README new file mode 100644 index 0000000000..30745d71ed --- /dev/null +++ b/perl/perl-MaxMind-DB-Reader/README @@ -0,0 +1 @@ +This module provides searching in MaxMind DB mmdb files. diff --git a/perl/perl-MaxMind-DB-Reader/perl-MaxMind-DB-Reader.SlackBuild b/perl/perl-MaxMind-DB-Reader/perl-MaxMind-DB-Reader.SlackBuild new file mode 100644 index 0000000000..e8c6e9160d --- /dev/null +++ b/perl/perl-MaxMind-DB-Reader/perl-MaxMind-DB-Reader.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/bash + +# Slackware build script for perl-MaxMind-DB-Reader + +# Copyright 2020 Jan F. Chadima <jfch@jagda.eu> +# 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-MaxMind-DB-Reader +VERSION=${VERSION:-1.000014} +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 +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 \ + CONTRIBUTING* 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-MaxMind-DB-Reader/perl-MaxMind-DB-Reader.info b/perl/perl-MaxMind-DB-Reader/perl-MaxMind-DB-Reader.info new file mode 100644 index 0000000000..1df69c86b9 --- /dev/null +++ b/perl/perl-MaxMind-DB-Reader/perl-MaxMind-DB-Reader.info @@ -0,0 +1,10 @@ +PRGNAM="perl-MaxMind-DB-Reader" +VERSION="1.000014" +HOMEPAGE="https://metacpan.org/pod/MaxMind::DB::Reader" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MAXMIND/MaxMind-DB-Reader-1.000014.tar.gz" +MD5SUM="cd5c259023f7b483cc1204398dcaa6b4" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +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-MaxMind-DB-Reader/slack-desc b/perl/perl-MaxMind-DB-Reader/slack-desc new file mode 100644 index 0000000000..1bdadc3f5e --- /dev/null +++ b/perl/perl-MaxMind-DB-Reader/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-MaxMind-DB-Reader: perl-MaxMind-DB-Reader (MaxMind DB reader) +perl-MaxMind-DB-Reader: +perl-MaxMind-DB-Reader: This module provides searching in MaxMind DB mmdb files. +perl-MaxMind-DB-Reader: +perl-MaxMind-DB-Reader: Homepage: https://metacpan.org/pod/MaxMind-DB-Read +perl-MaxMind-DB-Reader: +perl-MaxMind-DB-Reader: +perl-MaxMind-DB-Reader: +perl-MaxMind-DB-Reader: +perl-MaxMind-DB-Reader: +perl-MaxMind-DB-Reader: diff --git a/perl/perl-Modern-Perl/README b/perl/perl-Modern-Perl/README new file mode 100644 index 0000000000..e1bd96c499 --- /dev/null +++ b/perl/perl-Modern-Perl/README @@ -0,0 +1,14 @@ +Modern::Perl - enable all of the features of Modern Perl with one import + +Modern Perl programs use several modules to enable additional features +of Perl and of the CPAN. Instead of copying and pasting all of these +use lines, instead write only one: + + use Modern::Perl; + +This enables the strict and warnings pragmas, as well as all of the +features available in Perl 5.10. It also enables C3 method resolution +order as documented in perldoc mro and loads IO::File and IO::Handle +so that you may call methods on filehandles. In the future, it may +include additional core modules and pragmas (but is unlikely to +include non-core features). diff --git a/perl/perl-X10/perl-X10.SlackBuild b/perl/perl-Modern-Perl/perl-Modern-Perl.SlackBuild index 8558131296..b12689dd3b 100644 --- a/perl/perl-X10/perl-X10.SlackBuild +++ b/perl/perl-Modern-Perl/perl-Modern-Perl.SlackBuild @@ -1,12 +1,10 @@ -#!/bin/sh +#!/bin/bash -# Slackware build script for perl-X10 +# Slackware build script for perl-Modern-Perl -# Copyright 2010 V'yacheslav Stetskevych <slava18@gmail.com> +# Copyright 2020 Daniel Bowling <swaggboi@slackware.uk> # All rights reserved. # -# Currently (3.22.15) maintained by Glenn Becker <glenn.becker@gmail.com> -# # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # @@ -24,12 +22,16 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=perl-X10 -VERSION=${VERSION:-0.04} +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Modern-Perl +VERSION=${VERSION:-1.20200211} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=X10 +SRC_PRGNAM=Modern-Perl +DOCS="README" if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -39,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -63,9 +72,9 @@ 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 +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 \) \ @@ -73,28 +82,36 @@ find -L . \ \( -perm 666 -o -perm 664 -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 +perl Makefile.PL INSTALLDIRS=perl make make test make install DESTDIR=$PKG -find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true +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 +) -find $PKG -depth -type d -empty -delete || true +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + # Remove 'special' files + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) -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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README TODO Changes $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Modern-Perl/perl-Modern-Perl.info b/perl/perl-Modern-Perl/perl-Modern-Perl.info new file mode 100644 index 0000000000..d05584271f --- /dev/null +++ b/perl/perl-Modern-Perl/perl-Modern-Perl.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Modern-Perl" +VERSION="1.20200211" +HOMEPAGE="https://metacpan.org/pod/Modern::Perl" +DOWNLOAD="https://cpan.metacpan.org/authors/id/C/CH/CHROMATIC/Modern-Perl-1.20200211.tar.gz" +MD5SUM="2c6f7648ced3cb3451d3c73eb4e1cb24" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Daniel Bowling" +EMAIL="swaggboi@slackware.uk" diff --git a/perl/perl-Authen-SASL/slack-desc b/perl/perl-Modern-Perl/slack-desc index ccfbea916e..f9c63fe515 100644 --- a/perl/perl-Authen-SASL/slack-desc +++ b/perl/perl-Modern-Perl/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -perl-Authen-SASL: perl-Authen-SASL (SASL Authentication framework) -perl-Authen-SASL: -perl-Authen-SASL: SASL is a generic mechanism for authentication used by several network -perl-Authen-SASL: protocols. Authen::SASL provides an implementation framework that all -perl-Authen-SASL: protocols should be able to share. -perl-Authen-SASL: -perl-Authen-SASL: -perl-Authen-SASL: -perl-Authen-SASL: Homepage: https://metacpan.org/release/Authen-SASL -perl-Authen-SASL: -perl-Authen-SASL: +perl-Modern-Perl: perl-Modern-Perl (enable features of Modern Perl with one import) +perl-Modern-Perl: +perl-Modern-Perl: +perl-Modern-Perl: Modern Perl programs use several modules to enable additional features +perl-Modern-Perl: of Perl and of the CPAN. Instead of copying and pasting all of these +perl-Modern-Perl: use lines, instead write only one: +perl-Modern-Perl: use Modern::Perl; +perl-Modern-Perl: +perl-Modern-Perl: +perl-Modern-Perl: +perl-Modern-Perl: 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 ea7b64c968..d0a157b7ba 100644 --- a/perl/perl-Module-Build-Tiny/perl-Module-Build-Tiny.SlackBuild +++ b/perl/perl-Module-Build-Tiny/perl-Module-Build-Tiny.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Module-Build-Tiny -# Copyright 2013-2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2013-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,28 +22,35 @@ # 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-Tiny -VERSION=${VERSION:-0.039} +VERSION=${VERSION:-0.047} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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..1453eafff3 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.047" 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.047.tar.gz" +MD5SUM="de9814b3c22825837438fc70adad58ac" 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" 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 13a3c1c7f4..c8b36ee46e 100644 --- a/perl/perl-Module-Build/README +++ b/perl/perl-Module-Build/README @@ -1,7 +1,12 @@ perl-Module-Build (Build and install Perl modules). -Module::Build is a system for building, testing, and installing Perl modules. +Module::Build is a system for building, testing, and installing Perl +modules. It is meant to be an alternative to ExtUtils::MakeMaker. -Optional dependency: perl-inc-latest. +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 25f9d16fd6..231f6c6ae7 100644 --- a/perl/perl-Module-Build/perl-Module-Build.SlackBuild +++ b/perl/perl-Module-Build/perl-Module-Build.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # # 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 @@ -22,22 +22,26 @@ # 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 -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 +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 -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -96,11 +100,11 @@ 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 cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Implementation/perl-Module-Implementation.SlackBuild b/perl/perl-Module-Implementation/perl-Module-Implementation.SlackBuild index 684cc8bb57..0f7ec266b3 100644 --- a/perl/perl-Module-Implementation/perl-Module-Implementation.SlackBuild +++ b/perl/perl-Module-Implementation/perl-Module-Implementation.SlackBuild @@ -1,21 +1,31 @@ -#!/bin/sh +#!/bin/bash + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Module-Implementation VERSION=${VERSION:-0.09} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -59,4 +69,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Module-Implementation/perl-Module-Implementation.info b/perl/perl-Module-Implementation/perl-Module-Implementation.info index c3f960131d..43b3a7dd2d 100644 --- a/perl/perl-Module-Implementation/perl-Module-Implementation.info +++ b/perl/perl-Module-Implementation/perl-Module-Implementation.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Module-Implementatio MD5SUM="52e3fe0ca6b1eff0488d59b7aacc0667" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Test-Fatal perl-Module-Runtime perl-Try-Tiny perl-Test-Requires" +REQUIRES="perl-Test-Fatal perl-Test-Requires" MAINTAINER="LEVAI Daniel" EMAIL="leva@ecentrum.hu" diff --git a/perl/perl-Module-Install/perl-Module-Install.SlackBuild b/perl/perl-Module-Install/perl-Module-Install.SlackBuild index e94c7be8b4..0e3ae06411 100644 --- a/perl/perl-Module-Install/perl-Module-Install.SlackBuild +++ b/perl/perl-Module-Install/perl-Module-Install.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Module-Install. # @@ -22,10 +22,13 @@ # 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-Install VERSION=${VERSION:-1.19} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Module-Manifest/perl-Module-Manifest.SlackBuild b/perl/perl-Module-Manifest/perl-Module-Manifest.SlackBuild index fe133367d4..38d572815a 100644 --- a/perl/perl-Module-Manifest/perl-Module-Manifest.SlackBuild +++ b/perl/perl-Module-Manifest/perl-Module-Manifest.SlackBuild @@ -1,31 +1,41 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for <appname> # Written by (your name) (your contact information) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Module-Manifest VERSION=${VERSION:-1.08} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -81,4 +91,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Module-Manifest/perl-Module-Manifest.info b/perl/perl-Module-Manifest/perl-Module-Manifest.info index 22103f2eed..4cf3c5dcce 100644 --- a/perl/perl-Module-Manifest/perl-Module-Manifest.info +++ b/perl/perl-Module-Manifest/perl-Module-Manifest.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AD/ADAMK/Module-Manifest-1.08.t MD5SUM="90f035a0074c3edcf8f595a38ec90da1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Params-Util perl-Test-Exception perl-test-warn" +REQUIRES="perl-Params-Util perl-Test-Exception perl-test-warn perl-Module-Install" MAINTAINER="LEVAI Daniel" EMAIL="leva@ecentrum.hu" diff --git a/perl/perl-Module-Pluggable/perl-Module-Pluggable.SlackBuild b/perl/perl-Module-Pluggable/perl-Module-Pluggable.SlackBuild index 68dee8673e..68e58cd599 100644 --- a/perl/perl-Module-Pluggable/perl-Module-Pluggable.SlackBuild +++ b/perl/perl-Module-Pluggable/perl-Module-Pluggable.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Module-Pluggable @@ -16,10 +16,13 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Module-Pluggable VERSION=${VERSION:-5.2} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -31,7 +34,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -92,4 +102,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Module-Pluggable/perl-Module-Pluggable.info b/perl/perl-Module-Pluggable/perl-Module-Pluggable.info index ca07688f70..d0564e7483 100644 --- a/perl/perl-Module-Pluggable/perl-Module-Pluggable.info +++ b/perl/perl-Module-Pluggable/perl-Module-Pluggable.info @@ -6,5 +6,5 @@ MD5SUM="87ce2971662efd0b69a81bb4dc9ea76c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" +MAINTAINER="orphaned - no maintainer" +EMAIL="nobody@nowhere" diff --git a/perl/perl-Module-Runtime-Conflicts/perl-Module-Runtime-Conflicts.SlackBuild b/perl/perl-Module-Runtime-Conflicts/perl-Module-Runtime-Conflicts.SlackBuild index 76c71ccba8..7bf8077cf7 100644 --- a/perl/perl-Module-Runtime-Conflicts/perl-Module-Runtime-Conflicts.SlackBuild +++ b/perl/perl-Module-Runtime-Conflicts/perl-Module-Runtime-Conflicts.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Module-Runtime-Conflicts @@ -22,16 +22,26 @@ # 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-Runtime-Conflicts VERSION=${VERSION:-0.003} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -76,4 +86,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Module-Runtime-Conflicts/perl-Module-Runtime-Conflicts.info b/perl/perl-Module-Runtime-Conflicts/perl-Module-Runtime-Conflicts.info index 03be722959..468bcc269d 100644 --- a/perl/perl-Module-Runtime-Conflicts/perl-Module-Runtime-Conflicts.info +++ b/perl/perl-Module-Runtime-Conflicts/perl-Module-Runtime-Conflicts.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Module-Runtime-Conflic MD5SUM="67aaf699072063cc00c5b6afd4c67a6f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Dist-CheckConflicts perl-Module-Runtime" +REQUIRES="perl-Dist-CheckConflicts" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Module-Runtime/README b/perl/perl-Module-Runtime/README deleted file mode 100644 index 6d3996d90c..0000000000 --- a/perl/perl-Module-Runtime/README +++ /dev/null @@ -1,2 +0,0 @@ -perl-Module-Runtime (perl module) -Runtime module handling. diff --git a/perl/perl-Module-Runtime/perl-Module-Runtime.info b/perl/perl-Module-Runtime/perl-Module-Runtime.info deleted file mode 100644 index ec5bdacb61..0000000000 --- a/perl/perl-Module-Runtime/perl-Module-Runtime.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-Module-Runtime" -VERSION="0.015" -HOMEPAGE="https://metacpan.org/pod/Module::Runtime" -DOWNLOAD="https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/Module-Runtime-0.015.tar.gz" -MD5SUM="f0f3ef126998189665bc5d496c3548db" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="perl-Module-Build" -MAINTAINER="David Somero" -EMAIL="dsomero@hotmail.com" diff --git a/perl/perl-Module-ScanDeps/perl-Module-ScanDeps.SlackBuild b/perl/perl-Module-ScanDeps/perl-Module-ScanDeps.SlackBuild index b4b27ad1af..81580cc36d 100644 --- a/perl/perl-Module-ScanDeps/perl-Module-ScanDeps.SlackBuild +++ b/perl/perl-Module-ScanDeps/perl-Module-ScanDeps.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Module-ScanDeps. # @@ -22,10 +22,13 @@ # 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-ScanDeps VERSION=${VERSION:-1.27} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Module-Versions-Report/perl-Module-Versions-Report.SlackBuild b/perl/perl-Module-Versions-Report/perl-Module-Versions-Report.SlackBuild index 4e36570577..3ae59cbbf5 100644 --- a/perl/perl-Module-Versions-Report/perl-Module-Versions-Report.SlackBuild +++ b/perl/perl-Module-Versions-Report/perl-Module-Versions-Report.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright (c) 2013 Asaf Ohaion # All rights reserved. @@ -25,10 +25,13 @@ # (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-Versions-Report VERSION=${VERSION:-1.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Module-Versions-Report @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Mojolicious-Plugin-Humane/README b/perl/perl-Mojolicious-Plugin-Humane/README index ce98acb5cb..12c39da0f0 100644 --- a/perl/perl-Mojolicious-Plugin-Humane/README +++ b/perl/perl-Mojolicious-Plugin-Humane/README @@ -1,11 +1,19 @@ perl-Mojolicious-Plugin-Humane - Mojolicious integration for humane.js -perl-Mojolicious-Plugin-Humane is a Mojolicious plugin allowing easy use of humane.js, - a browser notification handler (http://wavded.github.com/humane-js/). - -By default the template needed to render the messages is injected only if needed. -For infrequent use, this is less costly overall and less to think about. -If messages are to be used frequently or perhaps humane.js is to also be used without reloading the page - (via websockets perhaps) then turn the auto feature off and add the template to your layout manually. -Internally this plugin uses the (non-localized) stash keys humane.stash and humane.flash. -Other stash keys starting with humane. are reserved for future use should be avoided. +perl-Mojolicious-Plugin-Humane is a Mojolicious plugin +allowing easy use of humane.js, a browser notification handler +(http://wavded.github.com/humane-js/). + +By default the template needed to render the messages is injected only +if needed. + +For infrequent use, this is less costly overall and less to think +about. + +If messages are to be used frequently or perhaps humane.js is to also +be used without reloading the page (via websockets perhaps) then turn +the auto feature off and add the template to your layout manually. + +Internally this plugin uses the (non-localized) stash keys +humane.stash and humane.flash. Other stash keys starting with +humane. are reserved for future use should be avoided. diff --git a/perl/perl-Mojolicious-Plugin-Humane/perl-Mojolicious-Plugin-Humane.SlackBuild b/perl/perl-Mojolicious-Plugin-Humane/perl-Mojolicious-Plugin-Humane.SlackBuild index d1c119f9ef..e0ce4d5fe8 100644 --- a/perl/perl-Mojolicious-Plugin-Humane/perl-Mojolicious-Plugin-Humane.SlackBuild +++ b/perl/perl-Mojolicious-Plugin-Humane/perl-Mojolicious-Plugin-Humane.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Mojolicious-Plugin-Humane # Copyright 2019 M.A. BEGUE mab974@gmail.com @@ -21,28 +21,38 @@ # 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-Mojolicious-Plugin-Humane 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -55,7 +65,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -70,13 +80,14 @@ 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 {} \; -perl Build.PL +perl Build.PL \ + --installdirs vendor \ + --config installvendorman1dir=/usr/man/man1 \ + --config installvendorman3dir=/usr/man/man3 ./Build ./Build test ./Build install \ - --destdir $PKG \ - --install_path bindoc=/usr/man/man1 \ - --install_path libdoc=/usr/man/man3 + --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 @@ -98,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 4f0f0dfcd5..355f17f5bf 100644 --- a/perl/perl-Mojolicious-Plugin-Humane/perl-Mojolicious-Plugin-Humane.info +++ b/perl/perl-Mojolicious-Plugin-Humane/perl-Mojolicious-Plugin-Humane.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/J/JB/JBERGER/Mojolicious-Plugin-H MD5SUM="46874cd2f9c671af6de35e143e840d30" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Mojolicious perl-File-ShareDir" +REQUIRES="perl-Mojolicious perl-File-ShareDir perl-Module-Build" MAINTAINER="Michel A. BEGUE" EMAIL="mab974@gmail.com" diff --git a/perl/perl-Mojolicious-Plugin-I18N/README b/perl/perl-Mojolicious-Plugin-I18N/README index b9d0a9c06b..fa8cc08c9b 100644 --- a/perl/perl-Mojolicious-Plugin-I18N/README +++ b/perl/perl-Mojolicious-Plugin-I18N/README @@ -1,4 +1,5 @@ -perl-Mojolicious-Plugin-I18N - Internationalization Plugin for Mojolicious +perl-Mojolicious-Plugin-I18N - Internationalization Plugin for +Mojolicious -Mojolicious::Plugin::I18N is internationalization plugin for Mojolicious. -It works with Mojolicious 4.0+. +Mojolicious::Plugin::I18N is an internationalization plugin for +Mojolicious. It works with Mojolicious 4.0+. diff --git a/perl/perl-Mojolicious-Plugin-I18N/perl-Mojolicious-Plugin-I18N.SlackBuild b/perl/perl-Mojolicious-Plugin-I18N/perl-Mojolicious-Plugin-I18N.SlackBuild index 8e380df0df..3df06d7583 100755..100644 --- a/perl/perl-Mojolicious-Plugin-I18N/perl-Mojolicious-Plugin-I18N.SlackBuild +++ b/perl/perl-Mojolicious-Plugin-I18N/perl-Mojolicious-Plugin-I18N.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Mojolicious-Plugin-I18N # Copyright 2019 M.A. BEGUE mab974@gmail.com @@ -21,28 +21,38 @@ # 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-Mojolicious-Plugin-I18N VERSION=${VERSION:-1.6} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -55,7 +65,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -70,13 +80,14 @@ 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 {} \; -perl Build.PL +perl Build.PL \ + --installdirs vendor \ + --config installvendorman1dir=/usr/man/man1 \ + --config installvendorman3dir=/usr/man/man3 ./Build ./Build test ./Build install \ - --destdir $PKG \ - --install_path bindoc=/usr/man/man1 \ - --install_path libdoc=/usr/man/man3 + --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 @@ -98,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 fb83b7ee26..8c5f010999 100644 --- a/perl/perl-Mojolicious-Plugin-I18N/perl-Mojolicious-Plugin-I18N.info +++ b/perl/perl-Mojolicious-Plugin-I18N/perl-Mojolicious-Plugin-I18N.info @@ -5,8 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SH/SHARIFULN/Mojolicious-Plugin MD5SUM="4002f7a7da4c90973ad6eedfb0fcfa16" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Mojolicious" +REQUIRES="perl-Mojolicious perl-Module-Build" MAINTAINER="Michel A. BEGUE" EMAIL="mab974@gmail.com" - - diff --git a/perl/perl-Mojolicious/README b/perl/perl-Mojolicious/README index 7c0f0a55c1..08585f5b78 100644 --- a/perl/perl-Mojolicious/README +++ b/perl/perl-Mojolicious/README @@ -8,8 +8,8 @@ techniques used are outdated now, the idea behind it is not. Mojolicious is a new endeavor to implement this idea using bleeding edge technologies. -Optional dependencies: perl-IO-Socket-SSL, perl-IO-Socket-Socks, - perl-EV, perl-Net-DNS-Native, perl-Role-Tiny, perl-Cpanel-JSON-XS +Optional dependencies: perl-IO-Socket-Socks, perl-EV, perl-Role-Tiny, +perl-Net-DNS-Native, perl-Cpanel-JSON-XS The optional dependencies can be installed and uninstalled without needing to rebuild perl-Mojolicious itself; they will be found at diff --git a/perl/perl-Mojolicious/perl-Mojolicious.SlackBuild b/perl/perl-Mojolicious/perl-Mojolicious.SlackBuild index cadf4b05a1..dcef0c7cd4 100644 --- a/perl/perl-Mojolicious/perl-Mojolicious.SlackBuild +++ b/perl/perl-Mojolicious/perl-Mojolicious.SlackBuild @@ -1,8 +1,9 @@ -#!/bin/sh +#!/bin/bash # 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 @@ -22,40 +23,29 @@ # 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-Mojolicious -VERSION=${VERSION:-8.11} +VERSION=${VERSION:-9.35} 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 + ARCH="noarch" +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 fi -CWD=$(pwd) 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 @@ -97,4 +87,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Mojolicious/perl-Mojolicious.info b/perl/perl-Mojolicious/perl-Mojolicious.info index aa8bd3fc7e..1b6f93e00a 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.35" 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.35.tar.gz" +MD5SUM="8fba4deae54681d560c275c28803b48c" 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-Moo/README b/perl/perl-Moo/README deleted file mode 100644 index fedb018c0c..0000000000 --- a/perl/perl-Moo/README +++ /dev/null @@ -1,2 +0,0 @@ -This module is an extremely light-weight subset of Moose optimised -for rapid startup and "pay only for what you use". diff --git a/perl/perl-Moo/perl-Moo.info b/perl/perl-Moo/perl-Moo.info deleted file mode 100644 index 470a6e94ff..0000000000 --- a/perl/perl-Moo/perl-Moo.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-Moo" -VERSION="2.003006" -HOMEPAGE="https://metacpan.org/pod/Moo" -DOWNLOAD="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Moo-2.003006.tar.gz" -MD5SUM="53af7e7849492a8e3994ee379d12e348" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="perl-Role-Tiny perl-strictures perl-Dist-CheckConflicts perl-Class-Method-Modifiers perl-Devel-GlobalDestruction perl-Module-Runtime perl-Import-Into perl-Sub-Quote" -MAINTAINER="Willy Sudiarto Raharjo" -EMAIL="willysr@slackbuilds.org" diff --git a/perl/perl-MooX-StrictConstructor/README b/perl/perl-MooX-StrictConstructor/README index 0755de05d5..9adba9a7d2 100644 --- a/perl/perl-MooX-StrictConstructor/README +++ b/perl/perl-MooX-StrictConstructor/README @@ -1,2 +1,2 @@ -MooX::StrictConstructor - Make your Moo-based object constructors blow up -on unknown attributes. +MooX::StrictConstructor - Make your Moo-based object constructors blow +up on unknown attributes. diff --git a/perl/perl-MooX-StrictConstructor/perl-MooX-StrictConstructor.SlackBuild b/perl/perl-MooX-StrictConstructor/perl-MooX-StrictConstructor.SlackBuild index 16e3d43569..5de0eecc27 100644 --- a/perl/perl-MooX-StrictConstructor/perl-MooX-StrictConstructor.SlackBuild +++ b/perl/perl-MooX-StrictConstructor/perl-MooX-StrictConstructor.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-MooX-StrictConstructor @@ -22,16 +22,26 @@ # 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-StrictConstructor -VERSION=${VERSION:-0.010} +VERSION=${VERSION:-0.011} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -83,4 +93,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-MooX-StrictConstructor/perl-MooX-StrictConstructor.info b/perl/perl-MooX-StrictConstructor/perl-MooX-StrictConstructor.info index 2924353a94..2b07116775 100644 --- a/perl/perl-MooX-StrictConstructor/perl-MooX-StrictConstructor.info +++ b/perl/perl-MooX-StrictConstructor/perl-MooX-StrictConstructor.info @@ -1,10 +1,10 @@ PRGNAM="perl-MooX-StrictConstructor" -VERSION="0.010" +VERSION="0.011" HOMEPAGE="https://metacpan.org/pod/MooX::StrictConstructor" -DOWNLOAD="https://cpan.metacpan.org/authors/id/H/HA/HARTZELL/MooX-StrictConstructor-0.010.tar.gz" -MD5SUM="d4a71e6e874bf8dfb6cb1856f6a37b8f" +DOWNLOAD="https://cpan.metacpan.org/authors/id/H/HA/HARTZELL/MooX-StrictConstructor-0.011.tar.gz" +MD5SUM="a1e81b0f2362b8f8d1d59c78f3f89455" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Class-Method-Modifiers perl-Moo" +REQUIRES="perl-Class-Method-Modifiers perl-Role-Tiny perl-strictures" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Moose/perl-Moose.SlackBuild b/perl/perl-Moose/perl-Moose.SlackBuild index 5bb3e77dd2..559d6282c0 100644 --- a/perl/perl-Moose/perl-Moose.SlackBuild +++ b/perl/perl-Moose/perl-Moose.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Moose @@ -22,10 +22,13 @@ # 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-Moose -VERSION=${VERSION:-2.2011} -BUILD=${BUILD:-2} +VERSION=${VERSION:-2.2012} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Moose/perl-Moose.info b/perl/perl-Moose/perl-Moose.info index a332f1e15a..3362e990c9 100644 --- a/perl/perl-Moose/perl-Moose.info +++ b/perl/perl-Moose/perl-Moose.info @@ -1,10 +1,10 @@ PRGNAM="perl-Moose" -VERSION="2.2011" +VERSION="2.2012" HOMEPAGE="https://metacpan.org/pod/Moose" -DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Moose-2.2011.tar.gz" -MD5SUM="2816e852847a82a5c90cf70a8ab28cfc" +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 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" +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-Traits/perl-MooseX-Traits.SlackBuild b/perl/perl-MooseX-Traits/perl-MooseX-Traits.SlackBuild index a9bdae08d3..8087a4e907 100644 --- a/perl/perl-MooseX-Traits/perl-MooseX-Traits.SlackBuild +++ b/perl/perl-MooseX-Traits/perl-MooseX-Traits.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-MooseX-Traits @@ -22,16 +22,26 @@ # 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-MooseX-Traits VERSION=${VERSION:-0.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -79,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-MooseX-Types-Structured/perl-MooseX-Types-Structured.SlackBuild b/perl/perl-MooseX-Types-Structured/perl-MooseX-Types-Structured.SlackBuild index 31514154b3..54a8c7fa4d 100644 --- a/perl/perl-MooseX-Types-Structured/perl-MooseX-Types-Structured.SlackBuild +++ b/perl/perl-MooseX-Types-Structured/perl-MooseX-Types-Structured.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-MooseX-Types-Structured @@ -22,16 +22,26 @@ # 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-MooseX-Types-Structured VERSION=${VERSION:-0.36} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -79,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 d4258f717f..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" +REQUIRES="perl-Devel-PartialDump perl-MooseX-Types perl-DateTime" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-MooseX-Types/perl-MooseX-Types.SlackBuild b/perl/perl-MooseX-Types/perl-MooseX-Types.SlackBuild index 0bc0adce1d..13b19382ba 100644 --- a/perl/perl-MooseX-Types/perl-MooseX-Types.SlackBuild +++ b/perl/perl-MooseX-Types/perl-MooseX-Types.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-MooseX-Types @@ -22,16 +22,26 @@ # 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-MooseX-Types VERSION=${VERSION:-0.50} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -79,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-MooseX-Types/perl-MooseX-Types.info b/perl/perl-MooseX-Types/perl-MooseX-Types.info index 5576a3a3f1..21343fded4 100644 --- a/perl/perl-MooseX-Types/perl-MooseX-Types.info +++ b/perl/perl-MooseX-Types/perl-MooseX-Types.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/MooseX-Types-0.50.tar. MD5SUM="99b0999ce024c5f27ac00a42a7244ec4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Carp-Clan perl-Module-Runtime perl-Moose perl-Sub-Exporter-ForMethods" +REQUIRES="perl-Carp-Clan perl-Moose perl-Sub-Exporter-ForMethods" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Mozilla-CA/perl-Mozilla-CA.SlackBuild b/perl/perl-Mozilla-CA/perl-Mozilla-CA.SlackBuild index b820555537..6fb75e2500 100644 --- a/perl/perl-Mozilla-CA/perl-Mozilla-CA.SlackBuild +++ b/perl/perl-Mozilla-CA/perl-Mozilla-CA.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Mozilla-CA @@ -22,22 +22,32 @@ # 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-Mozilla-CA -VERSION=${VERSION:-20130114} +VERSION=${VERSION:-20200520} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Mozilla-CA if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -85,4 +95,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Mozilla-CA/perl-Mozilla-CA.info b/perl/perl-Mozilla-CA/perl-Mozilla-CA.info index 4c90c74f65..8ebc4966d1 100644 --- a/perl/perl-Mozilla-CA/perl-Mozilla-CA.info +++ b/perl/perl-Mozilla-CA/perl-Mozilla-CA.info @@ -1,10 +1,10 @@ PRGNAM="perl-Mozilla-CA" -VERSION="20130114" +VERSION="20200520" HOMEPAGE="https://metacpan.org/pod/Mozilla::CA" -DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AB/ABH/Mozilla-CA-20130114.tar.gz" -MD5SUM="45a42082dbd68cf25869ceb2aa49d5b2" +DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AB/ABH/Mozilla-CA-20200520.tar.gz" +MD5SUM="8ac3fe1a83c45da3f468f78ab8133ea6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Christopher Walker" +MAINTAINER="Chris Walker" EMAIL="kris240376@gmail.com" diff --git a/perl/perl-MusicBrainz-DiscID/README b/perl/perl-MusicBrainz-DiscID/README index f0689ddac7..f0fa7aa19e 100644 --- a/perl/perl-MusicBrainz-DiscID/README +++ b/perl/perl-MusicBrainz-DiscID/README @@ -1,3 +1,5 @@ +perl-MusicBrainz-DiscID (calculate a disc ID from an audio CD) + MusicBrainz::DiscID is an interface to the libdiscid library, which calculates a MusicBrainz disc ID from an audio CD in the CD-ROM drive. diff --git a/perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.SlackBuild b/perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.SlackBuild index 3a27172018..ef9d206683 100644 --- a/perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.SlackBuild +++ b/perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-MusicBrainz-DiscID @@ -18,10 +18,17 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# 20220110 bkw: +# - take over maintenance. +# - simplify build. + +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-MusicBrainz-DiscID VERSION=${VERSION:-0.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -33,56 +40,38 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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 --warning=no-unknown-keyword -xvf $CWD/$SRCNAM-$VERSION.tar.gz +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 \ INSTALLDIRS=vendor \ INSTALLVENDORMAN1DIR=/usr/man/man1 \ INSTALLVENDORMAN3DIR=/usr/man/man3 -make +make LD="cc -Wl,-s" make test make install DESTDIR=$PKG +gzip $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 {} \; -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 -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 @@ -93,4 +82,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.info b/perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.info index 165d37e22c..2774908839 100644 --- a/perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.info +++ b/perl/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID.info @@ -6,5 +6,5 @@ MD5SUM="6579d43d270c965563f84fd5ffe0dde5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-Mutex/README b/perl/perl-Mutex/README new file mode 100644 index 0000000000..1e5f5aa2d4 --- /dev/null +++ b/perl/perl-Mutex/README @@ -0,0 +1 @@ +Mutex - Various locking implementations supporting processes and threads diff --git a/perl/perl-Mutex/perl-Mutex.SlackBuild b/perl/perl-Mutex/perl-Mutex.SlackBuild new file mode 100644 index 0000000000..786cb565fc --- /dev/null +++ b/perl/perl-Mutex/perl-Mutex.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/bash + +# Slackware build script for perl-Mutex + +# Copyright 2020 Jan F. Chadima <jfch@jagda.eu> +# 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-Mutex +VERSION=${VERSION:-1.005} +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 +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 \ + 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-Mutex/perl-Mutex.info b/perl/perl-Mutex/perl-Mutex.info new file mode 100644 index 0000000000..c547d79335 --- /dev/null +++ b/perl/perl-Mutex/perl-Mutex.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Mutex" +VERSION="1.005" +HOMEPAGE="https://metacpan.org/pod/Mutex" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MARIOROY/Mutex-1.005.tar.gz" +MD5SUM="7ba63ad06d66d7fc8f81b2938a446a15" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Jan F. Chadima" +EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Mutex/slack-desc b/perl/perl-Mutex/slack-desc new file mode 100644 index 0000000000..81ac4a8f65 --- /dev/null +++ b/perl/perl-Mutex/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-Mutex: perl-Mutex (Process synchronization primitives) +perl-Mutex: +perl-Mutex: This module provides various locking implementations supporting +perl-Mutex: processes and threads. +perl-Mutex: +perl-Mutex: Homepage: https://metacpan.org/pod/Mutex +perl-Mutex: +perl-Mutex: +perl-Mutex: +perl-Mutex: +perl-Mutex: diff --git a/perl/perl-Net-ARP/perl-Net-ARP.SlackBuild b/perl/perl-Net-ARP/perl-Net-ARP.SlackBuild index d4c8c01087..b184250154 100644 --- a/perl/perl-Net-ARP/perl-Net-ARP.SlackBuild +++ b/perl/perl-Net-ARP/perl-Net-ARP.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Net-ARP @@ -22,10 +22,13 @@ # 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-ARP -VERSION=${VERSION:-1.0.9} +VERSION=${VERSION:-1.0.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -61,9 +71,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM -tar xvf $CWD/$SRCNAM-$VERSION.tgz -cd $SRCNAM +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 \ @@ -92,10 +102,11 @@ find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a Changes README $PKG/usr/doc/$PRGNAM-$VERSION +find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Net-ARP/perl-Net-ARP.info b/perl/perl-Net-ARP/perl-Net-ARP.info index e37bbfc540..a8034c3326 100644 --- a/perl/perl-Net-ARP/perl-Net-ARP.info +++ b/perl/perl-Net-ARP/perl-Net-ARP.info @@ -1,8 +1,8 @@ PRGNAM="perl-Net-ARP" -VERSION="1.0.9" +VERSION="1.0.12" HOMEPAGE="https://metacpan.org/pod/Net::ARP" -DOWNLOAD="https://cpan.metacpan.org/authors/id/C/CR/CRAZYDJ/Net-ARP-1.0.9.tgz" -MD5SUM="bb693890d93bc84831663edb1a5c5d45" +DOWNLOAD="https://cpan.metacpan.org/authors/id/C/CR/CRAZYDJ/Net-ARP-1.0.12.tar.gz" +MD5SUM="b03d0648197c0050fd5d49af7796b1d5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-Net-CIDR-Lite/README b/perl/perl-Net-CIDR-Lite/README index e1ed90d1ef..92a8801b76 100644 --- a/perl/perl-Net-CIDR-Lite/README +++ b/perl/perl-Net-CIDR-Lite/README @@ -1,2 +1,2 @@ -Faster alternative to Net::CIDR when merging a large number of CIDR address -ranges. Works for IPv4 and IPv6 addresses. +Faster alternative to Net::CIDR when merging a large number of CIDR +address ranges. Works for IPv4 and IPv6 addresses. diff --git a/perl/perl-Net-CIDR-Lite/perl-Net-CIDR-Lite.SlackBuild b/perl/perl-Net-CIDR-Lite/perl-Net-CIDR-Lite.SlackBuild index 689f4ad45a..f6370a963c 100644 --- a/perl/perl-Net-CIDR-Lite/perl-Net-CIDR-Lite.SlackBuild +++ b/perl/perl-Net-CIDR-Lite/perl-Net-CIDR-Lite.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Net-CIDR-Lite @@ -22,28 +22,38 @@ # 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-CIDR-Lite VERSION=${VERSION:-0.21} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Net-CIDR-Lite if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Net-CIDR/README b/perl/perl-Net-CIDR/README index 73e1a29236..1f140d5b5a 100644 --- a/perl/perl-Net-CIDR/README +++ b/perl/perl-Net-CIDR/README @@ -1,3 +1,4 @@ -perl-Net-CIDR perl module to manipulate IPv4/IPv6 netblocks in CIDR notation. +perl-Net-CIDR: perl module to manipulate IPv4/IPv6 netblocks in CIDR +notation. perl-Net-CIDR package is required for policyd v2 (cluebringer). diff --git a/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild b/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild index 3449864757..14c41fcb7b 100644 --- a/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild +++ b/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Net::CIDR # Home Page https://metacpan.org/release/Net-CIDR @@ -25,21 +25,31 @@ # 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-CIDR" VERSION=${VERSION:-0.17} BUILD=${BUILD:-1} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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 TAG=${TAG:-_SBo} @@ -47,8 +57,8 @@ OUTPUT=${OUTPUT:-/tmp} set -e -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +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 @@ -93,4 +103,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Net-Curl/perl-Net-Curl.SlackBuild b/perl/perl-Net-Curl/perl-Net-Curl.SlackBuild new file mode 100644 index 0000000000..da15413f06 --- /dev/null +++ b/perl/perl-Net-Curl/perl-Net-Curl.SlackBuild @@ -0,0 +1,96 @@ +#!/bin/bash + +# Slackware build script for perl-Net-Curl + +# Copyright 2023-2024 Samuel Young, MO, USA +# 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-Curl +VERSION=${VERSION:-0.56} +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/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 -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 +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-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-Native/perl-Net-DNS-Native.SlackBuild b/perl/perl-Net-DNS-Native/perl-Net-DNS-Native.SlackBuild index a116c067fb..77d8b3968b 100644 --- a/perl/perl-Net-DNS-Native/perl-Net-DNS-Native.SlackBuild +++ b/perl/perl-Net-DNS-Native/perl-Net-DNS-Native.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Net-DNS-Native @@ -22,10 +22,13 @@ # 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-Native VERSION=${VERSION:-0.18} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 76450245bd..8d08c12314 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 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Net::DNS::Resolver::Programmable # Home Page https://metacpan.org/release/Net-DNS-Resolver-Programmable @@ -26,11 +26,14 @@ # # 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} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -40,14 +43,21 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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 -DOCS="CHANGES README INSTALL LICENSE" +DOCS="CHANGES README INSTALL LICENSE TODO" if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" @@ -66,8 +76,8 @@ fi rm -fr $TMP/$SRCNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -tar xvf $CWD/$SRCNAM.tar.gz -cd $TMP/$SRCNAM +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 \) \ @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 145fdffa45..5b6692edfb 100644 --- a/perl/perl-Net-DNS-SEC/perl-Net-DNS-SEC.SlackBuild +++ b/perl/perl-Net-DNS-SEC/perl-Net-DNS-SEC.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Net::DNS::DNSSEC # Home Page https://metacpan.org/pod/Net::DNS::SEC @@ -25,11 +25,14 @@ # 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-SEC" SRCNAM="Net-DNS-SEC" VERSION=${VERSION:-1.02} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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..8a4a7db72f 100644 --- a/perl/perl-Net-DNS-SEC/perl-Net-DNS-SEC.info +++ b/perl/perl-Net-DNS-SEC/perl-Net-DNS-SEC.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-SEC-1.02.t MD5SUM="3d11216697d0fe43e74484b59f94188d" 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-Daemon/perl-Net-Daemon.SlackBuild b/perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild index 38884f3962..6a32071e9d 100644 --- a/perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild +++ b/perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild @@ -1,25 +1,35 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Net-Daemon # Written by crocket (crockabiscuit@gmail.com) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Net-Daemon VERSION=${VERSION:-0.48} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Net-Daemon if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -60,4 +70,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Net-IPv4Addr/README b/perl/perl-Net-IPv4Addr/README index 988282d0db..6fcd67b3bb 100644 --- a/perl/perl-Net-IPv4Addr/README +++ b/perl/perl-Net-IPv4Addr/README @@ -1,6 +1,6 @@ Net::IPv4Addr - Perl extension for manipulating IPv4 addresses. Net::IPv4Addr provides functions for parsing IPv4 addresses both in -traditional address/netmask format and in the new CIDR format. There are also -methods for calculating the network and broadcast address and also to see -check if a given address is in a specific network. +traditional address/netmask format and in the new CIDR format. There +are also methods for calculating the network and broadcast address and +also to see check if a given address is in a specific network. diff --git a/perl/perl-Net-IPv4Addr/perl-Net-IPv4Addr.SlackBuild b/perl/perl-Net-IPv4Addr/perl-Net-IPv4Addr.SlackBuild index 3438a1c26a..c14f8ef220 100644 --- a/perl/perl-Net-IPv4Addr/perl-Net-IPv4Addr.SlackBuild +++ b/perl/perl-Net-IPv4Addr/perl-Net-IPv4Addr.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Net-IPv4Addr @@ -22,10 +22,13 @@ # 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-IPv4Addr VERSION=${VERSION:-0.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=Net-IPv4Addr DOCS="ChangeLog NEWS README" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -104,4 +114,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Net-IPv6Addr/README b/perl/perl-Net-IPv6Addr/README index 91859b2b28..dcd28f2f8c 100644 --- a/perl/perl-Net-IPv6Addr/README +++ b/perl/perl-Net-IPv6Addr/README @@ -1,5 +1,5 @@ Net::IPv6Addr -- check validity of IPv6 addresses Net::IPv6Addr checks strings for valid IPv6 addresses, as specified in -RFC1884. You throw possible addresses at it, it either accepts them or throws -an exception. +RFC1884. You throw possible addresses at it, it either accepts them or +throws an exception. diff --git a/perl/perl-Net-IPv6Addr/perl-Net-IPv6Addr.SlackBuild b/perl/perl-Net-IPv6Addr/perl-Net-IPv6Addr.SlackBuild index 5294084fef..91ce345390 100644 --- a/perl/perl-Net-IPv6Addr/perl-Net-IPv6Addr.SlackBuild +++ b/perl/perl-Net-IPv6Addr/perl-Net-IPv6Addr.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Net-IPv6Addr @@ -22,10 +22,13 @@ # 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-IPv6Addr VERSION=${VERSION:-0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=Net-IPv6Addr DOCS="ChangeLog README" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -104,4 +114,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Net-Ident/perl-Net-Ident.SlackBuild b/perl/perl-Net-Ident/perl-Net-Ident.SlackBuild index da0fe7f98f..91791ddc8b 100644 --- a/perl/perl-Net-Ident/perl-Net-Ident.SlackBuild +++ b/perl/perl-Net-Ident/perl-Net-Ident.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Net::Ident # Home Page https://metacpan.org/release/Net-Ident @@ -26,11 +26,14 @@ # # 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} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -40,14 +43,21 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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 -DOCS="Changes README" +DOCS="Changes README.md INSTALL" rm -fr $TMP/$SRCNAM-$VERSION $PKG @@ -89,4 +99,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Jabber/README b/perl/perl-Net-Jabber/README index 9c5136896d..1e57cdf76d 100644 --- a/perl/perl-Net-Jabber/README +++ b/perl/perl-Net-Jabber/README @@ -1,4 +1,4 @@ Net::Jabber - Jabber Perl Library -Net::Jabber provides a perl user with access to the Jabber Instant Messaging -Protocol. +Net::Jabber provides a perl user with access to the Jabber Instant +Messaging Protocol. diff --git a/perl/perl-Net-Jabber/perl-Net-Jabber.SlackBuild b/perl/perl-Net-Jabber/perl-Net-Jabber.SlackBuild index 32c6620e23..36df137fb5 100644 --- a/perl/perl-Net-Jabber/perl-Net-Jabber.SlackBuild +++ b/perl/perl-Net-Jabber/perl-Net-Jabber.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Net-Jabber @@ -22,26 +22,36 @@ # 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-Jabber VERSION=${VERSION:-2.0} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Net-LDAP/README b/perl/perl-Net-LDAP/README index 6df8570cc6..7b674623b4 100644 --- a/perl/perl-Net-LDAP/README +++ b/perl/perl-Net-LDAP/README @@ -6,8 +6,6 @@ entries. Optional dependencies perl-IO-Socket-INET6 -perl-IO-Socket-SSL -perl-Authen-SASL perl-JSON perl-XML-SAX-Writer perl-http-negotiate diff --git a/perl/perl-Net-LDAP/perl-Net-LDAP.SlackBuild b/perl/perl-Net-LDAP/perl-Net-LDAP.SlackBuild index bc71e1e829..37bb66ebee 100644 --- a/perl/perl-Net-LDAP/perl-Net-LDAP.SlackBuild +++ b/perl/perl-Net-LDAP/perl-Net-LDAP.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Net-LDAP @@ -22,10 +22,13 @@ # 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-LDAP VERSION=${VERSION:-0.65} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -84,4 +94,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Net-LDAP/perl-Net-LDAP.info b/perl/perl-Net-LDAP/perl-Net-LDAP.info index 3b0e94e2f5..d104a4a40a 100644 --- a/perl/perl-Net-LDAP/perl-Net-LDAP.info +++ b/perl/perl-Net-LDAP/perl-Net-LDAP.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MARSCHAP/perl-ldap-0.65.tar. MD5SUM="d057c8db76913d95c0e460c7bdd98b27" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Convert-ASN1 perl-Text-Soundex" +REQUIRES="perl-Convert-ASN1 perl-Text-Soundex perl-Module-Install" MAINTAINER="Chris Walker" EMAIL="kris240376@gmail.com" diff --git a/perl/perl-Net-LibIDN/README b/perl/perl-Net-LibIDN/README index b437dffdf5..3b3a23c00f 100644 --- a/perl/perl-Net-LibIDN/README +++ b/perl/perl-Net-LibIDN/README @@ -3,13 +3,15 @@ Net::LibIDN - Perl bindings for GNU Libidn Provides bindings for GNU Libidn, a C library for handling Internationalized Domain Names according to IDNA (RFC 3490), in a way very much inspired by Turbo Fredriksson's PHP-IDN. There is currently -no support for Perl's unicode capabilities (man perlunicode). All input -strings are assumed to be octet strings, all output strings are generated -as octet strings. Thus, if you require Perl's unicode features, you will -have to convert your strings manually. For example: +no support for Perl's unicode capabilities (man perlunicode). All +input strings are assumed to be octet strings, all output strings +are generated as octet strings. Thus, if you require Perl's unicode +features, you will have to convert your strings manually. For example: use Encode; use Data::Dumper; print Dumper(Net::LibIDN::idn_to_unicode('xn--uro-j50a.com', 'utf-8')); print Dumper(decode( - 'utf-8', Net::LibIDN::idn_to_unicode('xn--uro-j50a.com', 'utf-8'))); + 'utf-8', + Net::LibIDN::idn_to_unicode('xn--uro-j50a.com', + 'utf-8'))); diff --git a/perl/perl-Net-LibIDN/perl-Net-LibIDN.SlackBuild b/perl/perl-Net-LibIDN/perl-Net-LibIDN.SlackBuild index 0b21b41827..6c422fb670 100644 --- a/perl/perl-Net-LibIDN/perl-Net-LibIDN.SlackBuild +++ b/perl/perl-Net-LibIDN/perl-Net-LibIDN.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Net-LibIDN @@ -22,10 +22,13 @@ # 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-LibIDN VERSION=${VERSION:-0.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=Net-LibIDN DOCS="Artistic Changes README" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -101,4 +111,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-libnet/perl-libnet.SlackBuild b/perl/perl-Net-LibIDN2/perl-Net-LibIDN2.SlackBuild index 5f4feddd26..e9603776bf 100644 --- a/perl/perl-libnet/perl-libnet.SlackBuild +++ b/perl/perl-Net-LibIDN2/perl-Net-LibIDN2.SlackBuild @@ -1,9 +1,8 @@ -#!/bin/sh +#!/bin/bash -# Slackware build script for perl-libnet +# Slackware build script for Net::LibIDN2 -# Copyright 2016-2017 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy -# Based on slackbuilds.org perl template. +# Copyright 2024 pyllyukko # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,12 +22,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=perl-libnet -VERSION=${VERSION:-3.11} +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Net-LibIDN2 +VERSION=${VERSION:-1.02} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=libnet +SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -38,13 +40,15 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} -DOCS="Artistic Changes Copying LICENCE README" - if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" @@ -54,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="" @@ -74,15 +81,14 @@ 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 {} \; -patch -p1 < $CWD/libnet-3.08-Do-not-create-Net-libnet.cfg.patch - -echo | 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 -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -95,11 +101,13 @@ 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 $DOCS $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:-tgz} +/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-Libdnet/README b/perl/perl-Net-Libdnet/README index dca5b7a128..e7f5060adb 100644 --- a/perl/perl-Net-Libdnet/README +++ b/perl/perl-Net-Libdnet/README @@ -1,8 +1,9 @@ Net::Libdnet - binding for Dug Song's libdnet -Net::Libdnet provides a simplified, portable interface to several low-level -networking routines, including network address manipulation, kernel arp cache -and route table lookup and manipulation, network firewalling, network -interface lookup and manipulation, network traffic interception via tunnel -interfaces, and raw IP packet and Ethernet frame transmission. It is intended -to complement the functionality provided by libpcap. +Net::Libdnet provides a simplified, portable interface to several +low-level networking routines, including network address manipulation, +kernel arp cache and route table lookup and manipulation, network +firewalling, network interface lookup and manipulation, network +traffic interception via tunnel interfaces, and raw IP packet +and Ethernet frame transmission. It is intended to complement the +functionality provided by libpcap. diff --git a/perl/perl-Net-Libdnet/perl-Net-Libdnet.SlackBuild b/perl/perl-Net-Libdnet/perl-Net-Libdnet.SlackBuild index 8451030418..97ac295d4d 100644 --- a/perl/perl-Net-Libdnet/perl-Net-Libdnet.SlackBuild +++ b/perl/perl-Net-Libdnet/perl-Net-Libdnet.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Net-Libdnet @@ -22,10 +22,13 @@ # 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-Libdnet VERSION=${VERSION:-0.98} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=Net-Libdnet DOCS="LICENSE README" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -101,4 +111,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Net-Netmask/perl-Net-Netmask.SlackBuild b/perl/perl-Net-Netmask/perl-Net-Netmask.SlackBuild index fc34b62b3a..08988140fb 100644 --- a/perl/perl-Net-Netmask/perl-Net-Netmask.SlackBuild +++ b/perl/perl-Net-Netmask/perl-Net-Netmask.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Net-Netmask @@ -22,10 +22,13 @@ # 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-Netmask VERSION=${VERSION:-1.9022} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Net-Patricia/perl-Net-Patricia.SlackBuild b/perl/perl-Net-Patricia/perl-Net-Patricia.SlackBuild index d50fea2c5e..c6f28e22cd 100644 --- a/perl/perl-Net-Patricia/perl-Net-Patricia.SlackBuild +++ b/perl/perl-Net-Patricia/perl-Net-Patricia.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Net::Patricia # Home Page https://metacpan.org/release/Net-Patricia @@ -25,10 +25,13 @@ # 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-Patricia" VERSION=${VERSION:-1.22} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -87,4 +97,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Net-Pcap/README b/perl/perl-Net-Pcap/README index 44d3bf7f20..76c9266d87 100644 --- a/perl/perl-Net-Pcap/README +++ b/perl/perl-Net-Pcap/README @@ -1,5 +1,5 @@ -Net::Pcap is a Perl binding to the LBL pcap(3) library. The README for libpcap -describes itself as "a system-independent interface for user-level packet -capture. libpcap provides a portable framework for low-level network -monitoring. Applications include network statistics collection, security -monitoring, network debugging, etc." +Net::Pcap is a Perl binding to the LBL pcap(3) library. The README +for libpcap describes itself as "a system-independent interface for +user-level packet capture. libpcap provides a portable framework for +low-level network monitoring. Applications include network statistics +collection, security monitoring, network debugging, etc." diff --git a/perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild b/perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild index 70288baf55..75e33e6f97 100644 --- a/perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild +++ b/perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Net-Pcap @@ -22,10 +22,13 @@ # 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-Pcap VERSION=${VERSION:-0.18} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=Net-Pcap DOCS="README" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Net-RawIP/README b/perl/perl-Net-RawIP/README index b08ecae900..e62357eef7 100644 --- a/perl/perl-Net-RawIP/README +++ b/perl/perl-Net-RawIP/README @@ -1,10 +1,12 @@ -Net::RawIP - Perl extension to manipulate raw IP packets with interface to -libpcap. +Net::RawIP - Perl extension to manipulate raw IP packets with +interface to libpcap. -This package provides a class which can be used for creating, manipulating and -sending raw IP packets with optional features for manipulating Ethernet -headers. -As its name implies, this module is quite low-level, and currently duplicates -some features with Net::Pcap. If you prefer a higher-level module (in terms of -Perl support), please take a look at Net::Write, which provides a portable -interface to construct and send raw packets on the network. +This package provides a class which can be used for creating, +manipulating and sending raw IP packets with optional features for +manipulating Ethernet headers. + +As its name implies, this module is quite low-level, and currently +duplicates some features with Net::Pcap. If you prefer a higher-level +module (in terms of Perl support), please take a look at Net::Write, +which provides a portable interface to construct and send raw packets +on the network. diff --git a/perl/perl-Net-RawIP/perl-Net-RawIP.SlackBuild b/perl/perl-Net-RawIP/perl-Net-RawIP.SlackBuild index 891676c70c..1e2c9f1bde 100644 --- a/perl/perl-Net-RawIP/perl-Net-RawIP.SlackBuild +++ b/perl/perl-Net-RawIP/perl-Net-RawIP.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Net-RawIP @@ -22,10 +22,13 @@ # 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-RawIP VERSION=${VERSION:-0.25} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=Net-RawIP DOCS="README README.Devel" @@ -38,7 +41,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -68,9 +75,13 @@ 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 \ + -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ + +# 20220228 bkw: allow 'make test' to succeed in the absence of +# a network connection. +sed -i -e '/cisco.com/d' -e 's/+= 4/+= 3/' t/iflist.t perl Makefile.PL INSTALLDIRS=perl make @@ -104,4 +115,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Net-SNMP/README b/perl/perl-Net-SNMP/README index 3a6e51efd7..a843165528 100644 --- a/perl/perl-Net-SNMP/README +++ b/perl/perl-Net-SNMP/README @@ -1,5 +1,5 @@ -The Net::SNMP module implements an object oriented interface to the Simple -Network Management Protocol. +The Net::SNMP module implements an object oriented interface to the +Simple Network Management Protocol. -Note: The SNMP module that comes with Net-SNMP stock package is just 'SNMP', -Net::SNMP is a a different module altogether. +Note: The SNMP module that comes with Net-SNMP stock package is just +'SNMP', Net::SNMP is a a different module altogether. diff --git a/perl/perl-Net-SNMP/perl-Net-SNMP.SlackBuild b/perl/perl-Net-SNMP/perl-Net-SNMP.SlackBuild index 868aaf1fae..fba51a77f6 100644 --- a/perl/perl-Net-SNMP/perl-Net-SNMP.SlackBuild +++ b/perl/perl-Net-SNMP/perl-Net-SNMP.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Net-SNMP @@ -22,15 +22,25 @@ # 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-SNMP VERSION=${VERSION:-6.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -78,4 +88,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Net-Server/perl-Net-Server.SlackBuild b/perl/perl-Net-Server/perl-Net-Server.SlackBuild index 85340fae10..f2dd800c1e 100644 --- a/perl/perl-Net-Server/perl-Net-Server.SlackBuild +++ b/perl/perl-Net-Server/perl-Net-Server.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Net::Server # Home Page https://metacpan.org/release/Net-Server @@ -27,10 +27,13 @@ # # Modified by the SlackBuilds.org project. +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} SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" @@ -42,14 +45,21 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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 -DOCS="Changes README" +DOCS="Changes README INSTALL LICENSE" rm -fr $TMP/$SRCNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT @@ -89,4 +99,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Telnet/README b/perl/perl-Net-Telnet/README index 890da5b2f9..edfff9bebb 100644 --- a/perl/perl-Net-Telnet/README +++ b/perl/perl-Net-Telnet/README @@ -1,9 +1,10 @@ Net::Telnet - interact with TELNET port or other TCP ports -Net::Telnet allows you to make client connections to a TCP port and do network -I/O, especially to a port using the TELNET protocol. Simple I/O methods such -as print, get, and getline are provided. More sophisticated interactive -features are provided because connecting to a TELNET port ultimately means -communicating with a program designed for human interaction. These interactive -features include the ability to specify a time-out and to wait for patterns to -appear in the input stream, such as the prompt from a shell. +Net::Telnet allows you to make client connections to a TCP port and do +network I/O, especially to a port using the TELNET protocol. Simple +I/O methods such as print, get, and getline are provided. More +sophisticated interactive features are provided because connecting to +a TELNET port ultimately means communicating with a program designed +for human interaction. These interactive features include the ability +to specify a time-out and to wait for patterns to appear in the input +stream, such as the prompt from a shell. diff --git a/perl/perl-Net-Telnet/perl-Net-Telnet.SlackBuild b/perl/perl-Net-Telnet/perl-Net-Telnet.SlackBuild index 0e01b9ee14..6f14847693 100644 --- a/perl/perl-Net-Telnet/perl-Net-Telnet.SlackBuild +++ b/perl/perl-Net-Telnet/perl-Net-Telnet.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Net-Telnet @@ -22,10 +22,13 @@ # 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-Telnet VERSION=${VERSION:-3.04} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=Net-Telnet DOCS="ChangeLog README" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -104,4 +114,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Net-UPnP/perl-Net-UPnP.SlackBuild b/perl/perl-Net-UPnP/perl-Net-UPnP.SlackBuild index 08dcb737ee..b8c1f7285a 100644 --- a/perl/perl-Net-UPnP/perl-Net-UPnP.SlackBuild +++ b/perl/perl-Net-UPnP/perl-Net-UPnP.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Net-UPnP # Home Page https://metacpan.org/release/Net-UPnP @@ -25,10 +25,13 @@ # 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-UPnP VERSION=${VERSION:-1.4.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Net-UPnP @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Net-Works/README b/perl/perl-Net-Works/README new file mode 100644 index 0000000000..c2d1f5f0ee --- /dev/null +++ b/perl/perl-Net-Works/README @@ -0,0 +1 @@ +Net::Works - Sane APIs for IP addresses and networks diff --git a/perl/perl-Net-Works/perl-Net-Works.SlackBuild b/perl/perl-Net-Works/perl-Net-Works.SlackBuild new file mode 100644 index 0000000000..6bc25f4132 --- /dev/null +++ b/perl/perl-Net-Works/perl-Net-Works.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/bash + +# Slackware build script for perl-Net-Works + +# Copyright 2020 Jan F. Chadima <jfch@jagda.eu> +# 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-Works +VERSION=${VERSION:-0.22} +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 +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 \ + Changes INSTALL 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-Works/perl-Net-Works.info b/perl/perl-Net-Works/perl-Net-Works.info new file mode 100644 index 0000000000..c16d3ee20a --- /dev/null +++ b/perl/perl-Net-Works/perl-Net-Works.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-Works" +VERSION="0.22" +HOMEPAGE="https://metacpan.org/pod/Net::Works" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MAXMIND/Net-Works-0.22.tar.gz" +MD5SUM="92993638c98f04d82a4d75ed4b043b45" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-List-AllUtils perl-Math-Int128 perl-namespace-autoclean perl-Class-Method-Modifiers" +MAINTAINER="Jan F. Chadima" +EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Net-Works/slack-desc b/perl/perl-Net-Works/slack-desc new file mode 100644 index 0000000000..c8f27b1a02 --- /dev/null +++ b/perl/perl-Net-Works/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-Works: perl-Net-Works (Sane APIs for IP addresses and networks) +perl-Net-Works: +perl-Net-Works: This module is similar to NetAddr::IP module. It is designed for +perl-Net-Works: use in Maxmind products. +perl-Net-Works: +perl-Net-Works: Homepage: https://metacpan.org/pod/Net::Works +perl-Net-Works: +perl-Net-Works: +perl-Net-Works: +perl-Net-Works: +perl-Net-Works: diff --git a/perl/perl-Net-Write/README b/perl/perl-Net-Write/README index 346811b411..4a0548144c 100644 --- a/perl/perl-Net-Write/README +++ b/perl/perl-Net-Write/README @@ -1,9 +1,11 @@ Net::Write - a portable interface to open and send raw data to network -Net::Write provides a portable interface to open a network interface, and be -able to write raw data directly to the network. It juste provides three -methods when a Net::Write object has been created for an interface: open, -send, close. -It is possible to open a network interface to send frames at layer 2 (you -craft a frame from link layer), or at layer 3 (you craft a frame from network -layer), or at layer 4 (you craft a frame from transport layer). +Net::Write provides a portable interface to open a network interface, +and be able to write raw data directly to the network. It juste +provides three methods when a Net::Write object has been created for +an interface: open, send, close. + +It is possible to open a network interface to send frames at layer 2 +(you craft a frame from link layer), or at layer 3 (you craft a frame +from network layer), or at layer 4 (you craft a frame from transport +layer). diff --git a/perl/perl-Net-Write/perl-Net-Write.SlackBuild b/perl/perl-Net-Write/perl-Net-Write.SlackBuild index bb38637cae..384d2050e5 100644 --- a/perl/perl-Net-Write/perl-Net-Write.SlackBuild +++ b/perl/perl-Net-Write/perl-Net-Write.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Net-Write @@ -22,29 +22,39 @@ # 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-Write VERSION=${VERSION:-1.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=Net-Write DOCS="LICENSE LICENSE.Artistic README" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -94,4 +104,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Net-XMPP/perl-Net-XMPP.SlackBuild b/perl/perl-Net-XMPP/perl-Net-XMPP.SlackBuild index d52f822f0c..b12583dc82 100644 --- a/perl/perl-Net-XMPP/perl-Net-XMPP.SlackBuild +++ b/perl/perl-Net-XMPP/perl-Net-XMPP.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Net-XMPP @@ -23,10 +23,13 @@ # 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-XMPP VERSION=${VERSION:-1.05} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -83,4 +93,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild b/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild index 8514389246..7ab72131f0 100644 --- a/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild +++ b/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: NetAddr::IP # Home Page https://metacpan.org/release/NetAddr-IP @@ -27,30 +27,40 @@ # # Modified by the SlackBuilds.org project. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM="perl-NetAddr-IP" VERSION=${VERSION:-4.079} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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 -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-NetPacket/README b/perl/perl-NetPacket/README index a8d787778d..9b79c5cc77 100644 --- a/perl/perl-NetPacket/README +++ b/perl/perl-NetPacket/README @@ -1,15 +1,16 @@ -NetPacket - modules to assemble/disassemble network packets at the protocol -level. +NetPacket - modules to assemble/disassemble network packets at the +protocol level. -NetPacket provides a base class for a cluster of modules related to decoding -and encoding of network protocols. Each NetPacket descendent module knows how -to encode and decode packets for the network protocol it implements. Consult -the documentation for the module in question for protocol-specific -implementation. -Note that there is no inheritance in the NetPacket:: cluster of modules other -than each protocol module being a NetPacket. This was seen to be too -restrictive as imposing inheritance relationships (for example between the IP, -UDP and TCP protocols) would make things like tunneling or other unusual -situations difficult. +NetPacket provides a base class for a cluster of modules related to +decoding and encoding of network protocols. Each NetPacket descendent +module knows how to encode and decode packets for the network protocol +it implements. Consult the documentation for the module in question +for protocol-specific implementation. + +Note that there is no inheritance in the NetPacket:: cluster of +modules other than each protocol module being a NetPacket. This was +seen to be too restrictive as imposing inheritance relationships (for +example between the IP, UDP and TCP protocols) would make things like +tunneling or other unusual situations difficult. This is not the same module as perl-Net-Packet! diff --git a/perl/perl-NetPacket/perl-NetPacket.SlackBuild b/perl/perl-NetPacket/perl-NetPacket.SlackBuild index 5d2e479e2c..80bdf56a41 100644 --- a/perl/perl-NetPacket/perl-NetPacket.SlackBuild +++ b/perl/perl-NetPacket/perl-NetPacket.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-NetPacket @@ -22,29 +22,39 @@ # 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-NetPacket VERSION=${VERSION:-1.6.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=NetPacket DOCS="README" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Number-Bites-Human/perl-Number-Bites-Human.SlackBuild b/perl/perl-Number-Bites-Human/perl-Number-Bites-Human.SlackBuild index 99d8066786..1adecbc91b 100644 --- a/perl/perl-Number-Bites-Human/perl-Number-Bites-Human.SlackBuild +++ b/perl/perl-Number-Bites-Human/perl-Number-Bites-Human.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Number-Bites-Human. # @@ -22,10 +22,13 @@ # 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-Number-Bites-Human VERSION=${VERSION:-0.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Number-Compare/perl-Number-Compare.SlackBuild b/perl/perl-Number-Compare/perl-Number-Compare.SlackBuild index 5973116b1f..5d7affaedc 100644 --- a/perl/perl-Number-Compare/perl-Number-Compare.SlackBuild +++ b/perl/perl-Number-Compare/perl-Number-Compare.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Number-Compare @@ -22,28 +22,38 @@ # 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-Number-Compare VERSION=${VERSION:-0.03} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Number-Convert-Roman/README b/perl/perl-Number-Convert-Roman/README new file mode 100644 index 0000000000..4b9d330991 --- /dev/null +++ b/perl/perl-Number-Convert-Roman/README @@ -0,0 +1 @@ +Number::Convert::Roman is a Roman-Arabic numeral converter diff --git a/perl/perl-Number-Convert-Roman/perl-Number-Convert-Roman.SlackBuild b/perl/perl-Number-Convert-Roman/perl-Number-Convert-Roman.SlackBuild new file mode 100644 index 0000000000..0b20166edd --- /dev/null +++ b/perl/perl-Number-Convert-Roman/perl-Number-Convert-Roman.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/bash + +# Slackware build script for perl-Number-Convert-Roman + +# Copyright 2020 Jan F. Chadima <jfch@jagda.eu> +# 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-Number-Convert-Roman +VERSION=${VERSION:-0.01} +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 +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 \ + 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-Number-Convert-Roman/perl-Number-Convert-Roman.info b/perl/perl-Number-Convert-Roman/perl-Number-Convert-Roman.info new file mode 100644 index 0000000000..e31749cae2 --- /dev/null +++ b/perl/perl-Number-Convert-Roman/perl-Number-Convert-Roman.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Number-Convert-Roman" +VERSION="0.01" +HOMEPAGE="https://metacpan.org/pod/Number::Convert::Roman" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SA/SANTOS/Number-Convert-Roman-0.01.tar.gz" +MD5SUM="02e1c812a899c5436fbbc2d5453f1be3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Jan F. Chadima" +EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Number-Convert-Roman/slack-desc b/perl/perl-Number-Convert-Roman/slack-desc new file mode 100644 index 0000000000..39d99cab87 --- /dev/null +++ b/perl/perl-Number-Convert-Roman/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-Number-Convert-Roman: perl-Number-Convert-Roman (Roman-Arabic numeral converter) +perl-Number-Convert-Roman: +perl-Number-Convert-Roman: This module is useful for conversion between Roman and Arabic +perl-Number-Convert-Roman: numbers. +perl-Number-Convert-Roman: +perl-Number-Convert-Roman: Homepage: https://metacpan.org/pod/Number::Convert::Roman +perl-Number-Convert-Roman: +perl-Number-Convert-Roman: +perl-Number-Convert-Roman: +perl-Number-Convert-Roman: +perl-Number-Convert-Roman: diff --git a/perl/perl-Object-Accessor/perl-Object-Accessor.SlackBuild b/perl/perl-Object-Accessor/perl-Object-Accessor.SlackBuild index 530cdd9e37..098346ff10 100644 --- a/perl/perl-Object-Accessor/perl-Object-Accessor.SlackBuild +++ b/perl/perl-Object-Accessor/perl-Object-Accessor.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Object-Accessor @@ -16,10 +16,13 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Object-Accessor VERSION=${VERSION:-0.48} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -31,7 +34,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -90,4 +100,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Object-Accessor/perl-Object-Accessor.info b/perl/perl-Object-Accessor/perl-Object-Accessor.info index 481a329383..38e5ab1b4d 100644 --- a/perl/perl-Object-Accessor/perl-Object-Accessor.info +++ b/perl/perl-Object-Accessor/perl-Object-Accessor.info @@ -6,5 +6,5 @@ MD5SUM="46a3ce50d8817938cecbb8e02eda9500" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" +MAINTAINER="orphaned - no maintainer" +EMAIL="nobody@nowhere" diff --git a/perl/perl-Ogg-Vorbis-Header-PurePerl/perl-Ogg-Vorbis-Header-PurePerl.SlackBuild b/perl/perl-Ogg-Vorbis-Header-PurePerl/perl-Ogg-Vorbis-Header-PurePerl.SlackBuild index da10b2c763..1dd832ef6f 100644 --- a/perl/perl-Ogg-Vorbis-Header-PurePerl/perl-Ogg-Vorbis-Header-PurePerl.SlackBuild +++ b/perl/perl-Ogg-Vorbis-Header-PurePerl/perl-Ogg-Vorbis-Header-PurePerl.SlackBuild @@ -1,13 +1,16 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Ogg-Vorbis-Header-PurePerl # Written by Mark Grocock <mark@grocock.me.uk> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Ogg-Vorbis-Header-PurePerl VERSION=${VERSION:-1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Ogg-Vorbis-Header-PurePerl @@ -19,7 +22,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -82,4 +92,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-PAR-Dist/README b/perl/perl-PAR-Dist/README index 2a904fb7b4..5e4a309c94 100644 --- a/perl/perl-PAR-Dist/README +++ b/perl/perl-PAR-Dist/README @@ -2,7 +2,7 @@ perl-PAR-Dist (Create and manipulate PAR distributions) This module creates and manipulates PAR distributions. They are architecture-specific PAR files, containing everything under blib/ of -CPAN distributions after their make or Build stage, a META.yml describing -metadata of the original CPAN distribution, and a MANIFEST detailing all -files within it. Digitally signed PAR distributions will also contain -a SIGNATURE file. +CPAN distributions after their make or Build stage, a META.yml +describing metadata of the original CPAN distribution, and a MANIFEST +detailing all files within it. Digitally signed PAR distributions will +also contain a SIGNATURE file. diff --git a/perl/perl-PAR-Dist/perl-PAR-Dist.SlackBuild b/perl/perl-PAR-Dist/perl-PAR-Dist.SlackBuild index 933dbdef99..9015703b56 100644 --- a/perl/perl-PAR-Dist/perl-PAR-Dist.SlackBuild +++ b/perl/perl-PAR-Dist/perl-PAR-Dist.SlackBuild @@ -1,7 +1,8 @@ -#!/bin/sh -# Slackware build script for perl-PAR-Dist +#!/bin/bash +# +# Slackware build script for perl-PAR-Dist. -# Copyright 2015 Edinaldo P. Silva <edps.mundognu@gmail.com> +# Copyright 2015-2023 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,26 +22,38 @@ # 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-PAR-Dist -VERSION=${VERSION:-0.49} +VERSION=${VERSION:-0.52} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -55,8 +68,6 @@ fi set -e -SRCNAM=PAR-Dist - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -96,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-PAR-Dist/perl-PAR-Dist.info b/perl/perl-PAR-Dist/perl-PAR-Dist.info index a190b832a9..354f52b2f9 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.49" +VERSION="0.52" HOMEPAGE="https://metacpan.org/pod/PAR::Dist" -DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/PAR-Dist-0.49.tar.gz" -MD5SUM="bd852113974544f3c8c107ab4055cf8c" +DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/PAR-Dist-0.52.tar.gz" +MD5SUM="d7b74fd9efd82d693236c05bfc539e60" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-PAR/perl-PAR.SlackBuild b/perl/perl-PAR/perl-PAR.SlackBuild index 627ca19789..3e1df7d23c 100644 --- a/perl/perl-PAR/perl-PAR.SlackBuild +++ b/perl/perl-PAR/perl-PAR.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-PAR. # -# Copyright 2015-2019 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 @@ -22,22 +22,26 @@ # 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-PAR -VERSION=${VERSION:-1.016} +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 +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 -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -97,4 +101,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-PAR/perl-PAR.info b/perl/perl-PAR/perl-PAR.info index 3eb2f89f4f..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.016" +VERSION="1.020" HOMEPAGE="https://metacpan.org/pod/PAR" -DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/PAR-1.016.tar.gz" -MD5SUM="37045dc980d56561272f285269427458" +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 06ba52d50b..bf2095a64f 100644 --- a/perl/perl-PDF-API2/perl-PDF-API2.SlackBuild +++ b/perl/perl-PDF-API2/perl-PDF-API2.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-PDF-API2 @@ -22,10 +22,13 @@ # 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-PDF-API2 -VERSION=${VERSION:-2.033} +VERSION=${VERSION:-2.038} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-PDF-API2/perl-PDF-API2.info b/perl/perl-PDF-API2/perl-PDF-API2.info index 681c7ed704..c54df2e261 100644 --- a/perl/perl-PDF-API2/perl-PDF-API2.info +++ b/perl/perl-PDF-API2/perl-PDF-API2.info @@ -1,8 +1,8 @@ PRGNAM="perl-PDF-API2" -VERSION="2.033" +VERSION="2.038" HOMEPAGE="https://metacpan.org/pod/PDF::API2" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SS/SSIMMS/PDF-API2-2.033.tar.gz" -MD5SUM="4223a38add42741f996bd67d5f2f8e5b" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SS/SSIMMS/PDF-API2-2.038.tar.gz" +MD5SUM="2d6683d01b95f554ec5bb2e29f31ff03" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Font-TTF" diff --git a/perl/perl-PDF-Builder/README b/perl/perl-PDF-Builder/README new file mode 100644 index 0000000000..7a6a791666 --- /dev/null +++ b/perl/perl-PDF-Builder/README @@ -0,0 +1,2 @@ + perl-PDF-Builder - Facilitates the creation and modification of PDF + files. diff --git a/perl/perl-Sub-Quote/perl-Sub-Quote.SlackBuild b/perl/perl-PDF-Builder/perl-PDF-Builder.SlackBuild index cbed1816c0..e4783ef934 100644 --- a/perl/perl-Sub-Quote/perl-Sub-Quote.SlackBuild +++ b/perl/perl-PDF-Builder/perl-PDF-Builder.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash -# Slackware build script for perl-Sub-Quote +# Slackware build script for perl-PDF-Builder -# Copyright 2017-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2020 M.A. Begue mab974@misouk.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=perl-Sub-Quote -VERSION=${VERSION:-2.006006} +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-PDF-Builder +VERSION=${VERSION:-3.023} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -69,19 +76,17 @@ 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 {} \; + -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 @@ -90,11 +95,13 @@ 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 \ + CONTRIBUTING Changes 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-PDF-Builder/perl-PDF-Builder.info b/perl/perl-PDF-Builder/perl-PDF-Builder.info new file mode 100644 index 0000000000..76fc1d1f17 --- /dev/null +++ b/perl/perl-PDF-Builder/perl-PDF-Builder.info @@ -0,0 +1,10 @@ +PRGNAM="perl-PDF-Builder" +VERSION="3.023" +HOMEPAGE="https://metacpan.org/pod/PDF::Builder" +DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PM/PMPERRY/PDF-Builder-3.023.tar.gz" +MD5SUM="0e574a78c1996a1f9206f3cab953e620" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Font-TTF perl-Test-Memory-Cycle perl-Test-Exception" +MAINTAINER="Michel A. BEGUE" +EMAIL="mab974@misouk.com" diff --git a/perl/perl-PDF-Builder/slack-desc b/perl/perl-PDF-Builder/slack-desc new file mode 100644 index 0000000000..fe43cbb6ca --- /dev/null +++ b/perl/perl-PDF-Builder/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-PDF-Builder: perl-PDF-Builder (facilitates the creation and modification of PDFs) +perl-PDF-Builder: +perl-PDF-Builder: homepage : https://metacpan.org/pod/PDF::Builder +perl-PDF-Builder: +perl-PDF-Builder: +perl-PDF-Builder: +perl-PDF-Builder: +perl-PDF-Builder: +perl-PDF-Builder: +perl-PDF-Builder: +perl-PDF-Builder: diff --git a/perl/perl-PHP-Serialization/README b/perl/perl-PHP-Serialization/README deleted file mode 100644 index 4c72b3e6e0..0000000000 --- a/perl/perl-PHP-Serialization/README +++ /dev/null @@ -1,5 +0,0 @@ -perl-PHP-Serialization (convert PHP's serialize() to perl structures) - -Provides a simple, quick means of serializing perl memory -structures (including object data) into a format that PHP can -deserialize() and access, and vice versa. diff --git a/perl/perl-PHP-Serialization/perl-PHP-Serialization.info b/perl/perl-PHP-Serialization/perl-PHP-Serialization.info deleted file mode 100644 index 6623a70837..0000000000 --- a/perl/perl-PHP-Serialization/perl-PHP-Serialization.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-PHP-Serialization" -VERSION="0.34" -HOMEPAGE="https://metacpan.org/pod/PHP::Serialization" -DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BO/BOBTFISH/PHP-Serialization-0.34.tar.gz" -MD5SUM="333af0848ad79931875a35cc61dc22e0" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="orphaned - no maintainer" -EMAIL="nobody@nowhere.com" diff --git a/perl/perl-PPI/perl-PPI.SlackBuild b/perl/perl-PPI/perl-PPI.SlackBuild index e5739eae15..cd00178fe7 100644 --- a/perl/perl-PPI/perl-PPI.SlackBuild +++ b/perl/perl-PPI/perl-PPI.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-PPI @@ -22,16 +22,26 @@ # 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-PPI VERSION=${VERSION:-1.270} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -79,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-PPI/perl-PPI.info b/perl/perl-PPI/perl-PPI.info index afad5cad93..75a0b6d331 100644 --- a/perl/perl-PPI/perl-PPI.info +++ b/perl/perl-PPI/perl-PPI.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MI/MITHALDU/PPI-1.270.tar.gz" MD5SUM="af47f2289c880be545b220fa84a4e347" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Clone perl-IO-String perl-Params-Util perl-Task-Weaken perl-Test-Object perl-Class-Inspector perl-Test-SubCalls" +REQUIRES="perl-Clone perl-IO-String perl-Params-Util perl-Task-Weaken perl-Test-Object perl-Class-Inspector perl-Test-SubCalls perl-Test-Deep" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Package-Constants/perl-Package-Constants.SlackBuild b/perl/perl-Package-Constants/perl-Package-Constants.SlackBuild index 195c4e863b..2fba79a7c9 100644 --- a/perl/perl-Package-Constants/perl-Package-Constants.SlackBuild +++ b/perl/perl-Package-Constants/perl-Package-Constants.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Package-Constants @@ -16,10 +16,13 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Package-Constants VERSION=${VERSION:-0.06} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -31,7 +34,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -88,4 +98,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Package-Constants/perl-Package-Constants.info b/perl/perl-Package-Constants/perl-Package-Constants.info index a05eb4fbd3..c98acdc5f8 100644 --- a/perl/perl-Package-Constants/perl-Package-Constants.info +++ b/perl/perl-Package-Constants/perl-Package-Constants.info @@ -6,5 +6,5 @@ MD5SUM="e608e8eb260ee6226943c67eba1015ed" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" +MAINTAINER="Sergey Poznyakoff" +EMAIL="gray@gnu.org" diff --git a/perl/perl-Package-DeprecationManager/perl-Package-DeprecationManager.SlackBuild b/perl/perl-Package-DeprecationManager/perl-Package-DeprecationManager.SlackBuild index 3db889a654..2238f189b3 100644 --- a/perl/perl-Package-DeprecationManager/perl-Package-DeprecationManager.SlackBuild +++ b/perl/perl-Package-DeprecationManager/perl-Package-DeprecationManager.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Package-DeprecationManager # Written by David Somero <dsomero@hotmail.com> @@ -25,10 +25,13 @@ # 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-Package-DeprecationManager VERSION=${VERSION:-0.17} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Package-DeprecationManager @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -101,4 +111,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Package-Stash-XS/perl-Package-Stash-XS.SlackBuild b/perl/perl-Package-Stash-XS/perl-Package-Stash-XS.SlackBuild index dd8a40124c..46b0ce4a16 100644 --- a/perl/perl-Package-Stash-XS/perl-Package-Stash-XS.SlackBuild +++ b/perl/perl-Package-Stash-XS/perl-Package-Stash-XS.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Package-Stash-XS # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-Package-Stash-XS VERSION=${VERSION:-0.28} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Package-Stash-XS if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Package-Stash/perl-Package-Stash.SlackBuild b/perl/perl-Package-Stash/perl-Package-Stash.SlackBuild index f4c345d02b..942a4930da 100644 --- a/perl/perl-Package-Stash/perl-Package-Stash.SlackBuild +++ b/perl/perl-Package-Stash/perl-Package-Stash.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Package-Stash # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-Package-Stash VERSION=${VERSION:-0.37} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Package-Stash if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Params-Classify/perl-Params-Classify.SlackBuild b/perl/perl-Params-Classify/perl-Params-Classify.SlackBuild index b13d7ebba6..6bdec15ef9 100644 --- a/perl/perl-Params-Classify/perl-Params-Classify.SlackBuild +++ b/perl/perl-Params-Classify/perl-Params-Classify.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Params-Classify # Written by David Somero <dsomero@hotmail.com> @@ -25,10 +25,13 @@ # 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-Params-Classify VERSION=${VERSION:-0.015} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Params-Classify @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Params-Util/perl-Params-Util.SlackBuild b/perl/perl-Params-Util/perl-Params-Util.SlackBuild index 77a679c8a8..ed90245694 100644 --- a/perl/perl-Params-Util/perl-Params-Util.SlackBuild +++ b/perl/perl-Params-Util/perl-Params-Util.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Params-Util # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-Params-Util VERSION=${VERSION:-1.07} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Params-Util if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Params-Validate/perl-Params-Validate.SlackBuild b/perl/perl-Params-Validate/perl-Params-Validate.SlackBuild index c4b2333486..079aa65874 100644 --- a/perl/perl-Params-Validate/perl-Params-Validate.SlackBuild +++ b/perl/perl-Params-Validate/perl-Params-Validate.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Params-Validate @@ -26,10 +26,13 @@ # 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-Params-Validate VERSION=${VERSION:-1.29} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Params-Validate @@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 22f7fdd6c4..57824fca67 100644 --- a/perl/perl-Params-ValidationCompiler/perl-Params-ValidationCompiler.SlackBuild +++ b/perl/perl-Params-ValidationCompiler/perl-Params-ValidationCompiler.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # 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 @@ -22,10 +22,13 @@ # 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-Params-ValidationCompiler -VERSION=${VERSION:-0.30} +VERSION=${VERSION:-0.31} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -98,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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/README b/perl/perl-Parse-Method-Signatures/README index 4d1dab8c8a..8150aa32f3 100644 --- a/perl/perl-Parse-Method-Signatures/README +++ b/perl/perl-Parse-Method-Signatures/README @@ -1,4 +1,4 @@ Parse::Method::Signatures is an extension of the Perl 5 object system. -It is inspired by Perl6::Signature but streamlined to just support the subset -deemed useful for TryCatch and MooseX::Method::Signatures. +It is inspired by Perl6::Signature but streamlined to just support the +subset deemed useful for TryCatch and MooseX::Method::Signatures. diff --git a/perl/perl-Parse-Method-Signatures/perl-Parse-Method-Signatures.SlackBuild b/perl/perl-Parse-Method-Signatures/perl-Parse-Method-Signatures.SlackBuild index 30f5725fe7..e4c9759729 100644 --- a/perl/perl-Parse-Method-Signatures/perl-Parse-Method-Signatures.SlackBuild +++ b/perl/perl-Parse-Method-Signatures/perl-Parse-Method-Signatures.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Parse-Method-Signatures @@ -22,16 +22,26 @@ # 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-Parse-Method-Signatures VERSION=${VERSION:-1.003019} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -79,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 ef9440dfd6..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" +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-Parse-RecDescent/perl-Parse-RecDescent.SlackBuild b/perl/perl-Parse-RecDescent/perl-Parse-RecDescent.SlackBuild index 9c4c581563..57a1ca9e24 100644 --- a/perl/perl-Parse-RecDescent/perl-Parse-RecDescent.SlackBuild +++ b/perl/perl-Parse-RecDescent/perl-Parse-RecDescent.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Parse-RecDescent @@ -22,10 +22,13 @@ # 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-Parse-RecDescent VERSION=${VERSION:-1.967015} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=Parse-RecDescent @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -92,4 +102,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Parser-MGC/README b/perl/perl-Parser-MGC/README index ce11e13f4f..adb23138d2 100644 --- a/perl/perl-Parser-MGC/README +++ b/perl/perl-Parser-MGC/README @@ -1,6 +1 @@ -Parser-MGC is a base class which provides a framework for building -recursive-descent parsers. It takes its name from the m//gc regular -expressions it uses to parse data into tokens. - -The module is well-documented. This build also includes a detailed -tutorial and a number of simple examples. +Build simple recursive-descent parsers in Perl. diff --git a/perl/perl-Parser-MGC/perl-Parser-MGC.SlackBuild b/perl/perl-Parser-MGC/perl-Parser-MGC.SlackBuild index d60a0ac377..1d75cdf8f9 100644 --- a/perl/perl-Parser-MGC/perl-Parser-MGC.SlackBuild +++ b/perl/perl-Parser-MGC/perl-Parser-MGC.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash -# Slackware build script for Parser-MGC +# Slackware build script for perl-Parser-MGC -# Copyright 2017 Randall Sawyer, Scarborough ME, USA +# Copyright 2022 Nicholas Hubbard <nicholashubbard@posteo.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,40 +22,30 @@ # 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-Parser-MGC -VERSION=${VERSION:-0.16} +VERSION=${VERSION:-0.21} 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 +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 -CWD=$(pwd) 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 @@ -71,14 +61,16 @@ 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 {} \; -perl Makefile.PL \ - PREFIX=/usr \ - INSTALLDIRS=vendor \ - INSTALLVENDORMAN1DIR=/usr/man/man1 \ - INSTALLVENDORMAN3DIR=/usr/man/man3 -make -make test -make install DESTDIR=$PKG +perl Build.PL \ + --prefix=/usr \ + --installdirs=vendor \ + --install_path libdoc=/usr/man/man3 +perl Build +perl Build test +perl 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 @@ -88,8 +80,8 @@ 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 -ar \ - Changes LICENSE README examples \ +cp -a \ + Changes LICENSE README* \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -97,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Parser-MGC/perl-Parser-MGC.info b/perl/perl-Parser-MGC/perl-Parser-MGC.info index c160958084..6d9d4227e3 100644 --- a/perl/perl-Parser-MGC/perl-Parser-MGC.info +++ b/perl/perl-Parser-MGC/perl-Parser-MGC.info @@ -1,10 +1,10 @@ PRGNAM="perl-Parser-MGC" -VERSION="0.16" -HOMEPAGE="https://metacpan.org/release/Parser-MGC" -DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Parser-MGC-0.16.tar.gz" -MD5SUM="bba06af234342903d13b5aec5f06392d" +VERSION="0.21" +HOMEPAGE="https://metacpan.org/pod/Parser::MGC" +DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Parser-MGC-0.21.tar.gz" +MD5SUM="d76cab74a2c87084df85c7d62ef64f8f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-File-Slurp-Tiny" -MAINTAINER="Randall Sawyer" -EMAIL="srandallsawyer@gmail.com" +REQUIRES="perl-Feature-Compat-Try" +MAINTAINER="Nicholas Hubbard" +EMAIL="nicholashubbard@posteo.net" diff --git a/perl/perl-Parser-MGC/slack-desc b/perl/perl-Parser-MGC/slack-desc index 1e0a6dfcf5..a4cc07172a 100644 --- a/perl/perl-Parser-MGC/slack-desc +++ b/perl/perl-Parser-MGC/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -perl-Parser-MGC: perl-Parser-MGC (build simple recursive-descent parsers) +perl-Parser-MGC: perl-Parser-MGC (Parser::MGC) +perl-Parser-MGC: +perl-Parser-MGC: Build simple recursive-descent parsers in Perl. +perl-Parser-MGC: +perl-Parser-MGC: +perl-Parser-MGC: +perl-Parser-MGC: perl-Parser-MGC: -perl-Parser-MGC: This base class provides a low-level framework for building -perl-Parser-MGC: recursive-descent parsers that consume a given input string -perl-Parser-MGC: from left to right, returning a parse structure. perl-Parser-MGC: -perl-Parser-MGC: It takes its name from the m//gc regexps used to implement -perl-Parser-MGC: the token parsing behaviour. perl-Parser-MGC: -perl-Parser-MGC: Homepage: https://metacpan.org/release/Parser-MGC perl-Parser-MGC: diff --git a/perl/perl-Path-Class/perl-Path-Class.SlackBuild b/perl/perl-Path-Class/perl-Path-Class.SlackBuild index 0d80e90669..98f37e3f87 100644 --- a/perl/perl-Path-Class/perl-Path-Class.SlackBuild +++ b/perl/perl-Path-Class/perl-Path-Class.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Path-Class @@ -22,10 +22,13 @@ # 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-Path-Class VERSION=${VERSION:-0.37} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Path-Tiny/README b/perl/perl-Path-Tiny/README deleted file mode 100644 index 04f27124f5..0000000000 --- a/perl/perl-Path-Tiny/README +++ /dev/null @@ -1 +0,0 @@ -This module provides a small, fast utility for working with file paths diff --git a/perl/perl-Path-Tiny/perl-Path-Tiny.info b/perl/perl-Path-Tiny/perl-Path-Tiny.info deleted file mode 100644 index 468ba88942..0000000000 --- a/perl/perl-Path-Tiny/perl-Path-Tiny.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-Path-Tiny" -VERSION="0.112" -HOMEPAGE="https://metacpan.org/pod/Path::Tiny" -DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Path-Tiny-0.112.tar.gz" -MD5SUM="bf2a021d653d7252a39c0d31b41a7c6e" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Willy Sudiarto Raharjo" -EMAIL="willysr@slackbuilds.org" diff --git a/perl/perl-Pegex/README b/perl/perl-Pegex/README index cb64e74822..6793d63ca4 100644 --- a/perl/perl-Pegex/README +++ b/perl/perl-Pegex/README @@ -1,19 +1,22 @@ -Pegex is an Acmeist parser framework. It allows you to easily create parsers -that will work equivalently in lots of programming languages! The inspiration -for Pegex comes from the parsing engine upon which the postmodern programming -language Perl 6 is based on. Pegex brings this beauty to the other justmodern -languages that have a normal regular expression engine available. +Pegex is an Acmeist parser framework. It allows you to easily +create parsers that will work equivalently in lots of programming +languages! The inspiration for Pegex comes from the parsing engine +upon which the postmodern programming language Perl 6 is based +on. Pegex brings this beauty to the other justmodern languages that +have a normal regular expression engine available. Pegex gets it name by combining Parsing Expression Grammars (PEG), with Regular Expessions (Regex). That's actually what Pegex does. -PEG is the cool new way to elegantly specify recursive descent grammars. The -Perl 6 language is defined in terms of a self modifying PEG language called -Perl 6 Rules. Regexes are familiar to programmers of most modern programming -languages. Pegex defines a simple PEG syntax, where all the terminals are -regexes. This means that Pegex can be quite fast and powerful. +PEG is the cool new way to elegantly specify recursive descent +grammars. The Perl 6 language is defined in terms of a self modifying +PEG language called Perl 6 Rules. Regexes are familiar to programmers +of most modern programming languages. Pegex defines a simple PEG +syntax, where all the terminals are regexes. This means that Pegex can +be quite fast and powerful. -Pegex attempts to be the simplest way to define new (or old) Domain Specific -Languages (DSLs) that need to be used in several programming languages and -environments. Things like JSON, YAML, Markdown etc. It also great for writing -parsers/compilers that only need to work in one language. +Pegex attempts to be the simplest way to define new (or old) Domain +Specific Languages (DSLs) that need to be used in several programming +languages and environments. Things like JSON, YAML, Markdown etc. It +also great for writing parsers/compilers that only need to work in one +language. diff --git a/perl/perl-Pegex/perl-Pegex.SlackBuild b/perl/perl-Pegex/perl-Pegex.SlackBuild index dc69ada749..bdb520d486 100644 --- a/perl/perl-Pegex/perl-Pegex.SlackBuild +++ b/perl/perl-Pegex/perl-Pegex.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Pegex @@ -23,10 +23,13 @@ # 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-Pegex VERSION=${VERSION:-0.70} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-PerlIO-Layers/README b/perl/perl-PerlIO-Layers/README deleted file mode 100644 index 8257c91fd5..0000000000 --- a/perl/perl-PerlIO-Layers/README +++ /dev/null @@ -1,8 +0,0 @@ -PerlIO::Layers (Perl module) - -Perl's filehandles are implemented as a stack of layers, with -the bottom-most usually doing the actual IO and the higher ones -doing buffering, encoding/decoding or transformations. - -PerlIO::Layers allows you to query the filehandle's properties -concerning these layers. diff --git a/perl/perl-PerlIO-Layers/perl-PerlIO-Layers.info b/perl/perl-PerlIO-Layers/perl-PerlIO-Layers.info deleted file mode 100644 index 19255ba64f..0000000000 --- a/perl/perl-PerlIO-Layers/perl-PerlIO-Layers.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-PerlIO-Layers" -VERSION="0.011" -HOMEPAGE="https://metacpan.org/pod/PerlIO::Layers" -DOWNLOAD="https://cpan.metacpan.org/authors/id/L/LE/LEONT/PerlIO-Layers-0.011.tar.gz" -MD5SUM="0ae26fbacfa77935ce0e7553ddca40f6" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="perl-List-MoreUtils perl-Module-Build" -MAINTAINER="orphaned - no maintainer" -EMAIL="nobody@nowhere.com" diff --git a/perl/perl-PerlIO-Layers/slack-desc b/perl/perl-PerlIO-Layers/slack-desc deleted file mode 100644 index 3218c53f53..0000000000 --- a/perl/perl-PerlIO-Layers/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-PerlIO-Layers: perl-PerlIO-Layers (Perl module) -perl-PerlIO-Layers: -perl-PerlIO-Layers: Perl's filehandles are implemented as a stack of layers, with the -perl-PerlIO-Layers: bottom-most usually doing the actual IO and the higher ones doing -perl-PerlIO-Layers: buffering, encoding/decoding or transformations. PerlIO::Layers -perl-PerlIO-Layers: allows you to query the filehandle's properties concerning these -perl-PerlIO-Layers: layers. -perl-PerlIO-Layers: -perl-PerlIO-Layers: https://metacpan.org/release/LEONT/PerlIO-Layers-0.010 -perl-PerlIO-Layers: -perl-PerlIO-Layers: diff --git a/perl/perl-PerlIO-via-Timeout/perl-PerlIO-via-Timeout.SlackBuild b/perl/perl-PerlIO-via-Timeout/perl-PerlIO-via-Timeout.SlackBuild index 08c17d1f11..81bc8b17aa 100644 --- a/perl/perl-PerlIO-via-Timeout/perl-PerlIO-via-Timeout.SlackBuild +++ b/perl/perl-PerlIO-via-Timeout/perl-PerlIO-via-Timeout.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl module: PerlIO-via-Timeout # Home Page https://metacpan.org/release/PerlIO-via-Timeout @@ -25,10 +25,13 @@ # 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-PerlIO-via-Timeout" VERSION=${VERSION:-0.32} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="PerlIO-via-Timeout" @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -105,4 +115,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Coverage/perl-Pod-Coverage.SlackBuild b/perl/perl-Pod-Coverage/perl-Pod-Coverage.SlackBuild index c0b9efeec4..6109765788 100644 --- a/perl/perl-Pod-Coverage/perl-Pod-Coverage.SlackBuild +++ b/perl/perl-Pod-Coverage/perl-Pod-Coverage.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Pod-Coverage @@ -23,10 +23,13 @@ # 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-Coverage VERSION=${VERSION:-0.23} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Pod-Coverage @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -95,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Pod-Coverage/perl-Pod-Coverage.info b/perl/perl-Pod-Coverage/perl-Pod-Coverage.info index 4408d2c780..ce436d3c94 100644 --- a/perl/perl-Pod-Coverage/perl-Pod-Coverage.info +++ b/perl/perl-Pod-Coverage/perl-Pod-Coverage.info @@ -5,6 +5,6 @@ DOWNLOAD="http://cpan.metacpan.org/authors/id/R/RC/RCLAMP/Pod-Coverage-0.23.tar. MD5SUM="12229e553ee7887680ee3db11da5ee52" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Devel-Symdump" +REQUIRES="perl-Devel-Symdump perl-Pod-Parser" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" diff --git a/perl/perl-Pod-Parser/README b/perl/perl-Pod-Parser/README new file mode 100644 index 0000000000..d42b387360 --- /dev/null +++ b/perl/perl-Pod-Parser/README @@ -0,0 +1,7 @@ +Pod::Parser is a base class for creating POD filters and translators. +It handles most of the effort involved with parsing the POD sections +from an input stream, leaving subclasses free to be concerned only +with performing the actual translation of text. + +Note: this module is considered legacy and has been removed from the +standard perl distribution but is still needed for a bunch of things. diff --git a/perl/perl-Pod-Parser/perl-Pod-Parser.SlackBuild b/perl/perl-Pod-Parser/perl-Pod-Parser.SlackBuild new file mode 100644 index 0000000000..99f4359ef0 --- /dev/null +++ b/perl/perl-Pod-Parser/perl-Pod-Parser.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/bash + +# Slackware build script for perl-Pod-Parser + +# Copyright 2020 Matteo Bernardini <ponce@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. + +# 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:-2} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} +ARCH=noarch + +SRCNAM=Pod-Parser + +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 . -type f -exec chmod 644 {} + -o -type d -exec chmod 755 {} + + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +make install DESTDIR=$PKG + +mv $PKG/usr/share/man/man1 $PKG/usr/man +rm -rf $PKG/usr/share/man +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 $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-Parser/perl-Pod-Parser.info b/perl/perl-Pod-Parser/perl-Pod-Parser.info new file mode 100644 index 0000000000..a2c25b6e12 --- /dev/null +++ b/perl/perl-Pod-Parser/perl-Pod-Parser.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Pod-Parser" +VERSION="1.63" +HOMEPAGE="https://metacpan.org/pod/Pod::Parser" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MAREKR/Pod-Parser-1.63.tar.gz" +MD5SUM="d8e0d60e03d77442d354fd567e469ae4" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" diff --git a/perl/perl-Pod-Parser/slack-desc b/perl/perl-Pod-Parser/slack-desc new file mode 100644 index 0000000000..171aa0c018 --- /dev/null +++ b/perl/perl-Pod-Parser/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-Parser: perl-Pod-Parser (base class for creating POD filters and translators) +perl-Pod-Parser: +perl-Pod-Parser: Pod::Parser is a base class for creating POD filters and translators. +perl-Pod-Parser: It handles most of the effort involved with parsing the POD sections +perl-Pod-Parser: from an input stream, leaving subclasses free to be concerned only +perl-Pod-Parser: with performing the actual translation of text. +perl-Pod-Parser: +perl-Pod-Parser: +perl-Pod-Parser: +perl-Pod-Parser: +perl-Pod-Parser: diff --git a/perl/perl-Probe-Perl/perl-Probe-Perl.SlackBuild b/perl/perl-Probe-Perl/perl-Probe-Perl.SlackBuild index dd542730e3..40ac263d2c 100644 --- a/perl/perl-Probe-Perl/perl-Probe-Perl.SlackBuild +++ b/perl/perl-Probe-Perl/perl-Probe-Perl.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Probe-Perl @@ -22,22 +22,32 @@ # 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-Probe-Perl VERSION=${VERSION:-0.03} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -80,4 +90,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Proc-Daemon/perl-Proc-Daemon.SlackBuild b/perl/perl-Proc-Daemon/perl-Proc-Daemon.SlackBuild index 5a44f77a74..fa9087dc47 100644 --- a/perl/perl-Proc-Daemon/perl-Proc-Daemon.SlackBuild +++ b/perl/perl-Proc-Daemon/perl-Proc-Daemon.SlackBuild @@ -1,24 +1,34 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Proc-Daemon # Written by Thomas Morper <thomas@beingboiled.info> +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} SRCNAM=$(echo $PRGNAM | cut -f2- -d-) if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -64,4 +74,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Proc-PID-File/README b/perl/perl-Proc-PID-File/README index 7acd31ebee..14cc852942 100644 --- a/perl/perl-Proc-PID-File/README +++ b/perl/perl-Proc-PID-File/README @@ -1,4 +1,5 @@ -The Proc::PID::File is useful for writers of daemons and other processes that -need to tell whether they are already running, in order to prevent multiple -process instances. The module accomplishes this via *nix-style pidfiles, -which are files that store a process identifier. +The Proc::PID::File is useful for writers of daemons and other +processes that need to tell whether they are already running, in +order to prevent multiple process instances. The module accomplishes +this via *nix-style pidfiles, which are files that store a process +identifier. diff --git a/perl/perl-Proc-PID-File/perl-Proc-PID-File.SlackBuild b/perl/perl-Proc-PID-File/perl-Proc-PID-File.SlackBuild index 5f23cc7d41..ed24c59359 100644 --- a/perl/perl-Proc-PID-File/perl-Proc-PID-File.SlackBuild +++ b/perl/perl-Proc-PID-File/perl-Proc-PID-File.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Proc-PID-File @@ -22,15 +22,25 @@ # 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-Proc-PID-File VERSION=${VERSION:-1.27} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -76,4 +86,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Proc-ProcessTable/perl-Proc-ProcessTable.SlackBuild b/perl/perl-Proc-ProcessTable/perl-Proc-ProcessTable.SlackBuild index 79da746b8e..d8f0bcf052 100644 --- a/perl/perl-Proc-ProcessTable/perl-Proc-ProcessTable.SlackBuild +++ b/perl/perl-Proc-ProcessTable/perl-Proc-ProcessTable.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Proc-ProcessTable @@ -22,22 +22,32 @@ # 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-Proc-ProcessTable VERSION=${VERSION:-0.51} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -81,4 +91,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Proc-Simple/perl-Proc-Simple.SlackBuild b/perl/perl-Proc-Simple/perl-Proc-Simple.SlackBuild index 286870bda0..a8b98128ee 100644 --- a/perl/perl-Proc-Simple/perl-Proc-Simple.SlackBuild +++ b/perl/perl-Proc-Simple/perl-Proc-Simple.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Proc-Simple @@ -22,10 +22,13 @@ # 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-Proc-Simple VERSION=${VERSION:-1.32} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Razor2-Client-Agent/README b/perl/perl-Razor2-Client-Agent/README deleted file mode 100644 index 887fd2f33d..0000000000 --- a/perl/perl-Razor2-Client-Agent/README +++ /dev/null @@ -1,6 +0,0 @@ -Vipul's Razor is a distributed, collaborative, spam detection and -filtering network based on user submissions of spam. Detection is -done with signatures that efficiently spot mutating spam content and -user input is validated through reputation assignments. -If this package is installed, SpamAssassin performs Razor checks of -e-mail messages. diff --git a/perl/perl-Razor2-Client-Agent/perl-Razor2-Client-Agent.SlackBuild b/perl/perl-Razor2-Client-Agent/perl-Razor2-Client-Agent.SlackBuild deleted file mode 100644 index e4e173d86d..0000000000 --- a/perl/perl-Razor2-Client-Agent/perl-Razor2-Client-Agent.SlackBuild +++ /dev/null @@ -1,96 +0,0 @@ -#!/bin/sh - -# Slackware build script for perl-Razor2-Client-Agent - -# Copyright 2013-2019 Andreas Voegele <andreas@andreasvoegele.com> -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -PRGNAM=perl-Razor2-Client-Agent -VERSION=${VERSION:-2.86} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -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 - -CWD=$(pwd) -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 \ - INSTALLDIRS=vendor \ - INSTALLVENDORMAN1DIR=/usr/man/man1 \ - INSTALLVENDORMAN3DIR=/usr/man/man3 -make -make test -make install DESTDIR=$PKG INSTALLMAN5DIR=$PKG/usr/man/man5 - -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 \ - BUGS CREDITS Changes FAQ INSTALL LICENSE README.md SERVICE_POLICY \ - $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:-tgz} diff --git a/perl/perl-Razor2-Client-Agent/perl-Razor2-Client-Agent.info b/perl/perl-Razor2-Client-Agent/perl-Razor2-Client-Agent.info deleted file mode 100644 index 57a883ba60..0000000000 --- a/perl/perl-Razor2-Client-Agent/perl-Razor2-Client-Agent.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-Razor2-Client-Agent" -VERSION="2.86" -HOMEPAGE="https://metacpan.org/release/Razor2-Client-Agent" -DOWNLOAD="https://cpan.metacpan.org/authors/id/T/TO/TODDR/Razor2-Client-Agent-2.86.tar.gz" -MD5SUM="d7f9c7b6fe1c8b93425a01334bd6c3ac" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="perl-digest-sha1 perl-net-dns" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" diff --git a/perl/perl-Razor2-Client-Agent/slack-desc b/perl/perl-Razor2-Client-Agent/slack-desc deleted file mode 100644 index bbbaa31494..0000000000 --- a/perl/perl-Razor2-Client-Agent/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-Razor2-Client-Agent: perl-Razor2-Client-Agent (collaborative spam detection) -perl-Razor2-Client-Agent: -perl-Razor2-Client-Agent: Vipul's Razor is a distributed, collaborative, spam detection and -perl-Razor2-Client-Agent: filtering network based on user submissions of spam. Detection is -perl-Razor2-Client-Agent: done with signatures that efficiently spot mutating spam content and -perl-Razor2-Client-Agent: user input is validated through reputation assignments. -perl-Razor2-Client-Agent: If this package is installed, SpamAssassin performs Razor checks of -perl-Razor2-Client-Agent: e-mail messages. -perl-Razor2-Client-Agent: -perl-Razor2-Client-Agent: For more info, visit: https://metacpan.org/release/Razor2-Client-Agent -perl-Razor2-Client-Agent: diff --git a/perl/perl-Readonly/perl-Readonly.SlackBuild b/perl/perl-Readonly/perl-Readonly.SlackBuild index 8e7faf3007..d6494834e6 100644 --- a/perl/perl-Readonly/perl-Readonly.SlackBuild +++ b/perl/perl-Readonly/perl-Readonly.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Readonly @@ -22,10 +22,13 @@ # 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-Readonly VERSION=${VERSION:-2.05} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -82,4 +92,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Regexp-Common/perl-Regexp-Common.SlackBuild b/perl/perl-Regexp-Common/perl-Regexp-Common.SlackBuild index 8ad6aaddcb..e9f05f2815 100644 --- a/perl/perl-Regexp-Common/perl-Regexp-Common.SlackBuild +++ b/perl/perl-Regexp-Common/perl-Regexp-Common.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Regexp-Common @@ -22,22 +22,32 @@ # 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-Regexp-Common -VERSION=${VERSION:-2013031301} +VERSION=${VERSION:-2017060201} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=$( echo $PRGNAM | cut -d- -f2- ) if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -80,4 +90,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Regexp-Common/perl-Regexp-Common.info b/perl/perl-Regexp-Common/perl-Regexp-Common.info index 5571701fc9..ea9bd3d43f 100644 --- a/perl/perl-Regexp-Common/perl-Regexp-Common.info +++ b/perl/perl-Regexp-Common/perl-Regexp-Common.info @@ -1,8 +1,8 @@ PRGNAM="perl-Regexp-Common" -VERSION="2013031301" +VERSION="2017060201" HOMEPAGE="https://metacpan.org/pod/Regexp::Common" -DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AB/ABIGAIL/Regexp-Common-2013031301.tar.gz" -MD5SUM="2b9c335312dcfd9980ff7acbad0e5905" +DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AB/ABIGAIL/Regexp-Common-2017060201.tar.gz" +MD5SUM="b1bb40759b84154990f36a160160fb94" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-Regexp-IPv6/perl-Regexp-IPv6.SlackBuild b/perl/perl-Regexp-IPv6/perl-Regexp-IPv6.SlackBuild index 117feee9fb..eb655e8415 100644 --- a/perl/perl-Regexp-IPv6/perl-Regexp-IPv6.SlackBuild +++ b/perl/perl-Regexp-IPv6/perl-Regexp-IPv6.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright (c) 2013 Asaf Ohaion # All rights reserved. @@ -27,10 +27,13 @@ # Build script for perl-Class-ReturnValue +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Regexp-IPv6 VERSION=${VERSION:-0.03} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Regexp-IPv6 @@ -42,7 +45,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Religion-Islam-Quran/perl-Religion-Islam-Quran.SlackBuild b/perl/perl-Religion-Islam-Quran/perl-Religion-Islam-Quran.SlackBuild index ef77921fdb..364b8f4c99 100644 --- a/perl/perl-Religion-Islam-Quran/perl-Religion-Islam-Quran.SlackBuild +++ b/perl/perl-Religion-Islam-Quran/perl-Religion-Islam-Quran.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for pel-Religion-Islam-Quran @@ -22,10 +22,13 @@ # 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-Religion-Islam-Quran VERSION=${VERSION:-2.01} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Role-Tiny/perl-Role-Tiny.SlackBuild b/perl/perl-Role-Tiny/perl-Role-Tiny.SlackBuild index 80733c95e2..6fa8af9d08 100644 --- a/perl/perl-Role-Tiny/perl-Role-Tiny.SlackBuild +++ b/perl/perl-Role-Tiny/perl-Role-Tiny.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Role-Tiny -# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2013-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # 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-Role-Tiny -VERSION=${VERSION:-2.001004} +VERSION=${VERSION:-2.002004} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Role-Tiny/perl-Role-Tiny.info b/perl/perl-Role-Tiny/perl-Role-Tiny.info index 08d44ab5e9..9c5d7bd060 100644 --- a/perl/perl-Role-Tiny/perl-Role-Tiny.info +++ b/perl/perl-Role-Tiny/perl-Role-Tiny.info @@ -1,8 +1,8 @@ PRGNAM="perl-Role-Tiny" -VERSION="2.001004" +VERSION="2.002004" HOMEPAGE="https://metacpan.org/pod/Role::Tiny" -DOWNLOAD="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Role-Tiny-2.001004.tar.gz" -MD5SUM="98446826608b1e943e65c1f6e35942fe" +DOWNLOAD="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Role-Tiny-2.002004.tar.gz" +MD5SUM="9ee45591befa3d0b1094ac75d282b6ba" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Test-Fatal" diff --git a/perl/perl-SDL/perl-SDL.SlackBuild b/perl/perl-SDL/perl-SDL.SlackBuild index 26e467b206..25abb4f80d 100644 --- a/perl/perl-SDL/perl-SDL.SlackBuild +++ b/perl/perl-SDL/perl-SDL.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-SDL # -# Copyright 2009-2017 Erik W. Hanson, Minneapolis, MN, USA +# Copyright 2009-2022 Erik W. Hanson, Minneapolis, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,11 +22,14 @@ # 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 -VERSION=${VERSION:-2.546} +SRCNAM=SDL +VERSION=${VERSION:-2.548} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -101,4 +111,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-SDL/perl-SDL.info b/perl/perl-SDL/perl-SDL.info index d262640647..3aeb3f97bc 100644 --- a/perl/perl-SDL/perl-SDL.info +++ b/perl/perl-SDL/perl-SDL.info @@ -1,8 +1,8 @@ PRGNAM="perl-SDL" -VERSION="2.546" +VERSION="2.548" HOMEPAGE="https://metacpan.org/pod/SDL" -DOWNLOAD="https://cpan.metacpan.org/authors/id/F/FR/FROGGS/SDL-2.546.tar.gz" -MD5SUM="a93283d0fff67bdec5ff4bb8c1d30a09" +DOWNLOAD="https://cpan.metacpan.org/authors/id/F/FR/FROGGS/SDL-2.548.tar.gz" +MD5SUM="35faca310f0e246d5cea93a062f054d9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Alien-SDL perl-Tie-Simple perl-Test-Most SDL_gfx SDL_Pango" diff --git a/perl/perl-SNMP-Info/perl-SNMP-Info.SlackBuild b/perl/perl-SNMP-Info/perl-SNMP-Info.SlackBuild index 331f868821..29f113ec91 100644 --- a/perl/perl-SNMP-Info/perl-SNMP-Info.SlackBuild +++ b/perl/perl-SNMP-Info/perl-SNMP-Info.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-SNMP-Info -# Copyright 2013, Thibaut Notteboom, Paris, FRANCE +# Copyright 2013-2023, Thibaut Notteboom, Paris, FRANCE # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,28 +22,35 @@ # 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-SNMP-Info -VERSION=${VERSION:-3.08} +VERSION=${VERSION:-3.95} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -51,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="" @@ -66,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 @@ -88,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 @@ -96,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-SNMP-Info/perl-SNMP-Info.info b/perl/perl-SNMP-Info/perl-SNMP-Info.info index 96ac7cd1a6..21ca5dcdf5 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.95" 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.95.tar.gz" +MD5SUM="54b035d045fa0990fd84bd37d660470c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="perl-Module-Build perl-NetAddr-IP perl-Regexp-Common" MAINTAINER="Thibaut Notteboom" -EMAIL="tib@tibux.org" +EMAIL="thibaut.notteboom@gmail.com" diff --git a/perl/perl-SOAP-Lite/perl-SOAP-Lite.SlackBuild b/perl/perl-SOAP-Lite/perl-SOAP-Lite.SlackBuild index e3600dba31..103d0643d4 100644 --- a/perl/perl-SOAP-Lite/perl-SOAP-Lite.SlackBuild +++ b/perl/perl-SOAP-Lite/perl-SOAP-Lite.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-SOAP-Lite # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-SOAP-Lite VERSION=${VERSION:-1.22} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=SOAP-Lite if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -105,4 +115,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-SOAP-Lite/perl-SOAP-Lite.info b/perl/perl-SOAP-Lite/perl-SOAP-Lite.info index ad0cbf87a8..616979b847 100644 --- a/perl/perl-SOAP-Lite/perl-SOAP-Lite.info +++ b/perl/perl-SOAP-Lite/perl-SOAP-Lite.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PH/PHRED/SOAP-Lite-1.22.tar.gz" MD5SUM="86c31341311498a08c6309e62168f655" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="libwww-perl perl-Class-Inspector perl-MIME-Lite perl-Task-Weaken perl-IO-SessionData perl-IO-Socket-SSL Crypt-SSLeay" +REQUIRES="libwww-perl perl-Class-Inspector perl-MIME-Lite perl-Task-Weaken perl-IO-SessionData Crypt-SSLeay" MAINTAINER="David Somero" EMAIL="dsomero@hotmail.com" diff --git a/perl/perl-Scalar-List-Utils/perl-Scalar-List-Utils.SlackBuild b/perl/perl-Scalar-List-Utils/perl-Scalar-List-Utils.SlackBuild index 39938cff4e..7208fcc1df 100644 --- a/perl/perl-Scalar-List-Utils/perl-Scalar-List-Utils.SlackBuild +++ b/perl/perl-Scalar-List-Utils/perl-Scalar-List-Utils.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Scalar-List-Utils -# Copyright 2018-2019 Jan F. Chadima <jfch@jagda.eu> +# Copyright 2018-2020 Jan F. Chadima <jfch@jagda.eu> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # 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-Scalar-List-Utils -VERSION=${VERSION:-1.52} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.55} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Scalar-List-Utils/perl-Scalar-List-Utils.info b/perl/perl-Scalar-List-Utils/perl-Scalar-List-Utils.info index d68a20c5c3..74e06287b9 100644 --- a/perl/perl-Scalar-List-Utils/perl-Scalar-List-Utils.info +++ b/perl/perl-Scalar-List-Utils/perl-Scalar-List-Utils.info @@ -1,8 +1,8 @@ PRGNAM="perl-Scalar-List-Utils" -VERSION="1.52" +VERSION="1.55" HOMEPAGE="https://metacpan.org/pod/Scalar::Util" -DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Scalar-List-Utils-1.52.tar.gz" -MD5SUM="50807e3ab15cb88dddfc9e23a54948c1" +DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Scalar-List-Utils-1.55.tar.gz" +MD5SUM="7988f5111e33ba47e175cf3e86b0d93f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-Schedule-Cron/README b/perl/perl-Schedule-Cron/README new file mode 100644 index 0000000000..8a652e85bd --- /dev/null +++ b/perl/perl-Schedule-Cron/README @@ -0,0 +1 @@ +cron-like scheduler for Perl subroutines. diff --git a/perl/perl-Schedule-Cron/perl-Schedule-Cron.SlackBuild b/perl/perl-Schedule-Cron/perl-Schedule-Cron.SlackBuild new file mode 100644 index 0000000000..95cf48aa4a --- /dev/null +++ b/perl/perl-Schedule-Cron/perl-Schedule-Cron.SlackBuild @@ -0,0 +1,93 @@ +#!/bin/bash + +# Slackware build script for perl-Schedule-Cron + +# Copyright 2022 Nicholas Hubbard <nicholashubbard@posteo.net> +# 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-Schedule-Cron +VERSION=${VERSION:-1.05} +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 +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-Schedule-Cron/perl-Schedule-Cron.info b/perl/perl-Schedule-Cron/perl-Schedule-Cron.info new file mode 100644 index 0000000000..70e4a6358e --- /dev/null +++ b/perl/perl-Schedule-Cron/perl-Schedule-Cron.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Schedule-Cron" +VERSION="1.05" +HOMEPAGE="https://metacpan.org/pod/Schedule::Cron" +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" +MAINTAINER="Nicholas Hubbard" +EMAIL="nicholashubbard@posteo.net" diff --git a/perl/perl-Astro-SunTime/slack-desc b/perl/perl-Schedule-Cron/slack-desc index 7512bbe0b0..c5065a7ea4 100644 --- a/perl/perl-Astro-SunTime/slack-desc +++ b/perl/perl-Schedule-Cron/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -perl-Astro-SunTime: perl-Astro-SunTime (Interface to calculate sun rise/set times) -perl-Astro-SunTime: -perl-Astro-SunTime: -perl-Astro-SunTime: -perl-Astro-SunTime: -perl-Astro-SunTime: -perl-Astro-SunTime: -perl-Astro-SunTime: -perl-Astro-SunTime: -perl-Astro-SunTime: -perl-Astro-SunTime: +perl-Schedule-Cron: perl-Schedule-Cron (Schedule::Cron) +perl-Schedule-Cron: +perl-Schedule-Cron: Cron-like scheduler for Perl subroutines. +perl-Schedule-Cron: +perl-Schedule-Cron: +perl-Schedule-Cron: +perl-Schedule-Cron: +perl-Schedule-Cron: +perl-Schedule-Cron: +perl-Schedule-Cron: +perl-Schedule-Cron: diff --git a/perl/perl-Scope-Guard/README b/perl/perl-Scope-Guard/README index 95da2f0646..7a339e1221 100644 --- a/perl/perl-Scope-Guard/README +++ b/perl/perl-Scope-Guard/README @@ -1,2 +1,2 @@ -This module provides a convenient way to perform cleanup or other forms of -resource management at the end of a scope. +This module provides a convenient way to perform cleanup or other +forms of resource management at the end of a scope. diff --git a/perl/perl-Scope-Guard/perl-Scope-Guard.SlackBuild b/perl/perl-Scope-Guard/perl-Scope-Guard.SlackBuild index 3b2054ba5c..326a5f47de 100644 --- a/perl/perl-Scope-Guard/perl-Scope-Guard.SlackBuild +++ b/perl/perl-Scope-Guard/perl-Scope-Guard.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Scope-Guard @@ -22,10 +22,13 @@ # 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-Scope-Guard VERSION=${VERSION:-0.21} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Scope-Upper/perl-Scope-Upper.SlackBuild b/perl/perl-Scope-Upper/perl-Scope-Upper.SlackBuild index 8c74a33500..54039dbc2d 100644 --- a/perl/perl-Scope-Upper/perl-Scope-Upper.SlackBuild +++ b/perl/perl-Scope-Upper/perl-Scope-Upper.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Scope-Upper @@ -22,10 +22,13 @@ # 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-Scope-Upper VERSION=${VERSION:-0.32} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Set-IntSpan/perl-Set-IntSpan.SlackBuild b/perl/perl-Set-IntSpan/perl-Set-IntSpan.SlackBuild index 6bf468f186..8cd4c27504 100644 --- a/perl/perl-Set-IntSpan/perl-Set-IntSpan.SlackBuild +++ b/perl/perl-Set-IntSpan/perl-Set-IntSpan.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Set-IntSpan @@ -22,10 +22,13 @@ # 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-Set-IntSpan VERSION=${VERSION:-1.19} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 f474e8dc0a..2493a764dc 100644 --- a/perl/perl-Sidef/perl-Sidef.SlackBuild +++ b/perl/perl-Sidef/perl-Sidef.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Sidef. # @@ -23,10 +23,13 @@ # 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-Sidef -VERSION=${VERSION:-3.95} +VERSION=${VERSION:-23.05} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -36,7 +39,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Sidef/perl-Sidef.info b/perl/perl-Sidef/perl-Sidef.info index 7f6e05031a..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.95" +VERSION="23.05" HOMEPAGE="https://github.com/trizen/sidef" -DOWNLOAD="https://github.com/trizen/sidef/archive/3.95/sidef-3.95.tar.gz" -MD5SUM="e89b0753a37fd7412f66f5e3fbe511ef" +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-Socket-GetAddrinfo/perl-Socket-GetAddrinfo.SlackBuild b/perl/perl-Socket-GetAddrinfo/perl-Socket-GetAddrinfo.SlackBuild index ce0b723356..29617a9da3 100644 --- a/perl/perl-Socket-GetAddrinfo/perl-Socket-GetAddrinfo.SlackBuild +++ b/perl/perl-Socket-GetAddrinfo/perl-Socket-GetAddrinfo.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Socket-GetAddrinfo @@ -22,27 +22,37 @@ # 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-Socket-GetAddrinfo SRCNAM=Socket-GetAddrInfo VERSION=${VERSION:-0.22} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -93,4 +103,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Socket6/README b/perl/perl-Socket6/README index 5bd1700aae..76b0631125 100644 --- a/perl/perl-Socket6/README +++ b/perl/perl-Socket6/README @@ -1,2 +1,3 @@ Socket6 - IPv6 related part of the C socket.h defines and structure -manipulators. This provides glue routines to the various IPv6 functions. +manipulators. This provides glue routines to the various IPv6 +functions. diff --git a/perl/perl-Socket6/perl-Socket6.SlackBuild b/perl/perl-Socket6/perl-Socket6.SlackBuild index 4ac30cfed4..2144825b03 100644 --- a/perl/perl-Socket6/perl-Socket6.SlackBuild +++ b/perl/perl-Socket6/perl-Socket6.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Socket6 @@ -22,29 +22,39 @@ # 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-Socket6 VERSION=${VERSION:-0.28} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=Socket6 DOCS="README" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -95,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Sort-Naturally/perl-Sort-Naturally.SlackBuild b/perl/perl-Sort-Naturally/perl-Sort-Naturally.SlackBuild index c76b745598..dcacc60a25 100644 --- a/perl/perl-Sort-Naturally/perl-Sort-Naturally.SlackBuild +++ b/perl/perl-Sort-Naturally/perl-Sort-Naturally.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Sort-Naturally @@ -22,28 +22,38 @@ # 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-Sort-Naturally VERSION=${VERSION:-1.03} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -94,4 +104,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Sort-Versions/perl-Sort-Versions.SlackBuild b/perl/perl-Sort-Versions/perl-Sort-Versions.SlackBuild index ecb7151b73..d830fc7108 100644 --- a/perl/perl-Sort-Versions/perl-Sort-Versions.SlackBuild +++ b/perl/perl-Sort-Versions/perl-Sort-Versions.SlackBuild @@ -1,31 +1,41 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for <perl-Sort-Versions> # Written by Jacob Pipkin <j@dawnrazor.net> # Licensed under the WTFPL <http://sam.zoy.org/wtfpl/COPYING> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Sort-Versions VERSION=${VERSION:-1.5} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -78,4 +88,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Statistics-Descriptive/README b/perl/perl-Statistics-Descriptive/README index 69c15edd6a..b7dd4e8025 100644 --- a/perl/perl-Statistics-Descriptive/README +++ b/perl/perl-Statistics-Descriptive/README @@ -1,6 +1,6 @@ -This module provides basic functions used in descriptive statistics. It has an -object oriented design and supports two different types of data storage and -calculation objects: sparse and full. With the sparse method, none of the data -is stored and only a few statistical measures are available. Using the full -method, the entire data set is retained and additional functions are -available. +This module provides basic functions used in descriptive +statistics. It has an object oriented design and supports two +different types of data storage and calculation objects: sparse and +full. With the sparse method, none of the data is stored and only a +few statistical measures are available. Using the full method, the +entire data set is retained and additional functions are available. diff --git a/perl/perl-Statistics-Descriptive/perl-Statistics-Descriptive.SlackBuild b/perl/perl-Statistics-Descriptive/perl-Statistics-Descriptive.SlackBuild index d879e24106..808ad3ff1d 100644 --- a/perl/perl-Statistics-Descriptive/perl-Statistics-Descriptive.SlackBuild +++ b/perl/perl-Statistics-Descriptive/perl-Statistics-Descriptive.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Statistics-Descriptive # @@ -22,28 +22,38 @@ # 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-Statistics-Descriptive VERSION=${VERSION:-3.0609} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Statistics-Descriptive if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-String-PerlIdentifier/README b/perl/perl-String-PerlIdentifier/README index 8e363151dd..312fbb2a77 100644 --- a/perl/perl-String-PerlIdentifier/README +++ b/perl/perl-String-PerlIdentifier/README @@ -3,7 +3,8 @@ perl-String-PerlIdentifier (generate a random name for Perl variable) String::PerlIdentifier - Generate a random name for a Perl variable. This module automatically exports a single subroutine, make_varname(), -which returns a string composed of random characters that qualifies as -the name for a Perl variable. The characters are limited to upper- and -lower-case letters in the English alphabet, the numerals from 0 through -9 and the underscore character. The first character may not be a numeral. +which returns a string composed of random characters that qualifies +as the name for a Perl variable. The characters are limited to upper- +and lower-case letters in the English alphabet, the numerals from 0 +through 9 and the underscore character. The first character may not be +a numeral. diff --git a/perl/perl-String-PerlIdentifier/perl-String-PerlIdentifier.SlackBuild b/perl/perl-String-PerlIdentifier/perl-String-PerlIdentifier.SlackBuild index c4cb4a72bd..13e9c9a782 100644 --- a/perl/perl-String-PerlIdentifier/perl-String-PerlIdentifier.SlackBuild +++ b/perl/perl-String-PerlIdentifier/perl-String-PerlIdentifier.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-String-PerlIdentifier. @@ -22,10 +22,13 @@ # 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-PerlIdentifier VERSION=${VERSION:-0.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-String-Random/README b/perl/perl-String-Random/README index c2b3693a6f..31e750c7ab 100644 --- a/perl/perl-String-Random/README +++ b/perl/perl-String-Random/README @@ -1 +1,2 @@ -String::Random - Perl module to generate random strings based on a pattern. +String::Random - Perl module to generate random strings based on a +pattern. diff --git a/perl/perl-String-Random/perl-String-Random.SlackBuild b/perl/perl-String-Random/perl-String-Random.SlackBuild index cf63707470..5207e27ca8 100644 --- a/perl/perl-String-Random/perl-String-Random.SlackBuild +++ b/perl/perl-String-Random/perl-String-Random.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-String-Random @@ -22,16 +22,26 @@ # 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-Random VERSION=${VERSION:-0.30} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -79,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-String-Random/perl-String-Random.info b/perl/perl-String-Random/perl-String-Random.info index 65b5b5c619..e17c405ff2 100644 --- a/perl/perl-String-Random/perl-String-Random.info +++ b/perl/perl-String-Random/perl-String-Random.info @@ -1,10 +1,10 @@ PRGNAM="perl-String-Random" VERSION="0.30" -HOMEPAGE="https://metacpan.org/pod/String-Random" +HOMEPAGE="https://metacpan.org/pod/String::Random" DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/String-Random-0.30.tar.gz" MD5SUM="d54ea58b992d9a2a1966051a4816693f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="perl-Module-Build" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-String-Random/slack-desc b/perl/perl-String-Random/slack-desc index 689c220588..590e14456c 100644 --- a/perl/perl-String-Random/slack-desc +++ b/perl/perl-String-Random/slack-desc @@ -5,7 +5,7 @@ # 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------------------------------------------------------| + |-----handy-ruler------------------------------------------------------| perl-String-Random: perl-String-Random (Random string generator) perl-String-Random: perl-String-Random: This module generates random strings based on a pattern diff --git a/perl/perl-String-Scanf/perl-String-Scanf.SlackBuild b/perl/perl-String-Scanf/perl-String-Scanf.SlackBuild index 7bd4f72db3..7d61bc481b 100644 --- a/perl/perl-String-Scanf/perl-String-Scanf.SlackBuild +++ b/perl/perl-String-Scanf/perl-String-Scanf.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-String-Scanf @@ -22,16 +22,26 @@ # 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-Scanf # replace "appname" with name of program VERSION=${VERSION:-2.1} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -76,4 +86,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-String-Scanf/perl-String-Scanf.info b/perl/perl-String-Scanf/perl-String-Scanf.info index dc6dd257ba..86ca19a5ff 100644 --- a/perl/perl-String-Scanf/perl-String-Scanf.info +++ b/perl/perl-String-Scanf/perl-String-Scanf.info @@ -1,6 +1,6 @@ PRGNAM="perl-String-Scanf" VERSION="2.1" -HOMEPAGE="https://metacpan.org/release/String-Scanf" +HOMEPAGE="https://metacpan.org/pod/String::Scanf" DOWNLOAD="https://cpan.metacpan.org/authors/id/J/JH/JHI/String-Scanf-2.1.tar.gz" MD5SUM="6fe49bcefcf7dcc58ad9fea207277552" DOWNLOAD_x86_64="" diff --git a/perl/perl-String-ShellQuote/perl-String-ShellQuote.SlackBuild b/perl/perl-String-ShellQuote/perl-String-ShellQuote.SlackBuild index 349177b4f7..4738a505b8 100644 --- a/perl/perl-String-ShellQuote/perl-String-ShellQuote.SlackBuild +++ b/perl/perl-String-ShellQuote/perl-String-ShellQuote.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: String::ShellQuote # Home Page https://metacpan.org/release/String-ShellQuote @@ -25,10 +25,13 @@ # 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-ShellQuote" VERSION=${VERSION:-1.04} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -87,4 +97,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-String-Similarity/perl-String-Similarity.SlackBuild b/perl/perl-String-Similarity/perl-String-Similarity.SlackBuild index 12cd04219b..9dba7065e4 100644 --- a/perl/perl-String-Similarity/perl-String-Similarity.SlackBuild +++ b/perl/perl-String-Similarity/perl-String-Similarity.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-String-Similarity @@ -23,10 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-String-Similarity VERSION=${VERSION:-1.04} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -101,4 +111,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Sub-Exporter-ForMethods/perl-Sub-Exporter-ForMethods.SlackBuild b/perl/perl-Sub-Exporter-ForMethods/perl-Sub-Exporter-ForMethods.SlackBuild index 908eaeddb2..6899ee5021 100644 --- a/perl/perl-Sub-Exporter-ForMethods/perl-Sub-Exporter-ForMethods.SlackBuild +++ b/perl/perl-Sub-Exporter-ForMethods/perl-Sub-Exporter-ForMethods.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Sub-Exporter-ForMethods @@ -22,16 +22,26 @@ # 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-Sub-Exporter-ForMethods VERSION=${VERSION:-0.100052} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -76,4 +86,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Exporter-Progressive/perl-Sub-Exporter-Progressive.SlackBuild b/perl/perl-Sub-Exporter-Progressive/perl-Sub-Exporter-Progressive.SlackBuild index b597ffbfa9..4484fd6b23 100644 --- a/perl/perl-Sub-Exporter-Progressive/perl-Sub-Exporter-Progressive.SlackBuild +++ b/perl/perl-Sub-Exporter-Progressive/perl-Sub-Exporter-Progressive.SlackBuild @@ -1,8 +1,9 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Sub-Exporter-Progressive # Copyright 2015 Glenn Becker <glenn.becker@gmail.com> +# Copyright 2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,28 +23,38 @@ # 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-Sub-Exporter-Progressive -VERSION=${VERSION:-0.001011} +VERSION=${VERSION:-0.001013} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -66,14 +77,15 @@ 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 \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ INSTALLVENDORMAN3DIR=/usr/man/man3 make make test @@ -99,4 +111,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Sub-Exporter-Progressive/perl-Sub-Exporter-Progressive.info b/perl/perl-Sub-Exporter-Progressive/perl-Sub-Exporter-Progressive.info index 5db7d7a9be..93a0a5d274 100644 --- a/perl/perl-Sub-Exporter-Progressive/perl-Sub-Exporter-Progressive.info +++ b/perl/perl-Sub-Exporter-Progressive/perl-Sub-Exporter-Progressive.info @@ -1,10 +1,10 @@ PRGNAM="perl-Sub-Exporter-Progressive" -VERSION="0.001011" +VERSION="0.001013" HOMEPAGE="https://metacpan.org/pod/Sub::Exporter::Progressive" -DOWNLOAD="https://cpan.metacpan.org/authors/id/F/FR/FREW/Sub-Exporter-Progressive-0.001011.tar.gz" -MD5SUM="bb50b3ba1538902b197c04818a84230a" +DOWNLOAD="https://cpan.metacpan.org/authors/id/F/FR/FREW/Sub-Exporter-Progressive-0.001013.tar.gz" +MD5SUM="72cf6acdd2a0a8b105821a4db98e4ebe" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="orphaned - no maintainer" -EMAIL="nobody@nowhere.com" +MAINTAINER="Willy Sudiarto Raharjo" +EMAIL="willysr@slackbuilds.org" diff --git a/perl/perl-Sub-Exporter/perl-Sub-Exporter.SlackBuild b/perl/perl-Sub-Exporter/perl-Sub-Exporter.SlackBuild index 904a0ea704..0070effbfa 100644 --- a/perl/perl-Sub-Exporter/perl-Sub-Exporter.SlackBuild +++ b/perl/perl-Sub-Exporter/perl-Sub-Exporter.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Sub-Exporter # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-Sub-Exporter VERSION=${VERSION:-0.987} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Sub-Exporter if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Sub-Identify/perl-Sub-Identify.SlackBuild b/perl/perl-Sub-Identify/perl-Sub-Identify.SlackBuild index 92d7ef63ab..229ddb8c25 100644 --- a/perl/perl-Sub-Identify/perl-Sub-Identify.SlackBuild +++ b/perl/perl-Sub-Identify/perl-Sub-Identify.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Sub-Identify @@ -22,10 +22,13 @@ # 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-Sub-Identify VERSION=${VERSION:-0.14} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Sub-Install/perl-Sub-Install.SlackBuild b/perl/perl-Sub-Install/perl-Sub-Install.SlackBuild index 811f931dcd..5430128272 100644 --- a/perl/perl-Sub-Install/perl-Sub-Install.SlackBuild +++ b/perl/perl-Sub-Install/perl-Sub-Install.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Sub-Install # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-Sub-Install VERSION=${VERSION:-0.928} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Sub-Install if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Sub-Name/perl-Sub-Name.SlackBuild b/perl/perl-Sub-Name/perl-Sub-Name.SlackBuild index 252cfc2368..72b9f42ea1 100644 --- a/perl/perl-Sub-Name/perl-Sub-Name.SlackBuild +++ b/perl/perl-Sub-Name/perl-Sub-Name.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # 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 @@ -22,10 +22,13 @@ # 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-Sub-Name -VERSION=${VERSION:-0.26} +VERSION=${VERSION:-0.27} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -98,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Override/perl-Sub-Override.SlackBuild b/perl/perl-Sub-Override/perl-Sub-Override.SlackBuild index 9c1f791338..e997769f1c 100644 --- a/perl/perl-Sub-Override/perl-Sub-Override.SlackBuild +++ b/perl/perl-Sub-Override/perl-Sub-Override.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright (c) 2014 LEVAI Daniel # All rights reserved. @@ -23,28 +23,38 @@ # 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-Sub-Override VERSION=${VERSION:-0.09} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Sub-Quote/README b/perl/perl-Sub-Quote/README deleted file mode 100644 index 976ea69ac9..0000000000 --- a/perl/perl-Sub-Quote/README +++ /dev/null @@ -1 +0,0 @@ -efficient generation of subroutines via string eval diff --git a/perl/perl-Sub-Quote/perl-Sub-Quote.info b/perl/perl-Sub-Quote/perl-Sub-Quote.info deleted file mode 100644 index 15e9a86e7b..0000000000 --- a/perl/perl-Sub-Quote/perl-Sub-Quote.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-Sub-Quote" -VERSION="2.006006" -HOMEPAGE="https://metacpan.org/pod/Sub::Quote" -DOWNLOAD="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Sub-Quote-2.006006.tar.gz" -MD5SUM="1bb9caee697bcfa738f419d40505e506" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="perl-Test-Fatal" -MAINTAINER="Willy Sudiarto Raharjo" -EMAIL="willysr@slackbuilds.org" diff --git a/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild b/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild index 5ccc944ede..8698a864e6 100644 --- a/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild +++ b/perl/perl-Sub-Uplevel/perl-Sub-Uplevel.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Sub::Uplevel # Home Page https://metacpan.org/release/Sub-Uplevel @@ -25,40 +25,30 @@ # 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=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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" @@ -71,16 +61,18 @@ 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 \ + -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 @@ -98,4 +90,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Switch/README b/perl/perl-Switch/README index cf0e7c40f2..4933ae4ca7 100644 --- a/perl/perl-Switch/README +++ b/perl/perl-Switch/README @@ -1,2 +1,3 @@ -Switch implements a generalized case mechanism that covers most (but not all) -of the numerous possible combinations of switch and case values. +Switch implements a generalized case mechanism that covers most (but +not all) of the numerous possible combinations of switch and case +values. diff --git a/perl/perl-Switch/perl-Switch.SlackBuild b/perl/perl-Switch/perl-Switch.SlackBuild index 1cca5960e5..a1632b204d 100644 --- a/perl/perl-Switch/perl-Switch.SlackBuild +++ b/perl/perl-Switch/perl-Switch.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Switch @@ -22,10 +22,13 @@ # 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-Switch VERSION=${VERSION:-2.17} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Syntax-Highlight-Engine-Kate/README b/perl/perl-Syntax-Highlight-Engine-Kate/README index 697443c9eb..c2214a4e04 100644 --- a/perl/perl-Syntax-Highlight-Engine-Kate/README +++ b/perl/perl-Syntax-Highlight-Engine-Kate/README @@ -1,2 +1,2 @@ -Perl module Syntax::Highlight::Engine::Kate - a port to Perl of the syntax -highlight engine of the Kate text editor. +Perl module Syntax::Highlight::Engine::Kate - a port to Perl of the +syntax highlight engine of the Kate text editor. diff --git a/perl/perl-Syntax-Highlight-Engine-Kate/perl-Syntax-Highlight-Engine-Kate.SlackBuild b/perl/perl-Syntax-Highlight-Engine-Kate/perl-Syntax-Highlight-Engine-Kate.SlackBuild index 574a0f15f4..f0c6e5138f 100644 --- a/perl/perl-Syntax-Highlight-Engine-Kate/perl-Syntax-Highlight-Engine-Kate.SlackBuild +++ b/perl/perl-Syntax-Highlight-Engine-Kate/perl-Syntax-Highlight-Engine-Kate.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Syntax-Highlight-Engine-Kate @@ -23,10 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Syntax-Highlight-Engine-Kate VERSION=${VERSION:-0.14} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -101,4 +111,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Syntax-Highlight-Engine-Kate/perl-Syntax-Highlight-Engine-Kate.info b/perl/perl-Syntax-Highlight-Engine-Kate/perl-Syntax-Highlight-Engine-Kate.info index 39123d4823..0c7d830715 100644 --- a/perl/perl-Syntax-Highlight-Engine-Kate/perl-Syntax-Highlight-Engine-Kate.info +++ b/perl/perl-Syntax-Highlight-Engine-Kate/perl-Syntax-Highlight-Engine-Kate.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MANWAR/Syntax-Highlight-Engi MD5SUM="10df4c2d1df9a99f04ec7b03f807e8c2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Test-Differences perl-test-warn perl-Path-Tiny" +REQUIRES="perl-Test-Differences perl-test-warn perl-Module-Install" MAINTAINER="Nikos Giotis" EMAIL="nikos.giotis@gmail.com" diff --git a/perl/perl-Syntax-Keyword-Try/README b/perl/perl-Syntax-Keyword-Try/README new file mode 100644 index 0000000000..75cd79c1fb --- /dev/null +++ b/perl/perl-Syntax-Keyword-Try/README @@ -0,0 +1 @@ +a try/catch/finally syntax for perl diff --git a/perl/perl-Syntax-Keyword-Try/perl-Syntax-Keyword-Try.SlackBuild b/perl/perl-Syntax-Keyword-Try/perl-Syntax-Keyword-Try.SlackBuild new file mode 100644 index 0000000000..45f10ff5c8 --- /dev/null +++ b/perl/perl-Syntax-Keyword-Try/perl-Syntax-Keyword-Try.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/bash + +# Slackware build script for perl-Syntax-Keyword-Try + +# Copyright 2022 Nicholas Hubbard <nicholashubbard@posteo.net> +# 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-Syntax-Keyword-Try +VERSION=${VERSION:-0.27} +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 \ + --prefix=/usr \ + --installdirs=vendor \ + --install_path libdoc=/usr/man/man3 +perl Build +perl Build test +perl 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-Syntax-Keyword-Try/perl-Syntax-Keyword-Try.info b/perl/perl-Syntax-Keyword-Try/perl-Syntax-Keyword-Try.info new file mode 100644 index 0000000000..1cbff7c07c --- /dev/null +++ b/perl/perl-Syntax-Keyword-Try/perl-Syntax-Keyword-Try.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Syntax-Keyword-Try" +VERSION="0.27" +HOMEPAGE="https://metacpan.org/pod/Syntax::Keyword::Try" +DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Syntax-Keyword-Try-0.27.tar.gz" +MD5SUM="47fef750062dfe38036a0043c1a88ef5" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-XS-Parse-Keyword" +MAINTAINER="Nicholas Hubbard" +EMAIL="nicholashubbard@posteo.net" diff --git a/perl/perl-Syntax-Keyword-Try/slack-desc b/perl/perl-Syntax-Keyword-Try/slack-desc new file mode 100644 index 0000000000..b428d045f8 --- /dev/null +++ b/perl/perl-Syntax-Keyword-Try/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-Syntax-Keyword-Try: perl-Syntax-Keyword-Try (Syntax::Keyword::Try) +perl-Syntax-Keyword-Try: +perl-Syntax-Keyword-Try: a try/catch/finally syntax for perlperl-Syntax-Keyword-Try: +perl-Syntax-Keyword-Try: +perl-Syntax-Keyword-Try: +perl-Syntax-Keyword-Try: +perl-Syntax-Keyword-Try: +perl-Syntax-Keyword-Try: +perl-Syntax-Keyword-Try: +perl-Syntax-Keyword-Try: +perl-Syntax-Keyword-Try: diff --git a/perl/perl-Sys-CPU/perl-Sys-CPU.SlackBuild b/perl/perl-Sys-CPU/perl-Sys-CPU.SlackBuild index ed17db19bc..78d9d6fa85 100644 --- a/perl/perl-Sys-CPU/perl-Sys-CPU.SlackBuild +++ b/perl/perl-Sys-CPU/perl-Sys-CPU.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Sys-CPU @@ -22,10 +22,13 @@ # 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-Sys-CPU VERSION=${VERSION:-0.61} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Sys-Hostname-Long/perl-Sys-Hostname-Long.SlackBuild b/perl/perl-Sys-Hostname-Long/perl-Sys-Hostname-Long.SlackBuild index 4e4262dccc..2a19502c0a 100644 --- a/perl/perl-Sys-Hostname-Long/perl-Sys-Hostname-Long.SlackBuild +++ b/perl/perl-Sys-Hostname-Long/perl-Sys-Hostname-Long.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Sys-Hostname-Long @@ -22,22 +22,32 @@ # 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-Sys-Hostname-Long VERSION=${VERSION:-1.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Sys-Hostname-Long if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -82,4 +92,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Sys-MemInfo/perl-Sys-MemInfo.SlackBuild b/perl/perl-Sys-MemInfo/perl-Sys-MemInfo.SlackBuild index 363b517181..e6d0a7e85f 100644 --- a/perl/perl-Sys-MemInfo/perl-Sys-MemInfo.SlackBuild +++ b/perl/perl-Sys-MemInfo/perl-Sys-MemInfo.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Sys-MemInfo @@ -22,10 +22,13 @@ # 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-Sys-MemInfo VERSION=${VERSION:-0.99} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Sys-Mmap/README b/perl/perl-Sys-Mmap/README index a320862f31..43d3c4ab36 100644 --- a/perl/perl-Sys-Mmap/README +++ b/perl/perl-Sys-Mmap/README @@ -2,4 +2,5 @@ perl-Sys-Mmap (uses mmap to map in a file as a Perl variable) The mmap module uses the POSIX mmap call to map in a file as a Perl variable. Memory access by mmap may be shared between threads or -forked processes, and may be a disc file that has been mapped into memory. +forked processes, and may be a disc file that has been mapped into +memory. diff --git a/perl/perl-Sys-Mmap/perl-Sys-Mmap.SlackBuild b/perl/perl-Sys-Mmap/perl-Sys-Mmap.SlackBuild index f04f761013..cd20611dd1 100644 --- a/perl/perl-Sys-Mmap/perl-Sys-Mmap.SlackBuild +++ b/perl/perl-Sys-Mmap/perl-Sys-Mmap.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Sys-Mmap @@ -23,10 +23,13 @@ # 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-Sys-Mmap VERSION=${VERSION:-0.17} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Sys-Mmap @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Sys-Syscall/perl-Sys-Syscall.SlackBuild b/perl/perl-Sys-Syscall/perl-Sys-Syscall.SlackBuild index a7855a40d9..38be7e1725 100644 --- a/perl/perl-Sys-Syscall/perl-Sys-Syscall.SlackBuild +++ b/perl/perl-Sys-Syscall/perl-Sys-Syscall.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Sys-Syscall @@ -22,23 +22,33 @@ # 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-Sys-Syscall VERSION=${VERSION:-0.25} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=Sys-Syscall DOCS="README.pod" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -85,4 +95,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Task-Weaken/perl-Task-Weaken.SlackBuild b/perl/perl-Task-Weaken/perl-Task-Weaken.SlackBuild index 2434ab7663..d50af59e10 100644 --- a/perl/perl-Task-Weaken/perl-Task-Weaken.SlackBuild +++ b/perl/perl-Task-Weaken/perl-Task-Weaken.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Task-Weaken @@ -26,10 +26,13 @@ # 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-Task-Weaken VERSION=${VERSION:-1.04} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Task-Weaken @@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -104,4 +114,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Task-Weaken/perl-Task-Weaken.info b/perl/perl-Task-Weaken/perl-Task-Weaken.info index c4ae3cb3a7..64ad3a9c1d 100644 --- a/perl/perl-Task-Weaken/perl-Task-Weaken.info +++ b/perl/perl-Task-Weaken/perl-Task-Weaken.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AD/ADAMK/Task-Weaken-1.04.tar.g MD5SUM="affd0c395515bb95d29968404d7fe6de" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="perl-Module-Install" MAINTAINER="David Somero" EMAIL="dsomero@hotmail.com" diff --git a/perl/perl-TeX-Hyphen/README b/perl/perl-TeX-Hyphen/README index 7045d4cd1b..e94f726144 100644 --- a/perl/perl-TeX-Hyphen/README +++ b/perl/perl-TeX-Hyphen/README @@ -1,3 +1,4 @@ -This module uses TeX style hyphenation patterns to find places in words to -hyphenate. You can use any hyphenation file you like, but it will use the -built-in Plain TeX hyphenation tables if no file is supplied. +This module uses TeX style hyphenation patterns to find places in +words to hyphenate. You can use any hyphenation file you like, but +it will use the built-in Plain TeX hyphenation tables if no file is +supplied. diff --git a/perl/perl-TeX-Hyphen/perl-TeX-Hyphen.SlackBuild b/perl/perl-TeX-Hyphen/perl-TeX-Hyphen.SlackBuild index 15c50f8f88..07688d4c43 100644 --- a/perl/perl-TeX-Hyphen/perl-TeX-Hyphen.SlackBuild +++ b/perl/perl-TeX-Hyphen/perl-TeX-Hyphen.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-TeX-Hyphen # @@ -22,28 +22,38 @@ # 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-TeX-Hyphen VERSION=${VERSION:-1.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=TeX-Hyphen if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Template-Toolkit/README b/perl/perl-Template-Toolkit/README deleted file mode 100644 index ebcc4d6ed8..0000000000 --- a/perl/perl-Template-Toolkit/README +++ /dev/null @@ -1,6 +0,0 @@ -The Template Toolkit is a collection of Perl modules which implement a -fast, flexible, powerful and extensible template processing system. - -It is "input-agnostic" and can be used equally well for processing any -kind of text documents: HTML, XML, CSS, Javascript, Perl code, plain text, -and so on. diff --git a/perl/perl-Template-Toolkit/perl-Template-Toolkit.SlackBuild b/perl/perl-Template-Toolkit/perl-Template-Toolkit.SlackBuild deleted file mode 100644 index 64bc587983..0000000000 --- a/perl/perl-Template-Toolkit/perl-Template-Toolkit.SlackBuild +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/sh - -# Slackware build script for perl-Template-Toolkit -# Written by Thomas Morper <thomas@beingboiled.info> - -PRGNAM=perl-Template-Toolkit -VERSION=${VERSION:-3.007} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -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 - -CWD=$(pwd) -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 \ - TT_ACCEPT=y \ - 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" -empty | xargs rm -f || true -find $PKG -depth -type d -empty -delete || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Changes HACKING INSTALL MANIFEST README.md TODO $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:-tgz} diff --git a/perl/perl-Template-Toolkit/perl-Template-Toolkit.info b/perl/perl-Template-Toolkit/perl-Template-Toolkit.info deleted file mode 100644 index b8594fc750..0000000000 --- a/perl/perl-Template-Toolkit/perl-Template-Toolkit.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-Template-Toolkit" -VERSION="3.007" -HOMEPAGE="https://metacpan.org/release/Template-Toolkit" -DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/Template-Toolkit-3.007.tar.gz" -MD5SUM="b318a48f18e137ad2d90ab6a26274a9a" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="perl-AppConfig" -MAINTAINER="Thomas Morper" -EMAIL="thomas@beingboiled.info" diff --git a/perl/perl-Template-Toolkit/slack-desc b/perl/perl-Template-Toolkit/slack-desc deleted file mode 100644 index acbdde3f82..0000000000 --- a/perl/perl-Template-Toolkit/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-Template-Toolkit: perl-Template-Toolkit (comprehensive template processing system) -perl-Template-Toolkit: -perl-Template-Toolkit: The Template Toolkit is a collection of Perl modules which implement -perl-Template-Toolkit: a fast, flexible, powerful and extensible template processing system. -perl-Template-Toolkit: -perl-Template-Toolkit: It is "input-agnostic" and can be used equally well for processing -perl-Template-Toolkit: any kind of text documents: HTML, XML, CSS, Javascript, Perl code, -perl-Template-Toolkit: plain text, and so on. -perl-Template-Toolkit: -perl-Template-Toolkit: -perl-Template-Toolkit: diff --git a/perl/perl-Term-Animation/perl-Term-Animation.SlackBuild b/perl/perl-Term-Animation/perl-Term-Animation.SlackBuild index 226e47c7ce..e078725196 100644 --- a/perl/perl-Term-Animation/perl-Term-Animation.SlackBuild +++ b/perl/perl-Term-Animation/perl-Term-Animation.SlackBuild @@ -1,13 +1,16 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Term-Animation # Written by Vincent Batts, vbatts@hashbangbash.com +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Term-Animation VERSION=${VERSION:-2.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Term-Animation @@ -19,7 +22,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -82,5 +92,5 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Term-ProgressBar/README b/perl/perl-Term-ProgressBar/README index 1c30503dbc..e549f12e9c 100644 --- a/perl/perl-Term-ProgressBar/README +++ b/perl/perl-Term-ProgressBar/README @@ -1,3 +1,3 @@ -Term::ProgressBar provides a simple progress bar on the terminal, to let the -user know that something is happening, roughly how much stuff has been done, -and maybe an estimate at how long remains. +Term::ProgressBar provides a simple progress bar on the terminal, to +let the user know that something is happening, roughly how much stuff +has been done, and maybe an estimate at how long remains. diff --git a/perl/perl-Term-ProgressBar/perl-Term-ProgressBar.SlackBuild b/perl/perl-Term-ProgressBar/perl-Term-ProgressBar.SlackBuild index 30268a820b..76ef0c83f3 100644 --- a/perl/perl-Term-ProgressBar/perl-Term-ProgressBar.SlackBuild +++ b/perl/perl-Term-ProgressBar/perl-Term-ProgressBar.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Term-ProgressBar # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-Term-ProgressBar VERSION=${VERSION:-2.21} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Term-ProgressBar if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Term-ReadLine-Gnu/README b/perl/perl-Term-ReadLine-Gnu/README index 51e39edc10..386b599a88 100644 --- a/perl/perl-Term-ReadLine-Gnu/README +++ b/perl/perl-Term-ReadLine-Gnu/README @@ -1,5 +1,7 @@ -Term::ReadLine::Gnu provides functions for use by interactive programs -that allow users to edit command lines as they are typed in. The -module includes additional functions to maintain a list of +perl-Term-ReadLine-Gnu (line-editing and history capabilities) + +Term::ReadLine::Gnu provides functions for use by interactive Perl +programs that allow users to edit command lines as they are typed +in. The module includes additional functions to maintain a list of previously-entered command lines, to recall and perhaps reedit those lines. 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 d82cc2399a..6ea1dfae12 100644 --- a/perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.SlackBuild +++ b/perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Term-ReadLine-Gnu -# Copyright 2013-2019 Andreas Voegele <andreas@andreasvoegele.com> +# Copyright 2013-2020 Andreas Voegele <email removed> # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -16,10 +16,19 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# 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.36} +VERSION=${VERSION:-1.46} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -31,25 +40,15 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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 @@ -59,33 +58,34 @@ rm -rf $SRCNAM-$VERSION tar xovf $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 {} \+ +# 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 -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 +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 +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 cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 8111cc3ce4..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,10 +1,10 @@ PRGNAM="perl-Term-ReadLine-Gnu" -VERSION="1.36" +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.36.tar.gz" -MD5SUM="f8636c8e17b3266f3a686521a0c06886" +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="" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-Term-ReadLine-Gnu/slack-desc b/perl/perl-Term-ReadLine-Gnu/slack-desc index 026e0af964..df95f0038b 100644 --- a/perl/perl-Term-ReadLine-Gnu/slack-desc +++ b/perl/perl-Term-ReadLine-Gnu/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| perl-Term-ReadLine-Gnu: perl-Term-ReadLine-Gnu (line-editing and history capabilities) perl-Term-ReadLine-Gnu: -perl-Term-ReadLine-Gnu: Term::ReadLine::Gnu provides functions for use by interactive programs -perl-Term-ReadLine-Gnu: that allow users to edit command lines as they are typed in. The -perl-Term-ReadLine-Gnu: module includes additional functions to maintain a list of +perl-Term-ReadLine-Gnu: Term::ReadLine::Gnu provides functions for use by interactive Perl +perl-Term-ReadLine-Gnu: programs that allow users to edit command lines as they are typed +perl-Term-ReadLine-Gnu: in. The module includes additional functions to maintain a list of perl-Term-ReadLine-Gnu: previously-entered command lines, to recall and perhaps reedit those perl-Term-ReadLine-Gnu: lines. perl-Term-ReadLine-Gnu: -perl-Term-ReadLine-Gnu: For more info, visit: https://metacpan.org/release/Term-ReadLine-Gnu +perl-Term-ReadLine-Gnu: perl-Term-ReadLine-Gnu: perl-Term-ReadLine-Gnu: diff --git a/perl/perl-Term-UI/perl-Term-UI.SlackBuild b/perl/perl-Term-UI/perl-Term-UI.SlackBuild index c209862836..c62a19c713 100644 --- a/perl/perl-Term-UI/perl-Term-UI.SlackBuild +++ b/perl/perl-Term-UI/perl-Term-UI.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Term-UI @@ -16,10 +16,13 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Term-UI VERSION=${VERSION:-0.46} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -31,7 +34,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -90,4 +100,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Term-UI/perl-Term-UI.info b/perl/perl-Term-UI/perl-Term-UI.info index e28121c45b..0563fa4205 100644 --- a/perl/perl-Term-UI/perl-Term-UI.info +++ b/perl/perl-Term-UI/perl-Term-UI.info @@ -6,5 +6,5 @@ MD5SUM="eaa9240bc44e18dfe558286eb1f3c592" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Log-Message-Simple" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" +MAINTAINER="orphaned - no maintainer" +EMAIL="nobody@nowhere" diff --git a/perl/perl-Test-Bits/README b/perl/perl-Test-Bits/README new file mode 100644 index 0000000000..50c9f5a116 --- /dev/null +++ b/perl/perl-Test-Bits/README @@ -0,0 +1 @@ +Test::Bits - Provides a bits_is() subroutine for testing binary data. diff --git a/perl/perl-Test-Bits/perl-Test-Bits.SlackBuild b/perl/perl-Test-Bits/perl-Test-Bits.SlackBuild new file mode 100644 index 0000000000..88a22d9eea --- /dev/null +++ b/perl/perl-Test-Bits/perl-Test-Bits.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/bash + +# Slackware build script for perl-Test-Bits + +# Copyright 2020 Jan F. Chadima <jfch@jagda.eu> +# 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-Bits +VERSION=${VERSION:-0.02} +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 +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 \ + Changes INSTALL 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-Test-Bits/perl-Test-Bits.info b/perl/perl-Test-Bits/perl-Test-Bits.info new file mode 100644 index 0000000000..f5f6d91f3f --- /dev/null +++ b/perl/perl-Test-Bits/perl-Test-Bits.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Test-Bits" +VERSION="0.02" +HOMEPAGE="https://metacpan.org/pod/Test::Bits" +DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Test-Bits-0.02.tar.gz" +MD5SUM="146bf1eb3be34b0ea648548238a775da" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-List-AllUtils" +MAINTAINER="Jan F. Chadima" +EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Path-Tiny/slack-desc b/perl/perl-Test-Bits/slack-desc index 7f6939e491..3d237789c4 100644 --- a/perl/perl-Path-Tiny/slack-desc +++ b/perl/perl-Test-Bits/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -perl-Path-Tiny: perl-Path-Tiny (perl module) -perl-Path-Tiny: -perl-Path-Tiny: This module provides a small, fast utility for working with file paths -perl-Path-Tiny: -perl-Path-Tiny: -perl-Path-Tiny: -perl-Path-Tiny: -perl-Path-Tiny: -perl-Path-Tiny: -perl-Path-Tiny: -perl-Path-Tiny: +perl-Test-Bits: perl-Test-Bits (Test single bits) +perl-Test-Bits: +perl-Test-Bits: This module provides Perl availability to test single bits. +perl-Test-Bits: +perl-Test-Bits: Homepage: https://metacpan.org/pod/Test::Bits +perl-Test-Bits: +perl-Test-Bits: +perl-Test-Bits: +perl-Test-Bits: +perl-Test-Bits: +perl-Test-Bits: diff --git a/perl/perl-Test-Class/perl-Test-Class.SlackBuild b/perl/perl-Test-Class/perl-Test-Class.SlackBuild index 4292ca12bd..b8a1d6e6c6 100644 --- a/perl/perl-Test-Class/perl-Test-Class.SlackBuild +++ b/perl/perl-Test-Class/perl-Test-Class.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-Class @@ -22,16 +22,26 @@ # 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-Class VERSION=${VERSION:-0.50} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -79,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-Class/perl-Test-Class.info b/perl/perl-Test-Class/perl-Test-Class.info index 0f9b1f4664..8b556d5698 100644 --- a/perl/perl-Test-Class/perl-Test-Class.info +++ b/perl/perl-Test-Class/perl-Test-Class.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Class-0.50.tar.gz MD5SUM="4cc3aaad36b72f424ed90122701d2451" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Module-Runtime perl-MRO-Compat perl-Test-Simple perl-Try-Tiny" +REQUIRES="perl-MRO-Compat perl-Test-Simple perl-Try-Tiny perl-Test-Exception" MAINTAINER="Jan F. Chadima" EMAIL="jfch@jagda.eu" diff --git a/perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.SlackBuild b/perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.SlackBuild index a3989e6501..1c57c91084 100644 --- a/perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.SlackBuild +++ b/perl/perl-Test-CleanNamespaces/perl-Test-CleanNamespaces.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-CleanNamespaces @@ -22,16 +22,26 @@ # 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-CleanNamespaces VERSION=${VERSION:-0.24} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -84,4 +94,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 7d0fa0a569..1ed0101ad7 100644 --- a/perl/perl-Test-Deep/perl-Test-Deep.SlackBuild +++ b/perl/perl-Test-Deep/perl-Test-Deep.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Test::Deep # Home Page https://metacpan.org/release/Test-Deep @@ -26,10 +26,13 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM="perl-Test-Deep" VERSION=${VERSION:-1.127} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" @@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -105,4 +115,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-Differences/perl-Test-Differences.SlackBuild b/perl/perl-Test-Differences/perl-Test-Differences.SlackBuild index c23e426765..2abe451bda 100644 --- a/perl/perl-Test-Differences/perl-Test-Differences.SlackBuild +++ b/perl/perl-Test-Differences/perl-Test-Differences.SlackBuild @@ -1,27 +1,37 @@ -#!/bin/sh +#!/bin/bash + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Test-Differences VERSION=${VERSION:-0.64} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -79,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-DistManifest/perl-Test-DistManifest.SlackBuild b/perl/perl-Test-DistManifest/perl-Test-DistManifest.SlackBuild index 28eab9edd9..abca85c7c4 100644 --- a/perl/perl-Test-DistManifest/perl-Test-DistManifest.SlackBuild +++ b/perl/perl-Test-DistManifest/perl-Test-DistManifest.SlackBuild @@ -1,31 +1,41 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-DistManifest # Written by LEVAI Daniel <leva@ecentrum.hu> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Test-DistManifest VERSION=${VERSION:-1.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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -81,4 +91,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-Exception/perl-Test-Exception.SlackBuild b/perl/perl-Test-Exception/perl-Test-Exception.SlackBuild index 566f8d54bf..548bf216bc 100644 --- a/perl/perl-Test-Exception/perl-Test-Exception.SlackBuild +++ b/perl/perl-Test-Exception/perl-Test-Exception.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Test::Exception # Home Page https://metacpan.org/release/Test-Exception @@ -25,36 +25,33 @@ # 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=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} set -e -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 @@ -63,11 +60,7 @@ 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 {} \; +find . -type f -exec chmod 644 {} + -o -type d -exec chmod 755 {} + CFLAGS="$SLKCFLAGS" \ perl Makefile.PL \ @@ -77,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 @@ -91,4 +85,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-Fatal/perl-Test-Fatal.SlackBuild b/perl/perl-Test-Fatal/perl-Test-Fatal.SlackBuild index 676920ed15..7d2581794f 100644 --- a/perl/perl-Test-Fatal/perl-Test-Fatal.SlackBuild +++ b/perl/perl-Test-Fatal/perl-Test-Fatal.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-Fatal # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-Fatal VERSION=${VERSION:-0.014} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Test-Fatal if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-File-ShareDir-Dist/perl-Test-File-ShareDir-Dist.SlackBuild b/perl/perl-Test-File-ShareDir-Dist/perl-Test-File-ShareDir-Dist.SlackBuild index 878bd2a2c7..eb162497b3 100644 --- a/perl/perl-Test-File-ShareDir-Dist/perl-Test-File-ShareDir-Dist.SlackBuild +++ b/perl/perl-Test-File-ShareDir-Dist/perl-Test-File-ShareDir-Dist.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-File-ShareDir-Dist @@ -22,10 +22,13 @@ # 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-Dist VERSION=${VERSION:-1.001002} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Test-File-ShareDir @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 cb71b30841..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-Path-Tiny 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/perl-Test-File.SlackBuild b/perl/perl-Test-File/perl-Test-File.SlackBuild index e6197cb3e9..88e76b241c 100644 --- a/perl/perl-Test-File/perl-Test-File.SlackBuild +++ b/perl/perl-Test-File/perl-Test-File.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-File @@ -22,10 +22,13 @@ # 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 VERSION=${VERSION:-1.443} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-Harness/perl-Test-Harness.SlackBuild b/perl/perl-Test-Harness/perl-Test-Harness.SlackBuild index d4d583e4cb..03f7b23b62 100644 --- a/perl/perl-Test-Harness/perl-Test-Harness.SlackBuild +++ b/perl/perl-Test-Harness/perl-Test-Harness.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-Harness -# Copyright 2013-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2013-2023 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # 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-Harness -VERSION=${VERSION:-3.42} +VERSION=${VERSION:-3.48} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -100,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-Harness/perl-Test-Harness.info b/perl/perl-Test-Harness/perl-Test-Harness.info index 593f2636fb..5e4bc49b18 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.42" +VERSION="3.48" HOMEPAGE="https://metacpan.org/pod/Test::Harness" -DOWNLOAD="https://cpan.metacpan.org/authors/id/L/LE/LEONT/Test-Harness-3.42.tar.gz" -MD5SUM="c794906473f88d6b74194e2d56f16bd6" +DOWNLOAD="https://cpan.metacpan.org/authors/id/L/LE/LEONT/Test-Harness-3.48.tar.gz" +MD5SUM="08ca8899219da86ba5d3f3fe44b535e7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-Test-HexDifferences/perl-Test-HexDifferences.SlackBuild b/perl/perl-Test-HexDifferences/perl-Test-HexDifferences.SlackBuild index 73367a82e3..90b071ee8e 100644 --- a/perl/perl-Test-HexDifferences/perl-Test-HexDifferences.SlackBuild +++ b/perl/perl-Test-HexDifferences/perl-Test-HexDifferences.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-HexDifferences @@ -22,16 +22,26 @@ # 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-HexDifferences VERSION=${VERSION:-1.001} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -79,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-HexDifferences/perl-Test-HexDifferences.info b/perl/perl-Test-HexDifferences/perl-Test-HexDifferences.info index c9380ad22e..1096a6d405 100644 --- a/perl/perl-Test-HexDifferences/perl-Test-HexDifferences.info +++ b/perl/perl-Test-HexDifferences/perl-Test-HexDifferences.info @@ -1,10 +1,10 @@ PRGNAM="perl-Test-HexDifferences" VERSION="1.001" -HOMEPAGE="https://metacpan.org/pod/Test-HexDifferences" +HOMEPAGE="https://metacpan.org/pod/Test::HexDifferences" DOWNLOAD="https://cpan.metacpan.org/authors/id/S/ST/STEFFENW/Test-HexDifferences-1.001.tar.gz" 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 7c5296420b..8b51e676ac 100644 --- a/perl/perl-Test-Inter/perl-Test-Inter.SlackBuild +++ b/perl/perl-Test-Inter/perl-Test-Inter.SlackBuild @@ -1,9 +1,9 @@ -#!/bin/sh +#!/bin/bash # 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 @@ -23,10 +23,13 @@ # 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-Inter -VERSION=${VERSION:-1.09} +VERSION=${VERSION:-1.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Test-Inter @@ -38,7 +41,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -94,4 +101,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-LongString/README b/perl/perl-Test-LongString/README index 7247fead9d..780b272f70 100644 --- a/perl/perl-Test-LongString/README +++ b/perl/perl-Test-LongString/README @@ -1 +1,2 @@ -perl-Test-LongString - tests strings for equality, with more helpful failures +perl-Test-LongString: tests strings for equality, with more helpful +failures. diff --git a/perl/perl-Test-LongString/perl-Test-LongString.SlackBuild b/perl/perl-Test-LongString/perl-Test-LongString.SlackBuild index d17090f404..75c702f3f1 100644 --- a/perl/perl-Test-LongString/perl-Test-LongString.SlackBuild +++ b/perl/perl-Test-LongString/perl-Test-LongString.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright (c) 2013 Asaf Ohaion # All rights reserved. @@ -25,10 +25,13 @@ # (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-LongString VERSION=${VERSION:-0.15} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Test-LongString @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-Memory-Cycle/README b/perl/perl-Test-Memory-Cycle/README new file mode 100644 index 0000000000..105855f2e7 --- /dev/null +++ b/perl/perl-Test-Memory-Cycle/README @@ -0,0 +1,2 @@ + perl-Test-Memory-Cycle - Check for memory leaks and circular memory + references. diff --git a/perl/perl-Test-Memory-Cycle/perl-Test-Memory-Cycle.SlackBuild b/perl/perl-Test-Memory-Cycle/perl-Test-Memory-Cycle.SlackBuild new file mode 100644 index 0000000000..eed03c2f47 --- /dev/null +++ b/perl/perl-Test-Memory-Cycle/perl-Test-Memory-Cycle.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/bash + +# Slackware build script for perl-Test-Memory-Cycle + +# Copyright 2020 M.A.Begue mab974@gmail.com +# 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-Memory-Cycle +VERSION=${VERSION:-1.06} +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 \ + 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-Test-Memory-Cycle/perl-Test-Memory-Cycle.info b/perl/perl-Test-Memory-Cycle/perl-Test-Memory-Cycle.info new file mode 100644 index 0000000000..ab796a726c --- /dev/null +++ b/perl/perl-Test-Memory-Cycle/perl-Test-Memory-Cycle.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Test-Memory-Cycle" +VERSION="1.06" +HOMEPAGE="https://metacpan.org/pod/Test::Memory::Cycle" +DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/Test-Memory-Cycle-1.06.tar.gz" +MD5SUM="397e709ba33d3883b5fb2bc49e3a70b0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-Devel-Cycle" +MAINTAINER="Michel A. BEGUE" +EMAIL="mab974@gmail.com" diff --git a/perl/perl-Test-Memory-Cycle/slack-desc b/perl/perl-Test-Memory-Cycle/slack-desc new file mode 100644 index 0000000000..e17f75155c --- /dev/null +++ b/perl/perl-Test-Memory-Cycle/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-Memory-Cycle: perl-Test-Memory-Cycle (Check for memory leaks/circular memory refs) +perl-Test-Memory-Cycle: +perl-Test-Memory-Cycle: homepage : https://metacpan.org/pod/Test::Memory::Cycle +perl-Test-Memory-Cycle: +perl-Test-Memory-Cycle: +perl-Test-Memory-Cycle: +perl-Test-Memory-Cycle: +perl-Test-Memory-Cycle: +perl-Test-Memory-Cycle: +perl-Test-Memory-Cycle: +perl-Test-Memory-Cycle: diff --git a/perl/perl-Test-MockModule/perl-Test-MockModule.SlackBuild b/perl/perl-Test-MockModule/perl-Test-MockModule.SlackBuild index d5434e7eb1..3ce5da8658 100644 --- a/perl/perl-Test-MockModule/perl-Test-MockModule.SlackBuild +++ b/perl/perl-Test-MockModule/perl-Test-MockModule.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Test-MockModule @@ -22,22 +22,32 @@ # 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-MockModule VERSION=${VERSION:-0.05} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -80,4 +90,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-MockObject/perl-Test-MockObject.SlackBuild b/perl/perl-Test-MockObject/perl-Test-MockObject.SlackBuild index 7b3be0496a..b9be0f5ba7 100644 --- a/perl/perl-Test-MockObject/perl-Test-MockObject.SlackBuild +++ b/perl/perl-Test-MockObject/perl-Test-MockObject.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Test-MockObject @@ -22,28 +22,38 @@ # 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-MockObject VERSION=${VERSION:-1.20140408} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-MockTime/perl-Test-MockTime.SlackBuild b/perl/perl-Test-MockTime/perl-Test-MockTime.SlackBuild index 1d686dce3b..f61281b83a 100644 --- a/perl/perl-Test-MockTime/perl-Test-MockTime.SlackBuild +++ b/perl/perl-Test-MockTime/perl-Test-MockTime.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-MockTime @@ -22,10 +22,13 @@ # 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-MockTime VERSION=${VERSION:-0.17} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-Most/perl-Test-Most.SlackBuild b/perl/perl-Test-Most/perl-Test-Most.SlackBuild index db71380e99..7e8957e72e 100644 --- a/perl/perl-Test-Most/perl-Test-Most.SlackBuild +++ b/perl/perl-Test-Most/perl-Test-Most.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-Most -# Copyright 2013-2017 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2013-2021 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -11,26 +11,36 @@ # 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. +# 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-Most SRCNAM=Test-Most -VERSION=${VERSION:-0.34} +VERSION=${VERSION:-0.37} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -CWD=$(pwd) +# 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} @@ -75,4 +85,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-Most/perl-Test-Most.info b/perl/perl-Test-Most/perl-Test-Most.info index e1bb045132..8c3e762cad 100644 --- a/perl/perl-Test-Most/perl-Test-Most.info +++ b/perl/perl-Test-Most/perl-Test-Most.info @@ -1,10 +1,10 @@ PRGNAM="perl-Test-Most" -VERSION="0.34" +VERSION="0.37" HOMEPAGE="https://metacpan.org/pod/Test::Most" -DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OV/OVID/Test-Most-0.34.tar.gz" -MD5SUM="6fa1f097bedbc18f46b08ac9eb79bba9" +DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OV/OVID/Test-Most-0.37.tar.gz" +MD5SUM="53d658737f2c07d3fb05167bf62687ed" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Exception-Class perl-Test-Deep perl-Test-Differences perl-Test-Exception perl-test-warn" MAINTAINER="Heinz Wiesinger" -EMAIL="pprkut@liwjatan.at" +EMAIL="pprkut@slackbuilds.org" diff --git a/perl/perl-Test-Needs/perl-Test-Needs.SlackBuild b/perl/perl-Test-Needs/perl-Test-Needs.SlackBuild index 6f443fc9f3..b489b0fc61 100644 --- a/perl/perl-Test-Needs/perl-Test-Needs.SlackBuild +++ b/perl/perl-Test-Needs/perl-Test-Needs.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-Needs @@ -22,15 +22,25 @@ # 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-Needs SRCNAM=Test-Needs VERSION=${VERSION:-0.002006} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -CWD=$(pwd) +# 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} @@ -75,4 +85,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-NoWarnings/perl-Test-NoWarnings.SlackBuild b/perl/perl-Test-NoWarnings/perl-Test-NoWarnings.SlackBuild index 9ec5e529c5..5339d4c12a 100644 --- a/perl/perl-Test-NoWarnings/perl-Test-NoWarnings.SlackBuild +++ b/perl/perl-Test-NoWarnings/perl-Test-NoWarnings.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-NoWarnings # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-NoWarnings VERSION=${VERSION:-1.04} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Test-NoWarnings if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild b/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild index dc9277d953..a10a76fe25 100644 --- a/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild +++ b/perl/perl-Test-Number-Delta/perl-Test-Number-Delta.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-Number-Delta @@ -22,28 +22,38 @@ # 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-Number-Delta VERSION=${VERSION:-1.06} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-Object/perl-Test-Object.SlackBuild b/perl/perl-Test-Object/perl-Test-Object.SlackBuild index 73d2c509b8..1edd16618e 100644 --- a/perl/perl-Test-Object/perl-Test-Object.SlackBuild +++ b/perl/perl-Test-Object/perl-Test-Object.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-Object @@ -22,16 +22,26 @@ # 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-Object VERSION=${VERSION:-0.08} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -79,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-Output/perl-Test-Output.SlackBuild b/perl/perl-Test-Output/perl-Test-Output.SlackBuild index 2fddddc108..3ee4b661e6 100644 --- a/perl/perl-Test-Output/perl-Test-Output.SlackBuild +++ b/perl/perl-Test-Output/perl-Test-Output.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-Output @@ -22,10 +22,13 @@ # 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-Output VERSION=${VERSION:-1.031} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -95,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-PerlTidy/README b/perl/perl-Test-PerlTidy/README index 7c862be458..83dfd74e5e 100644 --- a/perl/perl-Test-PerlTidy/README +++ b/perl/perl-Test-PerlTidy/README @@ -1,5 +1,6 @@ -Runs perltidy on files and reports errors if any of the files differ after -having been tidied. Does not permanently modify the files being tested. +Runs perltidy on files and reports errors if any of the files differ +after having been tidied. Does not permanently modify the files being +tested. -By default, perltidy will be run on files under the current directory and its -subdirectories with extensions matching: .pm .pl .PL .t +By default, perltidy will be run on files under the current directory +and its subdirectories with extensions matching: .pm .pl .PL .t diff --git a/perl/perl-Test-PerlTidy/perl-Test-PerlTidy.SlackBuild b/perl/perl-Test-PerlTidy/perl-Test-PerlTidy.SlackBuild index 344c278a6c..ecb45392b2 100644 --- a/perl/perl-Test-PerlTidy/perl-Test-PerlTidy.SlackBuild +++ b/perl/perl-Test-PerlTidy/perl-Test-PerlTidy.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright (c) 2016 LEVAI Daniel # All rights reserved. @@ -23,10 +23,13 @@ # 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-PerlTidy VERSION=${VERSION:-20130104} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -95,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.SlackBuild b/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.SlackBuild index a53096a858..8e646c3901 100644 --- a/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.SlackBuild +++ b/perl/perl-Test-Pod-Coverage/perl-Test-Pod-Coverage.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-Pod-Coverage @@ -23,10 +23,13 @@ # 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-Pod-Coverage VERSION=${VERSION:-1.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Test-Pod-Coverage @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -95,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 46a6f3ae5c..4c1957bb76 100644 --- a/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild +++ b/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Test::POD # Home Page https://metacpan.org/release/Test-Pod @@ -27,21 +27,31 @@ # # 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} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -86,4 +96,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild b/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild index 95619b16bb..bede0ab3fc 100644 --- a/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild +++ b/perl/perl-Test-Requires/perl-Test-Requires.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-Requires # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-Requires VERSION=${VERSION:-0.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Test-Requires if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-RequiresInternet/README b/perl/perl-Test-RequiresInternet/README index bb87d5f8b3..931352b392 100644 --- a/perl/perl-Test-RequiresInternet/README +++ b/perl/perl-Test-RequiresInternet/README @@ -1,3 +1,3 @@ -This module is intended to easily test network connectivity before functional -tests begin to non-local Internet resources. It does not require any modules -beyond those supplied in core Perl. +This module is intended to easily test network connectivity before +functional tests begin to non-local Internet resources. It does not +require any modules beyond those supplied in core Perl. diff --git a/perl/perl-Test-RequiresInternet/perl-Test-RequiresInternet.SlackBuild b/perl/perl-Test-RequiresInternet/perl-Test-RequiresInternet.SlackBuild index 71be6cd464..51901dc868 100644 --- a/perl/perl-Test-RequiresInternet/perl-Test-RequiresInternet.SlackBuild +++ b/perl/perl-Test-RequiresInternet/perl-Test-RequiresInternet.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-RequiresInternet @@ -22,22 +22,32 @@ # 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-RequiresInternet VERSION=${VERSION:-0.05} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Test-RequiresInternet if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -85,4 +95,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-Script/perl-Test-Script.SlackBuild b/perl/perl-Test-Script/perl-Test-Script.SlackBuild index ecd3bfae93..feed1d477e 100644 --- a/perl/perl-Test-Script/perl-Test-Script.SlackBuild +++ b/perl/perl-Test-Script/perl-Test-Script.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Test-Script @@ -22,22 +22,32 @@ # 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-Script VERSION=${VERSION:-1.07} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$( echo $PRGNAM | cut -d- -f2- )" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -80,4 +90,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-Script/perl-Test-Script.info b/perl/perl-Test-Script/perl-Test-Script.info index 93be74077d..1ad7a3f757 100644 --- a/perl/perl-Test-Script/perl-Test-Script.info +++ b/perl/perl-Test-Script/perl-Test-Script.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/A/AD/ADAMK/Test-Script-1.07.tar.g MD5SUM="f6b5baa6403cd24dac7f023e0ea22384" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-IPC-Run3 perl-Probe-Perl" +REQUIRES="perl-IPC-Run3 perl-Probe-Perl perl-Module-Install" MAINTAINER="Mikko Värri" EMAIL="vmj@linuxbox.fi" diff --git a/perl/perl-Test-SharedFork/perl-Test-SharedFork.SlackBuild b/perl/perl-Test-SharedFork/perl-Test-SharedFork.SlackBuild index d2a294f65b..80bd9eb5d7 100644 --- a/perl/perl-Test-SharedFork/perl-Test-SharedFork.SlackBuild +++ b/perl/perl-Test-SharedFork/perl-Test-SharedFork.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl module: Test-SharedFork # Home Page https://metacpan.org/release/Test-SharedFork @@ -26,10 +26,13 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM="perl-Test-SharedFork" VERSION=${VERSION:-0.35} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="Test-SharedFork" @@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -106,4 +116,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-Simple/README b/perl/perl-Test-Simple/README index 5e7706833f..614d7a9a33 100644 --- a/perl/perl-Test-Simple/README +++ b/perl/perl-Test-Simple/README @@ -1,6 +1,8 @@ -This is an extremely simple, extremely basic module for writing tests suitable -for CPAN modules and other pursuits. If you wish to do more complicated -testing, use the Test::More module (a drop-in replacement for this one). +This is an extremely simple, extremely basic module for writing tests +suitable for CPAN modules and other pursuits. If you wish to do more +complicated testing, use the Test::More module (a drop-in replacement +for this one). -The basic unit of Perl testing is the ok. For each thing you want to test your -program will print out an "ok" or "not ok" to indicate pass or fail. +The basic unit of Perl testing is the ok. For each thing you want to +test your program will print out an "ok" or "not ok" to indicate pass +or fail. diff --git a/perl/perl-Test-Simple/perl-Test-Simple.SlackBuild b/perl/perl-Test-Simple/perl-Test-Simple.SlackBuild index 9f330be955..a36000b0aa 100644 --- a/perl/perl-Test-Simple/perl-Test-Simple.SlackBuild +++ b/perl/perl-Test-Simple/perl-Test-Simple.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright (c) 2014-2016 LEVAI Daniel # All rights reserved. @@ -23,10 +23,13 @@ # 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-Simple VERSION=${VERSION:-1.302067} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -104,4 +114,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-Spec/perl-Test-Spec.SlackBuild b/perl/perl-Test-Spec/perl-Test-Spec.SlackBuild index d07272d001..55e7d9ab2a 100644 --- a/perl/perl-Test-Spec/perl-Test-Spec.SlackBuild +++ b/perl/perl-Test-Spec/perl-Test-Spec.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-Spec @@ -22,10 +22,13 @@ # 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-Spec VERSION=${VERSION:-0.54} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -95,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-SubCalls/README b/perl/perl-Test-SubCalls/README index c563e9742c..5e4122b9c1 100644 --- a/perl/perl-Test-SubCalls/README +++ b/perl/perl-Test-SubCalls/README @@ -6,4 +6,5 @@ some underlying subroutine deep within the code was called a specific number of times. This module provides a number of functions for doing testing in this -way in association with your normal Test::More (or similar) test scripts. +way in association with your normal Test::More (or similar) test +scripts. diff --git a/perl/perl-Test-SubCalls/perl-Test-SubCalls.SlackBuild b/perl/perl-Test-SubCalls/perl-Test-SubCalls.SlackBuild index 9792ba2d73..0998b663fd 100644 --- a/perl/perl-Test-SubCalls/perl-Test-SubCalls.SlackBuild +++ b/perl/perl-Test-SubCalls/perl-Test-SubCalls.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-SubCalls @@ -22,16 +22,26 @@ # 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-SubCalls VERSION=${VERSION:-1.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -79,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-TCP/perl-Test-TCP.SlackBuild b/perl/perl-Test-TCP/perl-Test-TCP.SlackBuild index bba1ba31ab..37f3819290 100644 --- a/perl/perl-Test-TCP/perl-Test-TCP.SlackBuild +++ b/perl/perl-Test-TCP/perl-Test-TCP.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Test::TCP # Home Page https://metacpan.org/release/Test-TCP @@ -25,10 +25,13 @@ # 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-TCP" VERSION=${VERSION:-2.17} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -89,4 +99,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-TempDir-Tiny/perl-Test-TempDir-Tiny.SlackBuild b/perl/perl-Test-TempDir-Tiny/perl-Test-TempDir-Tiny.SlackBuild index 03dfed9860..6ec2145593 100644 --- a/perl/perl-Test-TempDir-Tiny/perl-Test-TempDir-Tiny.SlackBuild +++ b/perl/perl-Test-TempDir-Tiny/perl-Test-TempDir-Tiny.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-TempDir-Tiny @@ -22,10 +22,13 @@ # 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-TempDir-Tiny VERSION=${VERSION:-0.018} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild b/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild index 81f03c4eac..68522b6885 100644 --- a/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild +++ b/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild @@ -1,31 +1,41 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-Trap # Written by LEVAI Daniel <leva@ecentrum.hu> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Test-Trap VERSION=${VERSION:-0.3.2} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -80,4 +90,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-Warnings/perl-Test-Warnings.SlackBuild b/perl/perl-Test-Warnings/perl-Test-Warnings.SlackBuild index 43af08ca15..2076c3c691 100644 --- a/perl/perl-Test-Warnings/perl-Test-Warnings.SlackBuild +++ b/perl/perl-Test-Warnings/perl-Test-Warnings.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-NoWarnings # Written by David Somero <dsomero@hotmail.com> @@ -25,10 +25,13 @@ # 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-Warnings VERSION=${VERSION:-0.026} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Test-Warnings @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -101,4 +111,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-utf8/perl-Test-utf8.SlackBuild b/perl/perl-Test-utf8/perl-Test-utf8.SlackBuild index 38dc09e857..46f789dbf7 100644 --- a/perl/perl-Test-utf8/perl-Test-utf8.SlackBuild +++ b/perl/perl-Test-utf8/perl-Test-utf8.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Test-utf8 @@ -22,10 +22,13 @@ # 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-utf8 VERSION=${VERSION:-1.01} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Test-utf8/perl-Test-utf8.info b/perl/perl-Test-utf8/perl-Test-utf8.info index 9ad28ce773..a37acae08b 100644 --- a/perl/perl-Test-utf8/perl-Test-utf8.info +++ b/perl/perl-Test-utf8/perl-Test-utf8.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MARKF/Test-utf8-1.01.tar.gz" MD5SUM="58351d9e168399f6e55fb0982cdbe6a1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="perl-Module-Install" MAINTAINER="Andreas Guldstrand" EMAIL="andreas.guldstrand@gmail.com" diff --git a/perl/perl-Text-Autoformat/perl-Text-Autoformat.SlackBuild b/perl/perl-Text-Autoformat/perl-Text-Autoformat.SlackBuild index c91ca23443..53c42e3146 100644 --- a/perl/perl-Text-Autoformat/perl-Text-Autoformat.SlackBuild +++ b/perl/perl-Text-Autoformat/perl-Text-Autoformat.SlackBuild @@ -1,12 +1,15 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Text-Autoformat # Written by Šime Ramov <s@ramov.com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Text-Autoformat VERSION=${VERSION:-1.74} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Text-Autoformat @@ -18,7 +21,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -62,4 +72,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Text-CSV/perl-Text-CSV.SlackBuild b/perl/perl-Text-CSV/perl-Text-CSV.SlackBuild index 0645468ba8..3a4f86129a 100644 --- a/perl/perl-Text-CSV/perl-Text-CSV.SlackBuild +++ b/perl/perl-Text-CSV/perl-Text-CSV.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Text-CSV @@ -23,28 +23,38 @@ # 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-CSV VERSION=${VERSION:-1.99} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Text-CSV_XS/README b/perl/perl-Text-CSV_XS/README index 4bbec22ced..03afdb576b 100644 --- a/perl/perl-Text-CSV_XS/README +++ b/perl/perl-Text-CSV_XS/README @@ -1,3 +1,3 @@ -Text::CSV_XS provides facilities for the composition and decomposition of -comma-separated values. An instance of the Text::CSV_XS class can combine -fields into a CSV string and parse a CSV string into fields. +Text::CSV_XS provides facilities for the composition and decomposition +of comma-separated values. An instance of the Text::CSV_XS class can +combine fields into a CSV string and parse a CSV string into fields. diff --git a/perl/perl-Text-CSV_XS/perl-Text-CSV_XS.SlackBuild b/perl/perl-Text-CSV_XS/perl-Text-CSV_XS.SlackBuild index 39b476e34e..1848b38305 100644 --- a/perl/perl-Text-CSV_XS/perl-Text-CSV_XS.SlackBuild +++ b/perl/perl-Text-CSV_XS/perl-Text-CSV_XS.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Text::CSV_XS @@ -26,10 +26,13 @@ # 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-CSV_XS VERSION=${VERSION:-1.38} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -104,4 +114,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Text-CharWidth/README b/perl/perl-Text-CharWidth/README index 62938f0fc8..8bdd6339cd 100644 --- a/perl/perl-Text-CharWidth/README +++ b/perl/perl-Text-CharWidth/README @@ -1,13 +1,8 @@ perl-Text-CharWidth (perl module) -This perl module, Text::CharWidth, gets number of occupied columns of -a string on a terminal. -This module supplies features similar as wcwidth(3) and wcswidth(3) -in C language. -It computes numbuer of columns occupied on the terminal by a text -string, which is not always equal to its number of characters and -depends on the encoding used. +This perl module, Text::CharWidth, gets the number of columns occupied +by a string on a terminal. This is not always equal to the number +of characters, depending on the encoding in use. This is similar to +wcwidth(3) and wcswidth(3) in C. -Parameters are to be given in locale encoding, not always in UTF-8. - -This perl module is needed by Text::WrapI18N.
\ No newline at end of file +This perl module is needed by Text::WrapI18N. diff --git a/perl/perl-Text-CharWidth/perl-Text-CharWidth.SlackBuild b/perl/perl-Text-CharWidth/perl-Text-CharWidth.SlackBuild index 8b061aa237..7188da3379 100644 --- a/perl/perl-Text-CharWidth/perl-Text-CharWidth.SlackBuild +++ b/perl/perl-Text-CharWidth/perl-Text-CharWidth.SlackBuild @@ -1,61 +1,44 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Text-CharWidth -# Copyright 2014 Didier Spaier Paris, France -# 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. +# Originally written 2014 Didier Spaier Paris, France +# Now maintained by B. Watson (urchlay@slackware.uk) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +# 20220110 bkw: +# - take over maintenance. +# - simplify build. +# - tweak README and slack-desc. + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Text-CharWidth VERSION=${VERSION:-0.04} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 @@ -65,28 +48,20 @@ 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 +make LD="cc -Wl,-s" make test 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 {} \; -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 -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 @@ -97,4 +72,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Text-CharWidth/perl-Text-CharWidth.info b/perl/perl-Text-CharWidth/perl-Text-CharWidth.info index 0635d4ae5d..551d72e46c 100644 --- a/perl/perl-Text-CharWidth/perl-Text-CharWidth.info +++ b/perl/perl-Text-CharWidth/perl-Text-CharWidth.info @@ -6,5 +6,5 @@ MD5SUM="37a723df0580c0758c0ee67b37336c15" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Didier Spaier" -EMAIL="didier at slint dot fr" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-Text-CharWidth/slack-desc b/perl/perl-Text-CharWidth/slack-desc index 7554fff1e2..c458965514 100644 --- a/perl/perl-Text-CharWidth/slack-desc +++ b/perl/perl-Text-CharWidth/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -perl-Text-CharWidth: perl-Text-CharWidth (Column Computer) +perl-Text-CharWidth: perl-Text-CharWidth (perl module) +perl-Text-CharWidth: +perl-Text-CharWidth: This perl module, Text::CharWidth, gets the number of columns occupied +perl-Text-CharWidth: by a string on a terminal, which is not always equal to the number +perl-Text-CharWidth: of characters, depending on the encoding in use. This is similar to +perl-Text-CharWidth: wcwidth(3) and wcswidth(3) in C. +perl-Text-CharWidth: +perl-Text-CharWidth: This perl module is needed by Text::WrapI18N. +perl-Text-CharWidth: perl-Text-CharWidth: -perl-Text-CharWidth: This perl module, Text::CharWidth, gets number of occupied columns of -perl-Text-CharWidth: a string on a terminal. -perl-Text-CharWidth: This module supplies features similar as wcwidth(3) and wcswidth(3) -perl-Text-CharWidth: in C language. -perl-Text-CharWidth: It computes number of columns ocuuied on the terminal by a text -perl-Text-CharWidth: string, which is not always equal to its number of characters and -perl-Text-CharWidth: depends on the encoding used. perl-Text-CharWidth: -perl-Text-CharWidth: Parameters are to be given in locale encoding, not always in UTF-8. diff --git a/perl/perl-Text-Diff/perl-Text-Diff.SlackBuild b/perl/perl-Text-Diff/perl-Text-Diff.SlackBuild index e1a498b90d..3fc4035ddf 100644 --- a/perl/perl-Text-Diff/perl-Text-Diff.SlackBuild +++ b/perl/perl-Text-Diff/perl-Text-Diff.SlackBuild @@ -1,27 +1,37 @@ -#!/bin/sh +#!/bin/bash + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Text-Diff VERSION=${VERSION:-1.43} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -77,4 +87,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Text-Glob/perl-Text-Glob.SlackBuild b/perl/perl-Text-Glob/perl-Text-Glob.SlackBuild index 1dbf3e4e09..6d3944bf1f 100644 --- a/perl/perl-Text-Glob/perl-Text-Glob.SlackBuild +++ b/perl/perl-Text-Glob/perl-Text-Glob.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Text-Glob @@ -23,10 +23,13 @@ # 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-Glob VERSION=${VERSION:-0.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Text-Hyphen/perl-Text-Hyphen.SlackBuild b/perl/perl-Text-Hyphen/perl-Text-Hyphen.SlackBuild index 0b3cdda41b..ee4618d01b 100644 --- a/perl/perl-Text-Hyphen/perl-Text-Hyphen.SlackBuild +++ b/perl/perl-Text-Hyphen/perl-Text-Hyphen.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Text-Hyphen # @@ -22,22 +22,32 @@ # 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-Hyphen VERSION=${VERSION:-0.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Text-Hyphen if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -84,4 +94,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Text-Iconv/perl-Text-Iconv.SlackBuild b/perl/perl-Text-Iconv/perl-Text-Iconv.SlackBuild index 3fe2c7cca8..1b2a505f9a 100644 --- a/perl/perl-Text-Iconv/perl-Text-Iconv.SlackBuild +++ b/perl/perl-Text-Iconv/perl-Text-Iconv.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Text-Iconv @@ -22,10 +22,13 @@ # 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-Iconv VERSION=${VERSION:-1.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -101,4 +111,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Text-Password-Pronounceable/perl-Text-Password-Pronounceable.SlackBuild b/perl/perl-Text-Password-Pronounceable/perl-Text-Password-Pronounceable.SlackBuild index 6dde686b16..e404528aea 100644 --- a/perl/perl-Text-Password-Pronounceable/perl-Text-Password-Pronounceable.SlackBuild +++ b/perl/perl-Text-Password-Pronounceable/perl-Text-Password-Pronounceable.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright (c) 2013 Asaf Ohaion # All rights reserved. @@ -27,10 +27,13 @@ # Build script for perl-Text-Pronouncable +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Text-Password-Pronounceable VERSION=${VERSION:-0.30} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=$( echo $PRGNAM | cut -d- -f2- ) @@ -42,7 +45,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Text-Password-Pronounceable/perl-Text-Password-Pronounceable.info b/perl/perl-Text-Password-Pronounceable/perl-Text-Password-Pronounceable.info index 9d0f364482..1896a7a772 100644 --- a/perl/perl-Text-Password-Pronounceable/perl-Text-Password-Pronounceable.info +++ b/perl/perl-Text-Password-Pronounceable/perl-Text-Password-Pronounceable.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/T/TS/TSIBLEY/Text-Password-Pronou MD5SUM="2a6a3c9197dfb5912f763c0c4f285b48" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="perl-Module-Install" MAINTAINER="Asaf Ohaion" EMAIL="asaf at hadasa-oss dot net" diff --git a/perl/perl-Text-Patch/perl-Text-Patch.SlackBuild b/perl/perl-Text-Patch/perl-Text-Patch.SlackBuild index eb1afb4ee4..378e8d4339 100644 --- a/perl/perl-Text-Patch/perl-Text-Patch.SlackBuild +++ b/perl/perl-Text-Patch/perl-Text-Patch.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Text-Patch @@ -22,15 +22,25 @@ # 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-Patch SRCNAM=Text-Patch VERSION=${VERSION:-1.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -CWD=$(pwd) +# 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} @@ -75,4 +85,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Text-Patch/perl-Text-Patch.info b/perl/perl-Text-Patch/perl-Text-Patch.info index 6f2b4551ba..eccaea3aa9 100644 --- a/perl/perl-Text-Patch/perl-Text-Patch.info +++ b/perl/perl-Text-Patch/perl-Text-Patch.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Text-Diff" MAINTAINER="Heinz Wiesinger" -EMAIL="pprkut@liwjatan.at" +EMAIL="pprkut@slackbuilds.org" diff --git a/perl/perl-Text-Quoted/perl-Text-Quoted.SlackBuild b/perl/perl-Text-Quoted/perl-Text-Quoted.SlackBuild index 732dc4c8c1..22bc4743c2 100644 --- a/perl/perl-Text-Quoted/perl-Text-Quoted.SlackBuild +++ b/perl/perl-Text-Quoted/perl-Text-Quoted.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright (c) 2013 Asaf Ohaion # Copyright (c) 2017 Andreas Guldstrand @@ -28,10 +28,13 @@ # Build script for perl-Text-Quoted +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Text-Quoted VERSION=${VERSION:-2.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=$( echo $PRGNAM | cut -d- -f2- ) @@ -43,7 +46,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -102,4 +112,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Reform/perl-Text-Reform.SlackBuild b/perl/perl-Text-Reform/perl-Text-Reform.SlackBuild index df8e5ef1bc..4d14c5618a 100644 --- a/perl/perl-Text-Reform/perl-Text-Reform.SlackBuild +++ b/perl/perl-Text-Reform/perl-Text-Reform.SlackBuild @@ -1,12 +1,15 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Text-Reform # Written by Å ime Ramov <s@ramov.com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Text-Reform VERSION=${VERSION:-1.20} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Text-Reform @@ -18,7 +21,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -62,4 +72,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Text-Soundex/perl-Text-Soundex.SlackBuild b/perl/perl-Text-Soundex/perl-Text-Soundex.SlackBuild index e0b02cb5e1..a4b0a76db9 100644 --- a/perl/perl-Text-Soundex/perl-Text-Soundex.SlackBuild +++ b/perl/perl-Text-Soundex/perl-Text-Soundex.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Text-Soundex -# Copyright 2018 Petar Petrov slackalaxy@gmail.com +# Copyright 2018-2021 Petar Petrov slackalaxy@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # 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-Soundex VERSION=${VERSION:-3.05} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Text-Tabs+Wrap/README b/perl/perl-Text-Tabs+Wrap/README index d9e629fdce..0d80145f17 100644 --- a/perl/perl-Text-Tabs+Wrap/README +++ b/perl/perl-Text-Tabs+Wrap/README @@ -1,13 +1,15 @@ perl-Text-Tabs+Wrap (expand and unexpand tabs + line wrapping) -Text::Tabs does most of what the unix utilities expand(1) and unexpand(1) do. -Given a line with tabs in it, expand replaces those tabs with the appropriate -number of spaces. Given a line with or without tabs in it, unexpand adds tabs -when it can save bytes by doing so, like the unexpand -a command. +Text::Tabs does most of what the unix utilities expand(1) and +unexpand(1) do. Given a line with tabs in it, expand replaces those +tabs with the appropriate number of spaces. Given a line with or +without tabs in it, unexpand adds tabs when it can save bytes by doing +so, like the unexpand -a command. -Text::Wrap::wrap() is a very simple paragraph formatter. It formats a single -paragraph at a time by breaking lines at word boundaries. Indentation is -controlled for the first line ($initial_tab) and all subsequent lines -($subsequent_tab) independently. Please note: $initial_tab and $subsequent_tab -are the literal strings that will be used: it is unlikely you would want to +Text::Wrap::wrap() is a very simple paragraph formatter. It +formats a single paragraph at a time by breaking lines at +word boundaries. Indentation is controlled for the first +line ($initial_tab) and all subsequent lines ($subsequent_tab) +independently. Please note: $initial_tab and $subsequent_tab are the +literal strings that will be used: it is unlikely you would want to pass in a number. diff --git a/perl/perl-Text-Tabs+Wrap/perl-Text-Tabs+Wrap.SlackBuild b/perl/perl-Text-Tabs+Wrap/perl-Text-Tabs+Wrap.SlackBuild index 4f9c09365e..d8bcace5b5 100644 --- a/perl/perl-Text-Tabs+Wrap/perl-Text-Tabs+Wrap.SlackBuild +++ b/perl/perl-Text-Tabs+Wrap/perl-Text-Tabs+Wrap.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Text-Tabs+Wrap @@ -22,10 +22,13 @@ # 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-Tabs+Wrap VERSION=${VERSION:-2013.0523} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -95,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Text-Tabulate/perl-Text-Tabulate.SlackBuild b/perl/perl-Text-Tabulate/perl-Text-Tabulate.SlackBuild index 4fbe2daf35..dfecf71fa0 100644 --- a/perl/perl-Text-Tabulate/perl-Text-Tabulate.SlackBuild +++ b/perl/perl-Text-Tabulate/perl-Text-Tabulate.SlackBuild @@ -1,31 +1,41 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for <perl-Sort-Versions> # Written by Jacob Pipkin <j@dawnrazor.net> # Licensed under the WTFPL <http://sam.zoy.org/wtfpl/COPYING> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Text-Tabulate VERSION=${VERSION:-1.1.1} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -79,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-Text-WrapI18N/README b/perl/perl-Text-WrapI18N/README index 9a0bad5e7e..8285fee3b0 100644 --- a/perl/perl-Text-WrapI18N/README +++ b/perl/perl-Text-WrapI18N/README @@ -1,10 +1,12 @@ -perl-WrapI18N (perl module) +perl-Text-WrapI18N (perl line-wrapping module) -Text::WrapI18N - Line wrapping module with support for multibyte, fullwidth, -and combining characters and languages without whitespaces between words. +Text::WrapI18N is a line wrapping module with support for multibyte, +fullwidth, and combining characters and languages without whitespace +between words. -This module intends to be a better Text::Wrap module. It is needed to support -multibyte character encodings such as UTF-8, EUC-JP, EUC-KR, GB2312, and Big5. +This module intends to be a better Text::Wrap module. It is needed to +support multibyte character encodings such as UTF-8, EUC-JP, EUC-KR, +GB2312, and Big5. The text is to be given in locale encoding, not always in UTF-8. (Of course locale encoding is UTF-8 in UTF-8 locales.) diff --git a/perl/perl-Text-WrapI18N/perl-Text-WrapI18N.SlackBuild b/perl/perl-Text-WrapI18N/perl-Text-WrapI18N.SlackBuild index 978e9165e8..959e8ee4d7 100644 --- a/perl/perl-Text-WrapI18N/perl-Text-WrapI18N.SlackBuild +++ b/perl/perl-Text-WrapI18N/perl-Text-WrapI18N.SlackBuild @@ -1,61 +1,39 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Text-WrapI18N -# Copyright 2014 Didier Spaier Paris, France -# 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. +# Originally written 2014 Didier Spaier Paris, France +# Now maintained by B. Watson (urchlay@slackware.uk) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +# 20220110 bkw: +# - take over maintenance. +# - ARCH=noarch. +# - simplify build. +# - tweak README and slack-desc. + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Text-WrapI18N VERSION=${VERSION:-0.06} 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=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac +ARCH=noarch + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 @@ -65,11 +43,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 \ @@ -78,15 +53,10 @@ perl Makefile.PL \ make make test make install DESTDIR=$PKG +gzip $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 {} \; -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 -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 @@ -97,4 +67,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Text-WrapI18N/perl-Text-WrapI18N.info b/perl/perl-Text-WrapI18N/perl-Text-WrapI18N.info index 17fba7c3c0..5091f05d38 100644 --- a/perl/perl-Text-WrapI18N/perl-Text-WrapI18N.info +++ b/perl/perl-Text-WrapI18N/perl-Text-WrapI18N.info @@ -6,5 +6,5 @@ MD5SUM="0799c16a00926e6c18d400c2e2861d5f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Text-CharWidth" -MAINTAINER="Didier Spaier" -EMAIL="didier at slint dot fr" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-Text-WrapI18N/slack-desc b/perl/perl-Text-WrapI18N/slack-desc index bb4c3caa95..6bd7e76b61 100644 --- a/perl/perl-Text-WrapI18N/slack-desc +++ b/perl/perl-Text-WrapI18N/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -perl-Text-WrapI18N: perl-Text-WrapI18N (line wrapping module) +perl-Text-WrapI18N: perl-Text-WrapI18N (perl line-wrapping module) perl-Text-WrapI18N: -perl-Text-WrapI18N: Text::WrapI18N - Line wrapping module with support for multibyte, -perl-Text-WrapI18N: fullwidth, and combining characters and languages without whitespaces +perl-Text-WrapI18N: Text::WrapI18N is a line wrapping module with support for multibyte, +perl-Text-WrapI18N: fullwidth, and combining characters and languages without whitespace perl-Text-WrapI18N: between words. perl-Text-WrapI18N: perl-Text-WrapI18N: This module intends to be a better Text::Wrap module. It is needed to perl-Text-WrapI18N: support multibyte character encodings such as UTF-8, EUC-JP, EUC-KR, perl-Text-WrapI18N: GB2312, and Big5. -perl-Text-WrapI18N: The text is to be given in locale encoding, not always in UTF-8. -perl-Text-WrapI18N: (Of course locale encoding is UTF-8 in UTF-8 locales.) +perl-Text-WrapI18N: +perl-Text-WrapI18N: diff --git a/perl/perl-Tidy/perl-Tidy.SlackBuild b/perl/perl-Tidy/perl-Tidy.SlackBuild index 940d3d5d50..5511d20839 100644 --- a/perl/perl-Tidy/perl-Tidy.SlackBuild +++ b/perl/perl-Tidy/perl-Tidy.SlackBuild @@ -1,30 +1,40 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Tidy # Written by Joey Trungale <joey@trungale.net> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Tidy VERSION=${VERSION:-20130922} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=Perl-Tidy if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -78,4 +88,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Tie-IxHash/perl-Tie-IxHash.SlackBuild b/perl/perl-Tie-IxHash/perl-Tie-IxHash.SlackBuild index 53ce3048a0..1bc04097f9 100644 --- a/perl/perl-Tie-IxHash/perl-Tie-IxHash.SlackBuild +++ b/perl/perl-Tie-IxHash/perl-Tie-IxHash.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Tie-IxHash @@ -22,10 +22,13 @@ # 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-Tie-IxHash VERSION=${VERSION:-1.23} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=Tie-IxHash @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -92,4 +102,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Tie-Simple/perl-Tie-Simple.SlackBuild b/perl/perl-Tie-Simple/perl-Tie-Simple.SlackBuild index d314bbbda5..74a197503c 100644 --- a/perl/perl-Tie-Simple/perl-Tie-Simple.SlackBuild +++ b/perl/perl-Tie-Simple/perl-Tie-Simple.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Tie-Simple @@ -22,15 +22,25 @@ # 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-Tie-Simple SRCNAM=Tie-Simple VERSION=${VERSION:-1.04} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -CWD=$(pwd) +# 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} @@ -75,4 +85,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Tie-Simple/perl-Tie-Simple.info b/perl/perl-Tie-Simple/perl-Tie-Simple.info index ca423b207b..e78bb8217a 100644 --- a/perl/perl-Tie-Simple/perl-Tie-Simple.info +++ b/perl/perl-Tie-Simple/perl-Tie-Simple.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Heinz Wiesinger" -EMAIL="pprkut@liwjatan.at" +EMAIL="pprkut@slackbuilds.org" 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-PHP-Serialization/perl-PHP-Serialization.SlackBuild b/perl/perl-Time-Duration/perl-Time-Duration.SlackBuild index 2f7896502b..67846802c7 100644 --- a/perl/perl-PHP-Serialization/perl-PHP-Serialization.SlackBuild +++ b/perl/perl-Time-Duration/perl-Time-Duration.SlackBuild @@ -1,12 +1,10 @@ -#!/bin/sh +#!/bin/bash -# Slackware build script for perl-PHP-Serialization +# Slackware build script for perl-Time-Duration -# Copyright 2010 V'yacheslav Stetskevych +# Copyright 2023, Lockywolf # All rights reserved. # -# Adopted 2015 Glenn Becker <glenn.becker@gmail.com> -# # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # @@ -24,12 +22,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=perl-PHP-Serialization -VERSION=${VERSION:-0.34} +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=perl-Time-Duration +VERSION=${VERSION:-1.21} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=PHP-Serialization +SRC_PRGNAM=Time-Duration if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -39,7 +40,13 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -63,39 +70,42 @@ 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 +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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -perl Makefile.PL \ - PREFIX=/usr \ - INSTALLDIRS=vendor \ - INSTALLVENDORMAN3DIR=/usr/man/man3 + \( -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 -find $PKG/usr/man -type f -exec gzip -9 {} \; +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 +) -find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true +( cd $PKG + find . -name perllocal.pod \ + -o -name ".packlist" \ + -o -name "*.bs" \ + | xargs rm -f +) -find $PKG -depth -type d -empty -delete || true +find $PKG -depth -type d -empty -delete mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - README Changes \ - $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:-tgz} +/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-Time-Duration/slack-desc b/perl/perl-Time-Duration/slack-desc new file mode 100644 index 0000000000..6b69c6e8ca --- /dev/null +++ b/perl/perl-Time-Duration/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-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 3ba7b92942..523d5f48aa 100644 --- a/perl/perl-Time-Out/perl-Time-Out.SlackBuild +++ b/perl/perl-Time-Out/perl-Time-Out.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl module: Time-Out # Home Page https://metacpan.org/release/Time-Out @@ -26,22 +26,32 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM="perl-Time-Out" VERSION=${VERSION:-0.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -50,8 +60,8 @@ set -e DOCS="Changes README" -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -105,4 +115,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Time-ParseDate/README b/perl/perl-Time-ParseDate/README new file mode 100644 index 0000000000..3ddfe3690d --- /dev/null +++ b/perl/perl-Time-ParseDate/README @@ -0,0 +1 @@ +Parse and format time values in Perl. diff --git a/perl/perl-Time-ParseDate/perl-Time-ParseDate.SlackBuild b/perl/perl-Time-ParseDate/perl-Time-ParseDate.SlackBuild new file mode 100644 index 0000000000..6f51aa02c0 --- /dev/null +++ b/perl/perl-Time-ParseDate/perl-Time-ParseDate.SlackBuild @@ -0,0 +1,93 @@ +#!/bin/bash + +# Slackware build script for perl-Time-ParseDate + +# Copyright 2022 Nicholas Hubbard <nicholashubbard@posteo.net> +# 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-ParseDate +VERSION=${VERSION:-2015.103} +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 +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-Time-ParseDate/perl-Time-ParseDate.info b/perl/perl-Time-ParseDate/perl-Time-ParseDate.info new file mode 100644 index 0000000000..742598fbc3 --- /dev/null +++ b/perl/perl-Time-ParseDate/perl-Time-ParseDate.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Time-ParseDate" +VERSION="2015.103" +HOMEPAGE="https://metacpan.org/pod/Time::ParseDate" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MU/MUIR/modules/Time-ParseDate-2015.103.tar.gz" +MD5SUM="9143d075278857d21c77467d26f1603b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Nicholas Hubbard" +EMAIL="nicholashubbard@posteo.net" diff --git a/perl/perl-Module-Runtime/slack-desc b/perl/perl-Time-ParseDate/slack-desc index 579ac88228..577e3b04d3 100644 --- a/perl/perl-Module-Runtime/slack-desc +++ b/perl/perl-Time-ParseDate/slack-desc @@ -6,14 +6,14 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -perl-Module-Runtime: perl-Module-Runtime (perl module) -perl-Module-Runtime: -perl-Module-Runtime: Runtime module handling. -perl-Module-Runtime: -perl-Module-Runtime: -perl-Module-Runtime: -perl-Module-Runtime: -perl-Module-Runtime: -perl-Module-Runtime: -perl-Module-Runtime: -perl-Module-Runtime: +perl-Time-ParseDate: perl-Time-ParseDate (Time::ParseDate) +perl-Time-ParseDate: +perl-Time-ParseDate: Parse and format time values in Perl. +perl-Time-ParseDate: +perl-Time-ParseDate: +perl-Time-ParseDate: +perl-Time-ParseDate: +perl-Time-ParseDate: +perl-Time-ParseDate: +perl-Time-ParseDate: +perl-Time-ParseDate: diff --git a/perl/perl-Time-Piece/perl-Time-Piece.SlackBuild b/perl/perl-Time-Piece/perl-Time-Piece.SlackBuild index 57c45572fa..14ca5577f9 100644 --- a/perl/perl-Time-Piece/perl-Time-Piece.SlackBuild +++ b/perl/perl-Time-Piece/perl-Time-Piece.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Time-Piece @@ -22,28 +22,38 @@ # 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-Piece VERSION=${VERSION:-1.33} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Time-modules/perl-Time-modules.SlackBuild b/perl/perl-Time-modules/perl-Time-modules.SlackBuild index 7064e0ef75..5ade5b1235 100644 --- a/perl/perl-Time-modules/perl-Time-modules.SlackBuild +++ b/perl/perl-Time-modules/perl-Time-modules.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Time-modules @@ -22,10 +22,13 @@ # 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-modules VERSION=${VERSION:-2013.0912} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Time-modules @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -93,4 +103,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-TimeDate/perl-TimeDate.SlackBuild b/perl/perl-TimeDate/perl-TimeDate.SlackBuild index 64c2687d43..abb3aba2d7 100644 --- a/perl/perl-TimeDate/perl-TimeDate.SlackBuild +++ b/perl/perl-TimeDate/perl-TimeDate.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: TimeDate # Home Page https://metacpan.org/release/TimeDate @@ -27,30 +27,40 @@ # # Modified by the SlackBuilds.org project. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM="perl-TimeDate" VERSION=${VERSION:-2.30} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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 -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -106,4 +116,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Tk-TableMatrix/pTk-1.22.patch b/perl/perl-Tk-TableMatrix/pTk-1.22.patch deleted file mode 100644 index ff9938535b..0000000000 --- a/perl/perl-Tk-TableMatrix/pTk-1.22.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- pTk/Makefile.PL.old 2006-05-01 18:09:31.000000000 -0400 -+++ pTk/Makefile.PL 2006-05-01 18:10:05.000000000 -0400 -@@ -234,11 +234,11 @@ sub MY::postamble { - my $self = shift; - my $dep = $self->Tk::MMutil::mTk_postamble; - --$dep .= $self->dir_target(@{$self->{'dir_targets'}}); -- --$dep .= "config :: " . join(" \\\n\t",map($self->catfile($_,".exists"),@{$self->{'dir_targets'}})) . -- "\n\t".$self->{NOECHO}."\$(NOOP)\n"; - -+if ($Tk::MMutil::IsWin32 or ($win_arch eq 'MSWin32' and $^O eq 'cygwin')) -+ { -+ my $cc = $Config{'cc'}; -+ } - - $dep . ' - diff --git a/perl/perl-Tk-TableMatrix/perl-Tk-TableMatrix.SlackBuild b/perl/perl-Tk-TableMatrix/perl-Tk-TableMatrix.SlackBuild index 76b6f4c997..5660c34d85 100644 --- a/perl/perl-Tk-TableMatrix/perl-Tk-TableMatrix.SlackBuild +++ b/perl/perl-Tk-TableMatrix/perl-Tk-TableMatrix.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Tk-TableMatrix # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-Tk-TableMatrix -VERSION=${VERSION:-1.23} +VERSION=${VERSION:-20201024_2c4c333} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Tk-TableMatrix if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -65,7 +75,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z cd $SRCNAM-$VERSION chown -R root:root . find -L . \ @@ -74,19 +84,16 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -patch -p0 < $CWD/pTk-1.22.patch - perl Makefile.PL \ PREFIX=/usr \ INSTALLDIRS=vendor \ INSTALLVENDORMAN1DIR=/usr/man/man1 \ INSTALLVENDORMAN3DIR=/usr/man/man3 make -make test make install DESTDIR=$PKG # This file is part of perl-tk so nuke it. -rm $PKG/usr/lib$LIBDIRSUFFIX/perl5/vendor_perl/auto/Tk/pTk/extralibs.ld +rm $PKG/usr/lib$LIBDIRSUFFIX/perl5/vendor_perl/auto/Tk/pTk/extralibs.ld || exit 1 find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -108,4 +115,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Tk-TableMatrix/perl-Tk-TableMatrix.info b/perl/perl-Tk-TableMatrix/perl-Tk-TableMatrix.info index 10c04a8be7..2070d483f4 100644 --- a/perl/perl-Tk-TableMatrix/perl-Tk-TableMatrix.info +++ b/perl/perl-Tk-TableMatrix/perl-Tk-TableMatrix.info @@ -1,8 +1,8 @@ PRGNAM="perl-Tk-TableMatrix" -VERSION="1.23" +VERSION="20201024_2c4c333" HOMEPAGE="https://metacpan.org/pod/Tk::TableMatrix" -DOWNLOAD="https://cpan.metacpan.org/authors/id/C/CE/CERNEY/Tk-TableMatrix-1.23.tar.gz" -MD5SUM="6b7653d129bf1a8327054a88b58d6364" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/Tk-TableMatrix-20201024_2c4c333.tar.xz" +MD5SUM="456a715c97e2147dcdae0da49a477e6d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-tk" diff --git a/perl/perl-Tree-Simple/perl-Tree-Simple.SlackBuild b/perl/perl-Tree-Simple/perl-Tree-Simple.SlackBuild index 40b225bf1b..b875a1112f 100644 --- a/perl/perl-Tree-Simple/perl-Tree-Simple.SlackBuild +++ b/perl/perl-Tree-Simple/perl-Tree-Simple.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright (c) 2013 Asaf Ohaion # All rights reserved. @@ -25,10 +25,13 @@ # (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-Tree-Simple VERSION=${VERSION:-1.22} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Tree-Simple @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Try-Tiny/perl-Try-Tiny.SlackBuild b/perl/perl-Try-Tiny/perl-Try-Tiny.SlackBuild index 7fbb22cf72..26e7a94060 100644 --- a/perl/perl-Try-Tiny/perl-Try-Tiny.SlackBuild +++ b/perl/perl-Try-Tiny/perl-Try-Tiny.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Try-Tiny # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-Try-Tiny VERSION=${VERSION:-0.28} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Try-Tiny if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-TryCatch/README b/perl/perl-TryCatch/README index 8f4c4817bd..282b8f4dc1 100644 --- a/perl/perl-TryCatch/README +++ b/perl/perl-TryCatch/README @@ -1,8 +1,8 @@ Trycatch is an extension of the Perl 5 object system. -This module aims to provide a nicer syntax and method to catch errors in Perl, -similar to what is found in other languages (such as Java, Python or C++). -The standard method of using eval {}; if ($@) {} is often prone to subtle bugs, -primarily that its far too easy to stomp on the error in error handlers. -And also eval/if isn't the nicest idiom. - +This module aims to provide a nicer syntax and method to catch errors +in Perl, similar to what is found in other languages (such as Java, +Python or C++). The standard method of using eval {}; if ($@) {} is +often prone to subtle bugs, primarily that its far too easy to stomp +on the error in error handlers. And also eval/if isn't the nicest +idiom. diff --git a/perl/perl-TryCatch/perl-TryCatch.SlackBuild b/perl/perl-TryCatch/perl-TryCatch.SlackBuild index 09856f2d12..cbc9e46f7f 100644 --- a/perl/perl-TryCatch/perl-TryCatch.SlackBuild +++ b/perl/perl-TryCatch/perl-TryCatch.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-TryCatch @@ -22,10 +22,13 @@ # 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-TryCatch VERSION=${VERSION:-1.003002} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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.SlackBuild b/perl/perl-Types-Serialiser/perl-Types-Serialiser.SlackBuild index 6c591292cf..e453073354 100644 --- a/perl/perl-Types-Serialiser/perl-Types-Serialiser.SlackBuild +++ b/perl/perl-Types-Serialiser/perl-Types-Serialiser.SlackBuild @@ -1,8 +1,9 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Types-Serialiser # Copyright 2017 Donald Cooley South Haven, IN USA +# Copyright 2022 Tonus Paris # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +23,13 @@ # 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-Types-Serialiser -VERSION=${VERSION:-1.0} +VERSION=${VERSION:-1.01} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Types-Serialiser/perl-Types-Serialiser.info b/perl/perl-Types-Serialiser/perl-Types-Serialiser.info index 33397fe019..9931f3ddec 100644 --- a/perl/perl-Types-Serialiser/perl-Types-Serialiser.info +++ b/perl/perl-Types-Serialiser/perl-Types-Serialiser.info @@ -1,10 +1,10 @@ PRGNAM="perl-Types-Serialiser" -VERSION="1.0" +VERSION="1.01" HOMEPAGE="https://metacpan.org/release/Types-Serialiser" -DOWNLOAD="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Types-Serialiser-1.0.tar.gz" -MD5SUM="76460a2bfbc644672499af89192e03fe" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Types-Serialiser-1.01.tar.gz" +MD5SUM="4839af5f3fcbacc3945b0e6f3dc9a018" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-common-sense" -MAINTAINER="Donald Cooley" -EMAIL="chytraeu@sdf.org" +MAINTAINER="Tonus" +EMAIL="tonus1@free.fr" diff --git a/perl/perl-URI-Simple/perl-URI-Simple.SlackBuild b/perl/perl-URI-Simple/perl-URI-Simple.SlackBuild index 8f96d533c7..6d2c81a9dd 100644 --- a/perl/perl-URI-Simple/perl-URI-Simple.SlackBuild +++ b/perl/perl-URI-Simple/perl-URI-Simple.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-URI-Simple @@ -22,10 +22,13 @@ # 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-URI-Simple VERSION=${VERSION:-1.00} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Unicode-LineBreak/README b/perl/perl-Unicode-LineBreak/README index 430e67fbfc..2e0be72b07 100644 --- a/perl/perl-Unicode-LineBreak/README +++ b/perl/perl-Unicode-LineBreak/README @@ -1,14 +1,11 @@ -perl-Unicode-LineBreak - UAX #14 Unicode Line Breaking Algorithm +perl-Unicode-LineBreak (UAX #14 Unicode Line Breaking Algorithm) This perl package includes three modules: Text::LineFold - Line Folding for Plain Text Unicode::GCString - String as Sequence of UAX #29 Grapheme Clusters Unicode::LineBreak - UAX #14 Unicode Line Breaking Algorithm -man pages wearing the same name are included, e.g. type: -man Unicode::GCString -For man pages in Japanese prepend page name with POD2::JA::, e.g. -man POD2::JA::Unicode::GCString +man pages with the same names are included, e.g: man Unicode::GCString This perl package is a dependency of the TEXT module of po4a as it includes Unicode::GCString diff --git a/perl/perl-Unicode-LineBreak/perl-Unicode-LineBreak.SlackBuild b/perl/perl-Unicode-LineBreak/perl-Unicode-LineBreak.SlackBuild index 9688476878..2152e65885 100644 --- a/perl/perl-Unicode-LineBreak/perl-Unicode-LineBreak.SlackBuild +++ b/perl/perl-Unicode-LineBreak/perl-Unicode-LineBreak.SlackBuild @@ -1,61 +1,44 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Unicode-LineBreak -# Copyright 2014 Didier Spaier, Paris, France -# 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. +# Originally written 2014 Didier Spaier, Paris, France +# Now maintained by B. Watson (urchlay@slackware.uk) + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +# 20220110 bkw: +# - take over maintenance. +# - simplify build. +# - tweak README and slack-desc. + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=perl-Unicode-LineBreak -VERSION=${VERSION:-2015.07.16} +VERSION=${VERSION:-2019.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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -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 @@ -65,28 +48,20 @@ 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 --with-bundled-sombok --disable-libthai \ PREFIX=/usr \ INSTALLDIRS=vendor \ INSTALLVENDORMAN3DIR=/usr/man/man3 -make +make LD="cc -Wl,-s" make test 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 {} \; -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 -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 @@ -97,4 +72,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Unicode-LineBreak/perl-Unicode-LineBreak.info b/perl/perl-Unicode-LineBreak/perl-Unicode-LineBreak.info index 0dd6661434..2a14ccc64a 100644 --- a/perl/perl-Unicode-LineBreak/perl-Unicode-LineBreak.info +++ b/perl/perl-Unicode-LineBreak/perl-Unicode-LineBreak.info @@ -1,10 +1,10 @@ PRGNAM="perl-Unicode-LineBreak" -VERSION="2015.07.16" -HOMEPAGE="https://metacpan.org/release/NEZUMI/Unicode-LineBreak-2015.07.16" -DOWNLOAD="https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/Unicode-LineBreak-2015.07.16.tar.gz" -MD5SUM="8e811b9b9c47fdc7fa3a5c55e1a9c0ea" +VERSION="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="" MD5SUM_x86_64="" REQUIRES="perl-MIME-Charset" -MAINTAINER="Didier Spaier" -EMAIL="didier at slint dot fr" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-Unicode-Map/README b/perl/perl-Unicode-Map/README index a1de490d21..2bccff508e 100644 --- a/perl/perl-Unicode-Map/README +++ b/perl/perl-Unicode-Map/README @@ -1,2 +1,3 @@ -perl-Unicode-Map converts strings from and to 2-byte Unicode UCS2 format. -All mappings happen via 2 byte UTF16 encodings, not via 1 byte UTF8 encoding. +perl-Unicode-Map converts strings from and to 2-byte Unicode UCS2 +format. All mappings happen via 2 byte UTF16 encodings, not via 1 +byte UTF8 encoding. diff --git a/perl/perl-Unicode-Map/perl-Unicode-Map.SlackBuild b/perl/perl-Unicode-Map/perl-Unicode-Map.SlackBuild index 0a7f8bd763..25d098042b 100644 --- a/perl/perl-Unicode-Map/perl-Unicode-Map.SlackBuild +++ b/perl/perl-Unicode-Map/perl-Unicode-Map.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Unicode-Map @@ -22,27 +22,37 @@ # 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-Unicode-Map SRCNAM=Unicode-Map VERSION=${VERSION:-0.112} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -102,4 +112,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Unicode-Map8/README b/perl/perl-Unicode-Map8/README index e1602a9f81..16e8a2fb89 100644 --- a/perl/perl-Unicode-Map8/README +++ b/perl/perl-Unicode-Map8/README @@ -1,5 +1,6 @@ -The Unicode::Map8 class implement efficient mapping tables between 8-bit -character sets and 16 bit character sets like Unicode. About 170 different -mapping tables between various known character sets and Unicode is distributed -with this package. The source of these tables is the vendor mapping tables -provided by Unicode, Inc. and the code tables in RFC 1345. +The Unicode::Map8 class implement efficient mapping tables between +8-bit character sets and 16 bit character sets like Unicode. About +170 different mapping tables between various known character sets and +Unicode is distributed with this package. The source of these tables +is the vendor mapping tables provided by Unicode, Inc. and the code +tables in RFC 1345. diff --git a/perl/perl-Unicode-Map8/perl-Unicode-Map8.SlackBuild b/perl/perl-Unicode-Map8/perl-Unicode-Map8.SlackBuild index ff9362ea28..fba2954438 100644 --- a/perl/perl-Unicode-Map8/perl-Unicode-Map8.SlackBuild +++ b/perl/perl-Unicode-Map8/perl-Unicode-Map8.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Unicode-Map8 @@ -22,27 +22,37 @@ # 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-Unicode-Map8 SRCNAM=Unicode-Map8 VERSION=${VERSION:-0.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Unicode-String/perl-Unicode-String.SlackBuild b/perl/perl-Unicode-String/perl-Unicode-String.SlackBuild index b1cc1b90ff..55d18f5a9b 100644 --- a/perl/perl-Unicode-String/perl-Unicode-String.SlackBuild +++ b/perl/perl-Unicode-String/perl-Unicode-String.SlackBuild @@ -1,31 +1,41 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Unicode-String # Written by Mark Grocock <mark@grocock.me.uk> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Unicode-String VERSION=${VERSION:-2.09} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Unicode-String if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -83,4 +93,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Unicode-UTF8simple/perl-Unicode-UTF8simple.SlackBuild b/perl/perl-Unicode-UTF8simple/perl-Unicode-UTF8simple.SlackBuild index 1dbebce9c6..ea2e2a060c 100644 --- a/perl/perl-Unicode-UTF8simple/perl-Unicode-UTF8simple.SlackBuild +++ b/perl/perl-Unicode-UTF8simple/perl-Unicode-UTF8simple.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Unicode-UTF8simple # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-Unicode-UTF8simple VERSION=${VERSION:-1.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Unicode-UTF8simple if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Unix-Syslog/perl-Unix-Syslog.SlackBuild b/perl/perl-Unix-Syslog/perl-Unix-Syslog.SlackBuild index d04b8ebef5..9a681b7e85 100644 --- a/perl/perl-Unix-Syslog/perl-Unix-Syslog.SlackBuild +++ b/perl/perl-Unix-Syslog/perl-Unix-Syslog.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: Unix::Syslog # Home Page https://metacpan.org/release/Unix-Syslog @@ -26,11 +26,14 @@ # # 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} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -107,4 +117,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Variable-Magic/perl-Variable-Magic.SlackBuild b/perl/perl-Variable-Magic/perl-Variable-Magic.SlackBuild index fd3ab96896..704d71ba3e 100644 --- a/perl/perl-Variable-Magic/perl-Variable-Magic.SlackBuild +++ b/perl/perl-Variable-Magic/perl-Variable-Magic.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-Variable-Magic @@ -22,10 +22,13 @@ # 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-Variable-Magic VERSION=${VERSION:-0.62} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-WWW-Curl/WWW-Curl-4.150.0-curl-7.50.2.patch b/perl/perl-WWW-Curl/WWW-Curl-4.150.0-curl-7.50.2.patch deleted file mode 100644 index 2fecfce621..0000000000 --- a/perl/perl-WWW-Curl/WWW-Curl-4.150.0-curl-7.50.2.patch +++ /dev/null @@ -1,40 +0,0 @@ -curl-7.50.2 introduced a #define without integer value: - - #ifdef CURL_NO_OLDIES - #define CURL_STRICTER - #endif - -Heuristics in 'Makefile.PL' assumes all defines in form of - #define CURL_<something> <an-expression> -and generates a symbol lookup table in 'curlopt-constants.c' -as: - - static int - constant(const char *name) - { - errno = 0; - - if (strncmp(name, "CURL_", 5) == 0) { - name += 5; - switch (*name) { - ... - case 'S': - if (strEQ(name, "STRICTER")) return CURL_STRICTER; -Which is not valid C: - curlopt-constants.c:128:49: error: ‘CURL_STRICTER’ undeclared (first use in this function) - if (strEQ(name, "STRICTER")) return CURL_STRICTER; - ^~~~~~~~~~~~~ -diff --git a/Makefile.PL b/Makefile.PL -index f9170bb..fc1a55a 100644 ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -122,2 +122,9 @@ if (!defined($curl_h)) { - while(<H>) { -+ # Skip defines without values like: -+ # #define CURL_STRICTER -+ if (/^#define (CURL[A-Za-z0-9_]*)$/) { -+ chomp; -+ warn "Skipping '$_': does not define a symbol"; -+ next; -+ } - if (/^#define (CURL[A-Za-z0-9_]*)/) { 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 differnew file mode 100644 index 0000000000..f85592a36f --- /dev/null +++ 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 c74feb165b..46291bd33f 100644 --- a/perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild +++ b/perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild @@ -1,12 +1,15 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-WWW-Curl # Written by Pragmatic Cypher <slackbuilds@server.ky> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-WWW-Curl VERSION=${VERSION:-4.17} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=$(echo $PRGNAM | cut -f2- -d-) @@ -18,7 +21,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -52,7 +62,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 {} \; -patch -p1 < $CWD/WWW-Curl-4.150.0-curl-7.50.2.patch +zcat $CWD/curl-7.71.0.patch.gz | patch -p1 perl Makefile.PL \ PREFIX=/usr \ @@ -61,7 +71,9 @@ perl Makefile.PL \ INSTALLVENDORMAN3DIR=/usr/man/man3 make -make test +# 20220301 bkw: 'make test' requires internet access, don't run it +# if it looks like the network is down (e.g. due to 'unshare -n'). +ping -w10 -c1 google.com &>/dev/null && make test make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -81,4 +93,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-WWW-Curl/perl-WWW-Curl.info b/perl/perl-WWW-Curl/perl-WWW-Curl.info index f0c9a3599c..c2c9680284 100644 --- a/perl/perl-WWW-Curl/perl-WWW-Curl.info +++ b/perl/perl-WWW-Curl/perl-WWW-Curl.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SZ/SZBALINT/WWW-Curl-4.17.tar.g MD5SUM="997ac81cd6b03b30b36f7cd930474845" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="perl-Module-Install" MAINTAINER="Pragmatic Cypher" EMAIL="slackbuilds@server.ky" diff --git a/perl/perl-WebService-Gyazo-B/perl-WebService-Gyazo-B.SlackBuild b/perl/perl-WebService-Gyazo-B/perl-WebService-Gyazo-B.SlackBuild index d45e106f0a..ffb1a98c2e 100644 --- a/perl/perl-WebService-Gyazo-B/perl-WebService-Gyazo-B.SlackBuild +++ b/perl/perl-WebService-Gyazo-B/perl-WebService-Gyazo-B.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-WebService-Gyazo-B @@ -22,10 +22,13 @@ # 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-WebService-Gyazo-B VERSION=${VERSION:-0.0405} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -101,4 +111,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 da88d96ee1..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 libwww-perl 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/README b/perl/perl-WebService-MusicBrainz/README index a30fde7361..8e4d8581da 100644 --- a/perl/perl-WebService-MusicBrainz/README +++ b/perl/perl-WebService-MusicBrainz/README @@ -1,5 +1,11 @@ +perl-WebService-MusicBrainz (retrieve music metadata) + WebService::MusicBrainz searches the MusicBrainz database, which contains a huge amount of music metadata, through the database's web service and returns objects with the found data. abcde can use WebService::MusicBrainz to look up metadata. + +Note: By default, the test suite is not run, because it requires a +network connection. You can enable it by exporting TESTS=yes in the +script's environment. diff --git a/perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.SlackBuild b/perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.SlackBuild index 5403f0b087..a0443019d1 100644 --- a/perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.SlackBuild +++ b/perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-WebService-MusicBrainz -# Copyright 2016-2019 Andreas Voegele <andreas@andreasvoegele.com> +# Copyright 2016-2019 Andreas Voegele <email removed> # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -16,40 +16,33 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# 20230105 bkw: update for v1.0.6. +# 20220110 bkw: +# - take over maintenance. +# - ARCH=noarch. +# - build option TESTS=yes to run 'make test'. + +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-WebService-MusicBrainz -VERSION=${VERSION:-1.0.5} +VERSION=${VERSION:-1.0.6} 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 +ARCH=noarch + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 fi -CWD=$(pwd) 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 @@ -59,26 +52,23 @@ 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 \ INSTALLDIRS=vendor \ INSTALLVENDORMAN1DIR=/usr/man/man1 \ INSTALLVENDORMAN3DIR=/usr/man/man3 make -# The test suite requires a network connection. -#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 +# The test suite requires a network connection. +[ "${TESTS:-no}" = "yes" ] && make test -find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true +make install DESTDIR=$PKG +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 @@ -89,4 +79,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.info b/perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.info index c5495f9c23..dac7ede0fc 100644 --- a/perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.info +++ b/perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.info @@ -1,10 +1,10 @@ PRGNAM="perl-WebService-MusicBrainz" -VERSION="1.0.5" +VERSION="1.0.6" 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.6.tar.gz" +MD5SUM="d290c0c905521b84d32061636944b196" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Mojolicious" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" +MAINTAINER="B. Watson" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-X10/README b/perl/perl-X10/README deleted file mode 100644 index 8dadbe9f60..0000000000 --- a/perl/perl-X10/README +++ /dev/null @@ -1,6 +0,0 @@ -perl-X10 (X10-based home automation control module) - -Includes X10, X10::ActiveHome, X10::Controller, X10::Device, -X10::Event, X10::EventList, X10::FireCracker, X10::Macro, -X10::MacroProc, X10::Network, X10::SchedEvent, X10::Scheduler, -X10::Server, X10::TwoWay. diff --git a/perl/perl-X10/perl-X10.info b/perl/perl-X10/perl-X10.info deleted file mode 100644 index 4fdf9c5a35..0000000000 --- a/perl/perl-X10/perl-X10.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-X10" -VERSION="0.04" -HOMEPAGE="https://metacpan.org/pod/X10" -DOWNLOAD="https://cpan.metacpan.org/authors/id/R/RO/ROBF/X10-0.04.tar.gz" -MD5SUM="20dcca2dfb978bfed3043276aa3481e5" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="perl-Astro-SunTime perl-Device-SerialPort" -MAINTAINER="orphaned - no maintainer" -EMAIL="nobody@nowhere.com" diff --git a/perl/perl-X10/slack-desc b/perl/perl-X10/slack-desc deleted file mode 100644 index 37c7a6e23f..0000000000 --- a/perl/perl-X10/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-X10: perl-X10 (X10-based home automation control module) -perl-X10: -perl-X10: Includes X10, X10::ActiveHome, X10::Controller, X10::Device, -perl-X10: X10::Event, X10::EventList, X10::FireCracker, X10::Macro, -perl-X10: X10::MacroProc, X10::Network, X10::SchedEvent, X10::Scheduler, -perl-X10: X10::Server, X10::TwoWay. -perl-X10: -perl-X10: -perl-X10: -perl-X10: -perl-X10: diff --git a/perl/perl-X11-Protocol-Other/README b/perl/perl-X11-Protocol-Other/README index 3ad06bb25f..8f5a4bc5b3 100644 --- a/perl/perl-X11-Protocol-Other/README +++ b/perl/perl-X11-Protocol-Other/README @@ -1,3 +1,11 @@ -This is some window manager related functions for use by client programs, as -per the "Inter-Client Communication Conventions Manual" and some of the Net-WM -"Extended Window Manager Hints". +These are some window manager related functions for use by client +programs, as per the "Inter-Client Communication Conventions Manual" +and some of the Net-WM "Extended Window Manager Hints". + +Note: normally, SlackBuilds that build perl modules include the +"make test" command. Here, it's disabled by default, as it will +cause the build to fail if there is no X server running (or if X's +DISPLAY variable isn't set). If you want to enable the tests, export +MAKETEST=yes in the script's environment. Note that the test will +leave your desktop with a solid black background (replacing whatever +wallpaper you might have had). diff --git a/perl/perl-X11-Protocol-Other/perl-X11-Protocol-Other.SlackBuild b/perl/perl-X11-Protocol-Other/perl-X11-Protocol-Other.SlackBuild index f53e192a4c..49a78c6f2b 100644 --- a/perl/perl-X11-Protocol-Other/perl-X11-Protocol-Other.SlackBuild +++ b/perl/perl-X11-Protocol-Other/perl-X11-Protocol-Other.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-X11-Protocol-Other @@ -22,28 +22,39 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220314 bkw: Modified by SlackBuilds.org: disable 'make test' by +# default, since it requires a running X server, and even then it +# messes up the display. + +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-X11-Protocol-Other VERSION=${VERSION:-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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -67,9 +78,9 @@ 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 \ + -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ perl Makefile.PL \ PREFIX=/usr \ @@ -77,7 +88,7 @@ perl Makefile.PL \ INSTALLVENDORMAN3DIR=/usr/man/man3 \ INSTALLVENDORMAN1DIR=/usr/man/man1 make -make test +[ "${MAKETEST:-no}" = "yes" ] && make test make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -98,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-XML-Catalog/perl-XML-Catalog.SlackBuild b/perl/perl-XML-Catalog/perl-XML-Catalog.SlackBuild index 7a989a8181..ef0205c95b 100644 --- a/perl/perl-XML-Catalog/perl-XML-Catalog.SlackBuild +++ b/perl/perl-XML-Catalog/perl-XML-Catalog.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-XML-Catalog @@ -22,10 +22,13 @@ # 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-XML-Catalog VERSION=${VERSION:-1.03} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-XML-Filter-BufferText/perl-XML-Filter-BufferText.SlackBuild b/perl/perl-XML-Filter-BufferText/perl-XML-Filter-BufferText.SlackBuild index eb568a9d31..cfda222f79 100644 --- a/perl/perl-XML-Filter-BufferText/perl-XML-Filter-BufferText.SlackBuild +++ b/perl/perl-XML-Filter-BufferText/perl-XML-Filter-BufferText.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-XML-Filter-BufferText @@ -20,22 +20,32 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-XML-Filter-BufferText VERSION=${VERSION:-1.01} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=XML-Filter-BufferText if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -83,4 +93,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-XML-LibXSLT/perl-XML-LibXSLT.SlackBuild b/perl/perl-XML-LibXSLT/perl-XML-LibXSLT.SlackBuild index 17d7d07470..0533b9dc8b 100644 --- a/perl/perl-XML-LibXSLT/perl-XML-LibXSLT.SlackBuild +++ b/perl/perl-XML-LibXSLT/perl-XML-LibXSLT.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-XML-LibXSLT # Written by David Somero <dsomero@hotmail.com> @@ -25,10 +25,13 @@ # 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-XML-LibXSLT VERSION=${VERSION:-1.95} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=XML-LibXSLT @@ -40,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -101,4 +111,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-XML-SAX-Writer/perl-XML-SAX-Writer.SlackBuild b/perl/perl-XML-SAX-Writer/perl-XML-SAX-Writer.SlackBuild index a5c370dcd2..3c9382ac78 100644 --- a/perl/perl-XML-SAX-Writer/perl-XML-SAX-Writer.SlackBuild +++ b/perl/perl-XML-SAX-Writer/perl-XML-SAX-Writer.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-XML-SAX-Writer @@ -22,22 +22,32 @@ # 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-XML-SAX-Writer VERSION=${VERSION:-0.53} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=XML-SAX-Writer if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -85,4 +95,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-XML-SAX-Writer/perl-XML-SAX-Writer.info b/perl/perl-XML-SAX-Writer/perl-XML-SAX-Writer.info index b3bff9865d..fd94611b3f 100644 --- a/perl/perl-XML-SAX-Writer/perl-XML-SAX-Writer.info +++ b/perl/perl-XML-SAX-Writer/perl-XML-SAX-Writer.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-0.53 MD5SUM="afc83cdc49ccc8a7ad72911b2a0bcfbe" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-XML-Filter-BufferText" +REQUIRES="perl-XML-Filter-BufferText perl-Module-Install" MAINTAINER="Christopher Walker" EMAIL="kris240376@gmail.com" diff --git a/perl/perl-XML-Stream/perl-XML-Stream.SlackBuild b/perl/perl-XML-Stream/perl-XML-Stream.SlackBuild index 771b876b1d..69eef90168 100644 --- a/perl/perl-XML-Stream/perl-XML-Stream.SlackBuild +++ b/perl/perl-XML-Stream/perl-XML-Stream.SlackBuild @@ -1,9 +1,9 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-XML-Stream # Copyright 2013 Christopher Walker Copperas Cove, TX -# Copyright 2019, Alexander Verbovetsky, Moscow, Russia +# Copyright 2019-2022, Alexander Verbovetsky, Moscow, Russia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,10 +23,13 @@ # 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-XML-Stream VERSION=${VERSION:-1.24} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,7 +41,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -63,7 +70,6 @@ perl Makefile.PL \ INSTALLDIRS=vendor \ INSTALLVENDORMAN3DIR=/usr/man/man3 make -make test make install DESTDIR=$PKG find $PKG/usr/man -type f -exec gzip -9 {} \; @@ -79,4 +85,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-XML-Stream/perl-XML-Stream.info b/perl/perl-XML-Stream/perl-XML-Stream.info index f3909a4611..03a2ce598c 100644 --- a/perl/perl-XML-Stream/perl-XML-Stream.info +++ b/perl/perl-XML-Stream/perl-XML-Stream.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DA/DAPATRICK/XML-Stream-1.24.ta MD5SUM="62717494479cba3746bfeab73d2f955c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Authen-SASL" +REQUIRES="" MAINTAINER="Alexander Verbovetsky" EMAIL="alik@ejik.org" diff --git a/perl/perl-XML-TreeBuilder/perl-XML-TreeBuilder.SlackBuild b/perl/perl-XML-TreeBuilder/perl-XML-TreeBuilder.SlackBuild index c6c4cd1a3e..ac67261e8a 100644 --- a/perl/perl-XML-TreeBuilder/perl-XML-TreeBuilder.SlackBuild +++ b/perl/perl-XML-TreeBuilder/perl-XML-TreeBuilder.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-XML-TreeBuilder @@ -22,10 +22,13 @@ # 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-XML-TreeBuilder VERSION=${VERSION:-5.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-XML-TreePP/perl-XML-TreePP.SlackBuild b/perl/perl-XML-TreePP/perl-XML-TreePP.SlackBuild index 69915706b6..c5362abed8 100644 --- a/perl/perl-XML-TreePP/perl-XML-TreePP.SlackBuild +++ b/perl/perl-XML-TreePP/perl-XML-TreePP.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-XML-TreePP @@ -22,29 +22,39 @@ # 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-XML-TreePP SRCNAM=XML-TreePP VERSION=${VERSION:-0.43} 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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-XML-Writer/perl-XML-Writer.SlackBuild b/perl/perl-XML-Writer/perl-XML-Writer.SlackBuild index 9f3e53b6f6..7b3a02c5f0 100644 --- a/perl/perl-XML-Writer/perl-XML-Writer.SlackBuild +++ b/perl/perl-XML-Writer/perl-XML-Writer.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-XML-Writer # Written by David Somero <dsomero@hotmail.com> @@ -25,28 +25,38 @@ # 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-XML-Writer VERSION=${VERSION:-0.625} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=XML-Writer if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-XML-XPath/README b/perl/perl-XML-XPath/README index cf14881597..214133f72d 100644 --- a/perl/perl-XML-XPath/README +++ b/perl/perl-XML-XPath/README @@ -1,4 +1,5 @@ -XML::XPath - a set of modules for parsing and evaluating XPath statements. +XML::XPath - a set of modules for parsing and evaluating XPath +statements. DESCRIPTION This module aims to comply exactly to the XPath specification at diff --git a/perl/perl-XML-XPath/perl-XML-XPath.SlackBuild b/perl/perl-XML-XPath/perl-XML-XPath.SlackBuild index b925d9a7c1..9b98c7a44c 100644 --- a/perl/perl-XML-XPath/perl-XML-XPath.SlackBuild +++ b/perl/perl-XML-XPath/perl-XML-XPath.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-XML-XPath @@ -26,10 +26,13 @@ # 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-XML-XPath VERSION=${VERSION:-1.42} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=XML-XPath @@ -41,7 +44,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -104,4 +114,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-XML-XPath/perl-XML-XPath.info b/perl/perl-XML-XPath/perl-XML-XPath.info index 4806cdf0b0..99e346a5b6 100644 --- a/perl/perl-XML-XPath/perl-XML-XPath.info +++ b/perl/perl-XML-XPath/perl-XML-XPath.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MA/MANWAR/XML-XPath-1.42.tar.gz MD5SUM="5384f351502f44edd8d4b841a5bdd8bc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Path-Tiny" +REQUIRES="" MAINTAINER="David Somero" EMAIL="dsomero@hotmail.com" diff --git a/perl/perl-XS-Parse-Keyword/README b/perl/perl-XS-Parse-Keyword/README new file mode 100644 index 0000000000..53df420f61 --- /dev/null +++ b/perl/perl-XS-Parse-Keyword/README @@ -0,0 +1 @@ +Perl XS functions to assist in parsing keyword syntax. diff --git a/perl/perl-XS-Parse-Keyword/perl-XS-Parse-Keyword.SlackBuild b/perl/perl-XS-Parse-Keyword/perl-XS-Parse-Keyword.SlackBuild new file mode 100644 index 0000000000..166b492cd4 --- /dev/null +++ b/perl/perl-XS-Parse-Keyword/perl-XS-Parse-Keyword.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/bash + +# Slackware build script for perl-XS-Parse-Keyword + +# Copyright 2022 Nicholas Hubbard <nicholashubbard@posteo.net> +# 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-XS-Parse-Keyword +VERSION=${VERSION:-0.25} +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 \ + --prefix=/usr \ + --installdirs=vendor \ + --install_path libdoc=/usr/man/man3 +perl Build +perl Build test +perl 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-XS-Parse-Keyword/perl-XS-Parse-Keyword.info b/perl/perl-XS-Parse-Keyword/perl-XS-Parse-Keyword.info new file mode 100644 index 0000000000..ebfe077faf --- /dev/null +++ b/perl/perl-XS-Parse-Keyword/perl-XS-Parse-Keyword.info @@ -0,0 +1,10 @@ +PRGNAM="perl-XS-Parse-Keyword" +VERSION="0.25" +HOMEPAGE="https://metacpan.org/pod/XS::Parse::Keyword" +DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/XS-Parse-Keyword-0.25.tar.gz" +MD5SUM="1a92915a139152aa470a38c0169fdf42" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="perl-ExtUtils-CChecker" +MAINTAINER="Nicholas Hubbard" +EMAIL="nicholashubbard@posteo.net" diff --git a/perl/perl-XS-Parse-Keyword/slack-desc b/perl/perl-XS-Parse-Keyword/slack-desc new file mode 100644 index 0000000000..4cf6309b24 --- /dev/null +++ b/perl/perl-XS-Parse-Keyword/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-XS-Parse-Keyword: perl-XS-Parse-Keyword (XS::Parse::Keyword) +perl-XS-Parse-Keyword: +perl-XS-Parse-Keyword: Perl XS functions to assist in parsing keyword syntax. +perl-XS-Parse-Keyword: +perl-XS-Parse-Keyword: +perl-XS-Parse-Keyword: +perl-XS-Parse-Keyword: +perl-XS-Parse-Keyword: +perl-XS-Parse-Keyword: +perl-XS-Parse-Keyword: +perl-XS-Parse-Keyword: diff --git a/perl/perl-YAML-LibYAML/README b/perl/perl-YAML-LibYAML/README index 4f871ccc0a..c487efbef3 100644 --- a/perl/perl-YAML-LibYAML/README +++ b/perl/perl-YAML-LibYAML/README @@ -1,9 +1,10 @@ -Kirill Siminov's libyaml is arguably the best YAML implementation. The C -library is written precisely to the YAML 1.1 specification. It was originally -bound to Python and was later bound to Ruby. +Kirill Siminov's libyaml is arguably the best YAML implementation. The +C library is written precisely to the YAML 1.1 specification. It was +originally bound to Python and was later bound to Ruby. -This module is a Perl XS binding to libyaml which offers Perl the best YAML -support to date. +This module is a Perl XS binding to libyaml which offers Perl the best +YAML support to date. -This module exports the functions Dump, Load, DumpFile and LoadFile. These -functions are intended to work exactly like YAML.pm's corresponding functions. +This module exports the functions Dump, Load, DumpFile and +LoadFile. These functions are intended to work exactly like YAML.pm's +corresponding functions. diff --git a/perl/perl-YAML-LibYAML/perl-YAML-LibYAML.SlackBuild b/perl/perl-YAML-LibYAML/perl-YAML-LibYAML.SlackBuild index 51af7d6010..ca5cca22f7 100644 --- a/perl/perl-YAML-LibYAML/perl-YAML-LibYAML.SlackBuild +++ b/perl/perl-YAML-LibYAML/perl-YAML-LibYAML.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-YAML-LibYAML @@ -23,10 +23,13 @@ # 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-YAML-LibYAML VERSION=${VERSION:-0.76} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-YAML-Syck/perl-YAML-Syck.SlackBuild b/perl/perl-YAML-Syck/perl-YAML-Syck.SlackBuild index d0b03006cb..36e2bc9341 100644 --- a/perl/perl-YAML-Syck/perl-YAML-Syck.SlackBuild +++ b/perl/perl-YAML-Syck/perl-YAML-Syck.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-YAML-Syck @@ -23,10 +23,13 @@ # 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-YAML-Syck -VERSION=${VERSION:-1.32} +VERSION=${VERSION:-1.34} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=YAML-Syck @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-YAML-Syck/perl-YAML-Syck.info b/perl/perl-YAML-Syck/perl-YAML-Syck.info index f3d17bcec9..5e9cd4d549 100644 --- a/perl/perl-YAML-Syck/perl-YAML-Syck.info +++ b/perl/perl-YAML-Syck/perl-YAML-Syck.info @@ -1,8 +1,8 @@ PRGNAM="perl-YAML-Syck" -VERSION="1.32" +VERSION="1.34" HOMEPAGE="https://metacpan.org/pod/YAML::Syck" -DOWNLOAD="http://cpan.metacpan.org/authors/id/T/TO/TODDR/YAML-Syck-1.32.tar.gz" -MD5SUM="4d76594ccb19541610f82779071695c6" +DOWNLOAD="https://cpan.metacpan.org/authors/id/T/TO/TODDR/YAML-Syck-1.34.tar.gz" +MD5SUM="4aae72f5c06dccd6ed6ea9b029104183" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-yaml" diff --git a/perl/perl-YAML-Tiny/perl-YAML-Tiny.SlackBuild b/perl/perl-YAML-Tiny/perl-YAML-Tiny.SlackBuild index d68081a3d0..735e56ae23 100644 --- a/perl/perl-YAML-Tiny/perl-YAML-Tiny.SlackBuild +++ b/perl/perl-YAML-Tiny/perl-YAML-Tiny.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-YAML-Tiny. # @@ -22,10 +22,13 @@ # 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-YAML-Tiny VERSION=${VERSION:-1.73} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -95,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-ZMQ-Constants/perl-ZMQ-Constants.SlackBuild b/perl/perl-ZMQ-Constants/perl-ZMQ-Constants.SlackBuild index da35fbab22..bb71953934 100644 --- a/perl/perl-ZMQ-Constants/perl-ZMQ-Constants.SlackBuild +++ b/perl/perl-ZMQ-Constants/perl-ZMQ-Constants.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware Package Build Script for perl modules: ZMQ::Constants # Home Page https://metacpan.org/release/ZMQ-Constants @@ -25,22 +25,32 @@ # 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-ZMQ-Constants" VERSION=${VERSION:-1.04} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -49,8 +59,8 @@ set -e DOCS="Changes" -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -102,4 +112,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-ZMQ-Constants/perl-ZMQ-Constants.info b/perl/perl-ZMQ-Constants/perl-ZMQ-Constants.info index edb52bed86..4085ff591f 100644 --- a/perl/perl-ZMQ-Constants/perl-ZMQ-Constants.info +++ b/perl/perl-ZMQ-Constants/perl-ZMQ-Constants.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DM/DMAKI/ZMQ-Constants-1.04.tar MD5SUM="993961a924f88de186419b590266d9c0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="perl-Module-Install" MAINTAINER="Nishant Limbachia" EMAIL="nishant@mnspace.net" diff --git a/perl/perl-aliased/perl-aliased.SlackBuild b/perl/perl-aliased/perl-aliased.SlackBuild index 883c7f303c..e57be9d608 100644 --- a/perl/perl-aliased/perl-aliased.SlackBuild +++ b/perl/perl-aliased/perl-aliased.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-aliased @@ -22,16 +22,26 @@ # 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-aliased VERSION=${VERSION:-0.34} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -80,4 +90,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-audio-sndfile/README b/perl/perl-audio-sndfile/README index a00cfdabc1..8afd9bdc40 100644 --- a/perl/perl-audio-sndfile/README +++ b/perl/perl-audio-sndfile/README @@ -1,8 +1,8 @@ perl-audio-sndfile (perl bindings for libsndfile) -Audio::SndFile is a perl interface to the sndfile (soundfile) library. It -provides a portable API for reading and writing sound files in different -formats. +Audio::SndFile is a perl interface to the sndfile (soundfile) +library. It provides a portable API for reading and writing sound +files in different formats. See the documentation for a full list of supported file formats. Wav, flac, and ogg are supported, but mp3 is not. diff --git a/perl/perl-audio-sndfile/perl-audio-sndfile.SlackBuild b/perl/perl-audio-sndfile/perl-audio-sndfile.SlackBuild index 9189d326c8..e19a13ea06 100644 --- a/perl/perl-audio-sndfile/perl-audio-sndfile.SlackBuild +++ b/perl/perl-audio-sndfile/perl-audio-sndfile.SlackBuild @@ -1,15 +1,18 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-audio-sndfile -# Written by B. Watson (yalhcru@gmail.com) +# 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-audio-sndfile VERSION=${VERSION:-0.09} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Audio-SndFile @@ -21,25 +24,15 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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 @@ -52,6 +45,7 @@ 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_USE_UNSAFE_INC=1 \ perl Makefile.PL \ PREFIX=/usr \ INSTALLDIRS=vendor \ @@ -59,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 @@ -77,4 +70,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-audio-sndfile/perl-audio-sndfile.info b/perl/perl-audio-sndfile/perl-audio-sndfile.info index b5f2d06a0a..f62324ea3c 100644 --- a/perl/perl-audio-sndfile/perl-audio-sndfile.info +++ b/perl/perl-audio-sndfile/perl-audio-sndfile.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-cairo/perl-cairo.SlackBuild b/perl/perl-cairo/perl-cairo.SlackBuild index ad42e9740b..b5392c6eb9 100644 --- a/perl/perl-cairo/perl-cairo.SlackBuild +++ b/perl/perl-cairo/perl-cairo.SlackBuild @@ -1,11 +1,11 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-cairo. # # (C) 2007 Michael Wagner <lapinours@web.de> # Copyright 2010, 2012 Binh Nguyen <binhvng@gmail.com> # Adopted 2014-2017 Glenn Becker <burningc@sdf.org> -# Copyright 2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2017-2021 Edinaldo P. Silva, Rio de Janeiro, Brazil. # # All rights reserved. # @@ -26,10 +26,13 @@ # 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-cairo -VERSION=${VERSION:-1.107} +VERSION=${VERSION:-1.109} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -81,7 +91,7 @@ perl Makefile.PL \ INSTALLDIRS=vendor \ INSTALLVENDORMAN3DIR=/usr/man/man3 make -make test +#make test make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ @@ -102,4 +112,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-cairo/perl-cairo.info b/perl/perl-cairo/perl-cairo.info index 7110aabd10..24970e133f 100644 --- a/perl/perl-cairo/perl-cairo.info +++ b/perl/perl-cairo/perl-cairo.info @@ -1,8 +1,8 @@ PRGNAM="perl-cairo" -VERSION="1.107" +VERSION="1.109" HOMEPAGE="https://metacpan.org/pod/Cairo" -DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Cairo-1.107.tar.gz" -MD5SUM="fdb959699794dd82031ea9d8ac12db0b" +DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Cairo-1.109.tar.gz" +MD5SUM="8f7cd2260014e4f9fb42dfb28cd55d66" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-extutils-depends perl-extutils-pkgconfig" diff --git a/perl/perl-cgi-minimal/perl-cgi-minimal.SlackBuild b/perl/perl-cgi-minimal/perl-cgi-minimal.SlackBuild index 2fc8047855..87345d68fa 100644 --- a/perl/perl-cgi-minimal/perl-cgi-minimal.SlackBuild +++ b/perl/perl-cgi-minimal/perl-cgi-minimal.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-cgi-minimal -# Copyright 2016 Johannes Schoepfer, Germany +# Copyright 2016-2023 Johannes Schoepfer, Germany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,38 +22,24 @@ # 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-minimal -VERSION=${VERSION:-1.29} +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 +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 fi -CWD=$(pwd) 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 @@ -65,26 +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 @@ -93,9 +72,9 @@ mkdir $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a examples TODO README Makefile.PL GPL_License.txt MANIFEST META.yml \ - Artistic_License.txt Changes $PKG/usr/doc/$PRGNAM-$VERSION +cp -a examples TODO README LICENSE MANIFEST META.yml Changes \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cd $PKG -/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-cgi-minimal/perl-cgi-minimal.info b/perl/perl-cgi-minimal/perl-cgi-minimal.info index 7106a3eb83..0b60794e61 100644 --- a/perl/perl-cgi-minimal/perl-cgi-minimal.info +++ b/perl/perl-cgi-minimal/perl-cgi-minimal.info @@ -1,8 +1,8 @@ PRGNAM="perl-cgi-minimal" -VERSION="1.29" +VERSION="1.30" HOMEPAGE="https://metacpan.org/pod/distribution/CGI-Minimal/lib/CGI/Minimal.pod" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SN/SNOWHARE/CGI-Minimal-1.29.tar.gz" -MD5SUM="76c659dc5f32018d2158d2427d549f35" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SN/SNOWHARE/CGI-Minimal-1.30.tar.gz" +MD5SUM="2e14736d9e0f93117ee64b613e5304cc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-class-accessor-chained/perl-class-accessor-chained.SlackBuild b/perl/perl-class-accessor-chained/perl-class-accessor-chained.SlackBuild index b54093eeaf..9970ee90fa 100644 --- a/perl/perl-class-accessor-chained/perl-class-accessor-chained.SlackBuild +++ b/perl/perl-class-accessor-chained/perl-class-accessor-chained.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-class-accessor-chained @@ -22,27 +22,37 @@ # 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-class-accessor-chained SRCNAM=Class-Accessor-Chained VERSION=${VERSION:-0.01} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-class-accessor/perl-class-accessor.SlackBuild b/perl/perl-class-accessor/perl-class-accessor.SlackBuild index ec79e7487a..55892b4f64 100644 --- a/perl/perl-class-accessor/perl-class-accessor.SlackBuild +++ b/perl/perl-class-accessor/perl-class-accessor.SlackBuild @@ -1,14 +1,17 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-class-accessor # Written by Pablo Santamaria (pablosantamaria@gmail.com) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-class-accessor SRCNAM=Class-Accessor VERSION=${VERSION:-0.34} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -18,7 +21,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -83,4 +93,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-common-sense/perl-common-sense.SlackBuild b/perl/perl-common-sense/perl-common-sense.SlackBuild index f6dafa4c90..34362361b1 100644 --- a/perl/perl-common-sense/perl-common-sense.SlackBuild +++ b/perl/perl-common-sense/perl-common-sense.SlackBuild @@ -1,9 +1,10 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-common-sense # Copyright 2013 Donald Cooley La Porte, IN USA -# Copyright 2017 Donald Cooley South Haven, IN USA +# Copyright 2017-2020 Donald Cooley South Haven, IN USA +# Copyright 2022 Tonus Paris # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,10 +24,13 @@ # 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-common-sense -VERSION=${VERSION:-3.74} +VERSION=${VERSION:-3.75} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -38,7 +42,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,8 +108,11 @@ cp -a \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +# remove empty gzipped manual and directory +rm -rf $PKG/usr/man + 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-common-sense/perl-common-sense.info b/perl/perl-common-sense/perl-common-sense.info index 3be1945924..c278cb70bf 100644 --- a/perl/perl-common-sense/perl-common-sense.info +++ b/perl/perl-common-sense/perl-common-sense.info @@ -1,10 +1,10 @@ PRGNAM="perl-common-sense" -VERSION="3.74" +VERSION="3.75" HOMEPAGE="https://metacpan.org/pod/common::sense" -DOWNLOAD="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/common-sense-3.74.tar.gz" -MD5SUM="35b273147200c4c95eef7816f83e572d" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/common-sense-3.75.tar.gz" +MD5SUM="0929c6b03455ca988a9b4219aca15292" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Donald Cooley" -EMAIL="chytraeu@sdf.org" +MAINTAINER="Tonus" +EMAIL="tonus1@free.fr" diff --git a/perl/perl-config-general/perl-config-general.SlackBuild b/perl/perl-config-general/perl-config-general.SlackBuild index f75f669c15..fe294e1a10 100644 --- a/perl/perl-config-general/perl-config-general.SlackBuild +++ b/perl/perl-config-general/perl-config-general.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for "perl-config-general". @@ -28,27 +28,37 @@ # Adapted from perl-Config-General.SlackBuild, written by James Geboski, # https://github.com/jgeboski/SlackBuilds/tree/master/perl/perl-Config-General +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-config-general SRCNAM=Config-General VERSION=${VERSION:-2.61} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 e742b6f1ee..99a06cee28 100644 --- a/perl/perl-data-dump/perl-data-dump.SlackBuild +++ b/perl/perl-data-dump/perl-data-dump.SlackBuild @@ -1,43 +1,33 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-data-dump -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) # 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.23} -BUILD=${BUILD:-1} +VERSION=${VERSION:-1.25} +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 +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 fi -CWD=$(pwd) 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 @@ -49,11 +39,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 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 \ @@ -62,9 +49,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 $PKG/usr/man/man3/* find $PKG -name perllocal.pod \ -o -name ".packlist" \ @@ -74,11 +59,11 @@ find $PKG -name perllocal.pod \ find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README Changes $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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-data-dump/perl-data-dump.info b/perl/perl-data-dump/perl-data-dump.info index e7cddf0f2c..60449b7c3d 100644 --- a/perl/perl-data-dump/perl-data-dump.info +++ b/perl/perl-data-dump/perl-data-dump.info @@ -1,10 +1,10 @@ PRGNAM="perl-data-dump" -VERSION="1.23" +VERSION="1.25" HOMEPAGE="https://metacpan.org/pod/Data::Dump" -DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GA/GAAS/Data-Dump-1.23.tar.gz" -MD5SUM="762c111e525c82ff23d62c90821b26e9" +DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GA/GARU/Data-Dump-1.25.tar.gz" +MD5SUM="9bd7131ef0441e1e0e001bf85e9fae31" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-data-messagepack/perl-data-messagepack.SlackBuild b/perl/perl-data-messagepack/perl-data-messagepack.SlackBuild index 590ae0bfb2..e008d32ad2 100644 --- a/perl/perl-data-messagepack/perl-data-messagepack.SlackBuild +++ b/perl/perl-data-messagepack/perl-data-messagepack.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-data-messagepack @@ -22,23 +22,33 @@ # 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-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 - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -58,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 @@ -83,4 +90,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-page-pageset/perl-data-page-pageset.SlackBuild b/perl/perl-data-page-pageset/perl-data-page-pageset.SlackBuild index 12a55bce70..17c449ed41 100644 --- a/perl/perl-data-page-pageset/perl-data-page-pageset.SlackBuild +++ b/perl/perl-data-page-pageset/perl-data-page-pageset.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-data-page-pageset @@ -22,27 +22,37 @@ # 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-data-page-pageset SRCNAM=Data-Page-Pageset VERSION=${VERSION:-1.02} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -95,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-data-page/perl-data-page.SlackBuild b/perl/perl-data-page/perl-data-page.SlackBuild index 59f10a9260..cfdb38dc27 100644 --- a/perl/perl-data-page/perl-data-page.SlackBuild +++ b/perl/perl-data-page/perl-data-page.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-data-page @@ -22,27 +22,37 @@ # 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-data-page SRCNAM=Data-Page VERSION=${VERSION:-2.02} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-data-section-simple/perl-data-section-simple.SlackBuild b/perl/perl-data-section-simple/perl-data-section-simple.SlackBuild index ee87d36463..40d917865e 100644 --- a/perl/perl-data-section-simple/perl-data-section-simple.SlackBuild +++ b/perl/perl-data-section-simple/perl-data-section-simple.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-data-section-simple @@ -22,23 +22,33 @@ # 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-data-section-simple VERSION=${VERSION:-0.07} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Data-Section-Simple DOCFILES="Changes README" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -83,4 +93,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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/README b/perl/perl-digest-hmac/README index b915ff7772..390cf323f6 100644 --- a/perl/perl-digest-hmac/README +++ b/perl/perl-digest-hmac/README @@ -1,8 +1,8 @@ -Digest::HMAC is a perl module used for message integrity checks between two -parties that share a secret key, and works in combination with some other -Digest algorithm, usually MD5 or SHA-1. The HMAC mechanism is described -in RFC 2104. +Digest::HMAC is a perl module used for message integrity checks +between two parties that share a secret key, and works in combination +with some other Digest algorithm, usually MD5 or SHA-1. The HMAC +mechanism is described in RFC 2104. The Digest::HMAC module follow the common Digest:: interface, but the -constructor takes the secret key and the name of some other simple Digest:: -module as argument. +constructor takes the secret key and the name of some other simple +Digest:: module as argument. diff --git a/perl/perl-digest-hmac/perl-digest-hmac.SlackBuild b/perl/perl-digest-hmac/perl-digest-hmac.SlackBuild index 2e25bc8194..6baf7eb60b 100644 --- a/perl/perl-digest-hmac/perl-digest-hmac.SlackBuild +++ b/perl/perl-digest-hmac/perl-digest-hmac.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-digest-hmac @@ -22,20 +22,30 @@ # 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-hmac -VERSION=${VERSION:-1.03} +VERSION=${VERSION:-1.04} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -83,4 +93,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-digest-sha1/perl-digest-sha1.SlackBuild b/perl/perl-digest-sha1/perl-digest-sha1.SlackBuild index 914570f126..08be947438 100644 --- a/perl/perl-digest-sha1/perl-digest-sha1.SlackBuild +++ b/perl/perl-digest-sha1/perl-digest-sha1.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-digest-sha1 @@ -22,30 +22,40 @@ # 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-sha1 VERSION=${VERSION:-2.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRC_PRGNAM=Digest-SHA1 if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} DOCFILES="fip180-1.* Changes README" -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -102,4 +112,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-encode-locale/README b/perl/perl-encode-locale/README index 586df94791..f0eb8ec660 100644 --- a/perl/perl-encode-locale/README +++ b/perl/perl-encode-locale/README @@ -1,21 +1,24 @@ Perl module to determine the locale encoding. In many applications it's wise to let Perl use Unicode for the strings -it processes. Most of the interfaces Perl has to the outside world is -still byte based. Programs therefore needs to decode byte strings that -enter the program from the outside and encode them again on the way out. -The POSIX locale system is used to specify both the language conventions -requested by the user and the preferred character set to consume and -output. The Encode::Locale module looks up the charset and encoding -(called a CODESET in the locale jargon) and arrange for the Encode module -to know this encoding under the name "locale". It means bytes obtained +it processes. Most of the interfaces Perl has to the outside world +is still byte based. Programs therefore needs to decode byte strings +that enter the program from the outside and encode them again on the +way out. The POSIX locale system is used to specify both the language +conventions requested by the user and the preferred character set to +consume and output. + +The Encode::Locale module looks up the charset and encoding (called +a CODESET in the locale jargon) and arrange for the Encode module to +know this encoding under the name "locale". It means bytes obtained from the environment can be converted to Unicode strings by calling Encode::encode(locale => $bytes) and converted back again with Encode::decode(locale => $string). -Where file systems interfaces pass file names in and out of the program -we also need care. The trend is for operating systems to use a fixed file -encoding that don't actually depend on the locale; and this module -determines the most appropriate encoding for file names. The Encode -module will know this encoding under the name "locale_fs". For -traditional Unix systems this will be an alias to the same encoding -as "locale". + +Where file systems interfaces pass file names in and out of the +program we also need care. The trend is for operating systems to use a +fixed file encoding that don't actually depend on the locale; and this +module determines the most appropriate encoding for file names. The +Encode module will know this encoding under the name "locale_fs". For +traditional Unix systems this will be an alias to the same encoding as +"locale". diff --git a/perl/perl-encode-locale/perl-encode-locale.SlackBuild b/perl/perl-encode-locale/perl-encode-locale.SlackBuild index 045da856b4..00443fb7b9 100644 --- a/perl/perl-encode-locale/perl-encode-locale.SlackBuild +++ b/perl/perl-encode-locale/perl-encode-locale.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-encode-locale @@ -22,10 +22,13 @@ # 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-encode-locale VERSION=${VERSION:-1.05} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -84,4 +94,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-event/perl-event.SlackBuild b/perl/perl-event/perl-event.SlackBuild index 19c2c4fd75..25c8fbfd60 100644 --- a/perl/perl-event/perl-event.SlackBuild +++ b/perl/perl-event/perl-event.SlackBuild @@ -1,29 +1,39 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-event # Written by Luis Henrique <lmello.009@gmail.com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-event VERSION=${VERSION:-1.21} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -74,4 +84,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-extutils-depends/perl-extutils-depends.SlackBuild b/perl/perl-extutils-depends/perl-extutils-depends.SlackBuild index efa30da9f2..17a9942970 100644 --- a/perl/perl-extutils-depends/perl-extutils-depends.SlackBuild +++ b/perl/perl-extutils-depends/perl-extutils-depends.SlackBuild @@ -1,11 +1,11 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-extutils-depends. # # (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-2019 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2017-2022 Edinaldo P. Silva, Rio de Janeiro, Brazil. # # All rights reserved. # @@ -26,10 +26,13 @@ # 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-extutils-depends -VERSION=${VERSION:-0.8000} +VERSION=${VERSION:-0.8001} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-extutils-depends/perl-extutils-depends.info b/perl/perl-extutils-depends/perl-extutils-depends.info index ac538f6eb6..6ea6365705 100644 --- a/perl/perl-extutils-depends/perl-extutils-depends.info +++ b/perl/perl-extutils-depends/perl-extutils-depends.info @@ -1,8 +1,8 @@ PRGNAM="perl-extutils-depends" -VERSION="0.8000" +VERSION="0.8001" HOMEPAGE="https://metacpan.org/pod/ExtUtils::Depends" -DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/ExtUtils-Depends-0.8000.tar.gz" -MD5SUM="ac2d17114f1b50624a8f37381c90485e" +DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/ExtUtils-Depends-0.8001.tar.gz" +MD5SUM="ca203697162b842c6c1e25ce102b79a5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild b/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild index 9124059975..c5f2b2a220 100644 --- a/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild +++ b/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-extutils-pkgconfig. # @@ -26,10 +26,13 @@ # 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-extutils-pkgconfig VERSION=${VERSION:-1.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-file-basedir/perl-file-basedir.SlackBuild b/perl/perl-file-basedir/perl-file-basedir.SlackBuild index 5b7931eac0..5ac513fb41 100644 --- a/perl/perl-file-basedir/perl-file-basedir.SlackBuild +++ b/perl/perl-file-basedir/perl-file-basedir.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-file-basedir. # -# Copyright 2015-2018 Edinaldo P. Silva, Rio de janeiro, Brazil +# Copyright 2015-2022 Edinaldo P. Silva, Rio de janeiro, Brazil # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,13 @@ # 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-basedir -VERSION=${VERSION:-0.08} +VERSION=${VERSION:-0.09} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-file-basedir/perl-file-basedir.info b/perl/perl-file-basedir/perl-file-basedir.info index 319c035b3c..fca334e5d7 100644 --- a/perl/perl-file-basedir/perl-file-basedir.info +++ b/perl/perl-file-basedir/perl-file-basedir.info @@ -1,8 +1,8 @@ PRGNAM="perl-file-basedir" -VERSION="0.08" +VERSION="0.09" HOMEPAGE="https://metacpan.org/pod/File::BaseDir" -DOWNLOAD="https://cpan.metacpan.org/authors/id/K/KI/KIMRYAN/File-BaseDir-0.08.tar.gz" -MD5SUM="667a7faa144c0c9a22b4421ed395fe89" +DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/File-BaseDir-0.09.tar.gz" +MD5SUM="9f0cec6783602f8f44f9226769992b66" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-File-Which perl-Module-Build perl-IPC-System-Simple" diff --git a/perl/perl-file-desktopentry/README b/perl/perl-file-desktopentry/README index 212ce57da1..10ae0e9a30 100644 --- a/perl/perl-file-desktopentry/README +++ b/perl/perl-file-desktopentry/README @@ -1,9 +1,10 @@ -perl-file-desktopentry (File::DesktopEntry, object to handle .desktop files) +perl-file-desktopentry (File::DesktopEntry, object to handle .desktop +files) This module is used to work with .desktop files. -The format of these files is specified by the freedesktop "Desktop Entry" -specification. +The format of these files is specified by the freedesktop "Desktop +Entry" specification. Optional dependencies: perl-Test-Pod, perl-Test-Pod-Coverage, perl-CPAN-Changes. diff --git a/perl/perl-file-desktopentry/perl-file-desktopentry.SlackBuild b/perl/perl-file-desktopentry/perl-file-desktopentry.SlackBuild index f68e60f51c..59bcb00c23 100644 --- a/perl/perl-file-desktopentry/perl-file-desktopentry.SlackBuild +++ b/perl/perl-file-desktopentry/perl-file-desktopentry.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-file-desktopentry. # @@ -19,26 +19,36 @@ # 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-desktopentry VERSION=${VERSION:-0.22} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -94,4 +104,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-file-libmagic/README b/perl/perl-file-libmagic/README index 54485e1a8e..30a285d487 100644 --- a/perl/perl-file-libmagic/README +++ b/perl/perl-file-libmagic/README @@ -1,6 +1,7 @@ -perl-file-libmagic (determine MIME types of data or files using libmagic) +perl-file-libmagic (determine MIME types of data or files with libmagic) -File::LibMagic is a simple perl interface to libmagic from the file package. +File::LibMagic is a simple perl interface to libmagic from the file +package. perl-Test-Fatal is an optional build-time dependency, required for running "make test". diff --git a/perl/perl-file-libmagic/perl-file-libmagic.SlackBuild b/perl/perl-file-libmagic/perl-file-libmagic.SlackBuild index 5ec6184957..d5f3b1e897 100644 --- a/perl/perl-file-libmagic/perl-file-libmagic.SlackBuild +++ b/perl/perl-file-libmagic/perl-file-libmagic.SlackBuild @@ -1,16 +1,22 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-file-libmagic -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) # 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) + PRGNAM=perl-file-libmagic TARNAM=File-LibMagic -VERSION=${VERSION:-1.16} -BUILD=${BUILD:-1} +VERSION=${VERSION:-1.23} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -20,25 +26,15 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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 @@ -48,11 +44,18 @@ rm -rf $TARNAM-$VERSION tar xvf $CWD/$TARNAM-$VERSION.tar.gz cd $TARNAM-$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 {} \+ + +# 20201025 bkw: previous versions shipped a private copy of +# Config::AutoConf with the source. Upstream removed it, so it would +# have to be installed separately. Since it's only used at build time, +# and doesn't affect the package built by this script, I don't want to +# create and maintain yet another perl SlackBuild for it. So I've made +# it a 2nd download file, and this stanza makes Makefile.PL use it: +mkdir -p inc/Config +cp $CWD/AutoConf.pm inc/Config +export PERL5LIB=inc perl Makefile.PL \ PREFIX=/usr \ @@ -67,18 +70,19 @@ 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" \ | xargs rm -f mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Changes LICENSE README.md \ - $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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-file-libmagic/perl-file-libmagic.info b/perl/perl-file-libmagic/perl-file-libmagic.info index 4764d2f5d2..e7b1f2c545 100644 --- a/perl/perl-file-libmagic/perl-file-libmagic.info +++ b/perl/perl-file-libmagic/perl-file-libmagic.info @@ -1,10 +1,12 @@ PRGNAM="perl-file-libmagic" -VERSION="1.16" +VERSION="1.23" HOMEPAGE="https://metacpan.org/pod/File::LibMagic" -DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/File-LibMagic-1.16.tar.gz" -MD5SUM="de0cc720d1599428be01a7fa50a5cc5b" +DOWNLOAD="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/File-LibMagic-1.23.tar.gz \ + https://fastapi.metacpan.org/source/REHSACK/Config-AutoConf-0.313/lib/Config/AutoConf.pm" +MD5SUM="7782e6f80a67c931a2682145eca6e832 \ + 233a630ea2ce0e7fdb2adcbb72896002" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="perl-Capture-Tiny" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-file-listing/README b/perl/perl-file-listing/README index a76cfefbaa..39d1843588 100644 --- a/perl/perl-file-listing/README +++ b/perl/perl-file-listing/README @@ -1,23 +1,31 @@ -This module exports a single function called parse_dir(), which can -be used to parse directory listings. +This module exports a single function called parse_dir(), which can be +used to parse directory listings. + The first parameter to parse_dir() is the directory listing to parse. It can be a scalar, a reference to an array of directory lines or a glob representing a filehandle to read the directory listing from. + The second parameter is the time zone to use when parsing time stamps in the listing. If this value is undefined, then the local time zone is assumed. + The third parameter is the type of listing to assume. Currently supported formats are 'unix', 'apache' and 'dosftp'. The default value 'unix'. Ideally, the listing type should be determined automatically. -The fourth parameter specifies how unparseable lines should be treated. -Values can be 'ignore', 'warn' or a code reference. Warn means that the -perl warn() function will be called. If a code reference is passed, then -this routine will be called and the return value from it will be incorporated -in the listing. The default is 'ignore'. + +The fourth parameter specifies how unparseable lines should be +treated. Values can be 'ignore', 'warn' or a code reference. Warn +means that the perl warn() function will be called. If a code +reference is passed, then this routine will be called and the return +value from it will be incorporated in the listing. The default is +'ignore'. + Only the first parameter is mandatory. -The return value from parse_dir() is a list of directory entries. In a scalar -context the return value is a reference to the list. The directory entries -are represented by an array consisting of [ $filename, $filetype, $filesize, -$filetime, $filemode ]. The $filetype value is one of the letters 'f', 'd', -'l' or '?'. The $filetime value is the seconds since Jan 1, 1970. The -$filemode is a bitmask like the mode returned by stat(). + +The return value from parse_dir() is a list of directory entries. In +a scalar context the return value is a reference to the list. The +directory entries are represented by an array consisting of [ +$filename, $filetype, $filesize, $filetime, $filemode ]. The $filetype +value is one of the letters 'f', 'd', 'l' or '?'. The $filetime value +is the seconds since Jan 1, 1970. The $filemode is a bitmask like the +mode returned by stat(). diff --git a/perl/perl-file-listing/perl-file-listing.SlackBuild b/perl/perl-file-listing/perl-file-listing.SlackBuild index 13368d03d9..ee3459da46 100644 --- a/perl/perl-file-listing/perl-file-listing.SlackBuild +++ b/perl/perl-file-listing/perl-file-listing.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-file-listing @@ -22,10 +22,13 @@ # 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-listing -VERSION=${VERSION:-6.04} +VERSION=${VERSION:-6.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,13 +38,20 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} SRCNAM=File-Listing -DOCFILES="Changes README" +DOCFILES="Changes README Changes.original INSTALL LICENSE" set -e @@ -84,4 +94,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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/README b/perl/perl-file-mimeinfo/README index 48be226d50..1ed76a8265 100644 --- a/perl/perl-file-mimeinfo/README +++ b/perl/perl-file-mimeinfo/README @@ -1,4 +1,5 @@ perl-file-mimeinfo (File::MimeInfo - Determine file type) This module can be used to determine the mime type of a file. -It tries to implement the freedesktop specification for a shared MIME database. +It tries to implement the freedesktop specification for a shared MIME +database. diff --git a/perl/perl-file-mimeinfo/perl-file-mimeinfo.SlackBuild b/perl/perl-file-mimeinfo/perl-file-mimeinfo.SlackBuild index 03ae8f7826..ea6b838f70 100644 --- a/perl/perl-file-mimeinfo/perl-file-mimeinfo.SlackBuild +++ b/perl/perl-file-mimeinfo/perl-file-mimeinfo.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-file-mimeinfo. # -# Copyright 2015-2018 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 @@ -22,10 +22,13 @@ # 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-mimeinfo -VERSION=${VERSION:-0.29} +VERSION=${VERSION:-0.34} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-file-mimeinfo/perl-file-mimeinfo.info b/perl/perl-file-mimeinfo/perl-file-mimeinfo.info index 110526b995..78773f8187 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.29" +VERSION="0.34" HOMEPAGE="https://metacpan.org/pod/File::MimeInfo" -DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MI/MICHIELB/File-MimeInfo-0.29.tar.gz" -MD5SUM="cbd870b04c528eee2ad36706cd2d12d5" +DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MI/MICHIELB/File-MimeInfo-0.34.tar.gz" +MD5SUM="31be1ac5233a7e2636e952fb4dcde9e0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-file-basedir perl-file-desktopentry" +REQUIRES="perl-file-desktopentry perl-encode-locale" MAINTAINER="Edinaldo P. Silva" EMAIL="edps.mundognu@gmail.com" diff --git a/perl/perl-file-path-expand/perl-file-path-expand.SlackBuild b/perl/perl-file-path-expand/perl-file-path-expand.SlackBuild index 7e1dcfeda4..33991711d6 100644 --- a/perl/perl-file-path-expand/perl-file-path-expand.SlackBuild +++ b/perl/perl-file-path-expand/perl-file-path-expand.SlackBuild @@ -1,14 +1,17 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-file-path-expand # Written by Pablo Santamaria (pablosantamaria@gmail.com) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-file-path-expand SRCNAM=File-Path-Expand VERSION=${VERSION:-1.02} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -18,7 +21,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -83,4 +93,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-file-slurper/perl-file-slurper.SlackBuild b/perl/perl-file-slurper/perl-file-slurper.SlackBuild index 70af24f214..190a7a49b1 100644 --- a/perl/perl-file-slurper/perl-file-slurper.SlackBuild +++ b/perl/perl-file-slurper/perl-file-slurper.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-file-slurper @@ -22,10 +22,13 @@ # 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-slurper -VERSION=${VERSION:-0.012} +VERSION=${VERSION:-0.014} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -83,4 +93,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-file-slurper/slack-desc b/perl/perl-file-slurper/slack-desc index f3aa6a6ee5..fdeca2acca 100644 --- a/perl/perl-file-slurper/slack-desc +++ b/perl/perl-file-slurper/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| perl-file-slurper: perl-file-slurper (perl module) perl-file-slurper: -perl-file-slurper: +perl-file-slurper: perl-file-slurper: A simple, sane and efficient module to slurp a file -perl-file-slurper: -perl-file-slurper: -perl-file-slurper: -perl-file-slurper: -perl-file-slurper: -perl-file-slurper: -perl-file-slurper: +perl-file-slurper: +perl-file-slurper: +perl-file-slurper: +perl-file-slurper: +perl-file-slurper: +perl-file-slurper: +perl-file-slurper: diff --git a/perl/perl-glib/perl-glib.SlackBuild b/perl/perl-glib/perl-glib.SlackBuild index d251c709d0..eb23dbe77d 100644 --- a/perl/perl-glib/perl-glib.SlackBuild +++ b/perl/perl-glib/perl-glib.SlackBuild @@ -1,11 +1,11 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-glib. # # (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. # @@ -26,10 +26,13 @@ # 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-glib -VERSION=${VERSION:-1.3292} +VERSION=${VERSION:-1.3294} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-glib/perl-glib.info b/perl/perl-glib/perl-glib.info index fe803b02cc..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.3292" +VERSION="1.3294" HOMEPAGE="https://metacpan.org/pod/Glib" -DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Glib-1.3292.tar.gz" -MD5SUM="9fcd0fbb16f35a6bef0827e83d68da04" +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/perl-gnome2-canvas.SlackBuild b/perl/perl-gnome2-canvas/perl-gnome2-canvas.SlackBuild index e9760c60d8..3b9f550417 100644 --- a/perl/perl-gnome2-canvas/perl-gnome2-canvas.SlackBuild +++ b/perl/perl-gnome2-canvas/perl-gnome2-canvas.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-gnome2-canvas. # @@ -26,10 +26,13 @@ # 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-gnome2-canvas VERSION=${VERSION:-1.002} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -102,4 +112,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-gnome2-gconf/perl-gnome2-gconf.SlackBuild b/perl/perl-gnome2-gconf/perl-gnome2-gconf.SlackBuild index e6bdcdbab9..7c1098f4fd 100644 --- a/perl/perl-gnome2-gconf/perl-gnome2-gconf.SlackBuild +++ b/perl/perl-gnome2-gconf/perl-gnome2-gconf.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-gnome2-gconf. # @@ -25,10 +25,13 @@ # 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-gnome2-gconf -VERSION=${VERSION:-1.044} +VERSION=${VERSION:-1.047} BUILD=${BUILD:-4} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -105,4 +115,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-gnome2-gconf/perl-gnome2-gconf.info b/perl/perl-gnome2-gconf/perl-gnome2-gconf.info index bd7edbca73..3571f5e8b7 100644 --- a/perl/perl-gnome2-gconf/perl-gnome2-gconf.info +++ b/perl/perl-gnome2-gconf/perl-gnome2-gconf.info @@ -1,10 +1,10 @@ PRGNAM="perl-gnome2-gconf" -VERSION="1.044" +VERSION="1.047" HOMEPAGE="https://metacpan.org/pod/Gnome2::GConf" -DOWNLOAD="https://cpan.metacpan.org/authors/id/T/TS/TSCH/Gnome2-GConf-1.044.tar.gz" -MD5SUM="ea386003b18f067524833b0eeb271330" +DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Gnome2-GConf-1.047.tar.gz" +MD5SUM="88540ac900f4201b4fe1565f4de8ca93" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-glib" -MAINTAINER="orphaned - no maintainer" -EMAIL="nobody@nowhere" +MAINTAINER="Cristiano Urban" +EMAIL="cristiano.urban.slack@gmail.com" diff --git a/perl/perl-gnome2-vfs/perl-gnome2-vfs.SlackBuild b/perl/perl-gnome2-vfs/perl-gnome2-vfs.SlackBuild index f96c15fa51..8e726952a5 100644 --- a/perl/perl-gnome2-vfs/perl-gnome2-vfs.SlackBuild +++ b/perl/perl-gnome2-vfs/perl-gnome2-vfs.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-gnome2-vfs. # @@ -26,10 +26,13 @@ # 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-gnome2-vfs VERSION=${VERSION:-1.083} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-gnome2-wnck/perl-gnome2-wnck.SlackBuild b/perl/perl-gnome2-wnck/perl-gnome2-wnck.SlackBuild index 4acd9f615f..fc7de3aecb 100644 --- a/perl/perl-gnome2-wnck/perl-gnome2-wnck.SlackBuild +++ b/perl/perl-gnome2-wnck/perl-gnome2-wnck.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-gnome2-wnck. # @@ -26,10 +26,13 @@ # 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-gnome2-wnck VERSION=${VERSION:-0.16} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -104,4 +114,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-gnome2/perl-gnome2.SlackBuild b/perl/perl-gnome2/perl-gnome2.SlackBuild index 364996e614..4e31dbcffc 100644 --- a/perl/perl-gnome2/perl-gnome2.SlackBuild +++ b/perl/perl-gnome2/perl-gnome2.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-gnome2. # @@ -26,10 +26,13 @@ # 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-gnome2 VERSION=${VERSION:-1.047} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-goo-canvas/perl-goo-canvas.SlackBuild b/perl/perl-goo-canvas/perl-goo-canvas.SlackBuild index afa5b07832..a4f948ae88 100644 --- a/perl/perl-goo-canvas/perl-goo-canvas.SlackBuild +++ b/perl/perl-goo-canvas/perl-goo-canvas.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-goo-canvas @@ -24,10 +24,13 @@ # 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-goo-canvas VERSION=${VERSION:-0.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Goo-Canvas @@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-gstreamer/perl-gstreamer.SlackBuild b/perl/perl-gstreamer/perl-gstreamer.SlackBuild index 5556f153f8..7f4aed64bc 100644 --- a/perl/perl-gstreamer/perl-gstreamer.SlackBuild +++ b/perl/perl-gstreamer/perl-gstreamer.SlackBuild @@ -1,29 +1,39 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-gstreamer +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-gstreamer VERSION=${VERSION:-0.19} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=GStreamer if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -79,4 +89,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-gstreamer/perl-gstreamer.info b/perl/perl-gstreamer/perl-gstreamer.info index be219a9b86..b75aa6bb16 100644 --- a/perl/perl-gstreamer/perl-gstreamer.info +++ b/perl/perl-gstreamer/perl-gstreamer.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/GStreamer-0.19.tar.gz" MD5SUM="886bc1f553fa288ca86842332ddadd8e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-glib" +REQUIRES="perl-glib gstreamer0" MAINTAINER="chinarulezzz" EMAIL="s.alex08@mail.ru" diff --git a/perl/perl-gtk2-imageview/perl-gtk2-imageview.SlackBuild b/perl/perl-gtk2-imageview/perl-gtk2-imageview.SlackBuild index 02f75188ca..4521cb7082 100644 --- a/perl/perl-gtk2-imageview/perl-gtk2-imageview.SlackBuild +++ b/perl/perl-gtk2-imageview/perl-gtk2-imageview.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-gtk2-imageview. # @@ -26,10 +26,13 @@ # 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-gtk2-imageview VERSION=${VERSION:-0.05} BUILD=${BUILD:-3} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -103,4 +113,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-gtk2/perl-gtk2.SlackBuild b/perl/perl-gtk2/perl-gtk2.SlackBuild index 646ebcf023..af4ae5594d 100644 --- a/perl/perl-gtk2/perl-gtk2.SlackBuild +++ b/perl/perl-gtk2/perl-gtk2.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-gtk2. # @@ -26,10 +26,13 @@ # 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-gtk2 VERSION=${VERSION:-1.24993} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -102,4 +112,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-html-form/perl-html-form.SlackBuild b/perl/perl-html-form/perl-html-form.SlackBuild index 47f647c66a..a02769e550 100644 --- a/perl/perl-html-form/perl-html-form.SlackBuild +++ b/perl/perl-html-form/perl-html-form.SlackBuild @@ -1,11 +1,12 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-html-form -# Copyright 2012 Binh Nguyen <binhvng@gmail.com> +# Copyright 2020 Donald Cooley, South Haven, Indiana, USA +# Copyright 2012 Binh Nguyen # All rights reserved. # -# Adopted 2014 Glenn Becker <glenn.becker@gmail.com> +# Adopted 2014 Glenn Becker # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -24,10 +25,13 @@ # 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-html-form -VERSION=${VERSION:-6.03} +VERSION=${VERSION:-6.07} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=HTML-Form @@ -39,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -93,11 +104,11 @@ 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 INSTALL LICENSE $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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-html-form/perl-html-form.info b/perl/perl-html-form/perl-html-form.info index 08b78f872c..79e9e18c1a 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.03" +VERSION="6.07" HOMEPAGE="https://metacpan.org/pod/HTML::Form" -DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GA/GAAS/HTML-Form-6.03.tar.gz" -MD5SUM="fa6c2680207ed4fef5ea2ef09c210614" +DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTML-Form-6.07.tar.gz" +MD5SUM="71718750e6a2132b50eeca417a55e18e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-http-message" MAINTAINER="Donald Cooley" -EMAIL="chytraeus@protonmail.com" +EMAIL="chytraeu@sdf.org" diff --git a/perl/perl-html-parser/README b/perl/perl-html-parser/README index eeddd5e5a6..464e87b713 100644 --- a/perl/perl-html-parser/README +++ b/perl/perl-html-parser/README @@ -1,6 +1,6 @@ perl-html-parser - perl html parser module collection -This is a collection of perl modules that parse and extract information from -HTML documents. The modules present in this collection are: HTML::Parser, -HTML::Entities, HTML::HeadParser, HTML::LinkExtor, HTML::PullParser, and -HTML::TokeParser. +This is a collection of perl modules that parse and extract +information from HTML documents. The modules present in this +collection are: HTML::Parser, HTML::Entities, HTML::HeadParser, +HTML::LinkExtor, HTML::PullParser, and HTML::TokeParser. diff --git a/perl/perl-html-parser/perl-html-parser.SlackBuild b/perl/perl-html-parser/perl-html-parser.SlackBuild index 884c4d23b3..09e565c957 100644 --- a/perl/perl-html-parser/perl-html-parser.SlackBuild +++ b/perl/perl-html-parser/perl-html-parser.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-html-parser @@ -22,20 +22,30 @@ # 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-html-parser -VERSION=${VERSION:-3.71} +VERSION=${VERSION:-3.82} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -44,8 +54,8 @@ SRCNAM=HTML-Parser DOCFILES="TODO Changes README" # LIBDIRSUFFIX not used -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +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 @@ -98,4 +108,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 87e7d36947..40e415371b 100644 --- a/perl/perl-html-tagset/perl-html-tagset.SlackBuild +++ b/perl/perl-html-tagset/perl-html-tagset.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-html-tagset @@ -23,26 +23,36 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +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} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} -DOCFILES="Changes README" +DOCFILES="Changes README.md" set -e # exit on most errors @@ -92,4 +102,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 9e06a3505c..d8e61a0dc1 100644 --- a/perl/perl-http-cookies/perl-http-cookies.SlackBuild +++ b/perl/perl-http-cookies/perl-http-cookies.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-http-cookies @@ -22,10 +22,13 @@ # 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-cookies -VERSION=${VERSION:-6.01} +VERSION=${VERSION:-6.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,13 +38,20 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} SRCNAM=HTTP-Cookies -DOCFILES="Changes README" +DOCFILES="Changes README.md LICENSE INSTALL CONTRIBUTORS" set -e @@ -84,4 +94,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 fa670d576a..6c5d8225c7 100644 --- a/perl/perl-http-daemon/perl-http-daemon.SlackBuild +++ b/perl/perl-http-daemon/perl-http-daemon.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-http-daemon @@ -22,10 +22,13 @@ # 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-daemon -VERSION=${VERSION:-6.01} +VERSION=${VERSION:-6.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,13 +38,20 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} SRCNAM=HTTP-Daemon -DOCFILES="Changes README" +DOCFILES="Changes README LICENCE INSTALL CONTRIBUTING" set -e @@ -84,4 +94,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 49903f17d4..f5264ee8ef 100644 --- a/perl/perl-http-date/perl-http-date.SlackBuild +++ b/perl/perl-http-date/perl-http-date.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-http-date @@ -22,26 +22,36 @@ # 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-date -VERSION=${VERSION:-6.02} +VERSION=${VERSION:-6.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} SRCNAM=HTTP-Date -DOCFILES="Changes README" +DOCFILES="Changes README.md LICENSE INSTALL CONTRIBUTORS" set -e @@ -81,4 +91,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 953c734e2f..3309b4739e 100644 --- a/perl/perl-http-message/perl-http-message.SlackBuild +++ b/perl/perl-http-message/perl-http-message.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-http-message @@ -22,26 +22,36 @@ # 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-message -VERSION=${VERSION:-6.11} -BUILD=${BUILD:-1} +VERSION=${VERSION:-6.45} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} SRCNAM=HTTP-Message -DOCFILES="Changes README" +DOCFILES="Changes README.md LICENSE INSTALL CONTRIBUTORS CONTRIBUTING.md" set -e @@ -83,4 +93,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-http-message/perl-http-message.info b/perl/perl-http-message/perl-http-message.info index 9128eb195b..6e1561d2c6 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.45" 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.45.tar.gz" +MD5SUM="86c386bcc85a63c8908e6ae9967b34ee" 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-negotiate/perl-http-negotiate.SlackBuild b/perl/perl-http-negotiate/perl-http-negotiate.SlackBuild index 4938b1fdcd..94509846c4 100644 --- a/perl/perl-http-negotiate/perl-http-negotiate.SlackBuild +++ b/perl/perl-http-negotiate/perl-http-negotiate.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-http-negotiate @@ -22,10 +22,13 @@ # 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-negotiate VERSION=${VERSION:-6.01} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -84,4 +94,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-http-response-encoding/perl-http-response-encoding.SlackBuild b/perl/perl-http-response-encoding/perl-http-response-encoding.SlackBuild index 85f27ad929..4591b888bd 100644 --- a/perl/perl-http-response-encoding/perl-http-response-encoding.SlackBuild +++ b/perl/perl-http-response-encoding/perl-http-response-encoding.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-http-response-encoding @@ -24,10 +24,13 @@ # 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-response-encoding VERSION=${VERSION:-0.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=HTTP-Response-Encoding @@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-http-server-simple/perl-http-server-simple.SlackBuild b/perl/perl-http-server-simple/perl-http-server-simple.SlackBuild index c808be6e08..9edca8e8ae 100644 --- a/perl/perl-http-server-simple/perl-http-server-simple.SlackBuild +++ b/perl/perl-http-server-simple/perl-http-server-simple.SlackBuild @@ -1,11 +1,12 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-http-server-simple -# Copyright 2010-2011 Binh Nguyen <binhvng@gmail.com> +# Copyright 2020 Donald Cooley, South Haven, Indiana, USA +# Copyright 2010-2011 Binh Nguyen # All rights reserved. # -# Adopted 2014 Glenn Becker <glenn.becker@gmail.com> +# Adopted 2014 Glenn Becker # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -24,10 +25,13 @@ # 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-server-simple -VERSION=${VERSION:-0.51} +VERSION=${VERSION:-0.52} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=HTTP-Server-Simple @@ -39,7 +43,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-http-server-simple/perl-http-server-simple.info b/perl/perl-http-server-simple/perl-http-server-simple.info index a99c9a949e..5a90f029f7 100644 --- a/perl/perl-http-server-simple/perl-http-server-simple.info +++ b/perl/perl-http-server-simple/perl-http-server-simple.info @@ -1,10 +1,10 @@ PRGNAM="perl-http-server-simple" -VERSION="0.51" +VERSION="0.52" HOMEPAGE="https://metacpan.org/pod/HTTP::Server::Simple" -DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BP/BPS/HTTP-Server-Simple-0.51.tar.gz" -MD5SUM="ef736daddc7a32a29207fa4ed5f5d62e" +DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BP/BPS/HTTP-Server-Simple-0.52.tar.gz" +MD5SUM="1e23935491d9a2a8b0ba636462255656" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-CGI" MAINTAINER="Donald Cooley" -EMAIL="chytraeus@protonmail.com" +EMAIL="chytraeu@sdf.org" diff --git a/perl/perl-http-tiny/README b/perl/perl-http-tiny/README index e54fbf41a0..7d2ec42239 100644 --- a/perl/perl-http-tiny/README +++ b/perl/perl-http-tiny/README @@ -1,13 +1,13 @@ - HTTP::Tiny - A small, simple, correct HTTP/1.1 client +HTTP::Tiny - A small, simple, correct HTTP/1.1 client - This is a very simple HTTP/1.1 client, designed for doing simple - requests without the overhead of a large framework like LWP::UserAgent. +This is a very simple HTTP/1.1 client, designed for doing simple +requests without the overhead of a large framework like LWP::UserAgent. - It is more correct and more complete than HTTP::Lite. It supports - proxies and redirection. It also correctly resumes after EINTR. +It is more correct and more complete than HTTP::Lite. It supports +proxies and redirection. It also correctly resumes after EINTR. - If IO::Socket::IP 0.25 or later is installed, HTTP::Tiny will use it - instead of IO::Socket::INET for transparent support for both IPv4 and - IPv6. +If IO::Socket::IP 0.25 or later is installed, HTTP::Tiny will use it +instead of IO::Socket::INET for transparent support for both IPv4 and +IPv6. - Cookie support requires HTTP::CookieJar or an equivalent class. +Cookie support requires HTTP::CookieJar or an equivalent class. diff --git a/perl/perl-http-tiny/perl-http-tiny.SlackBuild b/perl/perl-http-tiny/perl-http-tiny.SlackBuild index 14634bc0f9..cbfa9b678c 100644 --- a/perl/perl-http-tiny/perl-http-tiny.SlackBuild +++ b/perl/perl-http-tiny/perl-http-tiny.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-http-tiny @@ -22,23 +22,33 @@ # 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-tiny -VERSION=${VERSION:-0.076} +VERSION=${VERSION:-0.082} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=HTTP-Tiny DOCFILES="Changes README" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -83,4 +93,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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/perl-image-bmp.SlackBuild b/perl/perl-image-bmp/perl-image-bmp.SlackBuild index bc68877376..26523d47a2 100644 --- a/perl/perl-image-bmp/perl-image-bmp.SlackBuild +++ b/perl/perl-image-bmp/perl-image-bmp.SlackBuild @@ -1,19 +1,26 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-image-bmp -# Written by B. Watson (yalhcru@gmail.com) +# 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-image-bmp VERSION=${VERSION:-1.19} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -CWD=$(pwd) +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} @@ -29,11 +36,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 \ @@ -63,4 +67,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-image-bmp/perl-image-bmp.info b/perl/perl-image-bmp/perl-image-bmp.info index a531427a60..8f27d7b308 100644 --- a/perl/perl-image-bmp/perl-image-bmp.info +++ b/perl/perl-image-bmp/perl-image-bmp.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-inc-latest/README b/perl/perl-inc-latest/README index 410d751aa4..5916dffc28 100644 --- a/perl/perl-inc-latest/README +++ b/perl/perl-inc-latest/README @@ -1,12 +1,14 @@ -perl-inc-latest (use modules bundled in inc/ if newer than installed ones) +perl-inc-latest (use modules bundled in inc/ if newer than installed +ones) WARNING -- THIS IS AN EXPERIMENTAL MODULE. It was originally bundled (as an experiment) with Module::Build and has been split out for more general use. -The inc::latest module helps bootstrap configure-time dependencies for the -CPAN distributions. These dependencies get bundled into the inc directory -within a Thedistribution and are used by Makefile.PL or Build.PL. +The inc::latest module helps bootstrap configure-time dependencies +for the CPAN distributions. These dependencies get bundled into the +inc directory within a Thedistribution and are used by Makefile.PL or +Build.PL. Optional dependencie: perl-ExtUtils-Install diff --git a/perl/perl-inc-latest/perl-inc-latest.SlackBuild b/perl/perl-inc-latest/perl-inc-latest.SlackBuild index 3af9cd37bd..f188119e86 100644 --- a/perl/perl-inc-latest/perl-inc-latest.SlackBuild +++ b/perl/perl-inc-latest/perl-inc-latest.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-inc-latest. # Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil. @@ -21,28 +21,38 @@ # 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-inc-latest VERSION=${VERSION:-0.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=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -100,4 +110,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-inc-module-install/perl-inc-module-install.SlackBuild b/perl/perl-inc-module-install/perl-inc-module-install.SlackBuild index b230ae0297..5b28bf417a 100644 --- a/perl/perl-inc-module-install/perl-inc-module-install.SlackBuild +++ b/perl/perl-inc-module-install/perl-inc-module-install.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-inc-module-install @@ -22,23 +22,33 @@ # 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-inc-module-install VERSION=${VERSION:-1.19} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Module-Install DOCFILES="Changes README" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -83,4 +93,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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 a02c8f5b60..69bd907266 100644 --- a/perl/perl-libintl/perl-libintl.SlackBuild +++ b/perl/perl-libintl/perl-libintl.SlackBuild @@ -1,29 +1,39 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-libintl # 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.23} -BUILD=${BUILD:-1} +VERSION=${VERSION:-1.32} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -45,33 +55,29 @@ 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 | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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.LESSER ChangeLog FAQ MANIFEST NEWS README* 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 cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-libintl/perl-libintl.info b/perl/perl-libintl/perl-libintl.info index 46333c36d8..6198a53a8a 100644 --- a/perl/perl-libintl/perl-libintl.info +++ b/perl/perl-libintl/perl-libintl.info @@ -1,8 +1,8 @@ PRGNAM="perl-libintl" -VERSION="1.23" +VERSION="1.32" HOMEPAGE="https://metacpan.org/release/libintl-perl" -DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GU/GUIDO/libintl-perl-1.23.tar.gz" -MD5SUM="2e79dc842af1c9efc14fbe6664dc89bf" +DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GU/GUIDO/libintl-perl-1.32.tar.gz" +MD5SUM="2bde66347614962a6f0f1bd1c36b5211" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-libnet/README b/perl/perl-libnet/README deleted file mode 100644 index 0b66c0e6c3..0000000000 --- a/perl/perl-libnet/README +++ /dev/null @@ -1,3 +0,0 @@ -libnet is a collection of Perl modules which provides a simple -and consistent programming interface (API) to the client side -of various protocols used in the internet community. diff --git a/perl/perl-libnet/libnet-3.08-Do-not-create-Net-libnet.cfg.patch b/perl/perl-libnet/libnet-3.08-Do-not-create-Net-libnet.cfg.patch deleted file mode 100644 index 911bc10fa8..0000000000 --- a/perl/perl-libnet/libnet-3.08-Do-not-create-Net-libnet.cfg.patch +++ /dev/null @@ -1,43 +0,0 @@ -From a40f2774eede8e65dd6128b45525ec88f469e031 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> -Date: Fri, 10 Jul 2015 13:02:00 +0200 -Subject: [PATCH 2/2] Do not create Net/libnet.cfg -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -I will remove the Net/libnet.cfg because: - -(1) it's content equals to default configuration hard-coded in the -code -(2) it's kind of configuration file we do not mark it as a configuration -file, so it's overwritten on each update -(3) it's loaded from directory based on Net::Config module location. -I.e. core module will search it in core path, vendor module in vendor -path and site module in site path. - -perl.spec does not provide it either. - -<https://bugzilla.redhat.com/show_bug.cgi?id=1238689> - -Signed-off-by: Petr PÃsaÅ™ <ppisar@redhat.com> ---- - Makefile.PL | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile.PL b/Makefile.PL -index 64d6959..25fc626 100644 ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -235,7 +235,7 @@ MAIN: { - sub MY::post_initialize { - my $self = shift; - -- return '' if $self->{PERL_CORE}; -+ return ''; - - if (not -f $CfgFile) { - my @args = qw(Configure); --- -2.5.0 - diff --git a/perl/perl-libnet/perl-libnet.info b/perl/perl-libnet/perl-libnet.info deleted file mode 100644 index b43abac717..0000000000 --- a/perl/perl-libnet/perl-libnet.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-libnet" -VERSION="3.11" -HOMEPAGE="https://metacpan.org/release/libnet" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SH/SHAY/libnet-3.11.tar.gz" -MD5SUM="f4fdfa0906bf2ad5ac3c74c3860eb029" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="perl-IO-Socket-SSL" -MAINTAINER="Matteo Bernardini" -EMAIL="ponce@slackbuilds.org" diff --git a/perl/perl-libnet/slack-desc b/perl/perl-libnet/slack-desc deleted file mode 100644 index faf8be5984..0000000000 --- a/perl/perl-libnet/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-libnet: perl-libnet (perl net modules) -perl-libnet: -perl-libnet: libnet is a collection of Perl modules which provides a simple -perl-libnet: and consistent programming interface (API) to the client side -perl-libnet: of various protocols used in the internet community. -perl-libnet: -perl-libnet: homepage: https://metacpan.org/release/libnet -perl-libnet: -perl-libnet: -perl-libnet: -perl-libnet: 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 cda1031021..368532ca92 100644 --- a/perl/perl-linux-desktop-files/perl-linux-desktop-files.SlackBuild +++ b/perl/perl-linux-desktop-files/perl-linux-desktop-files.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-linux-desktop-files # @@ -22,38 +22,28 @@ # 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 +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 fi -CWD=$(pwd) 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" @@ -65,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 \ @@ -78,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" \ @@ -97,4 +81,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-lirc-client/perl-lirc-client.SlackBuild b/perl/perl-lirc-client/perl-lirc-client.SlackBuild index d458a01fd3..67d6ef4861 100644 --- a/perl/perl-lirc-client/perl-lirc-client.SlackBuild +++ b/perl/perl-lirc-client/perl-lirc-client.SlackBuild @@ -1,14 +1,17 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-lirc-client # Written by Pablo Santamaria (pablosantamaria@gmail.com) +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-lirc-client SRCNAM=Lirc-Client VERSION=${VERSION:-2.02} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -18,7 +21,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -88,4 +98,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-lirc-client/perl-lirc-client.info b/perl/perl-lirc-client/perl-lirc-client.info index e16068d8b7..2fb49df6c0 100644 --- a/perl/perl-lirc-client/perl-lirc-client.info +++ b/perl/perl-lirc-client/perl-lirc-client.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/M/MG/MGRIMES/Lirc-Client-2.02.tar MD5SUM="f7cb8ef0152ea615a48a4abfe604afb6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Moo perl-class-accessor perl-file-path-expand perl-Module-Build" +REQUIRES="perl-class-accessor perl-file-path-expand perl-Module-Build" MAINTAINER="Ryan S. Northrup" EMAIL="northrup@yellowapple.us" diff --git a/perl/perl-local-lib/perl-local-lib.SlackBuild b/perl/perl-local-lib/perl-local-lib.SlackBuild index 1d74dc4273..3c64e6961f 100644 --- a/perl/perl-local-lib/perl-local-lib.SlackBuild +++ b/perl/perl-local-lib/perl-local-lib.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-local-lib @@ -22,10 +22,13 @@ # 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-local-lib VERSION=${VERSION:-2.000024} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -95,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-lwp-mediatypes/perl-lwp-mediatypes.SlackBuild b/perl/perl-lwp-mediatypes/perl-lwp-mediatypes.SlackBuild index 6b36de2d69..e906318221 100644 --- a/perl/perl-lwp-mediatypes/perl-lwp-mediatypes.SlackBuild +++ b/perl/perl-lwp-mediatypes/perl-lwp-mediatypes.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-lwp-mediatypes @@ -22,10 +22,13 @@ # 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-lwp-mediatypes -VERSION=${VERSION:-6.02} +VERSION=${VERSION:-6.04} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,13 +38,20 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} SRCNAM=LWP-MediaTypes -DOCFILES="Changes README" +DOCFILES="Changes README INSTALL LICENSE" set -e @@ -84,4 +94,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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/README b/perl/perl-lwp-useragent-cached/README index e3700fdfc6..22114401da 100644 --- a/perl/perl-lwp-useragent-cached/README +++ b/perl/perl-lwp-useragent-cached/README @@ -1,5 +1,6 @@ perl-lwp-useragent-cached (LWP::UserAgent caching mechanism) -LWP::UserAgent::Cached is yet another LWP::UserAgent subclass with cache -support. It stores cache in the files on local filesystem and if response -already available in the cache returns it instead of making HTTP request. +LWP::UserAgent::Cached is yet another LWP::UserAgent subclass with +cache support. It stores cache in the files on local filesystem and if +response already available in the cache returns it instead of making +HTTP request. 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 77620c6d3a..f51a7df887 100644 --- a/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild +++ b/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.SlackBuild @@ -1,43 +1,31 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-lwp-useragent-cached -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) # 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} +ARCH=noarch -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 fi -CWD=$(pwd) 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" @@ -83,4 +71,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.info b/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.info index 1f283a96ca..da783f6843 100644 --- a/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.info +++ b/perl/perl-lwp-useragent-cached/perl-lwp-useragent-cached.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libwww-perl" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-namespace-autoclean/perl-namespace-autoclean.SlackBuild b/perl/perl-namespace-autoclean/perl-namespace-autoclean.SlackBuild index dcc1a48657..e7e68f9c2e 100644 --- a/perl/perl-namespace-autoclean/perl-namespace-autoclean.SlackBuild +++ b/perl/perl-namespace-autoclean/perl-namespace-autoclean.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-namespace-autoclean @@ -22,16 +22,26 @@ # 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-namespace-autoclean -VERSION=${VERSION:-0.28} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.29} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -76,4 +86,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-namespace-autoclean/perl-namespace-autoclean.info b/perl/perl-namespace-autoclean/perl-namespace-autoclean.info index 61745b2583..48b72d0259 100644 --- a/perl/perl-namespace-autoclean/perl-namespace-autoclean.info +++ b/perl/perl-namespace-autoclean/perl-namespace-autoclean.info @@ -1,10 +1,10 @@ PRGNAM="perl-namespace-autoclean" -VERSION="0.28" +VERSION="0.29" HOMEPAGE="https://metacpan.org/pod/namespace::autoclean" -DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/namespace-autoclean-0.28.tar.gz" -MD5SUM="9746a73c34f294d663c583f857b8648f" +DOWNLOAD="https://cpan.metacpan.org/authors/id/E/ET/ETHER/namespace-autoclean-0.29.tar.gz" +MD5SUM="39b38c776cd1f0ee03cc70781a2f2798" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-B-Hooks-EndOfScope perl-Sub-Identify perl-namespace-clean perl-Sub-Name" +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-namespace-clean/perl-namespace-clean.SlackBuild b/perl/perl-namespace-clean/perl-namespace-clean.SlackBuild index cd36b78c26..7ef74cc98a 100644 --- a/perl/perl-namespace-clean/perl-namespace-clean.SlackBuild +++ b/perl/perl-namespace-clean/perl-namespace-clean.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-namespace-clean @@ -22,16 +22,26 @@ # 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-namespace-clean VERSION=${VERSION:-0.27} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" ARCH=noarch -CWD=$(pwd) +# 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} @@ -76,4 +86,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-net-dbus/perl-net-dbus.SlackBuild b/perl/perl-net-dbus/perl-net-dbus.SlackBuild index f0b49d26d5..65ccfb82ac 100644 --- a/perl/perl-net-dbus/perl-net-dbus.SlackBuild +++ b/perl/perl-net-dbus/perl-net-dbus.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-net-dbus. # @@ -25,10 +25,13 @@ # 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-dbus VERSION=${VERSION:-1.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -101,4 +111,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-net-dns/perl-net-dns.SlackBuild b/perl/perl-net-dns/perl-net-dns.SlackBuild index db697f457a..e96faaaeff 100644 --- a/perl/perl-net-dns/perl-net-dns.SlackBuild +++ b/perl/perl-net-dns/perl-net-dns.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-net-dns @@ -22,30 +22,40 @@ # 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 -VERSION=${VERSION:-1.06} +VERSION=${VERSION:-1.44} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} SRCNAM=Net-DNS -DOCFILES="Changes README" +DOCFILES="Changes README LICENSE" # LIBDIRSUFFIX not used -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +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 @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-net-dns/perl-net-dns.info b/perl/perl-net-dns/perl-net-dns.info index c4638b9728..7a20c7800e 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.44" 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.44.tar.gz" +MD5SUM="e4694815daeeb6f7ac80e0a1fec6839b" 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 e4961f94ef..5925856154 100644 --- a/perl/perl-net-http/perl-net-http.SlackBuild +++ b/perl/perl-net-http/perl-net-http.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-net-http @@ -22,26 +22,36 @@ # 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-http -VERSION=${VERSION:-6.09} +VERSION=${VERSION:-6.23} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} SRCNAM=Net-HTTP -DOCFILES="Changes README" +DOCFILES="Changes README.md LICENSE INSTALL CONTRIBUTORS" set -e @@ -83,4 +93,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-ip/perl-net-ip.SlackBuild b/perl/perl-net-ip/perl-net-ip.SlackBuild index 8452719d74..25f1b49eca 100644 --- a/perl/perl-net-ip/perl-net-ip.SlackBuild +++ b/perl/perl-net-ip/perl-net-ip.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-net-ip @@ -23,21 +23,31 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-net-ip SRC_PRGNAM=Net-IP VERSION=${VERSION:-1.26} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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} @@ -82,4 +92,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-net-mpd/perl-net-mpd.SlackBuild b/perl/perl-net-mpd/perl-net-mpd.SlackBuild index 488a461458..e2f70541ab 100644 --- a/perl/perl-net-mpd/perl-net-mpd.SlackBuild +++ b/perl/perl-net-mpd/perl-net-mpd.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-net-mpd @@ -22,10 +22,13 @@ # 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-mpd VERSION=${VERSION:-0.07} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -84,4 +94,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-palm-pdb/README b/perl/perl-palm-pdb/README index ba9ff80113..0342bc4d78 100644 --- a/perl/perl-palm-pdb/README +++ b/perl/perl-palm-pdb/README @@ -1,5 +1,6 @@ perl-palm-pdb (modules for PalmOS database files) -This distribution contains Palm::PDB and Palm::Raw, a pair of Perl 5 -modules for reading, manipulating, and writing the .pdb and .prc database -files used by PalmOS devices such as the PalmPilot and its successors. +This distribution contains Palm::PDB and Palm::Raw, a pair of Perl +5 modules for reading, manipulating, and writing the .pdb and .prc +database files used by PalmOS devices such as the PalmPilot and its +successors. diff --git a/perl/perl-palm-pdb/perl-palm-pdb.SlackBuild b/perl/perl-palm-pdb/perl-palm-pdb.SlackBuild index c69df3cbe6..49ccb7a067 100644 --- a/perl/perl-palm-pdb/perl-palm-pdb.SlackBuild +++ b/perl/perl-palm-pdb/perl-palm-pdb.SlackBuild @@ -1,19 +1,26 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-palm-pdb -# Written by B. Watson (yalhcru@gmail.com) +# 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-palm-pdb VERSION=${VERSION:-1.400} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -CWD=$(pwd) +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} @@ -29,11 +36,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 \ @@ -63,4 +67,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-palm-pdb/perl-palm-pdb.info b/perl/perl-palm-pdb/perl-palm-pdb.info index b5185713bf..f153c23a08 100644 --- a/perl/perl-palm-pdb/perl-palm-pdb.info +++ b/perl/perl-palm-pdb/perl-palm-pdb.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-pango/perl-pango.SlackBuild b/perl/perl-pango/perl-pango.SlackBuild index ed18c9a86b..639ce354ca 100644 --- a/perl/perl-pango/perl-pango.SlackBuild +++ b/perl/perl-pango/perl-pango.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-pango. # @@ -25,10 +25,13 @@ # 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-pango VERSION=${VERSION:-1.227} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -102,4 +112,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.SlackBuild b/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.SlackBuild index 02d2f2ed00..053ea901b2 100644 --- a/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.SlackBuild +++ b/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-parallel-forkmanager @@ -22,10 +22,13 @@ # 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-parallel-forkmanager VERSION=${VERSION:-2.02} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -96,4 +106,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.info b/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.info index f124b5591b..2cb190465f 100644 --- a/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.info +++ b/perl/perl-parallel-forkmanager/perl-parallel-forkmanager.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/dluxhu/perl-parallel-forkmanager/archive/v2.02/perl MD5SUM="351a3f044ddb0761eeef490c61ac0dd1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-Moo" +REQUIRES="perl-Role-Tiny perl-test-warn" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" diff --git a/perl/perl-rename/README b/perl/perl-rename/README deleted file mode 100644 index bb6abddd47..0000000000 --- a/perl/perl-rename/README +++ /dev/null @@ -1,6 +0,0 @@ -rename renames the filenames supplied according to the rule specified as -the first argument. The argument is a Perl expression which is expected -to modify the cat string for at least some of the filenames specified. -If a given filename is not modified by the expression, it will not be -renamed. If no filenames are given on the command line, filenames will -be read via standard input. diff --git a/perl/perl-rename/perl-rename.info b/perl/perl-rename/perl-rename.info deleted file mode 100644 index 138ac106b1..0000000000 --- a/perl/perl-rename/perl-rename.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="perl-rename" -VERSION="1.9" -HOMEPAGE="https://metacpan.org/source/PEDERST/rename-1.9/bin/rename.PL" -DOWNLOAD="https://cpan.metacpan.org/authors/id/P/PE/PEDERST/rename-1.9.tar.gz" -MD5SUM="16df2adde955a6867701564e3d7c6a52" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Azure Zanculmarktum" -EMAIL="zanculmarktum@gmail.com" diff --git a/perl/perl-rename/slack-desc b/perl/perl-rename/slack-desc deleted file mode 100644 index 628c4e6c4f..0000000000 --- a/perl/perl-rename/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-rename: perl-rename (renames multiple files) -perl-rename: -perl-rename: rename renames the filenames supplied according to the rule specified -perl-rename: as the first argument. The argument is a Perl expression which is -perl-rename: expected to modify the cat string for at least some of the filenames -perl-rename: specified. If a given filename is not modified by the expression, it -perl-rename: will not be renamed. If no filenames are given on the command line, -perl-rename: filenames will be read via standard input. -perl-rename: -perl-rename: -perl-rename: diff --git a/perl/perl-strictures/perl-strictures.SlackBuild b/perl/perl-strictures/perl-strictures.SlackBuild index 75d2e225ec..9b4eb90713 100644 --- a/perl/perl-strictures/perl-strictures.SlackBuild +++ b/perl/perl-strictures/perl-strictures.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-strictures @@ -22,10 +22,13 @@ # 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-strictures VERSION=${VERSION:-2.000006} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -97,4 +107,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-test-warn/perl-test-warn.SlackBuild b/perl/perl-test-warn/perl-test-warn.SlackBuild index ac32c378db..9ed81d4f02 100644 --- a/perl/perl-test-warn/perl-test-warn.SlackBuild +++ b/perl/perl-test-warn/perl-test-warn.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-test-warn @@ -23,10 +23,13 @@ # 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-warn VERSION=${VERSION:-0.36} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Test-Warn @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -83,4 +93,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-text-aspell/perl-text-aspell.SlackBuild b/perl/perl-text-aspell/perl-text-aspell.SlackBuild index 2460b9fb7a..aa0c75d423 100644 --- a/perl/perl-text-aspell/perl-text-aspell.SlackBuild +++ b/perl/perl-text-aspell/perl-text-aspell.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for "perl-text-aspell". @@ -24,27 +24,37 @@ # (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-aspell SRCNAM=Text-Aspell VERSION=${VERSION:-0.09} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -99,4 +109,4 @@ mkdir $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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-text-unaccent/README b/perl/perl-text-unaccent/README index 1167d43ea0..c4e2edd1a0 100644 --- a/perl/perl-text-unaccent/README +++ b/perl/perl-text-unaccent/README @@ -1,6 +1,10 @@ perl-text-unaccent (perl module to remove accents from a string) -Text::Unaccent is a module that remove accents from a string. unac_string -converts the input string from the specified charset to UTF-16 and call -unac_string_utf16 to return the unaccented equivalent. The conversion -from and to UTF-16 is done with iconv(1). +Text::Unaccent is a module that remove accents from a string. + +unac_string converts the input string from the specified charset +to UTF-16 and calls unac_string_utf16 to return the unaccented +equivalent. The conversion from and to UTF-16 is done with iconv(1). + +See also: system/unac, for a library and command-line tool that does +the same thing. diff --git a/perl/perl-text-unaccent/ligatures.diff b/perl/perl-text-unaccent/ligatures.diff new file mode 100644 index 0000000000..be5e834e20 --- /dev/null +++ b/perl/perl-text-unaccent/ligatures.diff @@ -0,0 +1,105 @@ +diff -Naur Text-Unaccent-1.08/unac.c Text-Unaccent-1.08.patched/unac.c +--- Text-Unaccent-1.08/unac.c 2004-10-17 15:00:36.000000000 -0400 ++++ Text-Unaccent-1.08.patched/unac.c 2021-08-22 15:27:29.207153493 -0400 +@@ -21,14 +21,6 @@ + #endif /* HAVE_CONFIG_H */ + + /* +- * Perl config.h defines HAS_VPRINTF if printf variants are +- * available +- */ +-#ifdef HAS_VPRINTF +-#define HAVE_VSNPRINTF +-#endif /* HAS_VPRINTF */ +- +-/* + * If configure.in has not defined this symbol, assume const. It + * does not harm much: a warning will be issued during compilation. + */ +@@ -140,6 +132,9 @@ + * 0055 LATIN CAPITAL LETTER U + * 00DD LATIN CAPITAL LETTER Y WITH ACUTE + * 0059 LATIN CAPITAL LETTER Y ++ * 00DF LATIN SMALL LETTER SHARP S ++ * 0073 LATIN SMALL LETTER S ++ * 0073 LATIN SMALL LETTER S + * 00E0 LATIN SMALL LETTER A WITH GRAVE + * 0061 LATIN SMALL LETTER A + * 00E1 LATIN SMALL LETTER A WITH ACUTE +@@ -360,6 +355,12 @@ + * 004F LATIN CAPITAL LETTER O + * 0151 LATIN SMALL LETTER O WITH DOUBLE ACUTE + * 006F LATIN SMALL LETTER O ++ * 0152 LATIN CAPITAL LIGATURE OE ++ * 004F LATIN CAPITAL LETTER O ++ * 0045 LATIN CAPITAL LETTER E ++ * 0153 LATIN SMALL LIGATURE OE ++ * 006F LATIN SMALL LETTER O ++ * 0065 LATIN SMALL LETTER E + * 0154 LATIN CAPITAL LETTER R WITH ACUTE + * 0052 LATIN CAPITAL LETTER R + * 0155 LATIN SMALL LETTER R WITH ACUTE +@@ -472,6 +473,9 @@ + * 0066 LATIN SMALL LETTER F + * 0193 LATIN CAPITAL LETTER G WITH HOOK + * 0047 LATIN CAPITAL LETTER G ++ * 0195 LATIN SMALL LETTER HV ++ * 0068 LATIN SMALL LETTER H ++ * 0076 LATIN SMALL LETTER V + * 0197 LATIN CAPITAL LETTER I WITH STROKE + * 0049 LATIN CAPITAL LETTER I + * 0198 LATIN CAPITAL LETTER K WITH HOOK +@@ -12929,13 +12933,13 @@ + unsigned char unac_positions[UNAC_BLOCK_COUNT][UNAC_BLOCK_SIZE + 1] = { + /* 0 */ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32 }, + /* 1 */ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 31, 34, 37, 38 }, +-/* 2 */ { 0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 }, ++/* 2 */ { 0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 34 }, + /* 3 */ { 0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 }, + /* 4 */ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32 }, + /* 5 */ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35 }, +-/* 6 */ { 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34 }, ++/* 6 */ { 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36 }, + /* 7 */ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32 }, +-/* 8 */ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32 }, ++/* 8 */ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 }, + /* 9 */ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32 }, + /* 10 */ { 0, 1, 2, 3, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41 }, + /* 11 */ { 0, 1, 2, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 23, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 37, 38, 39 }, +@@ -13145,13 +13149,13 @@ + + unsigned short unac_data0[] = { 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF }; + unsigned short unac_data1[] = { 0x0020, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x0020, 0xFFFF, 0x0061, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x0020, 0xFFFF, 0xFFFF, 0x0032, 0x0033, 0x0020, 0x03BC, 0xFFFF, 0xFFFF, 0x0020, 0x0031, 0x006F, 0xFFFF, 0x0031, 0x2044, 0x0034, 0x0031, 0x2044, 0x0032, 0x0033, 0x2044, 0x0034, 0xFFFF }; +-unsigned short unac_data2[] = { 0x0041, 0x0041, 0x0041, 0x0041, 0x0041, 0x0041, 0x0041, 0x0045, 0x0043, 0x0045, 0x0045, 0x0045, 0x0045, 0x0049, 0x0049, 0x0049, 0x0049, 0xFFFF, 0x004E, 0x004F, 0x004F, 0x004F, 0x004F, 0x004F, 0xFFFF, 0x004F, 0x0055, 0x0055, 0x0055, 0x0055, 0x0059, 0xFFFF, 0xFFFF }; ++unsigned short unac_data2[] = { 0x0041, 0x0041, 0x0041, 0x0041, 0x0041, 0x0041, 0x0041, 0x0045, 0x0043, 0x0045, 0x0045, 0x0045, 0x0045, 0x0049, 0x0049, 0x0049, 0x0049, 0xFFFF, 0x004E, 0x004F, 0x004F, 0x004F, 0x004F, 0x004F, 0xFFFF, 0x004F, 0x0055, 0x0055, 0x0055, 0x0055, 0x0059, 0xFFFF, 0x0073, 0x0073 }; + unsigned short unac_data3[] = { 0x0061, 0x0061, 0x0061, 0x0061, 0x0061, 0x0061, 0x0061, 0x0065, 0x0063, 0x0065, 0x0065, 0x0065, 0x0065, 0x0069, 0x0069, 0x0069, 0x0069, 0xFFFF, 0x006E, 0x006F, 0x006F, 0x006F, 0x006F, 0x006F, 0xFFFF, 0x006F, 0x0075, 0x0075, 0x0075, 0x0075, 0x0079, 0xFFFF, 0x0079 }; + unsigned short unac_data4[] = { 0x0041, 0x0061, 0x0041, 0x0061, 0x0041, 0x0061, 0x0043, 0x0063, 0x0043, 0x0063, 0x0043, 0x0063, 0x0043, 0x0063, 0x0044, 0x0064, 0x0044, 0x0064, 0x0045, 0x0065, 0x0045, 0x0065, 0x0045, 0x0065, 0x0045, 0x0065, 0x0045, 0x0065, 0x0047, 0x0067, 0x0047, 0x0067 }; + unsigned short unac_data5[] = { 0x0047, 0x0067, 0x0047, 0x0067, 0x0048, 0x0068, 0x0048, 0x0068, 0x0049, 0x0069, 0x0049, 0x0069, 0x0049, 0x0069, 0x0049, 0x0069, 0x0049, 0xFFFF, 0x0049, 0x004A, 0x0069, 0x006A, 0x004A, 0x006A, 0x004B, 0x006B, 0xFFFF, 0x004C, 0x006C, 0x004C, 0x006C, 0x004C, 0x006C, 0x004C, 0x00B7 }; +-unsigned short unac_data6[] = { 0x006C, 0x00B7, 0x004C, 0x006C, 0x004E, 0x006E, 0x004E, 0x006E, 0x004E, 0x006E, 0x02BC, 0x006E, 0xFFFF, 0xFFFF, 0x004F, 0x006F, 0x004F, 0x006F, 0x004F, 0x006F, 0xFFFF, 0xFFFF, 0x0052, 0x0072, 0x0052, 0x0072, 0x0052, 0x0072, 0x0053, 0x0073, 0x0053, 0x0073, 0x0053, 0x0073 }; ++unsigned short unac_data6[] = { 0x006C, 0x00B7, 0x004C, 0x006C, 0x004E, 0x006E, 0x004E, 0x006E, 0x004E, 0x006E, 0x02BC, 0x006E, 0xFFFF, 0xFFFF, 0x004F, 0x006F, 0x004F, 0x006F, 0x004F, 0x006F, 0x004F, 0x0045, 0x006F, 0x0065, 0x0052, 0x0072, 0x0052, 0x0072, 0x0052, 0x0072, 0x0053, 0x0073, 0x0053, 0x0073, 0x0053, 0x0073 }; + unsigned short unac_data7[] = { 0x0053, 0x0073, 0x0054, 0x0074, 0x0054, 0x0074, 0x0054, 0x0074, 0x0055, 0x0075, 0x0055, 0x0075, 0x0055, 0x0075, 0x0055, 0x0075, 0x0055, 0x0075, 0x0055, 0x0075, 0x0057, 0x0077, 0x0059, 0x0079, 0x0059, 0x005A, 0x007A, 0x005A, 0x007A, 0x005A, 0x007A, 0x0073 }; +-unsigned short unac_data8[] = { 0x0062, 0x0042, 0x0042, 0x0062, 0xFFFF, 0xFFFF, 0xFFFF, 0x0043, 0x0063, 0xFFFF, 0x0044, 0x0044, 0x0064, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x0046, 0x0066, 0x0047, 0xFFFF, 0xFFFF, 0xFFFF, 0x0049, 0x004B, 0x006B, 0x006C, 0xFFFF, 0xFFFF, 0x004E, 0x006E, 0x004F }; ++unsigned short unac_data8[] = { 0x0062, 0x0042, 0x0042, 0x0062, 0xFFFF, 0xFFFF, 0xFFFF, 0x0043, 0x0063, 0xFFFF, 0x0044, 0x0044, 0x0064, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x0046, 0x0066, 0x0047, 0xFFFF, 0x0068, 0x0076, 0xFFFF, 0x0049, 0x004B, 0x006B, 0x006C, 0xFFFF, 0xFFFF, 0x004E, 0x006E, 0x004F }; + unsigned short unac_data9[] = { 0x004F, 0x006F, 0xFFFF, 0xFFFF, 0x0050, 0x0070, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x0074, 0x0054, 0x0074, 0x0054, 0x0055, 0x0075, 0xFFFF, 0x0056, 0x0059, 0x0079, 0x005A, 0x007A, 0xFFFF, 0xFFFF, 0xFFFF, 0x0292, 0xFFFF, 0xFFFF, 0xFFFF, 0x0296, 0xFFFF }; + unsigned short unac_data10[] = { 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x0044, 0x005A, 0x0044, 0x007A, 0x0064, 0x007A, 0x004C, 0x004A, 0x004C, 0x006A, 0x006C, 0x006A, 0x004E, 0x004A, 0x004E, 0x006A, 0x006E, 0x006A, 0x0041, 0x0061, 0x0049, 0x0069, 0x004F, 0x006F, 0x0055, 0x0075, 0x0055, 0x0075, 0x0055, 0x0075, 0x0055, 0x0075, 0x0055, 0x0075, 0xFFFF, 0x0041, 0x0061 }; + unsigned short unac_data11[] = { 0x0041, 0x0061, 0x0041, 0x0045, 0x0061, 0x0065, 0x0047, 0x0067, 0x0047, 0x0067, 0x004B, 0x006B, 0x004F, 0x006F, 0x004F, 0x006F, 0x01B7, 0x0292, 0x006A, 0x0044, 0x005A, 0x0044, 0x007A, 0x0064, 0x007A, 0x0047, 0x0067, 0xFFFF, 0xFFFF, 0x004E, 0x006E, 0x0041, 0x0061, 0x0041, 0x0045, 0x0061, 0x0065, 0x004F, 0x006F }; +@@ -13881,9 +13885,9 @@ + *out_lengthp = 0; + } else { + char* utf16 = 0; +- int utf16_length = 0; ++ size_t utf16_length = 0; + char* utf16_unaccented = 0; +- int utf16_unaccented_length = 0; ++ size_t utf16_unaccented_length = 0; + + if(convert(charset, utf16be(), in, in_length, &utf16, &utf16_length) < 0) { + return -1; +@@ -13901,6 +13905,7 @@ + return 0; + } + ++ + #define UNAC_VERSION "1.8.0" + + const char* unac_version(void) diff --git a/perl/perl-text-unaccent/oe_lig_and_size_t.diff b/perl/perl-text-unaccent/oe_lig_and_size_t.diff deleted file mode 100644 index 2249cd5fe8..0000000000 --- a/perl/perl-text-unaccent/oe_lig_and_size_t.diff +++ /dev/null @@ -1,46 +0,0 @@ -diff -Naur Text-Unaccent-1.08/unac.c Text-Unaccent-1.08.patched/unac.c ---- Text-Unaccent-1.08/unac.c 2004-10-17 15:00:36.000000000 -0400 -+++ Text-Unaccent-1.08.patched/unac.c 2015-10-26 18:41:33.000000000 -0400 -@@ -360,6 +360,12 @@ - * 004F LATIN CAPITAL LETTER O - * 0151 LATIN SMALL LETTER O WITH DOUBLE ACUTE - * 006F LATIN SMALL LETTER O -+ * 0152 LATIN CAPITAL LIGATURE OE -+ * 004F LATIN CAPITAL LETTER O -+ * 0045 LATIN CAPITAL LETTER E -+ * 0153 LATIN SMALL LIGATURE OE -+ * 006F LATIN SMALL LETTER O -+ * 0065 LATIN SMALL LETTER E - * 0154 LATIN CAPITAL LETTER R WITH ACUTE - * 0052 LATIN CAPITAL LETTER R - * 0155 LATIN SMALL LETTER R WITH ACUTE -@@ -12933,7 +12939,7 @@ - /* 3 */ { 0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 }, - /* 4 */ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32 }, - /* 5 */ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35 }, --/* 6 */ { 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34 }, -+/* 6 */ { 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36 }, - /* 7 */ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32 }, - /* 8 */ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32 }, - /* 9 */ { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32 }, -@@ -13149,7 +13155,7 @@ - unsigned short unac_data3[] = { 0x0061, 0x0061, 0x0061, 0x0061, 0x0061, 0x0061, 0x0061, 0x0065, 0x0063, 0x0065, 0x0065, 0x0065, 0x0065, 0x0069, 0x0069, 0x0069, 0x0069, 0xFFFF, 0x006E, 0x006F, 0x006F, 0x006F, 0x006F, 0x006F, 0xFFFF, 0x006F, 0x0075, 0x0075, 0x0075, 0x0075, 0x0079, 0xFFFF, 0x0079 }; - unsigned short unac_data4[] = { 0x0041, 0x0061, 0x0041, 0x0061, 0x0041, 0x0061, 0x0043, 0x0063, 0x0043, 0x0063, 0x0043, 0x0063, 0x0043, 0x0063, 0x0044, 0x0064, 0x0044, 0x0064, 0x0045, 0x0065, 0x0045, 0x0065, 0x0045, 0x0065, 0x0045, 0x0065, 0x0045, 0x0065, 0x0047, 0x0067, 0x0047, 0x0067 }; - unsigned short unac_data5[] = { 0x0047, 0x0067, 0x0047, 0x0067, 0x0048, 0x0068, 0x0048, 0x0068, 0x0049, 0x0069, 0x0049, 0x0069, 0x0049, 0x0069, 0x0049, 0x0069, 0x0049, 0xFFFF, 0x0049, 0x004A, 0x0069, 0x006A, 0x004A, 0x006A, 0x004B, 0x006B, 0xFFFF, 0x004C, 0x006C, 0x004C, 0x006C, 0x004C, 0x006C, 0x004C, 0x00B7 }; --unsigned short unac_data6[] = { 0x006C, 0x00B7, 0x004C, 0x006C, 0x004E, 0x006E, 0x004E, 0x006E, 0x004E, 0x006E, 0x02BC, 0x006E, 0xFFFF, 0xFFFF, 0x004F, 0x006F, 0x004F, 0x006F, 0x004F, 0x006F, 0xFFFF, 0xFFFF, 0x0052, 0x0072, 0x0052, 0x0072, 0x0052, 0x0072, 0x0053, 0x0073, 0x0053, 0x0073, 0x0053, 0x0073 }; -+unsigned short unac_data6[] = { 0x006C, 0x00B7, 0x004C, 0x006C, 0x004E, 0x006E, 0x004E, 0x006E, 0x004E, 0x006E, 0x02BC, 0x006E, 0xFFFF, 0xFFFF, 0x004F, 0x006F, 0x004F, 0x006F, 0x004F, 0x006F, 0x004F, 0x0045, 0x006F, 0x0065, 0x0052, 0x0072, 0x0052, 0x0072, 0x0052, 0x0072, 0x0053, 0x0073, 0x0053, 0x0073, 0x0053, 0x0073 }; - unsigned short unac_data7[] = { 0x0053, 0x0073, 0x0054, 0x0074, 0x0054, 0x0074, 0x0054, 0x0074, 0x0055, 0x0075, 0x0055, 0x0075, 0x0055, 0x0075, 0x0055, 0x0075, 0x0055, 0x0075, 0x0055, 0x0075, 0x0057, 0x0077, 0x0059, 0x0079, 0x0059, 0x005A, 0x007A, 0x005A, 0x007A, 0x005A, 0x007A, 0x0073 }; - unsigned short unac_data8[] = { 0x0062, 0x0042, 0x0042, 0x0062, 0xFFFF, 0xFFFF, 0xFFFF, 0x0043, 0x0063, 0xFFFF, 0x0044, 0x0044, 0x0064, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x0046, 0x0066, 0x0047, 0xFFFF, 0xFFFF, 0xFFFF, 0x0049, 0x004B, 0x006B, 0x006C, 0xFFFF, 0xFFFF, 0x004E, 0x006E, 0x004F }; - unsigned short unac_data9[] = { 0x004F, 0x006F, 0xFFFF, 0xFFFF, 0x0050, 0x0070, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x0074, 0x0054, 0x0074, 0x0054, 0x0055, 0x0075, 0xFFFF, 0x0056, 0x0059, 0x0079, 0x005A, 0x007A, 0xFFFF, 0xFFFF, 0xFFFF, 0x0292, 0xFFFF, 0xFFFF, 0xFFFF, 0x0296, 0xFFFF }; -@@ -13881,9 +13887,9 @@ - *out_lengthp = 0; - } else { - char* utf16 = 0; -- int utf16_length = 0; -+ size_t utf16_length = 0; - char* utf16_unaccented = 0; -- int utf16_unaccented_length = 0; -+ size_t utf16_unaccented_length = 0; - - if(convert(charset, utf16be(), in, in_length, &utf16, &utf16_length) < 0) { - return -1; diff --git a/perl/perl-text-unaccent/perl-text-unaccent.SlackBuild b/perl/perl-text-unaccent/perl-text-unaccent.SlackBuild index de24040673..8e49076bff 100644 --- a/perl/perl-text-unaccent/perl-text-unaccent.SlackBuild +++ b/perl/perl-text-unaccent/perl-text-unaccent.SlackBuild @@ -1,15 +1,24 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-text-unaccent -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20210822 bkw: BUILD=2. +# - fix build on -current. +# - update unac.[ch] to match latest system/unac. +# - fix the perldoc/manpage. +# - typo-fix and reflow README and slack-desc. + +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-text-unaccent VERSION=${VERSION:-1.08} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -19,7 +28,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -49,20 +62,28 @@ rm -rf $TARNAME-$VERSION tar xvf $CWD/$TARNAME-$VERSION.tar.gz cd $TARNAME-$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 {} \+ # combined patch made by diffing against the unac.c in system/unac. -patch -p1 < $CWD/oe_lig_and_size_t.diff +# also UNAC_VERSION has to be defined. +patch -p1 < $CWD/ligatures.diff + +# fix minor issue with the docs. +patch -p1 < $CWD/podfix.diff + +# https://rt.cpan.org/Public/Bug/Display.html?id=124815 +# patch for newer perls +sed -i 's/\(-DHAVE_CONFIG_H\)/\1 -DHAS_VPRINTF/' Makefile.PL perl Makefile.PL \ PREFIX=/usr \ INSTALLDIRS=vendor \ INSTALLVENDORMAN3DIR=/usr/man/man3 -make + +# 20210822 bkw: we have vsnprintf(), but somehow it's not getting defined +# on -current, which breaks the build... so define it ourselves. +make OPTIMIZE="$SLKCFLAGS -DHAVE_VSNPRINTF" make test make install DESTDIR=$PKG @@ -84,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-text-unaccent/perl-text-unaccent.info b/perl/perl-text-unaccent/perl-text-unaccent.info index f86a6abebc..85870a071f 100644 --- a/perl/perl-text-unaccent/perl-text-unaccent.info +++ b/perl/perl-text-unaccent/perl-text-unaccent.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-text-unaccent/podfix.diff b/perl/perl-text-unaccent/podfix.diff new file mode 100644 index 0000000000..c2db83371b --- /dev/null +++ b/perl/perl-text-unaccent/podfix.diff @@ -0,0 +1,12 @@ +diff -Naur Text-Unaccent-1.08/Unaccent.pm Text-Unaccent-1.08.patched/Unaccent.pm +--- Text-Unaccent-1.08/Unaccent.pm 2004-12-29 06:44:28.000000000 -0500 ++++ Text-Unaccent-1.08.patched/Unaccent.pm 2021-08-22 15:31:50.237129764 -0400 +@@ -98,6 +98,8 @@ + + =back + ++=back ++ + =head1 AUTHOR + + Loic Dachary (loic@senga.org) diff --git a/perl/perl-text-unaccent/slack-desc b/perl/perl-text-unaccent/slack-desc index a508e866a9..0a15530b33 100644 --- a/perl/perl-text-unaccent/slack-desc +++ b/perl/perl-text-unaccent/slack-desc @@ -8,11 +8,11 @@ |-----handy-ruler------------------------------------------------------| perl-text-unaccent: perl-text-unaccent (perl module to remove accents from a string) perl-text-unaccent: -perl-text-unaccent: Text::Unaccent is a module that remove accents from a -perl-text-unaccent: string. unac_string converts the input string from the specified -perl-text-unaccent: charset to UTF-16 and call unac_string_utf16 to return the unaccented -perl-text-unaccent: equivalent. The conversion from and to UTF-16 is done with iconv(1). +perl-text-unaccent: Text::Unaccent is a module that remove accents from a string. perl-text-unaccent: +perl-text-unaccent: unac_string converts the input string from the specified charset +perl-text-unaccent: to UTF-16 and calls unac_string_utf16 to return the unaccented +perl-text-unaccent: equivalent. The conversion from and to UTF-16 is done with iconv(1). perl-text-unaccent: perl-text-unaccent: perl-text-unaccent: diff --git a/perl/perl-tk/patches/perl-tk-804.031.diff b/perl/perl-tk/patches/perl-tk-804.031.diff deleted file mode 100644 index 1e595c009a..0000000000 --- a/perl/perl-tk/patches/perl-tk-804.031.diff +++ /dev/null @@ -1,9 +0,0 @@ -diff -ru Tk-804.031.org/TextList/reindex.pl Tk-804.031/TextList/reindex.pl ---- Tk-804.031.org/TextList/reindex.pl 2007-02-10 05:54:45.000000000 -0300 -+++ Tk-804.031/TextList/reindex.pl 2010-08-05 13:53:36.447371174 -0300 -@@ -1,4 +1,4 @@ --#!/bin/perl -+#!/usr/bin/perl - - use lib qw(/home1/gbartels/textlist); - use Tk; diff --git a/perl/perl-tk/perl-tk.SlackBuild b/perl/perl-tk/perl-tk.SlackBuild index e0f0cf7126..7cce2e57ba 100644 --- a/perl/perl-tk/perl-tk.SlackBuild +++ b/perl/perl-tk/perl-tk.SlackBuild @@ -1,13 +1,36 @@ -#!/bin/sh - -# Slackware build script for perl-tk (Tk) - -# Written by Pablo Santamaria (pablosantamaria@gmail.com) +#!/bin/bash + +# Slackware build script for perl-tk + +# Copyright 2010-2017 Pablo Santamaria pablosantamaria@gmail.com +# Copyright 2017-2020 Ryan S. Northrup northrup@yellowapple.us +# Updated in 2021 by Petar Petrov slackalaxy@gmail.com +# 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-tk -VERSION=${VERSION:-804.033} +VERSION=${VERSION:-804.036} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -17,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -52,7 +82,7 @@ find -L . \ -exec chmod 644 {} \; # Apply a few patches -patch -p0 < $CWD/patches/perl_bin_path.diff +patch -p0 < $CWD/perl_bin_path.diff # XFT=1 (font manager) support, which gives perl-tk programs the ability to # use all fonts accessible from XFT and antialiasing. @@ -90,4 +120,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-tk/perl-tk.info b/perl/perl-tk/perl-tk.info index aa6035734f..00a8599c04 100644 --- a/perl/perl-tk/perl-tk.info +++ b/perl/perl-tk/perl-tk.info @@ -1,8 +1,8 @@ PRGNAM="perl-tk" -VERSION="804.033" +VERSION="804.036" HOMEPAGE="https://metacpan.org/pod/Tk" -DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SR/SREZIC/Tk-804.033.tar.gz" -MD5SUM="4c6d281ca9c6c2349e5cf84394e638fa" +DOWNLOAD="https://cpan.metacpan.org/authors/id/S/SR/SREZIC/Tk-804.036.tar.gz" +MD5SUM="d663d4cbf33a3ed92c8d2ede22aaed60" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/perl/perl-tk/patches/perl_bin_path.diff b/perl/perl-tk/perl_bin_path.diff index 2d304b4dc4..2d304b4dc4 100644 --- a/perl/perl-tk/patches/perl_bin_path.diff +++ b/perl/perl-tk/perl_bin_path.diff diff --git a/perl/perl-trayicon/perl-trayicon.SlackBuild b/perl/perl-trayicon/perl-trayicon.SlackBuild index 8955e3fe69..83b9c7144b 100644 --- a/perl/perl-trayicon/perl-trayicon.SlackBuild +++ b/perl/perl-trayicon/perl-trayicon.SlackBuild @@ -1,30 +1,40 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-trayicon # Written by Larry Hajali <larryhaja[at]gmail[dot]com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-trayicon SRCNAM=Gtk2-TrayIcon VERSION=${VERSION:-0.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# 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" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +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 @@ -75,4 +85,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-tree-dagnode/perl-tree-dagnode.SlackBuild b/perl/perl-tree-dagnode/perl-tree-dagnode.SlackBuild index 75346df6a6..402b1fcce4 100644 --- a/perl/perl-tree-dagnode/perl-tree-dagnode.SlackBuild +++ b/perl/perl-tree-dagnode/perl-tree-dagnode.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-tree-dagnode # @@ -23,10 +23,13 @@ # 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-tree-dagnode VERSION=${VERSION:-1.29} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=Tree-DAG_Node @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -99,4 +109,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-www-mechanize/perl-www-mechanize.SlackBuild b/perl/perl-www-mechanize/perl-www-mechanize.SlackBuild index 69525147e8..1a3754e8c9 100644 --- a/perl/perl-www-mechanize/perl-www-mechanize.SlackBuild +++ b/perl/perl-www-mechanize/perl-www-mechanize.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-www-mechanize @@ -23,10 +23,13 @@ # 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-www-mechanize VERSION=${VERSION:-1.84} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=WWW-Mechanize @@ -38,7 +41,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -83,4 +93,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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-www-robotrules/perl-www-robotrules.SlackBuild b/perl/perl-www-robotrules/perl-www-robotrules.SlackBuild index d7ac192597..397d6f3e15 100644 --- a/perl/perl-www-robotrules/perl-www-robotrules.SlackBuild +++ b/perl/perl-www-robotrules/perl-www-robotrules.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-www-robotrules @@ -22,10 +22,13 @@ # 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-www-robotrules VERSION=${VERSION:-6.02} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -84,4 +94,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-x11-protocol/README b/perl/perl-x11-protocol/README index b8ea92de30..c53dc1f962 100644 --- a/perl/perl-x11-protocol/README +++ b/perl/perl-x11-protocol/README @@ -1,3 +1,4 @@ X11::Protocol and the related modules in this distribution are a rough equivalent of Xlib (libX11.a, with a bit of Xau and Xext mixed in) -used for drawing windows on and otherwise manipulating X11 window servers. +used for drawing windows on and otherwise manipulating X11 window +servers. diff --git a/perl/perl-x11-protocol/perl-x11-protocol.SlackBuild b/perl/perl-x11-protocol/perl-x11-protocol.SlackBuild index c2cc8ed8ce..9afa583cbe 100644 --- a/perl/perl-x11-protocol/perl-x11-protocol.SlackBuild +++ b/perl/perl-x11-protocol/perl-x11-protocol.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-x11-protocol @@ -24,10 +24,13 @@ # 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-x11-protocol VERSION=${VERSION:-0.56} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=X11-Protocol @@ -39,7 +42,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -83,4 +93,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-xml-fast/perl-xml-fast.SlackBuild b/perl/perl-xml-fast/perl-xml-fast.SlackBuild index bd090ef698..299e9dc14b 100644 --- a/perl/perl-xml-fast/perl-xml-fast.SlackBuild +++ b/perl/perl-xml-fast/perl-xml-fast.SlackBuild @@ -1,15 +1,18 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-xml-fast -# Written by B. Watson (yalhcru@gmail.com) +# 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-xml-fast VERSION=${VERSION:-0.17} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -19,25 +22,15 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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 SRCNAM=XML-Fast @@ -49,11 +42,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 \ @@ -62,12 +52,9 @@ perl Makefile.PL \ make 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/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 '*.so' -exec strip --strip-unneeded '{}' + find $PKG -name perllocal.pod \ -o -name ".packlist" \ @@ -82,4 +69,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-xml-fast/perl-xml-fast.info b/perl/perl-xml-fast/perl-xml-fast.info index 13aa48a326..4395503937 100644 --- a/perl/perl-xml-fast/perl-xml-fast.info +++ b/perl/perl-xml-fast/perl-xml-fast.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild b/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild index 2011f91aed..b502ce5b90 100644 --- a/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild +++ b/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild @@ -1,13 +1,16 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-xml-libxml # Written by Murat D. Kadirov <banderols@gmail.com> +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-xml-libxml VERSION=${VERSION:-2.0134} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=XML-LibXML @@ -19,7 +22,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -68,4 +78,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE 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/perl-xml-parser-lite-tree/README b/perl/perl-xml-parser-lite-tree/README index 3baf577479..f5bb225197 100644 --- a/perl/perl-xml-parser-lite-tree/README +++ b/perl/perl-xml-parser-lite-tree/README @@ -1,6 +1,6 @@ perl-xml-parser-lite-tree (XML tree parser module) -This is a singleton class for parsing XML into a tree structure. How does -this differ from other XML tree generators? By using XML::Parser::Lite, -which is a pure perl XML parser. Using this module you can tree-ify -simple XML without having to compile any C. +This is a singleton class for parsing XML into a tree structure. +How does this differ from other XML tree generators? By using +XML::Parser::Lite, which is a pure perl XML parser. Using this module +you can tree-ify simple XML without having to compile any C. diff --git a/perl/perl-xml-parser-lite-tree/perl-xml-parser-lite-tree.SlackBuild b/perl/perl-xml-parser-lite-tree/perl-xml-parser-lite-tree.SlackBuild index e78689eed3..37ccfc08f1 100644 --- a/perl/perl-xml-parser-lite-tree/perl-xml-parser-lite-tree.SlackBuild +++ b/perl/perl-xml-parser-lite-tree/perl-xml-parser-lite-tree.SlackBuild @@ -1,19 +1,26 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-xml-parser-lite-tree -# Written by B. Watson (yalhcru@gmail.com) +# 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-xml-parser-lite-tree VERSION=${VERSION:-0.14} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -CWD=$(pwd) +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} @@ -29,11 +36,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 \ @@ -62,4 +66,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-xml-parser-lite-tree/perl-xml-parser-lite-tree.info b/perl/perl-xml-parser-lite-tree/perl-xml-parser-lite-tree.info index 40f341313f..b806be78b9 100644 --- a/perl/perl-xml-parser-lite-tree/perl-xml-parser-lite-tree.info +++ b/perl/perl-xml-parser-lite-tree/perl-xml-parser-lite-tree.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-xml-parser-lite" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-xml-parser-lite/perl-xml-parser-lite.SlackBuild b/perl/perl-xml-parser-lite/perl-xml-parser-lite.SlackBuild index 7497964bcb..21acc8ae8a 100644 --- a/perl/perl-xml-parser-lite/perl-xml-parser-lite.SlackBuild +++ b/perl/perl-xml-parser-lite/perl-xml-parser-lite.SlackBuild @@ -1,21 +1,28 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-xml-parser-lite -# Written by B. Watson (yalhcru@gmail.com) +# Written by B. Watson (urchlay@slackware.uk) # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. # 20180829 bkw: update for v0.722 +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-xml-parser-lite VERSION=${VERSION:-0.722} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -CWD=$(pwd) +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} @@ -31,11 +38,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 \ @@ -63,4 +67,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-xml-parser-lite/perl-xml-parser-lite.info b/perl/perl-xml-parser-lite/perl-xml-parser-lite.info index d22434dba9..06db59d080 100644 --- a/perl/perl-xml-parser-lite/perl-xml-parser-lite.info +++ b/perl/perl-xml-parser-lite/perl-xml-parser-lite.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" +EMAIL="urchlay@slackware.uk" diff --git a/perl/perl-xml-twig/perl-xml-twig.SlackBuild b/perl/perl-xml-twig/perl-xml-twig.SlackBuild index 065019886b..6cac015ccf 100644 --- a/perl/perl-xml-twig/perl-xml-twig.SlackBuild +++ b/perl/perl-xml-twig/perl-xml-twig.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-xml-twig @@ -22,15 +22,25 @@ # 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-xml-twig VERSION=${VERSION:-3.52} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch SRCNAM=XML-Twig -CWD=$(pwd) +# 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} @@ -70,4 +80,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-xml-twig/perl-xml-twig.info b/perl/perl-xml-twig/perl-xml-twig.info index 471a449de3..92b4ef9d06 100644 --- a/perl/perl-xml-twig/perl-xml-twig.info +++ b/perl/perl-xml-twig/perl-xml-twig.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Heinz Wiesinger" -EMAIL="pprkut@liwjatan.at" +EMAIL="pprkut@slackbuilds.org" diff --git a/perl/perl-yaml/perl-yaml.SlackBuild b/perl/perl-yaml/perl-yaml.SlackBuild index 4f36378a66..19d0f27863 100644 --- a/perl/perl-yaml/perl-yaml.SlackBuild +++ b/perl/perl-yaml/perl-yaml.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perl-yaml -# Copyright 2008-2017 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2008-2021 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -11,26 +11,36 @@ # 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. +# 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-yaml SRCNAM=YAML -VERSION=${VERSION:-1.21} +VERSION=${VERSION:-1.30} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -CWD=$(pwd) +# 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} @@ -72,4 +82,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-yaml/perl-yaml.info b/perl/perl-yaml/perl-yaml.info index 679083d6e7..b37cf4f1ae 100644 --- a/perl/perl-yaml/perl-yaml.info +++ b/perl/perl-yaml/perl-yaml.info @@ -1,10 +1,10 @@ PRGNAM="perl-yaml" -VERSION="1.21" +VERSION="1.30" HOMEPAGE="https://metacpan.org/pod/YAML" -DOWNLOAD="https://cpan.metacpan.org/authors/id/I/IN/INGY/YAML-1.21.tar.gz" -MD5SUM="a2c85b8be2df7a01a23dfa7d05d91323" +DOWNLOAD="https://cpan.metacpan.org/authors/id/T/TI/TINITA/YAML-1.30.tar.gz" +MD5SUM="2c861f02e091787c7fe115ec20d3b9b3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Heinz Wiesinger" -EMAIL="pprkut@liwjatan.at" +EMAIL="pprkut@slackbuilds.org" diff --git a/perl/perlbrew/perlbrew.SlackBuild b/perl/perlbrew/perlbrew.SlackBuild index 0c07302c4d..8a0365d8c8 100644 --- a/perl/perlbrew/perlbrew.SlackBuild +++ b/perl/perlbrew/perlbrew.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for perlbrew @@ -22,10 +22,13 @@ # 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=perlbrew VERSION=${VERSION:-0.85} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM="App-$PRGNAM" @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -94,4 +104,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perlbrew/perlbrew.info b/perl/perlbrew/perlbrew.info index adc38b2033..93b49f6bf7 100644 --- a/perl/perlbrew/perlbrew.info +++ b/perl/perlbrew/perlbrew.info @@ -5,6 +5,6 @@ DOWNLOAD="https://cpan.metacpan.org/authors/id/G/GU/GUGOD/App-perlbrew-0.85.tar. MD5SUM="0a86d1393206c4a40efb74776f8794d1" 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.SlackBuild b/perl/raku-Readline/raku-Readline.SlackBuild index 88b94d7d9e..0675b4429d 100644 --- a/perl/raku-Readline/raku-Readline.SlackBuild +++ b/perl/raku-Readline/raku-Readline.SlackBuild @@ -1,7 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for raku-Readline +# Copyright 2020- Michel Begue <mab974@gmail.com> # Copyright 2018-2019 Andreas Voegele <andreas@andreasvoegele.com> # # Permission to use, copy, modify, and distribute this software for any @@ -16,10 +17,13 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=raku-Readline -VERSION=${VERSION:-0.1.5} +VERSION=${VERSION:-0.1.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=perl6-readline @@ -31,7 +35,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -86,4 +97,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/raku-Readline/raku-Readline.info b/perl/raku-Readline/raku-Readline.info index 8ff53f35f2..f3c1c361df 100644 --- a/perl/raku-Readline/raku-Readline.info +++ b/perl/raku-Readline/raku-Readline.info @@ -1,10 +1,10 @@ PRGNAM="raku-Readline" -VERSION="0.1.5" -HOMEPAGE="https://github.com/drforr/perl6-readline" -DOWNLOAD="https://github.com/drforr/perl6-readline/archive/0.1.5/perl6-readline-0.1.5.tar.gz" -MD5SUM="9156baa1cd931798a258bf44508006c6" +VERSION="0.1.6" +HOMEPAGE="https://github.com/fooist/perl6-readline" +DOWNLOAD="https://github.com/fooist/perl6-readline/archive/0.1.6/perl6-readline-0.1.6.tar.gz" +MD5SUM="6347e5c3cada706a0cdefca375e5d324" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="rakudo" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" +MAINTAINER="Michel Begue" +EMAIL="mab974@gmail.com" diff --git a/perl/raku-Readline/slack-desc b/perl/raku-Readline/slack-desc index 8c7d9bd3fa..b9a8be1c7d 100644 --- a/perl/raku-Readline/slack-desc +++ b/perl/raku-Readline/slack-desc @@ -13,7 +13,7 @@ raku-Readline: programming language. raku-Readline: raku-Readline: This module adds command line editing to the Rakudo interpreter. raku-Readline: -raku-Readline: Homepage: https://github.com/drforr/perl6-readline +raku-Readline: Homepage: https://github.com/fooist/perl6-readline raku-Readline: raku-Readline: raku-Readline: diff --git a/perl/rakudo/rakudo.SlackBuild b/perl/rakudo/rakudo.SlackBuild index d4b5149f82..8d68a5d13d 100644 --- a/perl/rakudo/rakudo.SlackBuild +++ b/perl/rakudo/rakudo.SlackBuild @@ -1,7 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for rakudo +# Copyright 2020- Michel Begue <mab974@misouk.com> # Copyright 2018-2020 Andreas Voegele <andreas@andreasvoegele.com> # # Permission to use, copy, modify, and distribute this software for any @@ -16,10 +17,13 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=rakudo -VERSION=${VERSION:-2020.02.1} +VERSION=${VERSION:-2024.03} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} BACKENDS=${BACKENDS:-moar} @@ -31,7 +35,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -125,4 +136,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/rakudo/rakudo.info b/perl/rakudo/rakudo.info index a84fa83c7f..3fcabf61cc 100644 --- a/perl/rakudo/rakudo.info +++ b/perl/rakudo/rakudo.info @@ -1,10 +1,10 @@ PRGNAM="rakudo" -VERSION="2020.02.1" +VERSION="2024.03" HOMEPAGE="https://rakudo.org/" -DOWNLOAD="https://github.com/rakudo/rakudo/releases/download/2020.02.1/rakudo-2020.02.1.tar.gz" -MD5SUM="49da46f14d286172f50a6b173c4863eb" +DOWNLOAD="https://github.com/rakudo/rakudo/releases/download/2024.03/rakudo-2024.03.tar.gz" +MD5SUM="89658cba585b76adb3ad1f362b95e2bf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="nqp" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" +MAINTAINER="Michel Begue" +EMAIL="mab974@misouk.com" diff --git a/perl/txt2html/txt2html.SlackBuild b/perl/txt2html/txt2html.SlackBuild index 8686254429..ba182a843c 100644 --- a/perl/txt2html/txt2html.SlackBuild +++ b/perl/txt2html/txt2html.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for txt2html @@ -22,10 +22,13 @@ # 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=txt2html VERSION=${VERSION:-2.51} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -95,4 +105,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/zef/zef.SlackBuild b/perl/zef/zef.SlackBuild index 7f3e767cb9..d5416bd67c 100644 --- a/perl/zef/zef.SlackBuild +++ b/perl/zef/zef.SlackBuild @@ -1,7 +1,8 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for zef +# Copyright 2020- Michel Begue <mab974@misouk.com> # Copyright 2018-2020 Andreas Voegele <andreas@andreasvoegele.com> # # Permission to use, copy, modify, and distribute this software for any @@ -16,10 +17,13 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=zef -VERSION=${VERSION:-0.8.3} +VERSION=${VERSION:-0.21.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -29,7 +33,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# 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} @@ -74,12 +85,14 @@ 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - LICENSE README.pod \ + LICENSE README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild @@ -87,4 +100,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/zef/zef.info b/perl/zef/zef.info index d7418d0768..df4cf2a2da 100644 --- a/perl/zef/zef.info +++ b/perl/zef/zef.info @@ -1,10 +1,10 @@ PRGNAM="zef" -VERSION="0.8.3" +VERSION="0.21.4" HOMEPAGE="https://github.com/ugexe/zef" -DOWNLOAD="https://github.com/ugexe/zef/archive/v0.8.3/zef-0.8.3.tar.gz" -MD5SUM="64e5fbb98339f48f1b5bd0ea8a624952" +DOWNLOAD="https://github.com/ugexe/zef/archive/v0.21.4/zef-0.21.4.tar.gz" +MD5SUM="d2b5546558f55d4fe4438bbdfea032f8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="rakudo" -MAINTAINER="Andreas Voegele" -EMAIL="andreas@andreasvoegele.com" +MAINTAINER="Michel Begue" +EMAIL="mab974@misouk.com" |