diff options
author | Matteo Bernardini | 2019-03-30 08:53:10 +0100 |
---|---|---|
committer | Matteo Bernardini | 2019-03-30 08:53:10 +0100 |
commit | 37f81333f74286adfe76ea53c2b701b0117e0776 (patch) | |
tree | 2a09dae8766cfae8cb4d655a42477e0d6a2a0bf8 /perl | |
parent | 158e3ce0a80a1028c48af5d639f5fde39c94af3c (diff) | |
download | slackbuilds-current-20190330.1.tar.gz |
20190330.1 global branch merge.current-20190330.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'perl')
20 files changed, 58 insertions, 462 deletions
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 c71cb65160..0000000000 --- a/perl/perl-Authen-SASL/perl-Authen-SASL.SlackBuild +++ /dev/null @@ -1,106 +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 - -SRCNAM=Authen-SASL -PRGNAM=perl-$SRCNAM -VERSION=${VERSION:-2.16} -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} - -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-Authen-SASL/slack-desc b/perl/perl-Authen-SASL/slack-desc deleted file mode 100644 index ccfbea916e..0000000000 --- a/perl/perl-Authen-SASL/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-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: 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 79b7701128..bc0acb0986 100644 --- a/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.SlackBuild +++ b/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.SlackBuild @@ -80,7 +80,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 \ 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.SlackBuild b/perl/perl-Devel-CheckLib/perl-Devel-CheckLib.SlackBuild deleted file mode 100644 index 9434368ba9..0000000000 --- a/perl/perl-Devel-CheckLib/perl-Devel-CheckLib.SlackBuild +++ /dev/null @@ -1,98 +0,0 @@ -#!/bin/sh - -# Slackware build script for perl-Devel-CheckLib - -# Copyright 2017 Larry Hajali <larryhaja[at]gmail[dot]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. - -SRCNAM=Devel-CheckLib -PRGNAM=perl-Devel-CheckLib -VERSION=${VERSION:-1.07} -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} - -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 -type f -perm 444 -exec chmod 0644 '{}' \; -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 CHANGES 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:-tgz} 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-CheckLib/slack-desc b/perl/perl-Devel-CheckLib/slack-desc deleted file mode 100644 index 1b71dfee7f..0000000000 --- a/perl/perl-Devel-CheckLib/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-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: diff --git a/perl/perl-Gnome2-Vte/perl-Gnome2-Vte.info b/perl/perl-Gnome2-Vte/perl-Gnome2-Vte.info index fa37b200d5..bef97c916e 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-glib perl-gtk2 perl-extutils-depends perl-extutils-pkgconfig vte2" MAINTAINER="Antonio Taverna" EMAIL="antonio.tvr@gmail.com" diff --git a/perl/perl-Module-Runtime/perl-Module-Runtime.SlackBuild b/perl/perl-Module-Runtime/perl-Module-Runtime.SlackBuild index d2d11f4a18..9fcb072da3 100644 --- a/perl/perl-Module-Runtime/perl-Module-Runtime.SlackBuild +++ b/perl/perl-Module-Runtime/perl-Module-Runtime.SlackBuild @@ -26,7 +26,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=perl-Module-Runtime -VERSION=${VERSION:-0.015} +VERSION=${VERSION:-0.016} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,7 +34,7 @@ SRCNAM=Module-Runtime if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -45,8 +45,8 @@ 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" @@ -69,10 +69,10 @@ 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 \ diff --git a/perl/perl-Module-Runtime/perl-Module-Runtime.info b/perl/perl-Module-Runtime/perl-Module-Runtime.info index ec5bdacb61..1807470812 100644 --- a/perl/perl-Module-Runtime/perl-Module-Runtime.info +++ b/perl/perl-Module-Runtime/perl-Module-Runtime.info @@ -1,8 +1,8 @@ PRGNAM="perl-Module-Runtime" -VERSION="0.015" +VERSION="0.016" 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="https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/Module-Runtime-0.016.tar.gz" +MD5SUM="d3d47222fa2e3dfcb4526f6cc8437b20" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Module-Build" diff --git a/perl/perl-cairo/perl-cairo.SlackBuild b/perl/perl-cairo/perl-cairo.SlackBuild index cbc99c9e83..6fad7a083d 100644 --- a/perl/perl-cairo/perl-cairo.SlackBuild +++ b/perl/perl-cairo/perl-cairo.SlackBuild @@ -81,7 +81,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 \ diff --git a/perl/perl-glib/perl-Glib-1.328-glib2.59-comment-linebreaks.patch b/perl/perl-glib/perl-Glib-1.328-glib2.59-comment-linebreaks.patch new file mode 100644 index 0000000000..5b00a291cc --- /dev/null +++ b/perl/perl-glib/perl-Glib-1.328-glib2.59-comment-linebreaks.patch @@ -0,0 +1,42 @@ +diff -up Glib-1.328/t/g.t.comment-linebreaks Glib-1.328/t/g.t +--- Glib-1.328/t/g.t.comment-linebreaks 2012-01-06 01:26:40.000000000 -0500 ++++ Glib-1.328/t/g.t 2019-01-04 14:35:05.796603043 -0500 +@@ -84,7 +84,11 @@ SKIP: { + eq_array (\@bools, [FALSE, TRUE, FALSE]); + + ok ($key_file->has_group('locales')); +- is ($key_file->get_comment('locales', 'mystring'), "some string\n"); ++ if (Glib->CHECK_VERSION (2, 59, 0)) { ++ is ($key_file->get_comment('locales', 'mystring'), "some string"); ++ } else { ++ is ($key_file->get_comment('locales', 'mystring'), "some string\n"); ++ } + is ($key_file->get_string('locales', 'mystring'), 'Good morning'); + is ($key_file->get_locale_string('locales', 'mystring', 'it'), 'Buongiorno'); + +@@ -94,11 +98,21 @@ SKIP: { + $key_file->set_string_list('listsection', 'stringlist', 'one', 'two', 'three'); + $key_file->set_locale_string('locales', 'mystring', 'en', 'one'); + $key_file->set_comment('locales', 'mystring', 'comment'); +- is ($key_file->get_comment('locales', 'mystring'), "comment\n"); +- $key_file->set_comment('locales', undef, "another comment\n"); +- is ($key_file->get_comment('locales', undef), "#another comment\n#"); ++ if (Glib->CHECK_VERSION (2, 59, 0)) { ++ is ($key_file->get_comment('locales', 'mystring'), "comment"); ++ $key_file->set_comment('locales', undef, "another comment"); ++ is ($key_file->get_comment('locales', undef), "#another comment"); ++ } else { ++ is ($key_file->get_comment('locales', 'mystring'), "comment\n"); ++ $key_file->set_comment('locales', undef, "another comment\n"); ++ is ($key_file->get_comment('locales', undef), "#another comment\n#"); ++ } + $key_file->set_comment(undef, undef, 'one comment more'); +- is ($key_file->get_comment(undef, undef), "one comment more\n"); ++ if (Glib->CHECK_VERSION (2, 59, 0)) { ++ is ($key_file->get_comment(undef, undef), "one comment more"); ++ } else { ++ is ($key_file->get_comment(undef, undef), "one comment more\n"); ++ } + $key_file->set_boolean($start_group, 'boolkey', FALSE); + $key_file->set_value($start_group, 'boolkey', '0'); + diff --git a/perl/perl-glib/perl-glib.SlackBuild b/perl/perl-glib/perl-glib.SlackBuild index 03c94d82cc..60327a2c5e 100644 --- a/perl/perl-glib/perl-glib.SlackBuild +++ b/perl/perl-glib/perl-glib.SlackBuild @@ -75,6 +75,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# https://gitlab.gnome.org/GNOME/perl-glib/merge_requests/1 +patch -p1 < $CWD/perl-Glib-1.328-glib2.59-comment-linebreaks.patch + perl Makefile.PL \ OPTIMIZE="$SLKCFLAGS" \ PREFIX=/usr \ 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.SlackBuild b/perl/perl-libnet/perl-libnet.SlackBuild deleted file mode 100644 index bf5e2f8a9c..0000000000 --- a/perl/perl-libnet/perl-libnet.SlackBuild +++ /dev/null @@ -1,104 +0,0 @@ -#!/bin/sh - -# Slackware build script for perl-libnet - -# Copyright 2016-2017 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy -# Based on slackbuilds.org perl template. -# 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. - -SRCNAM=libnet -PRGNAM=perl-$SRCNAM -VERSION=${VERSION:-3.11} -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="Artistic Changes Copying LICENCE README" - -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 {} \; - -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 - -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 $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-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: |