diff options
Diffstat (limited to 'perl')
601 files changed, 19964 insertions, 0 deletions
diff --git a/perl/SDL_perl/README b/perl/SDL_perl/README new file mode 100644 index 0000000000..89c1b4cef4 --- /dev/null +++ b/perl/SDL_perl/README @@ -0,0 +1,2 @@ +SDL_perl - Simple DirectMedia Library Bindings for Perl +This is glue (bindings) between SDL and Perl. diff --git a/perl/SDL_perl/SDL_perl.SlackBuild b/perl/SDL_perl/SDL_perl.SlackBuild new file mode 100644 index 0000000000..e94f39ff00 --- /dev/null +++ b/perl/SDL_perl/SDL_perl.SlackBuild @@ -0,0 +1,100 @@ +#!/bin/sh +# +# Slackware build script for SDL_perl +# +# Copyright 2009 Erik W. Hanson, Minneapolis, MN, 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=SDL_perl +VERSION=1.20.0 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 -eu + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xzvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +# configure doesn't take prefix/sysconfdir/... but things land in +# the appropriate places anyway. +CFLAGS="$SLKCFLAGS" ./configure + +make +make install_vendor 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 + +mv $PKG/usr/share/man $PKG/usr/man +( 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 + # No empty directories + find . -type d -depth -exec rmdir {} \; 2>/dev/null +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a BUGS CHANGELOG COPYING README TODO test/ $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/SDL_perl/SDL_perl.info b/perl/SDL_perl/SDL_perl.info new file mode 100644 index 0000000000..a769fcda7e --- /dev/null +++ b/perl/SDL_perl/SDL_perl.info @@ -0,0 +1,10 @@ +PRGNAM="SDL_perl" +VERSION="1.20.0" +HOMEPAGE="http://sdl.perl.org/" +DOWNLOAD="http://zarb.org/~gc/t/SDL_perl-1.20.0.tar.gz" +MD5SUM="041617aec124677083ecef04aa48f927" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Erik Hanson" +EMAIL="erik@slackbuilds.org" +APPROVED="BP{k}" diff --git a/perl/SDL_perl/slack-desc b/perl/SDL_perl/slack-desc new file mode 100644 index 0000000000..4356a5f23b --- /dev/null +++ b/perl/SDL_perl/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 ':'. + + |-----handy-ruler------------------------------------------------------| +SDL_perl: SDL_perl (Simple DirectMedia Library Bindings for Perl) +SDL_perl: +SDL_perl: SDL_perl is glue (bindings) between SDL and Perl. +SDL_perl: +SDL_perl: Homepage: http://sdl.perl.org/ +SDL_perl: +SDL_perl: +SDL_perl: +SDL_perl: +SDL_perl: +SDL_perl: diff --git a/perl/libwww-perl/README b/perl/libwww-perl/README new file mode 100644 index 0000000000..b61fa2c222 --- /dev/null +++ b/perl/libwww-perl/README @@ -0,0 +1,24 @@ +libwww-perl - WWW client/server library for perl + +This is a set of Perl modules which provides a simple and consistent +application programming interface to the World-Wide Web. The main focus of +the library is to provide classes and functions that allow you to write +WWW clients. The library also contain modules that are of more general +use and even classes that help you implement simple HTTP servers. + +It includes the following perl modules: Bundle::LWP, File::Listing, +HTML::Form, HTTP::Cookies, HTTP::Cookies::Microsoft, HTTP::Cookies::Netscape, +HTTP::Daemon, HTTP::Date, HTTP::Headers, HTTP::Headers::Auth, +HTTP::Headers::ETag, HTTP::Headers::Util, HTTP::Message, HTTP::Negotiate, +HTTP::Request, HTTP::Request::Common, HTTP::Response, HTTP::Status, LWP, +LWP::Authen::Basic, LWP::Authen::Digest, LWP::Authen::Ntlm, LWP::ConnCache, +LWP::Debug, LWP::DebugFile, LWP::MediaTypes, LWP::MemberMixin, LWP::Protocol, +LWP::Protocol::GHTTP, LWP::Protocol::cpan, LWP::Protocol::data, +LWP::Protocol::file, LWP::Protocol::ftp, LWP::Protocol::gopher, +LWP::Protocol::http, LWP::Protocol::http10, LWP::Protocol::https, +LWP::Protocol::https10, LWP::Protocol::loopback, LWP::Protocol::mailto, +LWP::Protocol::nntp, LWP::Protocol::nogo, LWP::RobotUA, LWP::Simple, +LWP::UserAgent, Net::HTTP, Net::HTTP::Methods, Net::HTTP::NB, Net::HTTPS, +WWW::RobotRules, WWW::RobotRules::AnyDBM_File. + +This requires perl-html-parser and perl-html-tagset. diff --git a/perl/libwww-perl/libwww-perl.SlackBuild b/perl/libwww-perl/libwww-perl.SlackBuild new file mode 100644 index 0000000000..53d71e4dd3 --- /dev/null +++ b/perl/libwww-perl/libwww-perl.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for libwww-perl + +# Copyright 2008-2010 LukenShiro <lukenshiro@ngi.it> +# 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=libwww-perl +VERSION=${VERSION:-5.837} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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} + +DOCFILES="AUTHORS Changes README README.SSL" + +set -e # Exit on most errors + +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 . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +echo "y" | 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 \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +# Compress man pages +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 $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} diff --git a/perl/libwww-perl/libwww-perl.info b/perl/libwww-perl/libwww-perl.info new file mode 100644 index 0000000000..5cdff758cf --- /dev/null +++ b/perl/libwww-perl/libwww-perl.info @@ -0,0 +1,10 @@ +PRGNAM="libwww-perl" +VERSION="5.837" +HOMEPAGE="http://search.cpan.org/dist/libwww-perl/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-5.837.tar.gz" +MD5SUM="9bbf1bce482b0bac98bb4f04253c03d0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="LukenShiro" +EMAIL="lukenshiro@ngi.it" +APPROVED="rworkman" diff --git a/perl/libwww-perl/slack-desc b/perl/libwww-perl/slack-desc new file mode 100644 index 0000000000..aee050c9e0 --- /dev/null +++ b/perl/libwww-perl/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 ':'. + + |-----handy-ruler---------------------------------------------------| +libwww-perl: libwww-perl (WWW client/server library for perl) +libwww-perl: +libwww-perl: It is a set of Perl modules which provides a simple and consistent +libwww-perl: application programming interface to the World-Wide Web. The main +libwww-perl: focus of the library is to provide classes and functions that +libwww-perl: allow you to write WWW clients. The library also contain modules +libwww-perl: that are of more general use and even classes that help you +libwww-perl: implement simple HTTP servers. +libwww-perl: +libwww-perl: Homepage: http://search.cpan.org/dist/libwww-perl +libwww-perl: diff --git a/perl/perl-AppConfig/README b/perl/perl-AppConfig/README new file mode 100644 index 0000000000..8be1ae676a --- /dev/null +++ b/perl/perl-AppConfig/README @@ -0,0 +1,4 @@ +AppConfig is a Perl5 module for managing application configuration +information. It maintains the state of any number of variables and +provides methods for parsing configuration files, command line +arguments and CGI script parameters. diff --git a/perl/perl-AppConfig/perl-AppConfig.SlackBuild b/perl/perl-AppConfig/perl-AppConfig.SlackBuild new file mode 100644 index 0000000000..d519b78654 --- /dev/null +++ b/perl/perl-AppConfig/perl-AppConfig.SlackBuild @@ -0,0 +1,66 @@ +#!/bin/sh + +# Slackware build script for perl-AppConfig +# Written by Thomas Morper <thomas@beingboiled.info> + +SRCNAM=AppConfig +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.66} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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} + +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 . \ + \( -perm 777 -o -perm 775 -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 \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +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 + +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 LICENSE MANIFEST 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-AppConfig/perl-AppConfig.info b/perl/perl-AppConfig/perl-AppConfig.info new file mode 100644 index 0000000000..4e61c8687d --- /dev/null +++ b/perl/perl-AppConfig/perl-AppConfig.info @@ -0,0 +1,10 @@ +PRGNAM="perl-AppConfig" +VERSION="1.66" +HOMEPAGE="http://search.cpan.org/~abw/AppConfig/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/A/AB/ABW/AppConfig-1.66.tar.gz" +MD5SUM="21aa4d1bf70a49a94c2dc9293389b3a0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Thomas Morper" +EMAIL="thomas@beingboiled.info" +APPROVED="Erik Hanson" diff --git a/perl/perl-AppConfig/slack-desc b/perl/perl-AppConfig/slack-desc new file mode 100644 index 0000000000..9dd4042926 --- /dev/null +++ b/perl/perl-AppConfig/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-AppConfig: perl-AppConfig (module for reading config files and arguments) +perl-AppConfig: +perl-AppConfig: AppConfig is a Perl5 module for managing application configuration +perl-AppConfig: information. It maintains the state of any number of variables and +perl-AppConfig: provides methods for parsing configuration files, command line +perl-AppConfig: arguments and CGI script parameters. +perl-AppConfig: +perl-AppConfig: +perl-AppConfig: +perl-AppConfig: +perl-AppConfig: diff --git a/perl/perl-Archive-Zip/README b/perl/perl-Archive-Zip/README new file mode 100644 index 0000000000..14fab682ec --- /dev/null +++ b/perl/perl-Archive-Zip/README @@ -0,0 +1,17 @@ +Archive::Zip module allows a Perl program to create, manipulate, +read, and write Zip archive files. + +Zip archives can be created, or you can read from existing zip files. +Once created, they can be written to files, streams, or strings. Members +can be added, removed, extracted, replaced, rearranged, and enumerated. + +They can also be renamed or have their dates, comments, or other +attributes queried or modified. Their data can be compressed or +uncompressed as needed. + +Members can be created from members in existing Zip files, or from +existing directories, files, or strings. + +This module uses the Compress::Zlib library to read and write the +compressed streams inside the files. + diff --git a/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild b/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild new file mode 100644 index 0000000000..93dce7682e --- /dev/null +++ b/perl/perl-Archive-Zip/perl-Archive-Zip.SlackBuild @@ -0,0 +1,97 @@ +#!/bin/sh + +# Slackware build script for Archive::Zip + +# Copyright 2008-2010 David Somero <dsomero@hotmail.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. + +PRGNAM=perl-Archive-Zip +VERSION=1.31_01 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Archive-Zip + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCS="LICENSE README" + +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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 OPTIMIZE="$SLKCFLAGS" INSTALLDIRS=vendor +make +make test +make install DESTDIR=$PKG + +mv $PKG/usr/share/man $PKG/usr/ +find $PKG/usr/man -type f -exec gzip -9 {} \; + +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 $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-Archive-Zip/perl-Archive-Zip.info b/perl/perl-Archive-Zip/perl-Archive-Zip.info new file mode 100644 index 0000000000..0dedeff91f --- /dev/null +++ b/perl/perl-Archive-Zip/perl-Archive-Zip.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Archive-Zip" +VERSION="1.31_01" +HOMEPAGE="http://search.cpan.org/~adamk/Archive-Zip-1.31_01/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Archive-Zip-1.31_01.tar.gz" +MD5SUM="ba40ad38620a43f1f8e2d24b857bb06e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-Archive-Zip/slack-desc b/perl/perl-Archive-Zip/slack-desc new file mode 100644 index 0000000000..4eaf2999ec --- /dev/null +++ b/perl/perl-Archive-Zip/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Archive-Zip: perl-Archive-Zip (perl module) +perl-Archive-Zip: +perl-Archive-Zip: The Archive::Zip module allows a Perl program to create, manipulate, +perl-Archive-Zip: read, and write Zip archive files. +perl-Archive-Zip: +perl-Archive-Zip: Zip archives can be created, or you can read from existing zip files. +perl-Archive-Zip: Once created, they can be written to files, streams, or strings. Members +perl-Archive-Zip: can be added, removed, extracted, replaced, rearranged, and enumerated. +perl-Archive-Zip: They can also be renamed or have their dates, comments, or other +perl-Archive-Zip: attributes queried or modified. Their data can be compressed or +perl-Archive-Zip: uncompressed as needed. diff --git a/perl/perl-Astro-SunTime/README b/perl/perl-Astro-SunTime/README new file mode 100644 index 0000000000..8fced4f658 --- /dev/null +++ b/perl/perl-Astro-SunTime/README @@ -0,0 +1,3 @@ +perl-Astro-SunTime (Interface to calculate sun rise/set times) + +Requires: perl-Time-modules available at SlackBuilds.org
\ No newline at end of file diff --git a/perl/perl-Astro-SunTime/perl-Astro-SunTime.SlackBuild b/perl/perl-Astro-SunTime/perl-Astro-SunTime.SlackBuild new file mode 100644 index 0000000000..362071f798 --- /dev/null +++ b/perl/perl-Astro-SunTime/perl-Astro-SunTime.SlackBuild @@ -0,0 +1,95 @@ +#!/bin/sh + +# Slackware build script for perl-Astro-SunTime +# Copyright 2010 V'yacheslav Stetskevych <slava18@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. + +SRCNAM=Astro-SunTime +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.01} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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 -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-Astro-SunTime/perl-Astro-SunTime.info b/perl/perl-Astro-SunTime/perl-Astro-SunTime.info new file mode 100644 index 0000000000..c624c57558 --- /dev/null +++ b/perl/perl-Astro-SunTime/perl-Astro-SunTime.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Astro-SunTime" +VERSION="0.01" +HOMEPAGE="http://search.cpan.org/~robf/Astro-SunTime-0.01/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RO/ROBF/Astro-SunTime-0.01.tar.gz" +MD5SUM="4657927a49604494bfaaa153663b90b9" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="V'yacheslav Stetskevych" +EMAIL="slava18@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-Astro-SunTime/slack-desc b/perl/perl-Astro-SunTime/slack-desc new file mode 100644 index 0000000000..82663b9a6d --- /dev/null +++ b/perl/perl-Astro-SunTime/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 ':'. + + |-----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: diff --git a/perl/perl-Audio-FLAC-Header/README b/perl/perl-Audio-FLAC-Header/README new file mode 100644 index 0000000000..109e1d5aea --- /dev/null +++ b/perl/perl-Audio-FLAC-Header/README @@ -0,0 +1,2 @@ +This package provides the Audio::FLAC::Header Perl module, which +provides an interface to FLAC header metadata. diff --git a/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.SlackBuild b/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.SlackBuild new file mode 100644 index 0000000000..3fa099d714 --- /dev/null +++ b/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/sh + +# Slackware build script for perl-Audio-FLAC-Header + +# Written by Mark Grocock <mark@grocock.me.uk> + +SRCNAM=Audio-FLAC-Header +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-2.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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 | 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 \ + 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-Audio-FLAC-Header/perl-Audio-FLAC-Header.info b/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.info new file mode 100644 index 0000000000..bfad68436e --- /dev/null +++ b/perl/perl-Audio-FLAC-Header/perl-Audio-FLAC-Header.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Audio-FLAC-Header" +VERSION="2.4" +HOMEPAGE="http://search.cpan.org/~daniel/Audio-FLAC-Header-2.4/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DA/DANIEL/Audio-FLAC-Header-2.4.tar.gz" +MD5SUM="743292694c050be1b10fb4a307f81e87" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mark Grocock" +EMAIL="mark@grocock.me.uk" +APPROVED="Michiel van Wessem" diff --git a/perl/perl-Audio-FLAC-Header/slack-desc b/perl/perl-Audio-FLAC-Header/slack-desc new file mode 100644 index 0000000000..c97204d26d --- /dev/null +++ b/perl/perl-Audio-FLAC-Header/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-Audio-FLAC-Header: perl-Audio-FLAC-Header (interface to FLAC header metadata) +perl-Audio-FLAC-Header: +perl-Audio-FLAC-Header: This package provides the Audio::FLAC::Header Perl module, which +perl-Audio-FLAC-Header: provides an interface to FLAC header metadata. +perl-Audio-FLAC-Header: +perl-Audio-FLAC-Header: http://search.cpan.org/~daniel/Audio-FLAC-Header-2.4/ +perl-Audio-FLAC-Header: +perl-Audio-FLAC-Header: +perl-Audio-FLAC-Header: +perl-Audio-FLAC-Header: +perl-Audio-FLAC-Header: diff --git a/perl/perl-Authen-SASL/README b/perl/perl-Authen-SASL/README new file mode 100644 index 0000000000..0ddc945a68 --- /dev/null +++ b/perl/perl-Authen-SASL/README @@ -0,0 +1,8 @@ +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. + +Dependencies: +perl-Digest-HMAC diff --git a/perl/perl-Authen-SASL/perl-Authen-SASL.SlackBuild b/perl/perl-Authen-SASL/perl-Authen-SASL.SlackBuild new file mode 100644 index 0000000000..5c18b64dd1 --- /dev/null +++ b/perl/perl-Authen-SASL/perl-Authen-SASL.SlackBuild @@ -0,0 +1,108 @@ +#!/bin/sh -e + +# Copyright (c) 2010 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=2.15 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 $PRGNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 | 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" -print0 | xargs -0 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 new file mode 100644 index 0000000000..bb4334c4d2 --- /dev/null +++ b/perl/perl-Authen-SASL/perl-Authen-SASL.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Authen-SASL" +VERSION="2.15" +HOMEPAGE="http://search.cpan.org/~gbarr/Authen-SASL-2.15/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/Authen-SASL-2.15.tar.gz" +MD5SUM="35929abb2755cf479d548672800aebee" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Daniel LEVAI" +EMAIL="leva@ecentrum.hu" +APPROVED="Michiel van Wessem" diff --git a/perl/perl-Authen-SASL/slack-desc b/perl/perl-Authen-SASL/slack-desc new file mode 100644 index 0000000000..bc46f2680b --- /dev/null +++ b/perl/perl-Authen-SASL/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 ':'. + + |-----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: http://search.cpan.org/~gbarr/Authen-SASL/ +perl-Authen-SASL: +perl-Authen-SASL: diff --git a/perl/perl-BerkeleyDB/README b/perl/perl-BerkeleyDB/README new file mode 100644 index 0000000000..6d096d5bd9 --- /dev/null +++ b/perl/perl-BerkeleyDB/README @@ -0,0 +1,3 @@ +perl-BerkeleyDB is a Perl extension for Berkeley DB version 2, 3 or 4. + +perl-BerkeleyDB is required for amavisd-new package. diff --git a/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild b/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild new file mode 100644 index 0000000000..df199f6677 --- /dev/null +++ b/perl/perl-BerkeleyDB/perl-BerkeleyDB.SlackBuild @@ -0,0 +1,109 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: BerkeleyDB +# Home Page http://search.cpan.org/dist/BerkeleyDB/ + +# Copyright (c) 2009-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ 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 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=BerkeleyDB +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.43} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +DOCS="Changes README" + +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 + +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 . \ + \( -perm 777 -o -perm 775 -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 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 +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f + +# 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 + +# find & compress man pages +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 -exec rm -rf {} \; + +mkdir -p $PKG/install +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-BerkeleyDB/perl-BerkeleyDB.info b/perl/perl-BerkeleyDB/perl-BerkeleyDB.info new file mode 100644 index 0000000000..840cfa83f9 --- /dev/null +++ b/perl/perl-BerkeleyDB/perl-BerkeleyDB.info @@ -0,0 +1,10 @@ +PRGNAM="perl-BerkeleyDB" +VERSION="0.43" +HOMEPAGE="http://search.cpan.org/dist/BerkeleyDB/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/BerkeleyDB-0.43.tar.gz" +MD5SUM="3d0cf0651ed8cd3fc36e328d5924a1e9" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-BerkeleyDB/slack-desc b/perl/perl-BerkeleyDB/slack-desc new file mode 100644 index 0000000000..978a44e3f8 --- /dev/null +++ b/perl/perl-BerkeleyDB/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-BerkeleyDB: perl-BerkeleyDB (BerkeleyDB) +perl-BerkeleyDB: +perl-BerkeleyDB: perl-BerkeleyDB is a Perl extension for Berkeley DB +perl-BerkeleyDB: version 2, 3 or 4 +perl-BerkeleyDB: +perl-BerkeleyDB: +perl-BerkeleyDB: +perl-BerkeleyDB: +perl-BerkeleyDB: Homepage: http://search.cpan.org/dist/BerkeleyDB/ +perl-BerkeleyDB: +perl-BerkeleyDB: diff --git a/perl/perl-Bit-Vector/README b/perl/perl-Bit-Vector/README new file mode 100644 index 0000000000..3677b126eb --- /dev/null +++ b/perl/perl-Bit-Vector/README @@ -0,0 +1,3 @@ +Bit::Vector - Efficient bit vector, set of integers and "big int" math library + +This package requires perl-Carp-Clan from SlackBuilds.org. diff --git a/perl/perl-Bit-Vector/perl-Bit-Vector.SlackBuild b/perl/perl-Bit-Vector/perl-Bit-Vector.SlackBuild new file mode 100644 index 0000000000..08fb448467 --- /dev/null +++ b/perl/perl-Bit-Vector/perl-Bit-Vector.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Bit-Vector + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Bit-Vector +VERSION=${VERSION:-7.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Bit-Vector +DOCS="Artistic.txt CREDITS.txt GNU_GPL.txt GNU_LGPL.txt README.txt" + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# 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 +) + +# 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-Bit-Vector/perl-Bit-Vector.info b/perl/perl-Bit-Vector/perl-Bit-Vector.info new file mode 100644 index 0000000000..e5462aa827 --- /dev/null +++ b/perl/perl-Bit-Vector/perl-Bit-Vector.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Bit-Vector" +VERSION="7.1" +HOMEPAGE="http://search.cpan.org/dist/Bit-Vector/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/Bit-Vector-7.1.tar.gz" +MD5SUM="164c8574b728f6171b2a6f564fcd2e50" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Erik Hanson" diff --git a/perl/perl-Bit-Vector/slack-desc b/perl/perl-Bit-Vector/slack-desc new file mode 100644 index 0000000000..c3edaf7b28 --- /dev/null +++ b/perl/perl-Bit-Vector/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 ':'. + + |-----handy-ruler-------------------------------------------------------| +perl-Bit-Vector: perl-Bit-Vector (perl math library) +perl-Bit-Vector: +perl-Bit-Vector: Bit::Vector is an efficient bit vector, set of integers and "big int" +perl-Bit-Vector: math library +perl-Bit-Vector: +perl-Bit-Vector: +perl-Bit-Vector: +perl-Bit-Vector: +perl-Bit-Vector: +perl-Bit-Vector: +perl-Bit-Vector: diff --git a/perl/perl-Cache-FastMmap/README b/perl/perl-Cache-FastMmap/README new file mode 100644 index 0000000000..858a07c719 --- /dev/null +++ b/perl/perl-Cache-FastMmap/README @@ -0,0 +1,2 @@ +Cache::FastMmap perl modules uses an mmap'ed file to act as a +shared memory interprocess cache. diff --git a/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild b/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild new file mode 100644 index 0000000000..b10eab3406 --- /dev/null +++ b/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.SlackBuild @@ -0,0 +1,87 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Cache::FastMmap +# Home Page http://search.cpan.org/dist/Cache-FastMmap/ + +# Copyright (c) 2008-2011, Nishant Limbachia, Hoffman Estates, IL, USA +# <nishant _AT_ mnspace _DOT_ 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 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. + +PRGNAM=perl-Cache-FastMmap +VERSION=${VERSION:-1.36} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Cache-FastMmap + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +DOCS="Changes README" + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xzvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION + +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 install DESTDIR=$PKG + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +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 + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +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 + +mkdir -p $PKG/install +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-Cache-FastMmap/perl-Cache-FastMmap.info b/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.info new file mode 100644 index 0000000000..e148fb821e --- /dev/null +++ b/perl/perl-Cache-FastMmap/perl-Cache-FastMmap.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Cache-FastMmap" +VERSION="1.36" +HOMEPAGE="http://search.cpan.org/dist/Cache-FastMmap/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RO/ROBM/Cache-FastMmap-1.36.tar.gz" +MD5SUM="d13b3b3a4b7784ecfc99f2c586985796" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="rworkman" diff --git a/perl/perl-Cache-FastMmap/slack-desc b/perl/perl-Cache-FastMmap/slack-desc new file mode 100644 index 0000000000..018f771086 --- /dev/null +++ b/perl/perl-Cache-FastMmap/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Cache-FastMmap: perl-Cache-FastMmap (Cache::FastMmap) +perl-Cache-FastMmap: +perl-Cache-FastMmap: Cache::FastMmap perl module uses an mmap'ed file to act +perl-Cache-FastMmap: as a shared memory interprocess cache. +perl-Cache-FastMmap: +perl-Cache-FastMmap: Homepage: http://search.cpan.org/dist/Cache-FastMmap/ +perl-Cache-FastMmap: +perl-Cache-FastMmap: +perl-Cache-FastMmap: +perl-Cache-FastMmap: +perl-Cache-FastMmap: diff --git a/perl/perl-Carp-Clan/README b/perl/perl-Carp-Clan/README new file mode 100644 index 0000000000..f65f5efb04 --- /dev/null +++ b/perl/perl-Carp-Clan/README @@ -0,0 +1,20 @@ +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. ;-) + +For more informations, see: +http://search.cpan.org/dist/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 new file mode 100644 index 0000000000..7c76d23a5a --- /dev/null +++ b/perl/perl-Carp-Clan/perl-Carp-Clan.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Carp-Clan + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Carp-Clan +VERSION=${VERSION:-6.04} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Carp-Clan +DOCS="README" + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# 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 +) + +# 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-Carp-Clan/perl-Carp-Clan.info b/perl/perl-Carp-Clan/perl-Carp-Clan.info new file mode 100644 index 0000000000..06f60268c2 --- /dev/null +++ b/perl/perl-Carp-Clan/perl-Carp-Clan.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Carp-Clan" +VERSION="6.04" +HOMEPAGE="http://search.cpan.org/dist/Carp-Clan/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/Carp-Clan-6.04.tar.gz" +MD5SUM="b6316bc51bb530d994f2784615939fb2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Erik Hanson" diff --git a/perl/perl-Carp-Clan/slack-desc b/perl/perl-Carp-Clan/slack-desc new file mode 100644 index 0000000000..a04567e534 --- /dev/null +++ b/perl/perl-Carp-Clan/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 ':'. + + |-----handy-ruler-------------------------------------------------------| +perl-Carp-Clan: perl-Carp-Clan (error reporting module) +perl-Carp-Clan: +perl-Carp-Clan: Carp::Clan report errors from perspective of caller of a "clan" of +perl-Carp-Clan: modules. +perl-Carp-Clan: +perl-Carp-Clan: +perl-Carp-Clan: +perl-Carp-Clan: +perl-Carp-Clan: +perl-Carp-Clan: +perl-Carp-Clan: diff --git a/perl/perl-Class-Factory-Util/README b/perl/perl-Class-Factory-Util/README new file mode 100644 index 0000000000..08df054f7d --- /dev/null +++ b/perl/perl-Class-Factory-Util/README @@ -0,0 +1,2 @@ +perl-Class-Factory-Util - Provides utility methods for factory classes. + diff --git a/perl/perl-Class-Factory-Util/perl-Class-Factory-Util.SlackBuild b/perl/perl-Class-Factory-Util/perl-Class-Factory-Util.SlackBuild new file mode 100644 index 0000000000..fec943ed72 --- /dev/null +++ b/perl/perl-Class-Factory-Util/perl-Class-Factory-Util.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-Class-Factory-Util + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, 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. + +SRCNAM=Class-Factory-Util +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.7} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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 \ + 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 \ + | 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 \ + $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-Class-Factory-Util/perl-Class-Factory-Util.info b/perl/perl-Class-Factory-Util/perl-Class-Factory-Util.info new file mode 100644 index 0000000000..51d05004fd --- /dev/null +++ b/perl/perl-Class-Factory-Util/perl-Class-Factory-Util.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Class-Factory-Util" +VERSION="1.7" +HOMEPAGE="http://search.cpan.org/~drolsky/Class-Factory-Util-1.7/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Factory-Util-1.7.tar.gz" +MD5SUM="aebd79da361b676a7ecd3245fc3d1b3f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-Class-Factory-Util/slack-desc b/perl/perl-Class-Factory-Util/slack-desc new file mode 100644 index 0000000000..b8131bc562 --- /dev/null +++ b/perl/perl-Class-Factory-Util/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Class-Factory-Util: perl-Class-Factory-Util (Provides utility methods for factory classes) +perl-Class-Factory-Util: +perl-Class-Factory-Util: This module exports a method that is useful for factory classes. +perl-Class-Factory-Util: +perl-Class-Factory-Util: +perl-Class-Factory-Util: +perl-Class-Factory-Util: +perl-Class-Factory-Util: +perl-Class-Factory-Util: +perl-Class-Factory-Util: +perl-Class-Factory-Util: diff --git a/perl/perl-Class-Gomor/README b/perl/perl-Class-Gomor/README new file mode 100644 index 0000000000..ac25c4af7b --- /dev/null +++ b/perl/perl-Class-Gomor/README @@ -0,0 +1,14 @@ +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. +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. diff --git a/perl/perl-Class-Gomor/perl-Class-Gomor.SlackBuild b/perl/perl-Class-Gomor/perl-Class-Gomor.SlackBuild new file mode 100644 index 0000000000..ba2d8a50cf --- /dev/null +++ b/perl/perl-Class-Gomor/perl-Class-Gomor.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Class-Gomor + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Class-Gomor +VERSION=${VERSION:-1.02} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Class-Gomor +DOCS="LICENSE LICENSE.Artistic README" + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# 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 +) + +# 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-Class-Gomor/perl-Class-Gomor.info b/perl/perl-Class-Gomor/perl-Class-Gomor.info new file mode 100644 index 0000000000..d65d490390 --- /dev/null +++ b/perl/perl-Class-Gomor/perl-Class-Gomor.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Class-Gomor" +VERSION="1.02" +HOMEPAGE="http://search.cpan.org/dist/Class-Gomor/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/Class-Gomor-1.02.tar.gz" +MD5SUM="287c3b3be72fcb4a4089fe232b8b1002" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Erik Hanson" diff --git a/perl/perl-Class-Gomor/slack-desc b/perl/perl-Class-Gomor/slack-desc new file mode 100644 index 0000000000..d11e8b7eda --- /dev/null +++ b/perl/perl-Class-Gomor/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 ':'. + + |-----handy-ruler-------------------------------------------------------| +perl-Class-Gomor: perl-Class-Gomor (another class and object builder) +perl-Class-Gomor: +perl-Class-Gomor: Class::Gomor is yet another class builder. This one adds parameter +perl-Class-Gomor: checking in new constructor, that is to check for attributes existence, +perl-Class-Gomor: and definedness. +perl-Class-Gomor: +perl-Class-Gomor: +perl-Class-Gomor: +perl-Class-Gomor: +perl-Class-Gomor: +perl-Class-Gomor: diff --git a/perl/perl-Class-Singleton/README b/perl/perl-Class-Singleton/README new file mode 100644 index 0000000000..2a2ef960a4 --- /dev/null +++ b/perl/perl-Class-Singleton/README @@ -0,0 +1 @@ +perl-Class::Singleton is a Implementation of a "Singleton" class diff --git a/perl/perl-Class-Singleton/perl-Class-Singleton.SlackBuild b/perl/perl-Class-Singleton/perl-Class-Singleton.SlackBuild new file mode 100644 index 0000000000..f4021cf85c --- /dev/null +++ b/perl/perl-Class-Singleton/perl-Class-Singleton.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-Class-Singleton + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, 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. + +SRCNAM=Class-Singleton +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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 \ + 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 \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/perl/perl-Class-Singleton/perl-Class-Singleton.info b/perl/perl-Class-Singleton/perl-Class-Singleton.info new file mode 100644 index 0000000000..93fe79f6a6 --- /dev/null +++ b/perl/perl-Class-Singleton/perl-Class-Singleton.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Class-Singleton" +VERSION="1.4" +HOMEPAGE="http://search.cpan.org/~abw/Class-Singleton-1.4/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/A/AB/ABW/Class-Singleton-1.4.tar.gz" +MD5SUM="a18b108ab97e2107cbbe816d2b3e2ee3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-Class-Singleton/slack-desc b/perl/perl-Class-Singleton/slack-desc new file mode 100644 index 0000000000..d12592b040 --- /dev/null +++ b/perl/perl-Class-Singleton/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Class-Singleton: perl-Class-Singleton (Implementation of a "Singleton" class) +perl-Class-Singleton: +perl-Class-Singleton: Class::Singleton - Implementation of a "Singleton" class. +perl-Class-Singleton: +perl-Class-Singleton: +perl-Class-Singleton: +perl-Class-Singleton: +perl-Class-Singleton: +perl-Class-Singleton: +perl-Class-Singleton: +perl-Class-Singleton: diff --git a/perl/perl-Config-IniFiles/README b/perl/perl-Config-IniFiles/README new file mode 100644 index 0000000000..e30e0f79a6 --- /dev/null +++ b/perl/perl-Config-IniFiles/README @@ -0,0 +1 @@ +perl-Config-IniFiles perl module for reading .ini-style configuration files. diff --git a/perl/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild b/perl/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild new file mode 100644 index 0000000000..c6d1868d45 --- /dev/null +++ b/perl/perl-Config-IniFiles/perl-Config-IniFiles.SlackBuild @@ -0,0 +1,95 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Config::IniFiles +# Home Page http://search.cpan.org/dist/Config-IniFiles/ + +# Copyright (c) 2008-2011, Nishant Limbachia, Hoffman Estates, IL, USA <nishant _AT_ mnspace _DOT_ 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 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. + +PRGNAM=perl-Config-IniFiles +VERSION=${VERSION:-2.66} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Config-IniFiles + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +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 README" + +rm -rf $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xzvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 install DESTDIR=$PKG + +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 + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +find $PKG -depth -type d -empty -exec rm -rf {} \; + +mkdir -p $PKG/install +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-Config-IniFiles/perl-Config-IniFiles.info b/perl/perl-Config-IniFiles/perl-Config-IniFiles.info new file mode 100644 index 0000000000..a3abd51eb3 --- /dev/null +++ b/perl/perl-Config-IniFiles/perl-Config-IniFiles.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Config-IniFiles" +VERSION="2.66" +HOMEPAGE="http://search.cpan.org/dist/Config-IniFiles/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Config-IniFiles-2.66.tar.gz" +MD5SUM="b03be17e0e2b4257f97808384ebdbeb9" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="rworkman" diff --git a/perl/perl-Config-IniFiles/slack-desc b/perl/perl-Config-IniFiles/slack-desc new file mode 100644 index 0000000000..187eed25ee --- /dev/null +++ b/perl/perl-Config-IniFiles/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Config-IniFiles: perl-Config-IniFiles (Config::IniFiles) +perl-Config-IniFiles: +perl-Config-IniFiles: perl-Config-IniFiles perl module to read .ini-style +perl-Config-IniFiles: configuration files. +perl-Config-IniFiles: +perl-Config-IniFiles: Homepage: http://search.cpan.org/dist/Config-IniFiles/ +perl-Config-IniFiles: +perl-Config-IniFiles: +perl-Config-IniFiles: +perl-Config-IniFiles: +perl-Config-IniFiles: diff --git a/perl/perl-Convert-BinHex/README b/perl/perl-Convert-BinHex/README new file mode 100644 index 0000000000..e37d50a6c5 --- /dev/null +++ b/perl/perl-Convert-BinHex/README @@ -0,0 +1,3 @@ +perl-Convert-BinHex extracts data from Macintosh BinHex files + +This is required for amavisd-new package. diff --git a/perl/perl-Convert-BinHex/perl-Convert-BinHex.SlackBuild b/perl/perl-Convert-BinHex/perl-Convert-BinHex.SlackBuild new file mode 100644 index 0000000000..c86ba1ed59 --- /dev/null +++ b/perl/perl-Convert-BinHex/perl-Convert-BinHex.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Convert::BinHex +# Home Page http://search.cpan.org/dist/Convert-BinHex/ + +# Copyright (c) 2009-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__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 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Convert-BinHex +PRGNAM=perl-Convert-BinHex +VERSION=1.119 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +DOCS="COPYING README" + +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 + +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 . \ + \( -perm 777 -o -perm 775 -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 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 {} \; + +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:-tgz} diff --git a/perl/perl-Convert-BinHex/perl-Convert-BinHex.info b/perl/perl-Convert-BinHex/perl-Convert-BinHex.info new file mode 100644 index 0000000000..079097d5d4 --- /dev/null +++ b/perl/perl-Convert-BinHex/perl-Convert-BinHex.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Convert-BinHex" +VERSION="1.119" +HOMEPAGE="http://search.cpan.org/dist/Convert-BinHex/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/E/ER/ERYQ/Convert-BinHex-1.119.tar.gz" +MD5SUM="ba70ad1772abac6270078f28197a7961" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Convert-BinHex/slack-desc b/perl/perl-Convert-BinHex/slack-desc new file mode 100644 index 0000000000..61c02bbb3e --- /dev/null +++ b/perl/perl-Convert-BinHex/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Convert-BinHex: perl-Convert-BinHex (Convert::BinHex) +perl-Convert-BinHex: +perl-Convert-BinHex: perl-Convert-BinHex extracts data from Macintosh BinHex files +perl-Convert-BinHex: +perl-Convert-BinHex: +perl-Convert-BinHex: +perl-Convert-BinHex: Home Page: http://search.cpan.org/dist/Convert-BinHex/ +perl-Convert-BinHex: +perl-Convert-BinHex: +perl-Convert-BinHex: +perl-Convert-BinHex: diff --git a/perl/perl-Convert-TNEF/README b/perl/perl-Convert-TNEF/README new file mode 100644 index 0000000000..4965ce3f3e --- /dev/null +++ b/perl/perl-Convert-TNEF/README @@ -0,0 +1,4 @@ +perl-Convert-TNEF is a perl module to read TNEF files. + +This is required for amavisd-new package. +Requires: perl-Convert-BinHex perl-IO-stringy perl-MailTools diff --git a/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild b/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild new file mode 100644 index 0000000000..db63c50f66 --- /dev/null +++ b/perl/perl-Convert-TNEF/perl-Convert-TNEF.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Convert::TNEF +# Home Page http://search.cpan.org/dist/Convert-TNEF/ + +# Copyright (c) 2009-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__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 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Convert-TNEF +PRGNAM=perl-Convert-TNEF +VERSION=0.17 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +DOCS="Changes README" + +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 + +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 . \ + \( -perm 777 -o -perm 775 -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 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 {} \; + +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:-tgz} diff --git a/perl/perl-Convert-TNEF/perl-Convert-TNEF.info b/perl/perl-Convert-TNEF/perl-Convert-TNEF.info new file mode 100644 index 0000000000..f889929bb7 --- /dev/null +++ b/perl/perl-Convert-TNEF/perl-Convert-TNEF.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Convert-TNEF" +VERSION="0.17" +HOMEPAGE="http://search.cpan.org/dist/Convert-TNEF/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DO/DOUGW/Convert-TNEF-0.17.tar.gz" +MD5SUM="31cddf42fae9495b4a686b17ec68d7e0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Convert-TNEF/slack-desc b/perl/perl-Convert-TNEF/slack-desc new file mode 100644 index 0000000000..a943cdd4af --- /dev/null +++ b/perl/perl-Convert-TNEF/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Convert-TNEF: perl-Convert-TNEF (Convert::TNEF) +perl-Convert-TNEF: +perl-Convert-TNEF: perl-Convert-TNEF is a perl module read TNEF files. +perl-Convert-TNEF: +perl-Convert-TNEF: +perl-Convert-TNEF: +perl-Convert-TNEF: Homepage: http://search.cpan.org/dist/Convert-TNEF/ +perl-Convert-TNEF: +perl-Convert-TNEF: +perl-Convert-TNEF: +perl-Convert-TNEF: diff --git a/perl/perl-Convert-UUlib/README b/perl/perl-Convert-UUlib/README new file mode 100644 index 0000000000..cfd099f50c --- /dev/null +++ b/perl/perl-Convert-UUlib/README @@ -0,0 +1,3 @@ +perl-Convert-UUlib provides Perl interface to the uulib library. + +perl-Convert-UUlib is required for amavisd-new. diff --git a/perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild b/perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild new file mode 100644 index 0000000000..7687c0b5f8 --- /dev/null +++ b/perl/perl-Convert-UUlib/perl-Convert-UUlib.SlackBuild @@ -0,0 +1,112 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Convert::UUlib +# Home Page http://search.cpan.org/dist/Convert-UUlib/ + +# Copyright (c) 2009-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__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 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Convert-UUlib +PRGNAM=perl-Convert-UUlib +VERSION=1.33 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +DOCS="COPYING* Changes README" + +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 + +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 . \ + \( -perm 777 -o -perm 775 -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 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 {} \; + +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:-tgz} diff --git a/perl/perl-Convert-UUlib/perl-Convert-UUlib.info b/perl/perl-Convert-UUlib/perl-Convert-UUlib.info new file mode 100644 index 0000000000..dd9df3ce93 --- /dev/null +++ b/perl/perl-Convert-UUlib/perl-Convert-UUlib.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Convert-UUlib" +VERSION="1.33" +HOMEPAGE="http://search.cpan.org/dist/Convert-UUlib/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Convert-UUlib-1.33.tar.gz" +MD5SUM="d4e3330562e5d4f6c022b0a0619a2c71" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Convert-UUlib/slack-desc b/perl/perl-Convert-UUlib/slack-desc new file mode 100644 index 0000000000..c5ad267045 --- /dev/null +++ b/perl/perl-Convert-UUlib/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Convert-UUlib: perl-Convert-UUlib +perl-Convert-UUlib: +perl-Convert-UUlib: Perl interface to the uulib library. +perl-Convert-UUlib: +perl-Convert-UUlib: +perl-Convert-UUlib: Homepage: http://search.cpan.org/dist/Convert-UUlib/ +perl-Convert-UUlib: +perl-Convert-UUlib: +perl-Convert-UUlib: +perl-Convert-UUlib: +perl-Convert-UUlib: diff --git a/perl/perl-Crypt-OpenSSL-Bignum/README b/perl/perl-Crypt-OpenSSL-Bignum/README new file mode 100644 index 0000000000..1abe770ec3 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-Bignum/README @@ -0,0 +1,4 @@ +perl-Crypt-OpenSSL-Bignum is an perl module designed to provide basic +access to the OpenSSL multiprecision integer arithmetic libraries. + +This module requires OpenSSL libraries and header files. diff --git a/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.SlackBuild b/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.SlackBuild new file mode 100644 index 0000000000..fb3d685520 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Crypt::OpenSSL::Bignum +# Home Page http://search.cpan.org/dist/Crypt-OpenSSL-Bignum/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__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 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Crypt-OpenSSL-Bignum +PRGNAM=perl-Crypt-OpenSSL-Bignum +VERSION=0.04 +TAG=${TAG:-_SBo} +BUILD=${BUILD:-1} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +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" + 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 + +DOCS="Changes README" + + +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 . \ + \( -perm 777 -o -perm 775 -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 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 {} \; + +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:-tgz} diff --git a/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.info b/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.info new file mode 100644 index 0000000000..8b988494ab --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-Bignum/perl-Crypt-OpenSSL-Bignum.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Crypt-OpenSSL-Bignum" +VERSION="0.04" +HOMEPAGE="http://search.cpan.org/dist/Crypt-OpenSSL-Bignum/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-Bignum-0.04.tar.gz" +MD5SUM="9369ef722b0705c0604998559988eb18" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Crypt-OpenSSL-Bignum/slack-desc b/perl/perl-Crypt-OpenSSL-Bignum/slack-desc new file mode 100644 index 0000000000..b21e5c7369 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-Bignum/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Crypt-OpenSSL-Bignum: perl-Crypt-OpenSSL-Bignum (Crypt::OpenSSL::Bignum) +perl-Crypt-OpenSSL-Bignum: +perl-Crypt-OpenSSL-Bignum: Crypt::OpenSSL::Bignum is a perl module designed +perl-Crypt-OpenSSL-Bignum: to provide basic access to the OpenSSL multi- +perl-Crypt-OpenSSL-Bignum: precision integer arithmetic libraries. +perl-Crypt-OpenSSL-Bignum: +perl-Crypt-OpenSSL-Bignum: Homepage: http://search.cpan.org/dist/Crypt-OpenSSL-Bignum/ +perl-Crypt-OpenSSL-Bignum: +perl-Crypt-OpenSSL-Bignum: +perl-Crypt-OpenSSL-Bignum: +perl-Crypt-OpenSSL-Bignum: diff --git a/perl/perl-Crypt-OpenSSL-RSA/README b/perl/perl-Crypt-OpenSSL-RSA/README new file mode 100644 index 0000000000..c3da805bb9 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-RSA/README @@ -0,0 +1,4 @@ +perl-Crypt-OpenSSL-RSA provides perl modules for RSA encoding and decoding, +using the openSSL libraries. + +This requires perl-Crypt-OpenSSL-Random. diff --git a/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.SlackBuild b/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.SlackBuild new file mode 100644 index 0000000000..72ded78961 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.SlackBuild @@ -0,0 +1,114 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Crypt::OpenSSL::RSA +# Home Page http://search.cpan.org/dist/Crypt-OpenSSL-RSA/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ 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 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Crypt-OpenSSL-RSA +PRGNAM=perl-Crypt-OpenSSL-RSA +VERSION=0.26 +TAG=${TAG:-_SBo} +BUILD=${BUILD:-1} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +DOCS="Changes LICENSE README" + +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 + + +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 . \ + \( -perm 777 -o -perm 775 -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 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:-tgz} diff --git a/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.info b/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.info new file mode 100644 index 0000000000..a10a0e4db6 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-RSA/perl-Crypt-OpenSSL-RSA.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Crypt-OpenSSL-RSA" +VERSION="0.26" +HOMEPAGE="http://search.cpan.org/dist/Crypt-OpenSSL-RSA/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-RSA-0.26.tar.gz" +MD5SUM="baf875f01ee39b88335b8f0962fe4bbc" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="Erik Hanson" diff --git a/perl/perl-Crypt-OpenSSL-RSA/slack-desc b/perl/perl-Crypt-OpenSSL-RSA/slack-desc new file mode 100644 index 0000000000..17c2c35a82 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-RSA/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Crypt-OpenSSL-RSA: perl-Crypt-OpenSSL-RSA (Crypt::OpenSSL::RSA) +perl-Crypt-OpenSSL-RSA: +perl-Crypt-OpenSSL-RSA: perl-Crypt-OpenSSL-RSA - RSA encoding and decoding, +perl-Crypt-OpenSSL-RSA: using the openSSL libraries. +perl-Crypt-OpenSSL-RSA: +perl-Crypt-OpenSSL-RSA: +perl-Crypt-OpenSSL-RSA: Homepage: http://search.cpan.org/dist/Crypt-OpenSSL-RSA/ +perl-Crypt-OpenSSL-RSA: +perl-Crypt-OpenSSL-RSA: +perl-Crypt-OpenSSL-RSA: +perl-Crypt-OpenSSL-RSA: diff --git a/perl/perl-Crypt-OpenSSL-Random/README b/perl/perl-Crypt-OpenSSL-Random/README new file mode 100644 index 0000000000..68e3c36636 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-Random/README @@ -0,0 +1,4 @@ +perl-Crypt-OpenSSL-Random provides the ability to seed and query the +OpenSSL library's pseudo-random number generator. + +perl-Crypt-OpenSSL-Random is a required for perl-Crypt-OpenSSL-RSA. diff --git a/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild b/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild new file mode 100644 index 0000000000..97c8736b87 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.SlackBuild @@ -0,0 +1,113 @@ +#!/bin/sh + +# Slackware Package Build Script for perl module: Crypt::OpenSSL::Random +# Home Page http://search.cpan.org/dist/Crypt-OpenSSL-Random/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__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 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Crypt-OpenSSL-Random +PRGNAM=perl-Crypt-OpenSSL-Random +VERSION=0.04 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +DOCS="Changes LICENSE" + +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 + + +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 . \ + \( -perm 777 -o -perm 775 -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 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 {} \; + +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:-tgz} diff --git a/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.info b/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.info new file mode 100644 index 0000000000..2a1b55b6bb --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-Random/perl-Crypt-OpenSSL-Random.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Crypt-OpenSSL-Random" +VERSION="0.04" +HOMEPAGE="http://search.cpan.org/dist/Crypt-OpenSSL-Random/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-Random-0.04.tar.gz" +MD5SUM="c56ac5dbdd46122eb9b8da59613b7b0a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Crypt-OpenSSL-Random/slack-desc b/perl/perl-Crypt-OpenSSL-Random/slack-desc new file mode 100644 index 0000000000..0e0cacbd50 --- /dev/null +++ b/perl/perl-Crypt-OpenSSL-Random/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Crypt-OpenSSL-Random: perl-Crypt-OpenSSL-Random (Crypt::OpenSSL::Random) +perl-Crypt-OpenSSL-Random: +perl-Crypt-OpenSSL-Random: perl-Crypt-OpenSSL-Random provides the ability to +perl-Crypt-OpenSSL-Random: seed and query the OpenSSL library's +perl-Crypt-OpenSSL-Random: pseudo-random number generator. +perl-Crypt-OpenSSL-Random: +perl-Crypt-OpenSSL-Random: +perl-Crypt-OpenSSL-Random: Homepage: http://search.cpan.org/dist/Crypt-OpenSSL-Random/ +perl-Crypt-OpenSSL-Random: +perl-Crypt-OpenSSL-Random: +perl-Crypt-OpenSSL-Random: diff --git a/perl/perl-Curses/README b/perl/perl-Curses/README new file mode 100644 index 0000000000..a674d3009c --- /dev/null +++ b/perl/perl-Curses/README @@ -0,0 +1,3 @@ +perl-Curses (perl module for Curses) + +terminal screen handling and optimization diff --git a/perl/perl-Curses/perl-Curses.SlackBuild b/perl/perl-Curses/perl-Curses.SlackBuild new file mode 100644 index 0000000000..6768fa235e --- /dev/null +++ b/perl/perl-Curses/perl-Curses.SlackBuild @@ -0,0 +1,87 @@ +#!/bin/sh + +# Slackware build script for perl-Curses + +# Written by Vincent Batts, vbatts@hashbangbash.com + +SRCNAM=Curses +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.28} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; +# Unless $ARCH is already set, use uname -m for all other archs: + *) 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.tgz +cd $SRCNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 | 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 \ + $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-Curses/perl-Curses.info b/perl/perl-Curses/perl-Curses.info new file mode 100644 index 0000000000..c8ea6003d0 --- /dev/null +++ b/perl/perl-Curses/perl-Curses.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Curses" +VERSION="1.28" +HOMEPAGE="http://search.cpan.org/dist/Curses/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GI/GIRAFFED/Curses-1.28.tgz" +MD5SUM="ed9f7ddf2d90f4266da91c3dc9fad9c9" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Vincent Batts" +EMAIL="vbatts@hashbangbash.com" +APPROVED="dsomero" diff --git a/perl/perl-Curses/slack-desc b/perl/perl-Curses/slack-desc new file mode 100644 index 0000000000..70ca2a69d2 --- /dev/null +++ b/perl/perl-Curses/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Curses: perl-Curses (perl module for Curses) +perl-Curses: +perl-Curses: terminal screen handling and optimization +perl-Curses: +perl-Curses: +perl-Curses: +perl-Curses: +perl-Curses: +perl-Curses: +perl-Curses: +perl-Curses: diff --git a/perl/perl-DBD-Pg/README b/perl/perl-DBD-Pg/README new file mode 100644 index 0000000000..115043bf12 --- /dev/null +++ b/perl/perl-DBD-Pg/README @@ -0,0 +1,4 @@ +DBD-Pg is the DBI PostgreSQL interface for Perl. + +This requires perl5, DBI, PostgreSQL, and Test::Simple. PostgreSQL is +available on SBo, the others are included with perl5 in Slackware-13.0. diff --git a/perl/perl-DBD-Pg/perl-DBD-Pg.SlackBuild b/perl/perl-DBD-Pg/perl-DBD-Pg.SlackBuild new file mode 100644 index 0000000000..73c17c5737 --- /dev/null +++ b/perl/perl-DBD-Pg/perl-DBD-Pg.SlackBuild @@ -0,0 +1,87 @@ +#!/bin/sh + +# Slackware build script for DBD::Pg +# Written by Joey Trungale <joey@trungale.net> + +PRGNAM=perl-DBD-Pg +VERSION=${VERSION:-2.16.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=DBD-Pg + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 +make +#make test #requires a running PostgreSQL database +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 + +( 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 +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes MANIFEST README LICENSES/artistic.txt LICENSES/gpl-2.0.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:-tgz} diff --git a/perl/perl-DBD-Pg/perl-DBD-Pg.info b/perl/perl-DBD-Pg/perl-DBD-Pg.info new file mode 100644 index 0000000000..49acd7d049 --- /dev/null +++ b/perl/perl-DBD-Pg/perl-DBD-Pg.info @@ -0,0 +1,10 @@ +PRGNAM="perl-DBD-Pg" +VERSION="2.16.0" +HOMEPAGE="http://search.cpan.org/dist/DBD-Pg" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TU/TURNSTEP/DBD-Pg-2.16.0.tar.gz" +MD5SUM="13cbd73837fe856eca5d63cdd816f439" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Joey Trungale" +EMAIL="joey@trungale.net" +APPROVED="dsomero" diff --git a/perl/perl-DBD-Pg/slack-desc b/perl/perl-DBD-Pg/slack-desc new file mode 100644 index 0000000000..c54bc20cb5 --- /dev/null +++ b/perl/perl-DBD-Pg/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-DBD-Pg: perl-DBD-Pg (PostgreSQL database driver for the DBI module) +perl-DBD-Pg: +perl-DBD-Pg: DBD::Pg is a Perl module that works with the DBI module to provide +perl-DBD-Pg: access to PostgreSQL databases. +perl-DBD-Pg: +perl-DBD-Pg: http://search.cpan.org/dist/DBD-Pg +perl-DBD-Pg: +perl-DBD-Pg: +perl-DBD-Pg: +perl-DBD-Pg: +perl-DBD-Pg: diff --git a/perl/perl-DBD-SQLite/README b/perl/perl-DBD-SQLite/README new file mode 100644 index 0000000000..3b7c134fef --- /dev/null +++ b/perl/perl-DBD-SQLite/README @@ -0,0 +1 @@ +DBD::SQLite - Self-contained RDBMS in a DBI Driver diff --git a/perl/perl-DBD-SQLite/perl-DBD-SQLite.SlackBuild b/perl/perl-DBD-SQLite/perl-DBD-SQLite.SlackBuild new file mode 100644 index 0000000000..df10b7b17e --- /dev/null +++ b/perl/perl-DBD-SQLite/perl-DBD-SQLite.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/sh + +# Slackware build script for perl-DBD-SQLite +# Written by Thomas Morper <thomas@beingboiled.info> + +SRCNAM=DBD-SQLite +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.31} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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 \ + 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 \ + | 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 LICENSE 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} diff --git a/perl/perl-DBD-SQLite/perl-DBD-SQLite.info b/perl/perl-DBD-SQLite/perl-DBD-SQLite.info new file mode 100644 index 0000000000..2bbf6d7144 --- /dev/null +++ b/perl/perl-DBD-SQLite/perl-DBD-SQLite.info @@ -0,0 +1,10 @@ +PRGNAM="perl-DBD-SQLite" +VERSION="1.31" +HOMEPAGE="http://search.cpan.org/~adamk/DBD-SQLite/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/DBD-SQLite-1.31.tar.gz" +MD5SUM="67b3575104efd606c8093bc416e3338d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Thomas Morper" +EMAIL="thomas@beingboiled.info" +APPROVED="Michiel van Wessem" diff --git a/perl/perl-DBD-SQLite/slack-desc b/perl/perl-DBD-SQLite/slack-desc new file mode 100644 index 0000000000..3ff28bfff9 --- /dev/null +++ b/perl/perl-DBD-SQLite/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-DBD-SQLite: perl-DBD-SQLite (RDBMS perl module) +perl-DBD-SQLite: +perl-DBD-SQLite: DBD::SQLite - Self-contained RDBMS in a DBI Driver +perl-DBD-SQLite: +perl-DBD-SQLite: +perl-DBD-SQLite: +perl-DBD-SQLite: +perl-DBD-SQLite: +perl-DBD-SQLite: +perl-DBD-SQLite: +perl-DBD-SQLite: diff --git a/perl/perl-Danga-Socket/README b/perl/perl-Danga-Socket/README new file mode 100644 index 0000000000..62c10c159d --- /dev/null +++ b/perl/perl-Danga-Socket/README @@ -0,0 +1,3 @@ +Danga::Socket - Event loop and event-driven async socket base class + +This requires perl-Sys-Syscall (Sys::Syscall) diff --git a/perl/perl-Danga-Socket/perl-Danga-Socket.SlackBuild b/perl/perl-Danga-Socket/perl-Danga-Socket.SlackBuild new file mode 100644 index 0000000000..21a97626e9 --- /dev/null +++ b/perl/perl-Danga-Socket/perl-Danga-Socket.SlackBuild @@ -0,0 +1,86 @@ +#!/bin/sh + +# Slackware build script for perl-Danga-Socket + +# Copyright 2009-2010 Adrian Ulrich <adrian@blinkenlights.ch> +# 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-Danga-Socket +VERSION=${VERSION:-1.61} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Danga-Socket + +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} + +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 . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +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 + +# Remove empty directories +find $PKG -depth -type d -empty -delete + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/perl/perl-Danga-Socket/perl-Danga-Socket.info b/perl/perl-Danga-Socket/perl-Danga-Socket.info new file mode 100644 index 0000000000..5897a86e93 --- /dev/null +++ b/perl/perl-Danga-Socket/perl-Danga-Socket.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Danga-Socket" +VERSION="1.61" +HOMEPAGE="http://search.cpan.org/~bradfitz/Danga-Socket-1.61/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/B/BR/BRADFITZ/Danga-Socket-1.61.tar.gz" +MD5SUM="dc8f481b35172a090b977f3dea7fa24a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Adrian Ulrich" +EMAIL="adrian@blinkenlights.ch" +APPROVED="Niels Horn" diff --git a/perl/perl-Danga-Socket/slack-desc b/perl/perl-Danga-Socket/slack-desc new file mode 100644 index 0000000000..a33fcfcf08 --- /dev/null +++ b/perl/perl-Danga-Socket/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Danga-Socket: perl-Danga-Socket (epoll() interface for perl) +perl-Danga-Socket: +perl-Danga-Socket: An event loop and event-driven async socket base class +perl-Danga-Socket: +perl-Danga-Socket: +perl-Danga-Socket: +perl-Danga-Socket: +perl-Danga-Socket: +perl-Danga-Socket: +perl-Danga-Socket: +perl-Danga-Socket: diff --git a/perl/perl-Date-Calc/README b/perl/perl-Date-Calc/README new file mode 100644 index 0000000000..64eceeb3d4 --- /dev/null +++ b/perl/perl-Date-Calc/README @@ -0,0 +1,9 @@ +perl-Date-Calc provides perl modules for Gregorian calendar date calculations. + +perl-Date-Calc is required for pflogsumm. + +perl-Date-Calc requires: +1. perl-Sub-Uplevel +2. perl-Test-Exception +3. perl-Carp-Clan +4. perl-Bit-Vector
\ No newline at end of file diff --git a/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild b/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild new file mode 100644 index 0000000000..b48bdefc8e --- /dev/null +++ b/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Date::Calc +# Home Page http://search.cpan.org/dist/Date-Calc/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant@mnspace.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 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. + +SRCNAM=Date-Calc +PRGNAM=perl-Date-Calc +VERSION=6.3 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +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 + +### clean up from previous builds +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +### Extracting the source tarballs +cd $TMP +tar xzvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $TMP/$SRCNAM-$VERSION + +chown -R root.root . + +find . \ +\( -perm 664 -o -perm 666 -o -perm 600 -o -perm 440 -o -perm 444 -o -perm 400 \) \ +-exec chmod 644 {} \; + +find . \ +\( -perm 777 -o -perm 755 -o -perm 711 -o -perm 700 -o -perm 555 -o -perm 511 -o -perm 500 \) \ +-exec chmod 755 {} \; + +CFLAGS="$SLKCFLAGS" perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor +make +make install DESTDIR=$PKG + +### putting essential docs +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGES.txt CREDITS.txt README.txt license/*.txt $PKG/usr/doc/$PRGNAM-$VERSION + +# move man pages +mv $PKG/usr/share/man $PKG/usr + +# 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 {} \; + +# find and compress man pages +if [ -d $PKG/usr/man ]; then + ( 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 + ) +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} diff --git a/perl/perl-Date-Calc/perl-Date-Calc.info b/perl/perl-Date-Calc/perl-Date-Calc.info new file mode 100644 index 0000000000..b4199db0d1 --- /dev/null +++ b/perl/perl-Date-Calc/perl-Date-Calc.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Date-Calc" +VERSION="6.3" +HOMEPAGE="http://search.cpan.org/dist/Date-Calc/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/Date-Calc-6.3.tar.gz" +MD5SUM="9b64555b7051c1beb6b61daead2d01b3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Date-Calc/slack-desc b/perl/perl-Date-Calc/slack-desc new file mode 100644 index 0000000000..b9f27c04b8 --- /dev/null +++ b/perl/perl-Date-Calc/slack-desc @@ -0,0 +1,18 @@ +# 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 ':'. + |-----handy-ruler--------------------------------------------| +perl-Date-Calc: perl-Date-Calc (Date::Calc) +perl-Date-Calc: +perl-Date-Calc: perl-Date-Calc provides Gregorian calendar date calculations. +perl-Date-Calc: +perl-Date-Calc: Homepage: http://search.cpan.org/dist/Date-Calc/ +perl-Date-Calc: +perl-Date-Calc: +perl-Date-Calc: +perl-Date-Calc: +perl-Date-Calc: +perl-Date-Calc: diff --git a/perl/perl-Date-Manip/README b/perl/perl-Date-Manip/README new file mode 100644 index 0000000000..7f4aab4265 --- /dev/null +++ b/perl/perl-Date-Manip/README @@ -0,0 +1,7 @@ +perl-Date-Manip (Date manipulation routines) + +A series of modules which can do pretty much any date/time manipulation +you could ever want. + +Dependencies: perl-Test-Pod-Coverage, perl-YAML-Syck, perl-Test-Pod, +perl-Test-Inter, all available on SlackBuilds.org. diff --git a/perl/perl-Date-Manip/doinst.sh b/perl/perl-Date-Manip/doinst.sh new file mode 100644 index 0000000000..3b1811064d --- /dev/null +++ b/perl/perl-Date-Manip/doinst.sh @@ -0,0 +1,20 @@ +config() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r $OLD ]; then + mv $NEW $OLD + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then + # toss the redundant copy + rm $NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +if [ -L etc/localtime-copied-from ]; then + localTime="$(readlink etc/localtime-copied-from)" + echo $localTime | cut -d/ -f5- > etc/timezone.new +fi + +config etc/timezone.new + diff --git a/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild b/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild new file mode 100644 index 0000000000..bd53d5be70 --- /dev/null +++ b/perl/perl-Date-Manip/perl-Date-Manip.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-Date-Manip + +# Copyright 2010 V'yacheslav Stetskevych <slava18 dont_spam_me 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. + +SRCNAM=Date-Manip +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-6.11} +BUILD=${BUILD:-2} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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 Build.PL \ + prefix=/usr \ + installdirs=vendor \ + destdir=$PKG +./Build +./Build test +./Build install \ + --install_path bindoc=/usr/man/man1 \ + --install_path libdoc=/usr/man/man3 + +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 \ + HISTORY INSTALL LICENSE README* \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +# Date::Manip seems to need a correctly set /etc/timezone file in some cases. +# We will create a placeholder and update it with the correct info from the +# doinst.sh script. +mkdir -p $PKG/etc +touch $PKG/etc/timezone.new + +mkdir -p $PKG/install +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} diff --git a/perl/perl-Date-Manip/perl-Date-Manip.info b/perl/perl-Date-Manip/perl-Date-Manip.info new file mode 100644 index 0000000000..fa3bdab4e0 --- /dev/null +++ b/perl/perl-Date-Manip/perl-Date-Manip.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Date-Manip" +VERSION="6.11" +HOMEPAGE="http://search.cpan.org/~sbeck/Date-Manip-6.11/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/Date-Manip-6.11.tar.gz" +MD5SUM="7880db506f14080635972eb5607fa79d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="V'yacheslav Stetskevych" +EMAIL="slava18@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-Date-Manip/slack-desc b/perl/perl-Date-Manip/slack-desc new file mode 100644 index 0000000000..4015b7c4cf --- /dev/null +++ b/perl/perl-Date-Manip/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Date-Manip: perl-Date-Manip (Date manipulation routines) +perl-Date-Manip: +perl-Date-Manip: A series of modules which can do pretty much any date/time +perl-Date-Manip: manipulation you could ever want. +perl-Date-Manip: +perl-Date-Manip: +perl-Date-Manip: +perl-Date-Manip: +perl-Date-Manip: +perl-Date-Manip: +perl-Date-Manip: diff --git a/perl/perl-DateTime-Format-Builder/README b/perl/perl-DateTime-Format-Builder/README new file mode 100644 index 0000000000..c7c55dcf75 --- /dev/null +++ b/perl/perl-DateTime-Format-Builder/README @@ -0,0 +1,4 @@ +perl-DateTime-Format-Builder - Create DateTime parser classes and objects. + +This requires perl-Params-Validate, perl-DateTime, perl-Class-Factory-Util, +perl-DateTime-Format-Strptime, perl-Task-Weaken.
\ No newline at end of file diff --git a/perl/perl-DateTime-Format-Builder/perl-DateTime-Format-Builder.SlackBuild b/perl/perl-DateTime-Format-Builder/perl-DateTime-Format-Builder.SlackBuild new file mode 100644 index 0000000000..a1909dda8e --- /dev/null +++ b/perl/perl-DateTime-Format-Builder/perl-DateTime-Format-Builder.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-DateTime-Format-Builder + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, 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. + +SRCNAM=DateTime-Format-Builder +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.80} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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 \ + 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 \ + | 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 \ + AUTHORS COPYING CREDITS 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-DateTime-Format-Builder/perl-DateTime-Format-Builder.info b/perl/perl-DateTime-Format-Builder/perl-DateTime-Format-Builder.info new file mode 100644 index 0000000000..889fdf2a0e --- /dev/null +++ b/perl/perl-DateTime-Format-Builder/perl-DateTime-Format-Builder.info @@ -0,0 +1,10 @@ +PRGNAM="perl-DateTime-Format-Builder" +VERSION="0.80" +HOMEPAGE="http://search.cpan.org/dist/DateTime-Format-Builder/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Builder-0.80.tar.gz" +MD5SUM="f6c5d5a17b5b7478ff555a2d3cce5136" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-DateTime-Format-Builder/slack-desc b/perl/perl-DateTime-Format-Builder/slack-desc new file mode 100644 index 0000000000..268d1a31b3 --- /dev/null +++ b/perl/perl-DateTime-Format-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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-DateTime-Format-Builder: perl-DateTime-Format-Builder (Create DateTime parser classes/objects) +perl-DateTime-Format-Builder: +perl-DateTime-Format-Builder: DateTime::Format::Builder Create DateTime parser classes and objects. +perl-DateTime-Format-Builder: +perl-DateTime-Format-Builder: +perl-DateTime-Format-Builder: +perl-DateTime-Format-Builder: +perl-DateTime-Format-Builder: +perl-DateTime-Format-Builder: +perl-DateTime-Format-Builder: +perl-DateTime-Format-Builder: diff --git a/perl/perl-DateTime-Format-ISO8601/README b/perl/perl-DateTime-Format-ISO8601/README new file mode 100644 index 0000000000..6b4204e0c8 --- /dev/null +++ b/perl/perl-DateTime-Format-ISO8601/README @@ -0,0 +1,4 @@ +perl-DateTime-Format-ISO8601 parses almost all ISO8601 date and time formats. +ISO8601 time-intervals will be supported in a later release. + +This requires perl-DateTime and perl-DateTime-Format-Builder. diff --git a/perl/perl-DateTime-Format-ISO8601/perl-DateTime-Format-ISO8601.SlackBuild b/perl/perl-DateTime-Format-ISO8601/perl-DateTime-Format-ISO8601.SlackBuild new file mode 100644 index 0000000000..3eff3eb095 --- /dev/null +++ b/perl/perl-DateTime-Format-ISO8601/perl-DateTime-Format-ISO8601.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-DateTime-Format-ISO8601 + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, 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. + +SRCNAM=DateTime-Format-ISO8601 +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.07} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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 \ + 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 \ + | 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 \ + $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-DateTime-Format-ISO8601/perl-DateTime-Format-ISO8601.info b/perl/perl-DateTime-Format-ISO8601/perl-DateTime-Format-ISO8601.info new file mode 100644 index 0000000000..2e711b0595 --- /dev/null +++ b/perl/perl-DateTime-Format-ISO8601/perl-DateTime-Format-ISO8601.info @@ -0,0 +1,10 @@ +PRGNAM="perl-DateTime-Format-ISO8601" +VERSION="0.07" +HOMEPAGE="http://search.cpan.org/dist/DateTime-Format-ISO8601/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/J/JH/JHOBLITT/DateTime-Format-ISO8601-0.07.tar.gz" +MD5SUM="debb51180d0318ae09cad01c544a1d7d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-DateTime-Format-ISO8601/slack-desc b/perl/perl-DateTime-Format-ISO8601/slack-desc new file mode 100644 index 0000000000..635e1c7f6a --- /dev/null +++ b/perl/perl-DateTime-Format-ISO8601/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-DateTime-Format-ISO8601: perl-DateTime-Format-ISO8601 (Parses ISO8601 date and time formats) +perl-DateTime-Format-ISO8601: +perl-DateTime-Format-ISO8601: DateTime::Format::ISO8601 Parses almost all ISO8601 date and time +perl-DateTime-Format-ISO8601: formats. ISO8601 time-intervals will be supported in a later release. +perl-DateTime-Format-ISO8601: +perl-DateTime-Format-ISO8601: +perl-DateTime-Format-ISO8601: +perl-DateTime-Format-ISO8601: +perl-DateTime-Format-ISO8601: +perl-DateTime-Format-ISO8601: +perl-DateTime-Format-ISO8601: diff --git a/perl/perl-DateTime-Format-Strptime/README b/perl/perl-DateTime-Format-Strptime/README new file mode 100644 index 0000000000..7e78860eeb --- /dev/null +++ b/perl/perl-DateTime-Format-Strptime/README @@ -0,0 +1,4 @@ +perl-DateTime-Format-Strptime will parse and format strp and strf time patterns. + +This requires perl-DateTime, perl-DateTime-Locale, perl-DateTime-TimeZone, +perl-Params-Validate. diff --git a/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.SlackBuild b/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.SlackBuild new file mode 100644 index 0000000000..bd4c261fa0 --- /dev/null +++ b/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-DateTime-Format-Strptime + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, 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. + +SRCNAM=DateTime-Format-Strptime +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.4000} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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 \ + 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 \ + | 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 \ + 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:-tgz} diff --git a/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.info b/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.info new file mode 100644 index 0000000000..ffc9b8ce0e --- /dev/null +++ b/perl/perl-DateTime-Format-Strptime/perl-DateTime-Format-Strptime.info @@ -0,0 +1,10 @@ +PRGNAM="perl-DateTime-Format-Strptime" +VERSION="1.4000" +HOMEPAGE="http://search.cpan.org/dist/DateTime-Format-Strptime/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Strptime-1.4000.tar.gz" +MD5SUM="1432a1d92fe4252586053129d5b681fa" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-DateTime-Format-Strptime/slack-desc b/perl/perl-DateTime-Format-Strptime/slack-desc new file mode 100644 index 0000000000..5cef09ff71 --- /dev/null +++ b/perl/perl-DateTime-Format-Strptime/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-DateTime-Format-Strptime: perl-DateTime-Format-Strptime (parse and format time patterns) +perl-DateTime-Format-Strptime: +perl-DateTime-Format-Strptime: DateTime-Format-Strptime will parse and format strp and strf time +perl-DateTime-Format-Strptime: patterns. +perl-DateTime-Format-Strptime: +perl-DateTime-Format-Strptime: +perl-DateTime-Format-Strptime: +perl-DateTime-Format-Strptime: +perl-DateTime-Format-Strptime: +perl-DateTime-Format-Strptime: +perl-DateTime-Format-Strptime:
\ No newline at end of file diff --git a/perl/perl-DateTime-Locale/README b/perl/perl-DateTime-Locale/README new file mode 100644 index 0000000000..b240ab8a2d --- /dev/null +++ b/perl/perl-DateTime-Locale/README @@ -0,0 +1,4 @@ +The DateTime::Locale modules provide localization data for the +DateTime.pm class. + +This requires perl-Params-Validate, perl-List-MoreUtils. diff --git a/perl/perl-DateTime-Locale/perl-DateTime-Locale.SlackBuild b/perl/perl-DateTime-Locale/perl-DateTime-Locale.SlackBuild new file mode 100644 index 0000000000..ad4a37db21 --- /dev/null +++ b/perl/perl-DateTime-Locale/perl-DateTime-Locale.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-DateTime-Locale + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, 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. + +SRCNAM=DateTime-Locale +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.45} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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 \ + 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 \ + | 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.cldr 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} diff --git a/perl/perl-DateTime-Locale/perl-DateTime-Locale.info b/perl/perl-DateTime-Locale/perl-DateTime-Locale.info new file mode 100644 index 0000000000..75c841c952 --- /dev/null +++ b/perl/perl-DateTime-Locale/perl-DateTime-Locale.info @@ -0,0 +1,10 @@ +PRGNAM="perl-DateTime-Locale" +VERSION="0.45" +HOMEPAGE="http://search.cpan.org/dist/DateTime-Locale/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Locale-0.45.tar.gz" +MD5SUM="8ba6a4b70f8fa7d987529c2e2c708862" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-DateTime-Locale/slack-desc b/perl/perl-DateTime-Locale/slack-desc new file mode 100644 index 0000000000..2c48f147b1 --- /dev/null +++ b/perl/perl-DateTime-Locale/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-DateTime-Locale: perl-DateTime-Locale (provides localization data for DateTime class) +perl-DateTime-Locale: +perl-DateTime-Locale: The DateTime::Locale modules provide localization data for the +perl-DateTime-Locale: DateTime.pm class. +perl-DateTime-Locale: +perl-DateTime-Locale: +perl-DateTime-Locale: +perl-DateTime-Locale: +perl-DateTime-Locale: +perl-DateTime-Locale: +perl-DateTime-Locale: diff --git a/perl/perl-DateTime-TimeZone/README b/perl/perl-DateTime-TimeZone/README new file mode 100644 index 0000000000..b1566af0aa --- /dev/null +++ b/perl/perl-DateTime-TimeZone/README @@ -0,0 +1,3 @@ +perl-DateTime::TimeZone - Time zone object base class and factory. + +This requires perl-Params-Validate, perl-Class::Singleton.
\ No newline at end of file diff --git a/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild b/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild new file mode 100644 index 0000000000..403617e382 --- /dev/null +++ b/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-DateTime-TimeZone + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, 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. + +SRCNAM=DateTime-TimeZone +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.20} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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 \ + 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 \ + | 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 \ + $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-DateTime-TimeZone/perl-DateTime-TimeZone.info b/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.info new file mode 100644 index 0000000000..64bc78b177 --- /dev/null +++ b/perl/perl-DateTime-TimeZone/perl-DateTime-TimeZone.info @@ -0,0 +1,10 @@ +PRGNAM="perl-DateTime-TimeZone" +VERSION="1.20" +HOMEPAGE="http://search.cpan.org/dist/DateTime-TimeZone/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-TimeZone-1.20.tar.gz" +MD5SUM="36551459fd431809683a82ba12bd9655" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-DateTime-TimeZone/slack-desc b/perl/perl-DateTime-TimeZone/slack-desc new file mode 100644 index 0000000000..80a7033ed6 --- /dev/null +++ b/perl/perl-DateTime-TimeZone/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-DateTime-TimeZone: perl-DateTime-TimeZone (Time zone object base class and factory) +perl-DateTime-TimeZone: +perl-DateTime-TimeZone: DateTime::TimeZone - Time zone object base class and factory. +perl-DateTime-TimeZone: +perl-DateTime-TimeZone: +perl-DateTime-TimeZone: +perl-DateTime-TimeZone: +perl-DateTime-TimeZone: +perl-DateTime-TimeZone: +perl-DateTime-TimeZone: +perl-DateTime-TimeZone: diff --git a/perl/perl-DateTime/README b/perl/perl-DateTime/README new file mode 100644 index 0000000000..a763e2597f --- /dev/null +++ b/perl/perl-DateTime/README @@ -0,0 +1,4 @@ +A date and time object + +This requires perl-Params-Validate, perl-DateTime-Locale, +perl-DateTime-TimeZone, perl-Test-Exception, perl-Sub-Uplevel.
\ No newline at end of file diff --git a/perl/perl-DateTime/perl-DateTime.SlackBuild b/perl/perl-DateTime/perl-DateTime.SlackBuild new file mode 100644 index 0000000000..662e1e380b --- /dev/null +++ b/perl/perl-DateTime/perl-DateTime.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-DateTime + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, 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. + +SRCNAM=DateTime +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.61} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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 Build.PL \ + prefix=/usr \ + installdirs=vendor \ + destdir=$PKG +./Build +./Build test +./Build install \ + --install_path bindoc=/usr/man/man1 \ + --install_path libdoc=/usr/man/man3 + +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 \ + CREDITS INSTALL 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:-tgz} diff --git a/perl/perl-DateTime/perl-DateTime.info b/perl/perl-DateTime/perl-DateTime.info new file mode 100644 index 0000000000..a919be0b56 --- /dev/null +++ b/perl/perl-DateTime/perl-DateTime.info @@ -0,0 +1,10 @@ +PRGNAM="perl-DateTime" +VERSION="0.61" +HOMEPAGE="http://search.cpan.org/dist/DateTime/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-0.61.tar.gz" +MD5SUM="0802efbc53eb11a09d1528223cd52e88" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-DateTime/slack-desc b/perl/perl-DateTime/slack-desc new file mode 100644 index 0000000000..11893321c3 --- /dev/null +++ b/perl/perl-DateTime/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-DateTime: perl-DateTime (A date and time object) +perl-DateTime: +perl-DateTime: A date and time object. +perl-DateTime: +perl-DateTime: +perl-DateTime: +perl-DateTime: +perl-DateTime: +perl-DateTime: +perl-DateTime: +perl-DateTime: diff --git a/perl/perl-Devel-Symdump/README b/perl/perl-Devel-Symdump/README new file mode 100644 index 0000000000..672af44493 --- /dev/null +++ b/perl/perl-Devel-Symdump/README @@ -0,0 +1,3 @@ +perl-Devel-Symdump (Dump symbol names or the symbol table) + +This little package serves to access the symbol table of perl. diff --git a/perl/perl-Devel-Symdump/perl-Devel-Symdump.SlackBuild b/perl/perl-Devel-Symdump/perl-Devel-Symdump.SlackBuild new file mode 100644 index 0000000000..74ef399632 --- /dev/null +++ b/perl/perl-Devel-Symdump/perl-Devel-Symdump.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for perl-Devel-Symdump + +# Copyright 2010 V'yacheslav Stetskevych <slava18 dont_spam_me 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. + +SRCNAM=Devel-Symdump +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-2.08} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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/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 \ + 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-Devel-Symdump/perl-Devel-Symdump.info b/perl/perl-Devel-Symdump/perl-Devel-Symdump.info new file mode 100644 index 0000000000..68e11af611 --- /dev/null +++ b/perl/perl-Devel-Symdump/perl-Devel-Symdump.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Devel-Symdump" +VERSION="2.08" +HOMEPAGE="http://search.cpan.org/~andk/Devel-Symdump-2.08/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/A/AN/ANDK/Devel-Symdump-2.08.tar.gz" +MD5SUM="68e3a2f2f989bff295ee63aed5a2a1e5" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="V'yacheslav Stetskevych" +EMAIL="slava18@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-Devel-Symdump/slack-desc b/perl/perl-Devel-Symdump/slack-desc new file mode 100644 index 0000000000..67db3f649f --- /dev/null +++ b/perl/perl-Devel-Symdump/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Devel-Symdump: perl-Devel-Symdump (Dump symbol names or the symbol table) +perl-Devel-Symdump: +perl-Devel-Symdump: This little package serves to access the symbol table of perl. +perl-Devel-Symdump: +perl-Devel-Symdump: +perl-Devel-Symdump: +perl-Devel-Symdump: +perl-Devel-Symdump: +perl-Devel-Symdump: +perl-Devel-Symdump: +perl-Devel-Symdump: diff --git a/perl/perl-Device-SerialPort/README b/perl/perl-Device-SerialPort/README new file mode 100644 index 0000000000..5df45d4fe5 --- /dev/null +++ b/perl/perl-Device-SerialPort/README @@ -0,0 +1,3 @@ +perl-Device-SerialPort (Perl serial port access library) + +Provides Linux/POSIX emulation of Win32::SerialPort functions. diff --git a/perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild b/perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild new file mode 100644 index 0000000000..5128eca5ec --- /dev/null +++ b/perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild @@ -0,0 +1,101 @@ +#!/bin/sh + +# Slackware build script for perl-Device-SerialPort +# Copyright 2010 V'yacheslav Stetskevych <slava18@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. + +SRCNAM=Device-SerialPort +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.04} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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 \ + 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 \ + | 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 TODO 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-Device-SerialPort/perl-Device-SerialPort.info b/perl/perl-Device-SerialPort/perl-Device-SerialPort.info new file mode 100644 index 0000000000..caeca57756 --- /dev/null +++ b/perl/perl-Device-SerialPort/perl-Device-SerialPort.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Device-SerialPort" +VERSION="1.04" +HOMEPAGE="http://search.cpan.org/~cook/Device-SerialPort-1.04/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/C/CO/COOK/Device-SerialPort-1.04.tar.gz" +MD5SUM="82c698151f934eb28c65d1838cee7d9e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="V'yacheslav Stetskevych" +EMAIL="slava18@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-Device-SerialPort/slack-desc b/perl/perl-Device-SerialPort/slack-desc new file mode 100644 index 0000000000..c902c997df --- /dev/null +++ b/perl/perl-Device-SerialPort/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Device-SerialPort: perl-Device-SerialPort (Perl serial port access library) +perl-Device-SerialPort: +perl-Device-SerialPort: Provides Linux/POSIX emulation of Win32::SerialPort functions. +perl-Device-SerialPort: +perl-Device-SerialPort: +perl-Device-SerialPort: +perl-Device-SerialPort: +perl-Device-SerialPort: +perl-Device-SerialPort: +perl-Device-SerialPort: +perl-Device-SerialPort: diff --git a/perl/perl-Digest-MD4/README b/perl/perl-Digest-MD4/README new file mode 100644 index 0000000000..30baf6ac25 --- /dev/null +++ b/perl/perl-Digest-MD4/README @@ -0,0 +1,4 @@ +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 new file mode 100644 index 0000000000..a7dd5e10fe --- /dev/null +++ b/perl/perl-Digest-MD4/perl-Digest-MD4.SlackBuild @@ -0,0 +1,100 @@ +#!/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-)" + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; +# Unless $ARCH is already set, use uname -m for all other archs: + *) 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 . \ + \( -perm 777 -o -perm 775 -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 new file mode 100644 index 0000000000..8bb944ed0f --- /dev/null +++ b/perl/perl-Digest-MD4/perl-Digest-MD4.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Digest-MD4" +VERSION="1.5" +HOMEPAGE="http://search.cpan.org/~mikem/Digest-MD4-1.5/MD4.pm" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/DigestMD4/Digest-MD4-1.5.tar.gz" +MD5SUM="594d661c18b46a4aea97931dcaf5ce14" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Robby Workman" +EMAIL="rw@rlworkman.net" +APPROVED="Michiel van Wessem" diff --git a/perl/perl-Digest-MD4/slack-desc b/perl/perl-Digest-MD4/slack-desc new file mode 100644 index 0000000000..d8a78b4beb --- /dev/null +++ b/perl/perl-Digest-MD4/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 ':'. + + |-----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-Email-Date-Format/README b/perl/perl-Email-Date-Format/README new file mode 100644 index 0000000000..a44e6f7017 --- /dev/null +++ b/perl/perl-Email-Date-Format/README @@ -0,0 +1,4 @@ +perl-Email-Date-Format (produce RFC 2822 date strings) + +This module provides a simple means for generating an RFC 2822 +compliant datetime string. diff --git a/perl/perl-Email-Date-Format/perl-Email-Date-Format.SlackBuild b/perl/perl-Email-Date-Format/perl-Email-Date-Format.SlackBuild new file mode 100644 index 0000000000..d2b5025b9d --- /dev/null +++ b/perl/perl-Email-Date-Format/perl-Email-Date-Format.SlackBuild @@ -0,0 +1,97 @@ +#!/bin/sh + +# Slackware build script for perl-Email-Date-Format +# Copyright 2010 V'yacheslav Stetskevych <slava18@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. + +SRCNAM=Email-Date-Format +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.002} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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/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 \ + LICENSE 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-Email-Date-Format/perl-Email-Date-Format.info b/perl/perl-Email-Date-Format/perl-Email-Date-Format.info new file mode 100644 index 0000000000..adb6dc548d --- /dev/null +++ b/perl/perl-Email-Date-Format/perl-Email-Date-Format.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Email-Date-Format" +VERSION="1.002" +HOMEPAGE="http://search.cpan.org/~rjbs/Email-Date-Format-1.002/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Date-Format-1.002.tar.gz" +MD5SUM="7ae25275da6ab272aa8b40141eac9f82" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="V'yacheslav Stetskevych" +EMAIL="slava18@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-Email-Date-Format/slack-desc b/perl/perl-Email-Date-Format/slack-desc new file mode 100644 index 0000000000..3062694970 --- /dev/null +++ b/perl/perl-Email-Date-Format/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Email-Date-Format: perl-Email-Date-Format (produce RFC 2822 date strings) +perl-Email-Date-Format: +perl-Email-Date-Format: This module provides a simple means for generating an RFC 2822 +perl-Email-Date-Format: compliant datetime string. +perl-Email-Date-Format: +perl-Email-Date-Format: +perl-Email-Date-Format: +perl-Email-Date-Format: +perl-Email-Date-Format: +perl-Email-Date-Format: +perl-Email-Date-Format: diff --git a/perl/perl-Encode-Detect/README b/perl/perl-Encode-Detect/README new file mode 100644 index 0000000000..50d1bb2dc6 --- /dev/null +++ b/perl/perl-Encode-Detect/README @@ -0,0 +1,4 @@ +perl-Encode-Detect detects charset of the input data and detects it using +the encoder of the detected charsets. + +perl-Encode-Detect is an optional enhancement for SpamAssassin. diff --git a/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild b/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild new file mode 100644 index 0000000000..87a7702cdd --- /dev/null +++ b/perl/perl-Encode-Detect/perl-Encode-Detect.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Encode::Detect +# Home Page http://search.cpan.org/dist/Encode-Detect/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__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 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Encode-Detect +PRGNAM=perl-Encode-Detect +VERSION=1.01 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +DOCS="Changes LICENSE" + +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 + +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 . \ + \( -perm 777 -o -perm 775 -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 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 {} \; + +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:-tgz} diff --git a/perl/perl-Encode-Detect/perl-Encode-Detect.info b/perl/perl-Encode-Detect/perl-Encode-Detect.info new file mode 100644 index 0000000000..f00b95cffc --- /dev/null +++ b/perl/perl-Encode-Detect/perl-Encode-Detect.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Encode-Detect" +VERSION="1.01" +HOMEPAGE="http://search.cpan.org/dist/Encode-Detect/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/J/JG/JGMYERS/Encode-Detect-1.01.tar.gz" +MD5SUM="ee9faf55d7105c97b02b8ebe590819c7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Encode-Detect/slack-desc b/perl/perl-Encode-Detect/slack-desc new file mode 100644 index 0000000000..558d52ef41 --- /dev/null +++ b/perl/perl-Encode-Detect/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Encode-Detect: perl-Encode-Detect (Encode::Detect) +perl-Encode-Detect: +perl-Encode-Detect: perl-Encode-Detect detects charset of the input data and +perl-Encode-Detect: detects it using the encoder of the detected charsets. +perl-Encode-Detect: +perl-Encode-Detect: +perl-Encode-Detect: Homepage: http://search.cpan.org/dist/Encode-Detect/ +perl-Encode-Detect: +perl-Encode-Detect: +perl-Encode-Detect: +perl-Encode-Detect: diff --git a/perl/perl-ExtUtils-XSBuilder/README b/perl/perl-ExtUtils-XSBuilder/README new file mode 100644 index 0000000000..233214abb5 --- /dev/null +++ b/perl/perl-ExtUtils-XSBuilder/README @@ -0,0 +1,12 @@ +perl-ExtUtils-XSBuilder (automatic XS glue code generation) + +XSBuilder is a set modules to parse C header files and create XS +glue code and documentation out of it. Idealy this allows to "write" +an interface to a C library without coding a line. Since no C-API is +ideal, some adjuments are necessary most of the time. So to use this +module you must still be familar with C and XS programming, but it +removes a lot of stupid work and copy&paste from you. Also when the +C API changes, most of the time you only have to rerun XSBuilder to +get your new Perl API. + +This requires perl-Parse-RecDescent and perl-Tie-IxHash. diff --git a/perl/perl-ExtUtils-XSBuilder/perl-ExtUtils-XSBuilder.SlackBuild b/perl/perl-ExtUtils-XSBuilder/perl-ExtUtils-XSBuilder.SlackBuild new file mode 100644 index 0000000000..70c6090d56 --- /dev/null +++ b/perl/perl-ExtUtils-XSBuilder/perl-ExtUtils-XSBuilder.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for perl-ExtUtils-XSBuilder + +# Copyright 2009 David Somero (dsomero@hotmail.com) Athens,TN 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-ExtUtils-XSBuilder +VERSION=${VERSION:-0.28} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=ExtUtils-XSBuilder + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCS="Changes README" + +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 + +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 . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=vendor +make +make test +make install DESTDIR=$PKG + +mv $PKG/usr/share/man $PKG/usr/ + +( cd $PKG/usr/man + find . -type f -exec gzip -9 {} \; + for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +) + +# Remove perllocal.pod and other special files that don't need to be installed +( cd $PKG + find . -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f + find . -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-ExtUtils-XSBuilder/perl-ExtUtils-XSBuilder.info b/perl/perl-ExtUtils-XSBuilder/perl-ExtUtils-XSBuilder.info new file mode 100644 index 0000000000..c327941f65 --- /dev/null +++ b/perl/perl-ExtUtils-XSBuilder/perl-ExtUtils-XSBuilder.info @@ -0,0 +1,10 @@ +PRGNAM="perl-ExtUtils-XSBuilder" +VERSION="0.28" +HOMEPAGE="http://search.cpan.org/dist/ExtUtils-XSBuilder" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GR/GRICHTER/ExtUtils-XSBuilder-0.28.tar.gz" +MD5SUM="1d33ddeacc01426a02e23c71c2e4cd04" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="rworkman" diff --git a/perl/perl-ExtUtils-XSBuilder/slack-desc b/perl/perl-ExtUtils-XSBuilder/slack-desc new file mode 100644 index 0000000000..2f4d36231a --- /dev/null +++ b/perl/perl-ExtUtils-XSBuilder/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-ExtUtils-XSBuilder: perl-ExtUtils-XSBuilder (automatic XS glue code generation) +perl-ExtUtils-XSBuilder: +perl-ExtUtils-XSBuilder: XSBuilder is a set modules to parse C header files and create XS +perl-ExtUtils-XSBuilder: glue code and documentation out of it. Idealy this allows to "write" +perl-ExtUtils-XSBuilder: an interface to a C library without coding a line. Since no C-API is +perl-ExtUtils-XSBuilder: ideal, some adjuments are necessary most of the time. So to use this +perl-ExtUtils-XSBuilder: module you must still be familar with C and XS programming, but it +perl-ExtUtils-XSBuilder: removes a lot of stupid work and copy&paste from you. +perl-ExtUtils-XSBuilder: +perl-ExtUtils-XSBuilder: Homepage: http://search.cpan.org/dist/ExtUtils-XSBuilder +perl-ExtUtils-XSBuilder: diff --git a/perl/perl-FCGI/README b/perl/perl-FCGI/README new file mode 100644 index 0000000000..8d94b042bc --- /dev/null +++ b/perl/perl-FCGI/README @@ -0,0 +1,6 @@ +This is a Fast CGI module for perl. It's based on the FCGI module +that comes with Open Market's FastCGI Developer's Kit, but does +not require you to recompile perl. + +This package enables you to use CGI::Fast, a subclass of CGI, which +already is a part of Slackware's Perl package. diff --git a/perl/perl-FCGI/perl-FCGI.SlackBuild b/perl/perl-FCGI/perl-FCGI.SlackBuild new file mode 100644 index 0000000000..58daef9811 --- /dev/null +++ b/perl/perl-FCGI/perl-FCGI.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/sh + +# Slackware build script for perl-FCGI +# Written by Thomas Morper <thomas@beingboiled.info> + +SRCNAM=FCGI +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.71} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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 \ + 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 \ + | 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 \ + ChangeLog LICENSE.TERMS 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} diff --git a/perl/perl-FCGI/perl-FCGI.info b/perl/perl-FCGI/perl-FCGI.info new file mode 100644 index 0000000000..bfb6048def --- /dev/null +++ b/perl/perl-FCGI/perl-FCGI.info @@ -0,0 +1,10 @@ +PRGNAM="perl-FCGI" +VERSION="0.71" +HOMEPAGE="http://search.cpan.org/~flora/FCGI/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/FCGI-0.71.tar.gz" +MD5SUM="26bc4ea53ccc9c9c16695e88e46a1cfb" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Thomas Morper" +EMAIL="thomas@beingboiled.info" +APPROVED="Erik Hanson" diff --git a/perl/perl-FCGI/slack-desc b/perl/perl-FCGI/slack-desc new file mode 100644 index 0000000000..d6756e8cd6 --- /dev/null +++ b/perl/perl-FCGI/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-FCGI: FCGI (Fast CGI module) +perl-FCGI: +perl-FCGI: This is a Fast CGI module for perl. It's based on the FCGI module +perl-FCGI: that comes with Open Market's FastCGI Developer's Kit, but does not +perl-FCGI: require you to recompile perl. +perl-FCGI: +perl-FCGI: This package enables you to use CGI::Fast, a subclass of CGI, which +perl-FCGI: already is a part of Slackware's Perl package. +perl-FCGI: +perl-FCGI: +perl-FCGI: diff --git a/perl/perl-File-Slurp/README b/perl/perl-File-Slurp/README new file mode 100644 index 0000000000..738ef85e93 --- /dev/null +++ b/perl/perl-File-Slurp/README @@ -0,0 +1,3 @@ +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. diff --git a/perl/perl-File-Slurp/perl-File-Slurp.SlackBuild b/perl/perl-File-Slurp/perl-File-Slurp.SlackBuild new file mode 100644 index 0000000000..d23efef2d9 --- /dev/null +++ b/perl/perl-File-Slurp/perl-File-Slurp.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/sh + +# Slackware build script for perl-File-Slurp + +# Copyright 2008 David Somero <dsomero@hotmail.com> Athens,TN 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-File-Slurp +SRCNAM=File-Slurp +VERSION=9999.13 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCS="README Changes" + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar -xzvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +perl Makefile.PL +make +make install INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 DESTDIR=$PKG +gzip -9 $PKG/usr/man/man3/* 2> /dev/null + +# Remove perlocal.pod and .packlist and .bs files from $PKG +( for i in perllocal.pod .packlist .bs; do + find $PKG -name "$i" -exec rm -rf {} \; + done +) +# Remove empty directory hierarchy +rmdir --parents \ + $PKG/usr/lib/perl5/vendor_perl/5.10.0/i486-linux-thread-multi/auto/File/Slurp/ \ + $PKG/usr/lib/perl5/5.10.0/i486-linux-thread-multi 2> /dev/null || 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 +chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/* + +mkdir -p $PKG/install +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-File-Slurp/perl-File-Slurp.info b/perl/perl-File-Slurp/perl-File-Slurp.info new file mode 100644 index 0000000000..c9a557846b --- /dev/null +++ b/perl/perl-File-Slurp/perl-File-Slurp.info @@ -0,0 +1,10 @@ +PRGNAM="perl-File-Slurp" +VERSION="9999.13" +HOMEPAGE="http://search.cpan.org/dist/File-Slurp" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/File-Slurp-9999.13.tar.gz" +MD5SUM="ac3cd9d466b99d1534762ff3549aaa66" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="rworkman" diff --git a/perl/perl-File-Slurp/slack-desc b/perl/perl-File-Slurp/slack-desc new file mode 100644 index 0000000000..33e589210c --- /dev/null +++ b/perl/perl-File-Slurp/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 ':'. + + |-----handy-ruler----------------------------------------------| +perl-File-Slurp: perl-File-Slurp (File::Slurp perl module) +perl-File-Slurp: +perl-File-Slurp: This module provides subs that allow you to read or +perl-File-Slurp: write entire files with one simple call. They are +perl-File-Slurp: designed to be simple to use, have flexible ways to +perl-File-Slurp: pass in or get the file contents, and to be very +perl-File-Slurp: efficient. +perl-File-Slurp: +perl-File-Slurp: Homepage: http://search.cpan.org/dist/File-Slurp +perl-File-Slurp: +perl-File-Slurp: diff --git a/perl/perl-Geography-Countries/README b/perl/perl-Geography-Countries/README new file mode 100644 index 0000000000..8f990f7bc3 --- /dev/null +++ b/perl/perl-Geography-Countries/README @@ -0,0 +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. diff --git a/perl/perl-Geography-Countries/perl-Geography-Countries.SlackBuild b/perl/perl-Geography-Countries/perl-Geography-Countries.SlackBuild new file mode 100644 index 0000000000..f93ec76375 --- /dev/null +++ b/perl/perl-Geography-Countries/perl-Geography-Countries.SlackBuild @@ -0,0 +1,115 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Geography::Countries +# Home Page http://search.cpan.org/dist/Geography-Countries + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__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 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM="Geography-Countries-2009041301" +PRGNAM="perl-Geography-Countries" +VERSION="20090413" +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +DOCS="Changes README TODO" + +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 + +### clean up from previous builds +rm -fr $TMP/$SRCNAM $PKG +mkdir -p $TMP $PKG $OUTPUT +### Extracting the source tarballs +cd $TMP +tar xzvf $CWD/$SRCNAM.tar.gz +cd $TMP/$SRCNAM + +chown -R root.root . +find . \ +\( -perm 664 -o -perm 666 -o -perm 600 -o -perm 440 -o -perm 444 -o -perm 400 \) \ +-exec chmod 644 {} \; +find . \ +\( -perm 777 -o -perm 755 -o -perm 711 -o -perm 700 -o -perm 555 -o -perm 511 -o -perm 500 \) \ +-exec chmod 755 {} \; + +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 {} \; + +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:-tgz} diff --git a/perl/perl-Geography-Countries/perl-Geography-Countries.info b/perl/perl-Geography-Countries/perl-Geography-Countries.info new file mode 100644 index 0000000000..2ddc276c16 --- /dev/null +++ b/perl/perl-Geography-Countries/perl-Geography-Countries.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Geography-Countries" +VERSION="20090413" +HOMEPAGE="http://search.cpan.org/dist/Geography-Countries/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/A/AB/ABIGAIL/Geography-Countries-2009041301.tar.gz" +MD5SUM="2c9ef26b46bbeca9abbca5015cc748b9" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Geography-Countries/slack-desc b/perl/perl-Geography-Countries/slack-desc new file mode 100644 index 0000000000..a60189d896 --- /dev/null +++ b/perl/perl-Geography-Countries/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Geography-Countries: perl-Geography-Countries (Geography::Countries) +perl-Geography-Countries: +perl-Geography-Countries: perl-Geography-Countries module maps country names, +perl-Geography-Countries: and their 2-letter, 3-letter and numerical codes, +perl-Geography-Countries: as defined by the ISO-3166 maintenance agency, +perl-Geography-Countries: and defined by the UNSD. +perl-Geography-Countries: +perl-Geography-Countries: Homepage: http://search.cpan.org/dist/Geography-Countries/ +perl-Geography-Countries: +perl-Geography-Countries: +perl-Geography-Countries: diff --git a/perl/perl-HTTP-Proxy/README b/perl/perl-HTTP-Proxy/README new file mode 100644 index 0000000000..9b6889363b --- /dev/null +++ b/perl/perl-HTTP-Proxy/README @@ -0,0 +1,6 @@ +This module implements an HTTP proxy, using an HTTP::Daemon to accept +client connections, and a LWP::UserAgent to ask for the requested +pages. The most interesting feature of this proxy object is its ability +to filter the HTTP requests and responses through user-defined filters. + +This needs libwww-perl. diff --git a/perl/perl-HTTP-Proxy/perl-HTTP-Proxy.SlackBuild b/perl/perl-HTTP-Proxy/perl-HTTP-Proxy.SlackBuild new file mode 100644 index 0000000000..6165479846 --- /dev/null +++ b/perl/perl-HTTP-Proxy/perl-HTTP-Proxy.SlackBuild @@ -0,0 +1,66 @@ +#!/bin/sh + +# Slackware build script for perl-HTTP-Proxy +# Written by Thomas Morper <thomas@beingboiled.info> + +SRCNAM=HTTP-Proxy +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.24} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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} + +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 . \ + \( -perm 777 -o -perm 775 -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 \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +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 + +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 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} diff --git a/perl/perl-HTTP-Proxy/perl-HTTP-Proxy.info b/perl/perl-HTTP-Proxy/perl-HTTP-Proxy.info new file mode 100644 index 0000000000..5e01625a5a --- /dev/null +++ b/perl/perl-HTTP-Proxy/perl-HTTP-Proxy.info @@ -0,0 +1,10 @@ +PRGNAM="perl-HTTP-Proxy" +VERSION="0.24" +HOMEPAGE="http://search.cpan.org/~book/HTTP-Proxy/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/B/BO/BOOK/HTTP-Proxy-0.24.tar.gz" +MD5SUM="a3c3b7df0339c0251c952a6fc00da5e8" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Thomas Morper" +EMAIL="thomas@beingboiled.info" +APPROVED="Erik Hanson" diff --git a/perl/perl-HTTP-Proxy/slack-desc b/perl/perl-HTTP-Proxy/slack-desc new file mode 100644 index 0000000000..b56dc1c3d0 --- /dev/null +++ b/perl/perl-HTTP-Proxy/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-HTTP-Proxy: perl-HTTP-Proxy (a pure Perl HTTP proxy) +perl-HTTP-Proxy: +perl-HTTP-Proxy: This module implements an HTTP proxy, using an HTTP::Daemon to accept +perl-HTTP-Proxy: client connections, and a LWP::UserAgent to ask for the requested +perl-HTTP-Proxy: pages. The most interesting feature of this proxy object is its +perl-HTTP-Proxy: ability to filter the HTTP requests and responses through user- +perl-HTTP-Proxy: defined filters. +perl-HTTP-Proxy: +perl-HTTP-Proxy: +perl-HTTP-Proxy: +perl-HTTP-Proxy: diff --git a/perl/perl-IO-Interface/README b/perl/perl-IO-Interface/README new file mode 100644 index 0000000000..cfccd42a6a --- /dev/null +++ b/perl/perl-IO-Interface/README @@ -0,0 +1,7 @@ +IO::Interface - Perl extension for access to network card configuration +information + +IO::Interface adds methods to IO::Socket objects that allows them to be used +to retrieve and change information about the network interfaces on your +system. In addition to the object-oriented access methods, you can use a +function-oriented style. diff --git a/perl/perl-IO-Interface/perl-IO-Interface.SlackBuild b/perl/perl-IO-Interface/perl-IO-Interface.SlackBuild new file mode 100644 index 0000000000..a962da6cb2 --- /dev/null +++ b/perl/perl-IO-Interface/perl-IO-Interface.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-IO-Interface + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Interface +VERSION=${VERSION:-1.05} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=IO-Interface +DOCS="README" + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# 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 +) + +# 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-Interface/perl-IO-Interface.info b/perl/perl-IO-Interface/perl-IO-Interface.info new file mode 100644 index 0000000000..bcc8784358 --- /dev/null +++ b/perl/perl-IO-Interface/perl-IO-Interface.info @@ -0,0 +1,10 @@ +PRGNAM="perl-IO-Interface" +VERSION="1.05" +HOMEPAGE="http://search.cpan.org/dist/IO-Interface/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/L/LD/LDS/IO-Interface-1.05.tar.gz" +MD5SUM="0ac2e6bac4d385a01355acea8b6190cc" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="rworkman" diff --git a/perl/perl-IO-Interface/slack-desc b/perl/perl-IO-Interface/slack-desc new file mode 100644 index 0000000000..9ae54ad4b6 --- /dev/null +++ b/perl/perl-IO-Interface/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-IO-Interface: perl-IO-Interface (access to network card configuration information) +perl-IO-Interface: +perl-IO-Interface: IO::Interface adds methods to IO::Socket objects that allows them +perl-IO-Interface: to be used to retrieve and change information about the network +perl-IO-Interface: interfaces on your system. In addition to the object-oriented access +perl-IO-Interface: methods, you can use a function-oriented style. +perl-IO-Interface: +perl-IO-Interface: +perl-IO-Interface: +perl-IO-Interface: +perl-IO-Interface: diff --git a/perl/perl-IO-Socket-INET6/README b/perl/perl-IO-Socket-INET6/README new file mode 100644 index 0000000000..606b8e33d9 --- /dev/null +++ b/perl/perl-IO-Socket-INET6/README @@ -0,0 +1,7 @@ +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. + +This requires perl-Socket6. diff --git a/perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.SlackBuild b/perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.SlackBuild new file mode 100644 index 0000000000..5d1ebad2c3 --- /dev/null +++ b/perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-IO-Socket-INET6 + +# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it> +# 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-INET6 +VERSION=${VERSION:-2.65} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=IO-Socket-INET6 +DOCS="README" + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# 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 +) + +# 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-INET6/perl-IO-Socket-INET6.info b/perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.info new file mode 100644 index 0000000000..30e0aa6a18 --- /dev/null +++ b/perl/perl-IO-Socket-INET6/perl-IO-Socket-INET6.info @@ -0,0 +1,10 @@ +PRGNAM="perl-IO-Socket-INET6" +VERSION="2.65" +HOMEPAGE="http://search.cpan.org/dist/IO-Socket-INET6/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/IO-Socket-INET6-2.65.tar.gz" +MD5SUM="4ac4a245b3c31a09e01c755b16a1e3e2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Michiel van Wessem" diff --git a/perl/perl-IO-Socket-INET6/slack-desc b/perl/perl-IO-Socket-INET6/slack-desc new file mode 100644 index 0000000000..1b34dd36d0 --- /dev/null +++ b/perl/perl-IO-Socket-INET6/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-IO-Socket-INET6: perl-IO-Socket-INET6 (interface for AF_INET|AF_INET6 domain sockets) +perl-IO-Socket-INET6: +perl-IO-Socket-INET6: IO::Socket::INET6 provides an object interface to creating and using +perl-IO-Socket-INET6: sockets in either AF_INET or AF_INET6 domains. It is built upon the +perl-IO-Socket-INET6: IO::Socket interface and inherits all the methods defined by +perl-IO-Socket-INET6: IO::Socket. +perl-IO-Socket-INET6: +perl-IO-Socket-INET6: +perl-IO-Socket-INET6: +perl-IO-Socket-INET6: +perl-IO-Socket-INET6: diff --git a/perl/perl-IO-Socket-Multicast/README b/perl/perl-IO-Socket-Multicast/README new file mode 100644 index 0000000000..f83077e92f --- /dev/null +++ b/perl/perl-IO-Socket-Multicast/README @@ -0,0 +1,9 @@ +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 +system that supports multicasting), you will be able to receive incoming +multicast transmissions and generate your own outgoing multicast +packets. + +This requires perl-IO-Interface. diff --git a/perl/perl-IO-Socket-Multicast/perl-IO-Socket-Multicast.SlackBuild b/perl/perl-IO-Socket-Multicast/perl-IO-Socket-Multicast.SlackBuild new file mode 100644 index 0000000000..1eb60ecd0e --- /dev/null +++ b/perl/perl-IO-Socket-Multicast/perl-IO-Socket-Multicast.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Slackware build script for perl-IO-Multicast + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Multicast +VERSION=${VERSION:-1.12} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=IO-Socket-Multicast +DOCS="README" + +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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +find $PKG/usr/man -type f -exec gzip -9 {} \; + +# Remove perllocal.pod and other special files that don't need to be installed +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" -exec rm -f {} \; +# 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-Multicast/perl-IO-Socket-Multicast.info b/perl/perl-IO-Socket-Multicast/perl-IO-Socket-Multicast.info new file mode 100644 index 0000000000..4e5c6b0504 --- /dev/null +++ b/perl/perl-IO-Socket-Multicast/perl-IO-Socket-Multicast.info @@ -0,0 +1,10 @@ +PRGNAM="perl-IO-Socket-Multicast" +VERSION="1.12" +HOMEPAGE="http://search.cpan.org/dist/IO-Socket-Multicast/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/B/BR/BRAMBLE/IO-Socket-Multicast-1.12.tar.gz" +MD5SUM="c96e6cbb367b1d11ffe7bb9fbd833540" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="CARLIER Gaetan" +EMAIL="gcembed@gmail.com" +APPROVED="rworkman" diff --git a/perl/perl-IO-Socket-Multicast/slack-desc b/perl/perl-IO-Socket-Multicast/slack-desc new file mode 100644 index 0000000000..8c3b48a5cf --- /dev/null +++ b/perl/perl-IO-Socket-Multicast/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-IO-Socket-Multicast: perl-IO-Socket-Multicast (Send and receive multicast messages) +perl-IO-Socket-Multicast: +perl-IO-Socket-Multicast: The IO::Socket::Multicast module subclasses IO::Socket::INET to +perl-IO-Socket-Multicast: enable you to manipulate multicast groups. With this module (and an +perl-IO-Socket-Multicast: operating system that supports multicasting), you will be able to +perl-IO-Socket-Multicast: receive incoming multicast transmissions and generate your own +perl-IO-Socket-Multicast: outgoing multicast packets. +perl-IO-Socket-Multicast: +perl-IO-Socket-Multicast: +perl-IO-Socket-Multicast: +perl-IO-Socket-Multicast: diff --git a/perl/perl-IO-Socket-SSL/README b/perl/perl-IO-Socket-SSL/README new file mode 100644 index 0000000000..c923a98194 --- /dev/null +++ b/perl/perl-IO-Socket-SSL/README @@ -0,0 +1,17 @@ +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. + +In order to use IO::Socket::SSL you need to have Net::SSLeay v1.21 or later, +avalaible as Net-SSLeay from SlackBuilds.org. This package as also an +optional dependency on libwww-perl which can be installed from SlackBuilds.org +as well. Another optional dependency is on international domain names +handling module, it's recommended to install either Net::IDN::Encode or +Net::LibIDN. The latter is avalaible from SlackBuilds.org, if none of these +are found found, however, the library will switch to internal name resolution +routines (and prints out a big ugly WARNING at compile time ;-) ). diff --git a/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild b/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild new file mode 100644 index 0000000000..af8fc8f46c --- /dev/null +++ b/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.SlackBuild @@ -0,0 +1,95 @@ +#!/bin/sh + +# Slackware build script for perl-IO-Socket-SSL + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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:-1.24} +BUILD=${BUILD:-2} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + 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 # Exit on most errors + +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 . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# 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 +) + +# 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 new file mode 100644 index 0000000000..5849d85676 --- /dev/null +++ b/perl/perl-IO-Socket-SSL/perl-IO-Socket-SSL.info @@ -0,0 +1,10 @@ +PRGNAM="perl-IO-Socket-SSL" +VERSION="1.24" +HOMEPAGE="http://search.cpan.org/~sullr/IO-Socket-SSL-1.24/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-1.24.tar.gz" +MD5SUM="53a407291bf9b3e09ae0f0cff90799a9" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="rworkman" diff --git a/perl/perl-IO-Socket-SSL/slack-desc b/perl/perl-IO-Socket-SSL/slack-desc new file mode 100644 index 0000000000..8bbdf0270b --- /dev/null +++ b/perl/perl-IO-Socket-SSL/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 ':'. + + |-----handy-ruler-------------------------------------------------------| +perl-IO-Socket-SSL: perl-IO-Socket-SSL (Transparent 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 or +perl-IO-Socket-SSL: client. IO::Socket::SSL supports all the extra features that one needs +perl-IO-Socket-SSL: to write a full-featured SSL client or server application: multiple SSL +perl-IO-Socket-SSL: contexts, cipher selection, certificate verification, and SSL version +perl-IO-Socket-SSL: selection. As an extra bonus, it works perfectly with mod_perl. +perl-IO-Socket-SSL: +perl-IO-Socket-SSL: +perl-IO-Socket-SSL: diff --git a/perl/perl-IO-stringy/README b/perl/perl-IO-stringy/README new file mode 100644 index 0000000000..0cfe2b3878 --- /dev/null +++ b/perl/perl-IO-stringy/README @@ -0,0 +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 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 new file mode 100644 index 0000000000..19596b8e6d --- /dev/null +++ b/perl/perl-IO-stringy/perl-IO-stringy.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: IO-stringy +# Home Page http://search.cpan.org/dist/IO-stringy/ + +# Copyright (c) 2009-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__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 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=IO-stringy +PRGNAM=perl-IO-stringy +VERSION=2.110 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +DOCS="README COPYING" + +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 + +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 . \ + \( -perm 777 -o -perm 775 -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 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 {} \; + +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:-tgz} diff --git a/perl/perl-IO-stringy/perl-IO-stringy.info b/perl/perl-IO-stringy/perl-IO-stringy.info new file mode 100644 index 0000000000..41f9f0cf13 --- /dev/null +++ b/perl/perl-IO-stringy/perl-IO-stringy.info @@ -0,0 +1,10 @@ +PRGNAM="perl-IO-stringy" +VERSION="2.110" +HOMEPAGE="http://search.cpan.org/dist/IO-stringy/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DS/DSKOLL/IO-stringy-2.110.tar.gz" +MD5SUM="2e6a976cfa5521e815c1fdf4006982de" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-IO-stringy/slack-desc b/perl/perl-IO-stringy/slack-desc new file mode 100644 index 0000000000..71277d1dd2 --- /dev/null +++ b/perl/perl-IO-stringy/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-IO-stringy: perl-IO-stringy (IO::stringy) +perl-IO-stringy: +perl-IO-stringy: perl-IO-stringy provides perl modules for performing both +perl-IO-stringy: traditional and object-oriented i/o on things other than +perl-IO-stringy: normal filehandles. +perl-IO-stringy: +perl-IO-stringy: +perl-IO-stringy: +perl-IO-stringy: Homepage: http://search.cpan.org/dist/IO-stringy/ +perl-IO-stringy: +perl-IO-stringy: diff --git a/perl/perl-IP-Country/README b/perl/perl-IP-Country/README new file mode 100644 index 0000000000..fe3587b5a9 --- /dev/null +++ b/perl/perl-IP-Country/README @@ -0,0 +1,4 @@ +perl-IP-Country provides fast lookup of country codes from IP addresses. + +perl-IP-Country is recommended for SpamAssassin. +Requires: perl-Geography-Countries
\ No newline at end of file diff --git a/perl/perl-IP-Country/perl-IP-Country.SlackBuild b/perl/perl-IP-Country/perl-IP-Country.SlackBuild new file mode 100644 index 0000000000..8519993581 --- /dev/null +++ b/perl/perl-IP-Country/perl-IP-Country.SlackBuild @@ -0,0 +1,114 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: IP::Country +# Home Page http://search.cpan.org/dist/IP-Country/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__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 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=IP-Country +PRGNAM=perl-IP-Country +VERSION=2.27 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +DOCS="CHANGES README" + +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 + +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 . \ + \( -perm 777 -o -perm 775 -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 \ +INSTALLVENDORMAN1DIR=/usr/man/man1 + +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 {} \; + +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:-tgz} diff --git a/perl/perl-IP-Country/perl-IP-Country.info b/perl/perl-IP-Country/perl-IP-Country.info new file mode 100644 index 0000000000..64782c05bf --- /dev/null +++ b/perl/perl-IP-Country/perl-IP-Country.info @@ -0,0 +1,10 @@ +PRGNAM="perl-IP-Country" +VERSION="2.27" +HOMEPAGE="http://search.cpan.org/dist/IP-Country/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/N/NW/NWETTERS/IP-Country-2.27.tar.gz" +MD5SUM="32932280ee4729145e85e08dad5ab8c6" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-IP-Country/slack-desc b/perl/perl-IP-Country/slack-desc new file mode 100644 index 0000000000..b0cca090d8 --- /dev/null +++ b/perl/perl-IP-Country/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-IP-Country: perl-IP-Country (IP::Country) +perl-IP-Country: +perl-IP-Country: perl-IP-Country - fast lookup of country codes from IP +perl-IP-Country: addresses. +perl-IP-Country: +perl-IP-Country: +perl-IP-Country: +perl-IP-Country: Homepage: http://search.cpan.org/dist/IP-Country/ +perl-IP-Country: +perl-IP-Country: +perl-IP-Country: diff --git a/perl/perl-Image-Info/README b/perl/perl-Image-Info/README new file mode 100644 index 0000000000..3068061bd9 --- /dev/null +++ b/perl/perl-Image-Info/README @@ -0,0 +1,3 @@ +perl-Image-Info extracts meta information from image files + +This is recommended with spamassassin. diff --git a/perl/perl-Image-Info/perl-Image-Info.SlackBuild b/perl/perl-Image-Info/perl-Image-Info.SlackBuild new file mode 100644 index 0000000000..cd2f64c9e9 --- /dev/null +++ b/perl/perl-Image-Info/perl-Image-Info.SlackBuild @@ -0,0 +1,112 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Image::Info +# Home Page http://search.cpan.org/dist/Image-Info/ + +# Copyright (c) 2009-2010, Nishant Limbachia, Hoffman Estates, IL, USA +# (nishant _AT_ mnspace _DOT_ 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 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Image-Info +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.31} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +DOCS="CHANGES README" + +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 + +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 . \ + \( -perm 777 -o -perm 775 -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 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 {} \; + +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:-tgz} diff --git a/perl/perl-Image-Info/perl-Image-Info.info b/perl/perl-Image-Info/perl-Image-Info.info new file mode 100644 index 0000000000..36e9ead907 --- /dev/null +++ b/perl/perl-Image-Info/perl-Image-Info.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Image-Info" +VERSION="1.31" +HOMEPAGE="http://search.cpan.org/dist/Image-Info/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/Image-Info-1.31.tar.gz" +MD5SUM="4c5fa82385643e5153aa76090be0bbf4" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Image-Info/slack-desc b/perl/perl-Image-Info/slack-desc new file mode 100644 index 0000000000..90ff979930 --- /dev/null +++ b/perl/perl-Image-Info/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Image-Info: perl-Image-Info (Image::Info) +perl-Image-Info: +perl-Image-Info: perl-Image-Info extracts meta information from image files. +perl-Image-Info: +perl-Image-Info: +perl-Image-Info: +perl-Image-Info: Homepage: http://search.cpan.org/dist/Image-Info/ +perl-Image-Info: +perl-Image-Info: +perl-Image-Info: +perl-Image-Info: diff --git a/perl/perl-Image-Size/README b/perl/perl-Image-Size/README new file mode 100644 index 0000000000..cc2b266be6 --- /dev/null +++ b/perl/perl-Image-Size/README @@ -0,0 +1,2 @@ +Image::Size - Determine the size of images in several common formats + diff --git a/perl/perl-Image-Size/perl-Image-Size.SlackBuild b/perl/perl-Image-Size/perl-Image-Size.SlackBuild new file mode 100644 index 0000000000..253a49b34a --- /dev/null +++ b/perl/perl-Image-Size/perl-Image-Size.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-Image-Size + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, 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. + +SRCNAM=Image-Size +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-3.221} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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 \ + 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 \ + | 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 ChangeLog.xml README.textile 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-Image-Size/perl-Image-Size.info b/perl/perl-Image-Size/perl-Image-Size.info new file mode 100644 index 0000000000..db231ed8de --- /dev/null +++ b/perl/perl-Image-Size/perl-Image-Size.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Image-Size" +VERSION="3.221" +HOMEPAGE="http://search.cpan.org/dist/Image-Size/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RJ/RJRAY/Image-Size-3.221.tar.gz" +MD5SUM="0f79025fc341d9a6dc4cbda7ba129377" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-Image-Size/slack-desc b/perl/perl-Image-Size/slack-desc new file mode 100644 index 0000000000..708226a51c --- /dev/null +++ b/perl/perl-Image-Size/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Image-Size: perl-Image-Size (Determine the size of images) +perl-Image-Size: +perl-Image-Size: Image::Size - Determine the size of images in several common formats. +perl-Image-Size: +perl-Image-Size: +perl-Image-Size: +perl-Image-Size: +perl-Image-Size: +perl-Image-Size: +perl-Image-Size: +perl-Image-Size: diff --git a/perl/perl-List-MoreUtils/README b/perl/perl-List-MoreUtils/README new file mode 100644 index 0000000000..ca22f0f73f --- /dev/null +++ b/perl/perl-List-MoreUtils/README @@ -0,0 +1,2 @@ +perl-List-MoreUtils provides the missing functionality from List::Util +(see "SUGGESTED ADDITIONS" in its manpage). diff --git a/perl/perl-List-MoreUtils/perl-List-MoreUtils.SlackBuild b/perl/perl-List-MoreUtils/perl-List-MoreUtils.SlackBuild new file mode 100644 index 0000000000..cbaeac977b --- /dev/null +++ b/perl/perl-List-MoreUtils/perl-List-MoreUtils.SlackBuild @@ -0,0 +1,106 @@ +#!/bin/sh + +# Slackware build script for perl-List-MoreUtils + +# Written by David Somero <dsomero@hotmail.com> +# Derived from Slackware's Slackbuilds. +# +# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2010 David Somero (dsomero@hotmail.com) Athens, TN, 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. + +SRCNAM=List-MoreUtils +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.25_02} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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 \ + 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 \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/perl/perl-List-MoreUtils/perl-List-MoreUtils.info b/perl/perl-List-MoreUtils/perl-List-MoreUtils.info new file mode 100644 index 0000000000..2a2c4e91c5 --- /dev/null +++ b/perl/perl-List-MoreUtils/perl-List-MoreUtils.info @@ -0,0 +1,10 @@ +PRGNAM="perl-List-MoreUtils" +VERSION="0.25_02" +HOMEPAGE="http://search.cpan.org/dist/List-MoreUtils/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/V/VP/VPARSEVAL/List-MoreUtils-0.25_02.tar.gz" +MD5SUM="28ebdc31bc9f75ffc59ae4495a05513d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="Erik Hanson" diff --git a/perl/perl-List-MoreUtils/slack-desc b/perl/perl-List-MoreUtils/slack-desc new file mode 100644 index 0000000000..f6e977cee7 --- /dev/null +++ b/perl/perl-List-MoreUtils/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-List-MoreUtils: perl-List-MoreUtils (Adds missing functionality from List::Util) +perl-List-MoreUtils: +perl-List-MoreUtils: Provides the missing functionality from List::Util (see "SUGGESTED +perl-List-MoreUtils: ADDITIONS" in its manpage). +perl-List-MoreUtils: +perl-List-MoreUtils: +perl-List-MoreUtils: +perl-List-MoreUtils: +perl-List-MoreUtils: +perl-List-MoreUtils: +perl-List-MoreUtils: diff --git a/perl/perl-MIME-Lite/README b/perl/perl-MIME-Lite/README new file mode 100644 index 0000000000..4b539a9529 --- /dev/null +++ b/perl/perl-MIME-Lite/README @@ -0,0 +1,3 @@ +perl-MIME-Lite (low-calorie MIME generator) + +This requires perl-Email-Date-Format. diff --git a/perl/perl-MIME-Lite/perl-MIME-Lite.SlackBuild b/perl/perl-MIME-Lite/perl-MIME-Lite.SlackBuild new file mode 100644 index 0000000000..df345cc2e7 --- /dev/null +++ b/perl/perl-MIME-Lite/perl-MIME-Lite.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +# Slackware build script for perl-MIME-Lite +# Copyright 2010 V'yacheslav Stetskevych <slava18@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. + +SRCNAM=MIME-Lite +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-3.027} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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 {} \; + +# Disable suggested dependencies of this package +echo "n" | perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make test +make install DESTDIR=$PKG + +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 \ + LICENSE README INSTALLING COPYING \ + $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-MIME-Lite/perl-MIME-Lite.info b/perl/perl-MIME-Lite/perl-MIME-Lite.info new file mode 100644 index 0000000000..52d4263e2c --- /dev/null +++ b/perl/perl-MIME-Lite/perl-MIME-Lite.info @@ -0,0 +1,10 @@ +PRGNAM="perl-MIME-Lite" +VERSION="3.027" +HOMEPAGE="http://search.cpan.org/~rjbs/MIME-Lite-3.027/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/MIME-Lite-3.027.tar.gz" +MD5SUM="e857febd66c45f2a5919b031fbe70aa7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="V'yacheslav Stetskevych" +EMAIL="slava18@gmail.com" +APPROVED="dsomero" diff --git a/perl/perl-MIME-Lite/slack-desc b/perl/perl-MIME-Lite/slack-desc new file mode 100644 index 0000000000..35ac6025be --- /dev/null +++ b/perl/perl-MIME-Lite/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +perl-MIME-Lite: perl-MIME-Lite (low-calorie MIME generator) +perl-MIME-Lite: +perl-MIME-Lite: +perl-MIME-Lite: +perl-MIME-Lite: +perl-MIME-Lite: +perl-MIME-Lite: +perl-MIME-Lite: +perl-MIME-Lite: +perl-MIME-Lite: +perl-MIME-Lite: diff --git a/perl/perl-MIME-tools/README b/perl/perl-MIME-tools/README new file mode 100644 index 0000000000..e504bf7b47 --- /dev/null +++ b/perl/perl-MIME-tools/README @@ -0,0 +1,4 @@ +perl-MIME-tools is a collection of perl modules for parsing (and creating) +MIME entities + +This requires perl-Convert-BinHex, perl-IO-stringy, and perl-MailTools. diff --git a/perl/perl-MIME-tools/perl-MIME-tools.SlackBuild b/perl/perl-MIME-tools/perl-MIME-tools.SlackBuild new file mode 100644 index 0000000000..88bd2bf2f6 --- /dev/null +++ b/perl/perl-MIME-tools/perl-MIME-tools.SlackBuild @@ -0,0 +1,104 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: MIME-tools +# Home Page http://search.cpan.org/dist/MIME-Tools/ + +# Copyright (c) 2009-2011, Nishant Limbachia, Hoffman Estates, IL, USA +# <nishant _AT_ mnspace _DOT_ 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 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. +# +# Modified by the SlackBuilds.org project. + +PRGNAM=perl-MIME-tools +VERSION=${VERSION:-5.500} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=MIME-tools + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +DOCS="COPYING ChangeLog README* INSTALLING" + +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 + +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 . \ + \( -perm 777 -o -perm 775 -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 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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +mkdir -p $PKG/install +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-MIME-tools/perl-MIME-tools.info b/perl/perl-MIME-tools/perl-MIME-tools.info new file mode 100644 index 0000000000..2a4d271ee7 --- /dev/null +++ b/perl/perl-MIME-tools/perl-MIME-tools.info @@ -0,0 +1,10 @@ +PRGNAM="perl-MIME-tools" +VERSION="5.500" +HOMEPAGE="http://search.cpan.org/dist/MIME-tools/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DO/DONEILL/MIME-tools-5.500.tar.gz" +MD5SUM="e1d28e4fbaedc47ff44c87b91be7f404" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="rworkman" diff --git a/perl/perl-MIME-tools/slack-desc b/perl/perl-MIME-tools/slack-desc new file mode 100644 index 0000000000..18da744f8e --- /dev/null +++ b/perl/perl-MIME-tools/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-MIME-tools: perl-MIME-tools (MIME::Tools) +perl-MIME-tools: +perl-MIME-tools: perl-MIME-tools is a collection of perl modules for +perl-MIME-tools: parsing (and creating) MIME entities. +perl-MIME-tools: +perl-MIME-tools: +perl-MIME-tools: +perl-MIME-tools: +perl-MIME-tools: Homepage: http://search.cpan.org/dist/MIME-tools/ +perl-MIME-tools: +perl-MIME-tools: diff --git a/perl/perl-MP3-Info/README b/perl/perl-MP3-Info/README new file mode 100644 index 0000000000..252864eb4d --- /dev/null +++ b/perl/perl-MP3-Info/README @@ -0,0 +1 @@ +MP3::Info is a perl module for getting info out of and into MP3 files. diff --git a/perl/perl-MP3-Info/perl-MP3-Info.SlackBuild b/perl/perl-MP3-Info/perl-MP3-Info.SlackBuild new file mode 100644 index 0000000000..a4f472cc91 --- /dev/null +++ b/perl/perl-MP3-Info/perl-MP3-Info.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/sh + +# Slackware build script for perl-MP3-Info + +# Written by Mark Grocock <mark@grocock.me.uk> + +SRCNAM=MP3-Info +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.24} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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/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 TODO eg \ + $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-MP3-Info/perl-MP3-Info.info b/perl/perl-MP3-Info/perl-MP3-Info.info new file mode 100644 index 0000000000..a32b48d5f6 --- /dev/null +++ b/perl/perl-MP3-Info/perl-MP3-Info.info @@ -0,0 +1,10 @@ +PRGNAM="perl-MP3-Info" +VERSION="1.24" +HOMEPAGE="http://search.cpan.org/~daniel/MP3-Info-1.24/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DA/DANIEL/MP3-Info-1.24.tar.gz" +MD5SUM="fb4bcc43764e3b46c3a7c74b50ed7a44" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mark Grocock" +EMAIL="mark@grocock.me.uk" +APPROVED="Michiel van Wessem" diff --git a/perl/perl-MP3-Info/slack-desc b/perl/perl-MP3-Info/slack-desc new file mode 100644 index 0000000000..917b1f1cd3 --- /dev/null +++ b/perl/perl-MP3-Info/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-MP3-Info: perl-MP3-Info (Manipulate / fetch info from MP3 audio files) +perl-MP3-Info: +perl-MP3-Info: This is MP3::Info, for getting info out of and into MP3 files. +perl-MP3-Info: +perl-MP3-Info: http://search.cpan.org/~daniel/MP3-Info-1.24/ +perl-MP3-Info: +perl-MP3-Info: +perl-MP3-Info: +perl-MP3-Info: +perl-MP3-Info: +perl-MP3-Info: diff --git a/perl/perl-Mail-DKIM/README b/perl/perl-Mail-DKIM/README new file mode 100644 index 0000000000..823edf6440 --- /dev/null +++ b/perl/perl-Mail-DKIM/README @@ -0,0 +1,3 @@ +perl-Mail-DKIM signs/verifies smtp mail with DKIM/DomainKey signatures. + +This requires perl-Crypt-OpenSSL-RSA, perl-MailTools, and perl-net-dns. diff --git a/perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild b/perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild new file mode 100644 index 0000000000..7611340d67 --- /dev/null +++ b/perl/perl-Mail-DKIM/perl-Mail-DKIM.SlackBuild @@ -0,0 +1,100 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Mail::DKIM +# Home Page http://search.cpan.org/dist/Mail-DKIM/ + +# Copyright (c) 2008-2011, Nishant Limbachia, Hoffman Estates, IL, USA +# <nishant _AT_ mnspace _DOT_ 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 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. + +PRGNAM=perl-Mail-DKIM +VERSION=${VERSION:-0.39} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Mail-DKIM + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +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" + 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 + +DOCS="ChangeLog README" + +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 . \ + \( -perm 777 -o -perm 775 -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 install DESTDIR=$PKG + +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 ; remove empty directories +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +mkdir -p $PKG/install +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-Mail-DKIM/perl-Mail-DKIM.info b/perl/perl-Mail-DKIM/perl-Mail-DKIM.info new file mode 100644 index 0000000000..61abeac2e9 --- /dev/null +++ b/perl/perl-Mail-DKIM/perl-Mail-DKIM.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Mail-DKIM" +VERSION="0.39" +HOMEPAGE="http://search.cpan.org/dist/Mail-DKIM/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/J/JA/JASLONG/Mail-DKIM-0.39.tar.gz" +MD5SUM="0b62c91f855f47e818d96680746572ca" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="rworkman" diff --git a/perl/perl-Mail-DKIM/slack-desc b/perl/perl-Mail-DKIM/slack-desc new file mode 100644 index 0000000000..bc2073060b --- /dev/null +++ b/perl/perl-Mail-DKIM/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Mail-DKIM: perl-Mail-DKIM (Mail::DKIM) +perl-Mail-DKIM: +perl-Mail-DKIM: perl-Mail-DKIM - Signs/verifies Internet mail with +perl-Mail-DKIM: DKIM/DomainKey signatures. +perl-Mail-DKIM: +perl-Mail-DKIM: Homepage: http://search.cpan.org/dist/Mail-DKIM/ +perl-Mail-DKIM: +perl-Mail-DKIM: +perl-Mail-DKIM: +perl-Mail-DKIM: +perl-Mail-DKIM: diff --git a/perl/perl-Mail-SPF/README b/perl/perl-Mail-SPF/README new file mode 100644 index 0000000000..ea7e7d3a0c --- /dev/null +++ b/perl/perl-Mail-SPF/README @@ -0,0 +1,9 @@ +perl-Mail-SPF is an object-oriented Perl implementation of the Sender +Policy Framework (SPF) email sender authentication system. + +perl-Mail-SPF requires (in that order): +1. perl-digest-sha1 +2. perl-digest-hmac +3. perl-NetAddr-IP +4. perl-Net-DNS +5. perl-Net-DNS-Resolver-Programmable diff --git a/perl/perl-Mail-SPF/perl-Mail-SPF.SlackBuild b/perl/perl-Mail-SPF/perl-Mail-SPF.SlackBuild new file mode 100644 index 0000000000..75992015e8 --- /dev/null +++ b/perl/perl-Mail-SPF/perl-Mail-SPF.SlackBuild @@ -0,0 +1,114 @@ +#!/bin/sh + +# Slackware Package Build Script for perl module: Mail::SPF +# Home Page http://search.cpan.org/dist/Mail-SPF/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__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 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Mail-SPF-v2.007 +PRGNAM=perl-Mail-SPF +VERSION=2.007 +TAG=${TAG:-_SBo} +BUILD=${BUILD:-1} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCS="CHANGES INSTALL LICENSE README" + +set -e + +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 + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM.tar.gz +cd $TMP/$SRCNAM +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=vendor + +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 {} \; + +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +# move man pages +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 +) + +mkdir -p $PKG/install +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-Mail-SPF/perl-Mail-SPF.info b/perl/perl-Mail-SPF/perl-Mail-SPF.info new file mode 100644 index 0000000000..f1c70b52f9 --- /dev/null +++ b/perl/perl-Mail-SPF/perl-Mail-SPF.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Mail-SPF" +VERSION="2.007" +HOMEPAGE="http://search.cpan.org/dist/Mail-SPF/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF-v2.007.tar.gz" +MD5SUM="67dccdc91e3264679a0e17d493d3cc30" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Mail-SPF/slack-desc b/perl/perl-Mail-SPF/slack-desc new file mode 100644 index 0000000000..cbd0605e18 --- /dev/null +++ b/perl/perl-Mail-SPF/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Mail-SPF: perl-Mail-SPF (Mail::SPF) +perl-Mail-SPF: +perl-Mail-SPF: perl-Mail-SPF is an object-oriented implementation of +perl-Mail-SPF: Sender Policy Framework (SPF). +perl-Mail-SPF: +perl-Mail-SPF: Homepage: http://search.cpan.org/dist/Mail-SPF/ +perl-Mail-SPF: +perl-Mail-SPF: +perl-Mail-SPF: +perl-Mail-SPF: +perl-Mail-SPF: diff --git a/perl/perl-MailTools/README b/perl/perl-MailTools/README new file mode 100644 index 0000000000..f31fe2179d --- /dev/null +++ b/perl/perl-MailTools/README @@ -0,0 +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 is required by perl-Mail-DKIM package. +Requires: perl-TimeDate diff --git a/perl/perl-MailTools/perl-MailTools.SlackBuild b/perl/perl-MailTools/perl-MailTools.SlackBuild new file mode 100644 index 0000000000..c3eada4eea --- /dev/null +++ b/perl/perl-MailTools/perl-MailTools.SlackBuild @@ -0,0 +1,96 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: MailTools +# Home Page http://search.cpan.org/dist/MailTools/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA +# <nishant _AT_ mnspace _DOT_ 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 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=MailTools +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-2.07} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +DOCS="ChangeLog README" + +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 . \ + \( -perm 777 -o -perm 775 -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 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 {} \; + +( 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:-tgz} diff --git a/perl/perl-MailTools/perl-MailTools.info b/perl/perl-MailTools/perl-MailTools.info new file mode 100644 index 0000000000..435471435c --- /dev/null +++ b/perl/perl-MailTools/perl-MailTools.info @@ -0,0 +1,10 @@ +PRGNAM="perl-MailTools" +VERSION="2.07" +HOMEPAGE="http://search.cpan.org/dist/MailTools/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-2.07.tar.gz" +MD5SUM="df861e05cbcf3a336ecebfb2c42529d0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-MailTools/slack-desc b/perl/perl-MailTools/slack-desc new file mode 100644 index 0000000000..53bde18917 --- /dev/null +++ b/perl/perl-MailTools/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-MailTools: perl-MailTools (MailTools) +perl-MailTools: +perl-MailTools: MailTools is a set of Perl modules related +perl-MailTools: to mail applications. +perl-MailTools: +perl-MailTools: Homepage: http://search.cpan.org/dist/MailTools/ +perl-MailTools: +perl-MailTools: +perl-MailTools: +perl-MailTools: +perl-MailTools: diff --git a/perl/perl-Math-Base85/README b/perl/perl-Math-Base85/README new file mode 100644 index 0000000000..06e906f766 --- /dev/null +++ b/perl/perl-Math-Base85/README @@ -0,0 +1,5 @@ +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. diff --git a/perl/perl-Math-Base85/perl-Math-Base85.SlackBuild b/perl/perl-Math-Base85/perl-Math-Base85.SlackBuild new file mode 100644 index 0000000000..27d57d0d8b --- /dev/null +++ b/perl/perl-Math-Base85/perl-Math-Base85.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Math-Base85 + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Math-Base85 +VERSION=${VERSION:-0.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Math-Base85 +DOCS="README rfc1924.txt" + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# 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 +) + +# 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-Math-Base85/perl-Math-Base85.info b/perl/perl-Math-Base85/perl-Math-Base85.info new file mode 100644 index 0000000000..19e787ece9 --- /dev/null +++ b/perl/perl-Math-Base85/perl-Math-Base85.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Math-Base85" +VERSION="0.2" +HOMEPAGE="http://search.cpan.org/dist/Math-Base85/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TM/TMONROE/Math-Base85-0.2.tar.gz" +MD5SUM="3a2914651dc680fd22661f35213211d3" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Erik Hanson" diff --git a/perl/perl-Math-Base85/slack-desc b/perl/perl-Math-Base85/slack-desc new file mode 100644 index 0000000000..84c3ac3ce8 --- /dev/null +++ b/perl/perl-Math-Base85/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 ':'. + + |-----handy-ruler-------------------------------------------------------| +perl-Math-Base85: perl-Math-Base85 (extension for base 85 numbers) +perl-Math-Base85: +perl-Math-Base85: RFC 1924 describes a compact, fixed-size representation of IPv6 +perl-Math-Base85: addresses which uses a base 85 number system. This module handles some +perl-Math-Base85: of the uglier details of it. +perl-Math-Base85: +perl-Math-Base85: +perl-Math-Base85: +perl-Math-Base85: +perl-Math-Base85: +perl-Math-Base85: diff --git a/perl/perl-Net-CIDR/README b/perl/perl-Net-CIDR/README new file mode 100644 index 0000000000..e55c4ca22f --- /dev/null +++ b/perl/perl-Net-CIDR/README @@ -0,0 +1 @@ +perl-Net-CIDR perl module to manipulate IPv4/IPv6 netblocks in CIDR notation. diff --git a/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild b/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild new file mode 100644 index 0000000000..2f2c53796d --- /dev/null +++ b/perl/perl-Net-CIDR/perl-Net-CIDR.SlackBuild @@ -0,0 +1,89 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Net::CIDR +# Home Page http://search.cpan.org/dist/Net-CIDR/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA [nishant _AT_ mnspace _DOT_ 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 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. + +PRGNAM=perl-Net-CIDR +VERSION=0.14 +BUILD=${BUILD:-1} + +SRCNAM=Net-CIDR + +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 +TAG=${TAG:-_SBo} +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 COPYING README" + +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 . \ + \( -perm 777 -o -perm 775 -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 install DESTDIR=$PKG + +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 + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +mkdir -p $PKG/install +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-Net-CIDR/perl-Net-CIDR.info b/perl/perl-Net-CIDR/perl-Net-CIDR.info new file mode 100644 index 0000000000..9bea51def9 --- /dev/null +++ b/perl/perl-Net-CIDR/perl-Net-CIDR.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-CIDR" +VERSION="0.14" +HOMEPAGE="http://search.cpan.org/dist/Net-CIDR/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MR/MRSAM/testing/Net-CIDR-0.14.tar.gz" +MD5SUM="52081c62fe551a205127025c09698ec5" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="rworkman" diff --git a/perl/perl-Net-CIDR/slack-desc b/perl/perl-Net-CIDR/slack-desc new file mode 100644 index 0000000000..154d3b5a25 --- /dev/null +++ b/perl/perl-Net-CIDR/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Net-CIDR: perl-Net-CIDR (Net::CIDR) +perl-Net-CIDR: +perl-Net-CIDR: perl-Net-CIDR perl module to manipulate IPv4/IPv6 netblocks +perl-Net-CIDR: in CIDR notation. +perl-Net-CIDR: +perl-Net-CIDR: Homepage: http://search.cpan.org/dist/Net-CIDR/ +perl-Net-CIDR: +perl-Net-CIDR: +perl-Net-CIDR: +perl-Net-CIDR: +perl-Net-CIDR: diff --git a/perl/perl-Net-DNS-Resolver-Programmable/README b/perl/perl-Net-DNS-Resolver-Programmable/README new file mode 100644 index 0000000000..52d59f1400 --- /dev/null +++ b/perl/perl-Net-DNS-Resolver-Programmable/README @@ -0,0 +1,4 @@ +perl-Net-DNS-Resolver-Programmable is a programmable DNS resolver class +for offline emulation of DNS . + +perl-Net-DNS-Resolver-Programmable is required for Mail-SPF package. 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 new file mode 100644 index 0000000000..5aa8bff31f --- /dev/null +++ b/perl/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.SlackBuild @@ -0,0 +1,108 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Net::DNS::Resolver::Programmable +# Home Page http://search.cpan.org/dist/Net-DNS-Resolver-Programmable/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__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 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Net-DNS-Resolver-Programmable-v0.003 +PRGNAM=perl-Net-DNS-Resolver-Programmable +VERSION=0.003 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +DOCS="CHANGES README INSTALL LICENSE" + +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 + +rm -fr $TMP/$SRCNAM-$VERSION $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM.tar.gz +cd $TMP/$SRCNAM +chown -R root.root . +find . \ + \( -perm 777 -o -perm 775 -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 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 {} \; + +( 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:-tgz} 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 new file mode 100644 index 0000000000..774e4adfad --- /dev/null +++ b/perl/perl-Net-DNS-Resolver-Programmable/perl-Net-DNS-Resolver-Programmable.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-DNS-Resolver-Programmable" +VERSION="0.003" +HOMEPAGE="http://search.cpan.org/dist/Net-DNS-Resolver-Programmable/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/J/JM/JMEHNLE/net-dns-resolver-programmable/Net-DNS-Resolver-Programmable-v0.003.tar.gz" +MD5SUM="8d44bf331d6115e7fb4ea21f6cf4b96b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Net-DNS-Resolver-Programmable/slack-desc b/perl/perl-Net-DNS-Resolver-Programmable/slack-desc new file mode 100644 index 0000000000..e43392df40 --- /dev/null +++ b/perl/perl-Net-DNS-Resolver-Programmable/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Net-DNS-Resolver-Programmable: perl-Net-DNS-Resolver-Programmable +perl-Net-DNS-Resolver-Programmable: +perl-Net-DNS-Resolver-Programmable: programmable DNS resolver class for offline emulation +perl-Net-DNS-Resolver-Programmable: of DNS. +perl-Net-DNS-Resolver-Programmable: +perl-Net-DNS-Resolver-Programmable: Homepage: http://search.cpan.org/dist/Net-DNS-Resolver-Programmable/ +perl-Net-DNS-Resolver-Programmable: +perl-Net-DNS-Resolver-Programmable: +perl-Net-DNS-Resolver-Programmable: +perl-Net-DNS-Resolver-Programmable: +perl-Net-DNS-Resolver-Programmable: diff --git a/perl/perl-Net-Daemon/README b/perl/perl-Net-Daemon/README new file mode 100644 index 0000000000..3d77deb34f --- /dev/null +++ b/perl/perl-Net-Daemon/README @@ -0,0 +1,6 @@ +perl-Net-Daemon (perl extension for portable daemons) + +Net::Daemon is an abstract base class for implementing portable +server applications in a very simple way. The module is designed +for Perl 5.005 and threads, but can work with fork() and Perl 5.004. +It offers methods for the most common tasks a daemon needs. diff --git a/perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild b/perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild new file mode 100644 index 0000000000..beb92d6584 --- /dev/null +++ b/perl/perl-Net-Daemon/perl-Net-Daemon.SlackBuild @@ -0,0 +1,67 @@ +#!/bin/sh + +# Slackware build script for perl-Net-Daemon + +# Written by crocket (crockabiscuit@yahoo.com) + +PRGNAM=perl-Net-Daemon +VERSION=${VERSION:-0.43} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=Net-Daemon + +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +mv $SRCNAM $SRCNAM-$VERSION +cd $SRCNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +# remove a test file that utilizes an ancient API. +rm t/thread.t + +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG + +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 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-Net-Daemon/perl-Net-Daemon.info b/perl/perl-Net-Daemon/perl-Net-Daemon.info new file mode 100644 index 0000000000..bb934d92ae --- /dev/null +++ b/perl/perl-Net-Daemon/perl-Net-Daemon.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-Daemon" +VERSION="0.43" +HOMEPAGE="http://search.cpan.org/~mnooning/Net-Daemon-0.43/lib/Net/Daemon.pm" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MN/MNOONING/Net-Daemon/Net-Daemon-0.43.tar.gz" +MD5SUM="a173a8407fb7b049aa465598eca6dfd7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="crocket" +EMAIL="crockabiscuit@yahoo.com" +APPROVED="rworkman" diff --git a/perl/perl-Net-Daemon/slack-desc b/perl/perl-Net-Daemon/slack-desc new file mode 100644 index 0000000000..6b6196a9ec --- /dev/null +++ b/perl/perl-Net-Daemon/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Net-Daemon: perl-Net-Daemon ( perl extention for portable daemons ) +perl-Net-Daemon: +perl-Net-Daemon: Net::Daemon is an abstract base class for implementing portable +perl-Net-Daemon: server applications in a very simple way. The module is designed +perl-Net-Daemon: for Perl 5.005 and threads, but can work with fork() and Perl 5.004. +perl-Net-Daemon: It offers methods for the most commons tasks a daemon needs. +perl-Net-Daemon: +perl-Net-Daemon: It can be found in CPAN search engine. +perl-Net-Daemon: +perl-Net-Daemon: +perl-Net-Daemon: diff --git a/perl/perl-Net-IPv4Addr/README b/perl/perl-Net-IPv4Addr/README new file mode 100644 index 0000000000..988282d0db --- /dev/null +++ b/perl/perl-Net-IPv4Addr/README @@ -0,0 +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. diff --git a/perl/perl-Net-IPv4Addr/perl-Net-IPv4Addr.SlackBuild b/perl/perl-Net-IPv4Addr/perl-Net-IPv4Addr.SlackBuild new file mode 100644 index 0000000000..9fa962b9b3 --- /dev/null +++ b/perl/perl-Net-IPv4Addr/perl-Net-IPv4Addr.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Net-IPv4Addr + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Net-IPv4Addr +VERSION=${VERSION:-0.10} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Net-IPv4Addr +DOCS="ChangeLog NEWS README" + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# 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 +) + +# 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-Net-IPv4Addr/perl-Net-IPv4Addr.info b/perl/perl-Net-IPv4Addr/perl-Net-IPv4Addr.info new file mode 100644 index 0000000000..fb17cd10bf --- /dev/null +++ b/perl/perl-Net-IPv4Addr/perl-Net-IPv4Addr.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-IPv4Addr" +VERSION="0.10" +HOMEPAGE="http://search.cpan.org/dist/Net-IPv4Addr/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/F/FR/FRAJULAC/Net-IPv4Addr-0.10.tar.gz" +MD5SUM="57aa8e28ebcd4c0c9f15792740e53d3c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Erik Hanson" diff --git a/perl/perl-Net-IPv4Addr/slack-desc b/perl/perl-Net-IPv4Addr/slack-desc new file mode 100644 index 0000000000..3ad731e82e --- /dev/null +++ b/perl/perl-Net-IPv4Addr/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 ':'. + + |-----handy-ruler-------------------------------------------------------| +perl-Net-IPv4Addr: perl-Net-IPv4Addr (perl extension for manipulating IPv4 addresses) +perl-Net-IPv4Addr: +perl-Net-IPv4Addr: Net::IPv4Addr provides functions for parsing IPv4 addresses both in +perl-Net-IPv4Addr: traditional address/netmask format and in the new CIDR format. There +perl-Net-IPv4Addr: are also methods for calculating the network and broadcast address and +perl-Net-IPv4Addr: also to see check if a given address is in a specific network. +perl-Net-IPv4Addr: +perl-Net-IPv4Addr: +perl-Net-IPv4Addr: +perl-Net-IPv4Addr: +perl-Net-IPv4Addr: diff --git a/perl/perl-Net-IPv6Addr/README b/perl/perl-Net-IPv6Addr/README new file mode 100644 index 0000000000..91859b2b28 --- /dev/null +++ b/perl/perl-Net-IPv6Addr/README @@ -0,0 +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. diff --git a/perl/perl-Net-IPv6Addr/perl-Net-IPv6Addr.SlackBuild b/perl/perl-Net-IPv6Addr/perl-Net-IPv6Addr.SlackBuild new file mode 100644 index 0000000000..f2a08a33a2 --- /dev/null +++ b/perl/perl-Net-IPv6Addr/perl-Net-IPv6Addr.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Net-IPv6Addr + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Net-IPv6Addr +VERSION=${VERSION:-0.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Net-IPv6Addr +DOCS="ChangeLog README" + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# 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 +) + +# 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-Net-IPv6Addr/perl-Net-IPv6Addr.info b/perl/perl-Net-IPv6Addr/perl-Net-IPv6Addr.info new file mode 100644 index 0000000000..70fb6bfdb0 --- /dev/null +++ b/perl/perl-Net-IPv6Addr/perl-Net-IPv6Addr.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-IPv6Addr" +VERSION="0.2" +HOMEPAGE="http://search.cpan.org/dist/Net-IPv6Addr/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TM/TMONROE/Net-IPv6Addr-0.2.tar.gz" +MD5SUM="cd06f0422ddb3ac119e2ef1e27aa9339" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Erik Hanson" diff --git a/perl/perl-Net-IPv6Addr/slack-desc b/perl/perl-Net-IPv6Addr/slack-desc new file mode 100644 index 0000000000..4ddb40ad9b --- /dev/null +++ b/perl/perl-Net-IPv6Addr/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 ':'. + + |-----handy-ruler-------------------------------------------------------| +perl-Net-IPv6Addr: perl-Net-IPv6Addr (check validity of IPv6 addresses) +perl-Net-IPv6Addr: +perl-Net-IPv6Addr: Net::IPv6Addr checks strings for valid IPv6 addresses, as specified in +perl-Net-IPv6Addr: RFC1884. You throw possible addresses at it, it either accepts them or +perl-Net-IPv6Addr: throws an exception. +perl-Net-IPv6Addr: +perl-Net-IPv6Addr: +perl-Net-IPv6Addr: +perl-Net-IPv6Addr: +perl-Net-IPv6Addr: +perl-Net-IPv6Addr: diff --git a/perl/perl-Net-Ident/README b/perl/perl-Net-Ident/README new file mode 100644 index 0000000000..4b1a96a85b --- /dev/null +++ b/perl/perl-Net-Ident/README @@ -0,0 +1,5 @@ +perl-Net-Ident looks up the username on the remote end of a TCP/IP +connection. + + +perl-Net-Ident is recommended for SpamAssassin. diff --git a/perl/perl-Net-Ident/perl-Net-Ident.SlackBuild b/perl/perl-Net-Ident/perl-Net-Ident.SlackBuild new file mode 100644 index 0000000000..eea4d268e9 --- /dev/null +++ b/perl/perl-Net-Ident/perl-Net-Ident.SlackBuild @@ -0,0 +1,94 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Net::Ident +# Home Page http://search.cpan.org/dist/Net-Ident/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ 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 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Net-Ident +PRGNAM=perl-Net-Ident +VERSION=1.23 +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +DOCS="Changes README" + + +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 . \ + \( -perm 777 -o -perm 775 -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 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 +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f + +# find & compress man pages +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 -exec rm -rf {} \; + +mkdir -p $PKG/install +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-Net-Ident/perl-Net-Ident.info b/perl/perl-Net-Ident/perl-Net-Ident.info new file mode 100644 index 0000000000..9d3770fa8d --- /dev/null +++ b/perl/perl-Net-Ident/perl-Net-Ident.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-Ident" +VERSION="1.23" +HOMEPAGE="http://search.cpan.org/dist/Net-Ident/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/Net-Ident-1.23.tar.gz" +MD5SUM="f9a2943dc6310c1f31458c49f926b007" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Net-Ident/slack-desc b/perl/perl-Net-Ident/slack-desc new file mode 100644 index 0000000000..5365776f7d --- /dev/null +++ b/perl/perl-Net-Ident/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Net-Ident: perl-Net-Ident (Net::Ident) +perl-Net-Ident: +perl-Net-Ident: perl-Net-Ident - lookup the username on the remote end of +perl-Net-Ident: a TCP/IP connection. +perl-Net-Ident: +perl-Net-Ident: Homepage: http://search.cpan.org/dist/Net-Ident/ +perl-Net-Ident: +perl-Net-Ident: +perl-Net-Ident: +perl-Net-Ident: +perl-Net-Ident: diff --git a/perl/perl-Net-LibIDN/README b/perl/perl-Net-LibIDN/README new file mode 100644 index 0000000000..e495139df4 --- /dev/null +++ b/perl/perl-Net-LibIDN/README @@ -0,0 +1,14 @@ +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: + + 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'))); diff --git a/perl/perl-Net-LibIDN/perl-Net-LibIDN.SlackBuild b/perl/perl-Net-LibIDN/perl-Net-LibIDN.SlackBuild new file mode 100644 index 0000000000..38224f38f6 --- /dev/null +++ b/perl/perl-Net-LibIDN/perl-Net-LibIDN.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Net-LibIDN + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Net-LibIDN +VERSION=${VERSION:-0.12} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Net-LibIDN +DOCS="Artistic Changes README" + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 # Exit on most errors + +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 . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# 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 +) + +# 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-Net-LibIDN/perl-Net-LibIDN.info b/perl/perl-Net-LibIDN/perl-Net-LibIDN.info new file mode 100644 index 0000000000..196ce2f8fa --- /dev/null +++ b/perl/perl-Net-LibIDN/perl-Net-LibIDN.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-LibIDN" +VERSION="0.12" +HOMEPAGE="http://search.cpan.org/~thor/Net-LibIDN/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/T/TH/THOR/Net-LibIDN-0.12.tar.gz" +MD5SUM="c3e4de2065009d67bcb1df0afb473e12" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="rworkman" diff --git a/perl/perl-Net-LibIDN/slack-desc b/perl/perl-Net-LibIDN/slack-desc new file mode 100644 index 0000000000..ce6a78f7c6 --- /dev/null +++ b/perl/perl-Net-LibIDN/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 ':'. + + |-----handy-ruler-------------------------------------------------------| +perl-Net-LibIDN: perl-Net-LibIDN (Perl bindings for GNU Libidn) +perl-Net-LibIDN: +perl-Net-LibIDN: Provides bindings for GNU Libidn, a C library for handling +perl-Net-LibIDN: Internationalized Domain Names according to IDNA (RFC 3490), in a way +perl-Net-LibIDN: very much inspired by Turbo Fredriksson's PHP-IDN. +perl-Net-LibIDN: +perl-Net-LibIDN: +perl-Net-LibIDN: +perl-Net-LibIDN: +perl-Net-LibIDN: +perl-Net-LibIDN: diff --git a/perl/perl-Net-Libdnet/README b/perl/perl-Net-Libdnet/README new file mode 100644 index 0000000000..5cf63913cb --- /dev/null +++ b/perl/perl-Net-Libdnet/README @@ -0,0 +1,10 @@ +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. + +This package requires perl-Class-Gomor and libdnet, from SlackBuilds.org diff --git a/perl/perl-Net-Libdnet/perl-Net-Libdnet.SlackBuild b/perl/perl-Net-Libdnet/perl-Net-Libdnet.SlackBuild new file mode 100644 index 0000000000..6a686cc666 --- /dev/null +++ b/perl/perl-Net-Libdnet/perl-Net-Libdnet.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Net-Libdnet + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Net-Libdnet +VERSION=${VERSION:-0.92} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Net-Libdnet +DOCS="LICENSE README" + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# 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 +) + +# 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-Net-Libdnet/perl-Net-Libdnet.info b/perl/perl-Net-Libdnet/perl-Net-Libdnet.info new file mode 100644 index 0000000000..b848a907f2 --- /dev/null +++ b/perl/perl-Net-Libdnet/perl-Net-Libdnet.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-Libdnet" +VERSION="0.92" +HOMEPAGE="http://search.cpan.org/dist/Net-Libdnet/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/Net-Libdnet-0.92.tar.gz" +MD5SUM="3ae5ac04867b615ee20ec9ee281a31fd" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Erik Hanson" diff --git a/perl/perl-Net-Libdnet/slack-desc b/perl/perl-Net-Libdnet/slack-desc new file mode 100644 index 0000000000..93253bc49d --- /dev/null +++ b/perl/perl-Net-Libdnet/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 ':'. + + |-----handy-ruler-------------------------------------------------------| +perl-Net-Libdnet: perl-Net-Libdnet (binding for Dug Song's libdnet) +perl-Net-Libdnet: +perl-Net-Libdnet: Net::Libdnet provides a simplified, portable interface to several +perl-Net-Libdnet: low-level networking routines, including network address manipulation, +perl-Net-Libdnet: kernel arp cache and route table lookup and manipulation, network +perl-Net-Libdnet: firewalling, network interface lookup and manipulation, network traffic +perl-Net-Libdnet: interception via tunnel interfaces, and raw IP packet and Ethernet +perl-Net-Libdnet: frame transmission. It is intended to complement the functionality +perl-Net-Libdnet: provided by libpcap. +perl-Net-Libdnet: +perl-Net-Libdnet: diff --git a/perl/perl-Net-Packet/README b/perl/perl-Net-Packet/README new file mode 100644 index 0000000000..b0be1ff930 --- /dev/null +++ b/perl/perl-Net-Packet/README @@ -0,0 +1,16 @@ +Net::Packet - a framework to easily send and receive frames from layer 2 to +layer 7 + +This module is a unified framework to craft, send and receive packets at +layers 2, 3, 4 and 7. +Basically, you forge each layer of a frame (Net::Packet::IPv4 for layer 3, +Net::Packet::TCP for layer 4; for example), and pack all of this into a +Net::Packet::Frame object. Then, you can send the frame to the network, and +receive its response easily, because the response is automatically searched +for and matched against the request (not implemented for all layers). + +This package requires: perl-Bit-Vector, perl-Class-Gomor, perl-Net-IPv4Addr, +perl-Net-IPv6Addr, perl-Net-Libdnet, perl-Net-Pcap, perl-Net-Write and +perl-Socket6. All of them are avalaible from SlackBuilds.org. + +This is not the same module as perl-NetPacket! diff --git a/perl/perl-Net-Packet/perl-Net-Packet.SlackBuild b/perl/perl-Net-Packet/perl-Net-Packet.SlackBuild new file mode 100644 index 0000000000..d5f5026926 --- /dev/null +++ b/perl/perl-Net-Packet/perl-Net-Packet.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Net-Packet + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Net-Packet +VERSION=${VERSION:-3.27} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Net-Packet +DOCS="LICENSE LICENSE.Artistic README" + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# 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 +) + +# 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-Net-Packet/perl-Net-Packet.info b/perl/perl-Net-Packet/perl-Net-Packet.info new file mode 100644 index 0000000000..841bb000e1 --- /dev/null +++ b/perl/perl-Net-Packet/perl-Net-Packet.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-Packet" +VERSION="3.27" +HOMEPAGE="http://search.cpan.org/dist/Net-Packet/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/Net-Packet-3.27.tar.gz" +MD5SUM="1f1d0b19b043d47dd30d21d5cf02e1e7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Erik Hanson" diff --git a/perl/perl-Net-Packet/slack-desc b/perl/perl-Net-Packet/slack-desc new file mode 100644 index 0000000000..cec80dc612 --- /dev/null +++ b/perl/perl-Net-Packet/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 ':'. + + |-----handy-ruler-------------------------------------------------------| +perl-Net-Packet: perl-Net-Packet (a network framework) +perl-Net-Packet: +perl-Net-Packet: This module is a unified framework to craft, send and receive packets +perl-Net-Packet: at layers 2, 3, 4 and 7. +perl-Net-Packet: +perl-Net-Packet: +perl-Net-Packet: +perl-Net-Packet: +perl-Net-Packet: +perl-Net-Packet: +perl-Net-Packet: diff --git a/perl/perl-Net-Pcap/README b/perl/perl-Net-Pcap/README new file mode 100644 index 0000000000..63152333b4 --- /dev/null +++ b/perl/perl-Net-Pcap/README @@ -0,0 +1,7 @@ +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." + +This requires perl-IO-Interface. diff --git a/perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild b/perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild new file mode 100644 index 0000000000..d61a1b9061 --- /dev/null +++ b/perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild @@ -0,0 +1,112 @@ +#!/bin/sh + +# Slackware build script for perl-Net-Pcap + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Net-Pcap +VERSION=${VERSION:-0.14} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Net-Pcap +DOCS="README" + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=perl +make +# some of the tests are broken, since they expect an oldier libpcap +#make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# 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 +) + +# 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-Net-Pcap/perl-Net-Pcap.info b/perl/perl-Net-Pcap/perl-Net-Pcap.info new file mode 100644 index 0000000000..01e36b594a --- /dev/null +++ b/perl/perl-Net-Pcap/perl-Net-Pcap.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-Pcap" +VERSION="0.14" +HOMEPAGE="http://search.cpan.org/dist/Net-Pcap/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SA/SAPER/Net-Pcap-0.14.tar.gz" +MD5SUM="80a4b62911cded1a011b897f735d445e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="rworkman" diff --git a/perl/perl-Net-Pcap/slack-desc b/perl/perl-Net-Pcap/slack-desc new file mode 100644 index 0000000000..fa462100a9 --- /dev/null +++ b/perl/perl-Net-Pcap/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 ':'. + + |-----handy-ruler-------------------------------------------------------| +perl-Net-Pcap: perl-Net-Pcap (Interface to pcap(3) LBL packet capture library) +perl-Net-Pcap: +perl-Net-Pcap: The Net::Pcap module is a Perl binding to the LBL pcap(3) packet +perl-Net-Pcap: capture library. +perl-Net-Pcap: +perl-Net-Pcap: +perl-Net-Pcap: +perl-Net-Pcap: +perl-Net-Pcap: +perl-Net-Pcap: +perl-Net-Pcap: diff --git a/perl/perl-Net-RawIP/README b/perl/perl-Net-RawIP/README new file mode 100644 index 0000000000..b08ecae900 --- /dev/null +++ b/perl/perl-Net-RawIP/README @@ -0,0 +1,10 @@ +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. diff --git a/perl/perl-Net-RawIP/perl-Net-RawIP.SlackBuild b/perl/perl-Net-RawIP/perl-Net-RawIP.SlackBuild new file mode 100644 index 0000000000..75b8532859 --- /dev/null +++ b/perl/perl-Net-RawIP/perl-Net-RawIP.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Net-RawIP + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Net-RawIP +VERSION=${VERSION:-0.25} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Net-RawIP +DOCS="README README.Devel" + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# 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 +) + +# 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-Net-RawIP/perl-Net-RawIP.info b/perl/perl-Net-RawIP/perl-Net-RawIP.info new file mode 100644 index 0000000000..5e37b17722 --- /dev/null +++ b/perl/perl-Net-RawIP/perl-Net-RawIP.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-RawIP" +VERSION="0.25" +HOMEPAGE="http://search.cpan.org/dist/Net-RawIP/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SA/SAPER/Net-RawIP-0.25.tar.gz" +MD5SUM="a99f461e20e7894154f64729a4652448" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="rworkman" diff --git a/perl/perl-Net-RawIP/slack-desc b/perl/perl-Net-RawIP/slack-desc new file mode 100644 index 0000000000..82ed1f0cf7 --- /dev/null +++ b/perl/perl-Net-RawIP/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 ':'. + + |-----handy-ruler-------------------------------------------------------| +perl-Net-RawIP: perl-Net-RawIP (manipulate raw IP packets) +perl-Net-RawIP: +perl-Net-RawIP: This package provides a class which can be used for creating, +perl-Net-RawIP: manipulating and sending raw IP packets with optional features for +perl-Net-RawIP: manipulating Ethernet headers. +perl-Net-RawIP: +perl-Net-RawIP: +perl-Net-RawIP: +perl-Net-RawIP: +perl-Net-RawIP: +perl-Net-RawIP: diff --git a/perl/perl-Net-Server/README b/perl/perl-Net-Server/README new file mode 100644 index 0000000000..222873aea3 --- /dev/null +++ b/perl/perl-Net-Server/README @@ -0,0 +1,3 @@ +perl-Net-Server is an extensible, general Perl server engine. + +perl-Net-Server requires perl-IO package. diff --git a/perl/perl-Net-Server/perl-Net-Server.SlackBuild b/perl/perl-Net-Server/perl-Net-Server.SlackBuild new file mode 100644 index 0000000000..1368945cdc --- /dev/null +++ b/perl/perl-Net-Server/perl-Net-Server.SlackBuild @@ -0,0 +1,93 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Net::Server +# Home Page http://search.cpan.org/dist/Net-Server/ + +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__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 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. +# +# Modified by the SlackBuilds.org project. + +SRCNAM=Net-Server +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.99} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +DOCS="Changes README" + +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 . \ + \( -perm 777 -o -perm 775 -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 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 + +# Compress man pages +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/install +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-Net-Server/perl-Net-Server.info b/perl/perl-Net-Server/perl-Net-Server.info new file mode 100644 index 0000000000..fc3818fb8a --- /dev/null +++ b/perl/perl-Net-Server/perl-Net-Server.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-Server" +VERSION="0.99" +HOMEPAGE="http://search.cpan.org/dist/Net-Server/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RH/RHANDOM/Net-Server-0.99.tar.gz" +MD5SUM="1ae03dff8b1009216a2e5d8f4c9a47b1" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="dsomero" diff --git a/perl/perl-Net-Server/slack-desc b/perl/perl-Net-Server/slack-desc new file mode 100644 index 0000000000..1f7120322a --- /dev/null +++ b/perl/perl-Net-Server/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Net-Server: perl-Net-Server (Net::Server) +perl-Net-Server: +perl-Net-Server: perl-Net-Server - Extensible, general Perl server engine. +perl-Net-Server: +perl-Net-Server: Homepage: http://search.cpan.org/dist/Net-Server/ +perl-Net-Server: +perl-Net-Server: +perl-Net-Server: +perl-Net-Server: +perl-Net-Server: +perl-Net-Server: diff --git a/perl/perl-Net-Telnet/README b/perl/perl-Net-Telnet/README new file mode 100644 index 0000000000..890da5b2f9 --- /dev/null +++ b/perl/perl-Net-Telnet/README @@ -0,0 +1,9 @@ +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. diff --git a/perl/perl-Net-Telnet/perl-Net-Telnet.SlackBuild b/perl/perl-Net-Telnet/perl-Net-Telnet.SlackBuild new file mode 100644 index 0000000000..c7d7024f54 --- /dev/null +++ b/perl/perl-Net-Telnet/perl-Net-Telnet.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Net-Telnet + +# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it> +# 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-Net-Telnet +VERSION=${VERSION:-3.03} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Net-Telnet +DOCS="ChangeLog README" + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# 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 +) + +# 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-Net-Telnet/perl-Net-Telnet.info b/perl/perl-Net-Telnet/perl-Net-Telnet.info new file mode 100644 index 0000000000..8094da4acf --- /dev/null +++ b/perl/perl-Net-Telnet/perl-Net-Telnet.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-Telnet" +VERSION="3.03" +HOMEPAGE="http://search.cpan.org/dist/Net-Telnet/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/J/JR/JROGERS/Net-Telnet-3.03.tar.gz" +MD5SUM="2f7d34b09d6117baefe89d44cff9d5fc" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="dsomero" diff --git a/perl/perl-Net-Telnet/slack-desc b/perl/perl-Net-Telnet/slack-desc new file mode 100644 index 0000000000..dd7b8eefe8 --- /dev/null +++ b/perl/perl-Net-Telnet/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 ':'. + + |-----handy-ruler-------------------------------------------------------| +perl-Net-Telnet: perl-Net-Telnet (interact with TELNET port or other TCP ports) +perl-Net-Telnet: +perl-Net-Telnet: Net::Telnet allows you to make client connections to a TCP port and do +perl-Net-Telnet: network I/O, especially to a port using the TELNET protocol. Simple +perl-Net-Telnet: I/O methods such as print, get, and getline are provided. More +perl-Net-Telnet: sophisticated interactive features are provided because connecting to +perl-Net-Telnet: a TELNET port ultimately means communicating with a program designed +perl-Net-Telnet: for human interaction. These interactive features include the ability +perl-Net-Telnet: to specify a time-out and to wait for patterns to appear in the input +perl-Net-Telnet: stream, such as the prompt from a shell. +perl-Net-Telnet: diff --git a/perl/perl-Net-UPnP/README b/perl/perl-Net-UPnP/README new file mode 100644 index 0000000000..dd5c5e36f5 --- /dev/null +++ b/perl/perl-Net-UPnP/README @@ -0,0 +1,3 @@ +Perl extension for UPnP. + +perl-Net-UPnP is required for perl bindings for MythTV > 0.24. diff --git a/perl/perl-Net-UPnP/perl-Net-UPnP.SlackBuild b/perl/perl-Net-UPnP/perl-Net-UPnP.SlackBuild new file mode 100644 index 0000000000..6f650e4aed --- /dev/null +++ b/perl/perl-Net-UPnP/perl-Net-UPnP.SlackBuild @@ -0,0 +1,103 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: Net-UPnP +# Home Page http://search.cpan.org/dist/Net-UPnP/ + +# Copyright (c) 2010, Nishant Limbachia, Hoffman Estates, IL, USA +# <nishant _AT_ mnspace _DOT_ 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 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. + +SRCNAM=Net-UPnP +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.4.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +DOCS="Changes README" + +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 + +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 . \ + \( -perm 777 -o -perm 775 -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 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 + +find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f + +# 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 + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/install +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-Net-UPnP/perl-Net-UPnP.info b/perl/perl-Net-UPnP/perl-Net-UPnP.info new file mode 100644 index 0000000000..3694909de2 --- /dev/null +++ b/perl/perl-Net-UPnP/perl-Net-UPnP.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-UPnP" +VERSION="1.4.2" +HOMEPAGE="http://search.cpan.org/dist/Net-UPnP/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SK/SKONNO/Net-UPnP-1.4.2.tar.gz" +MD5SUM="bc009fd76b565df40a70aca49af82a7d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="Michiel van Wessem" diff --git a/perl/perl-Net-UPnP/slack-desc b/perl/perl-Net-UPnP/slack-desc new file mode 100644 index 0000000000..4b464bd0a4 --- /dev/null +++ b/perl/perl-Net-UPnP/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-Net-UPnP: perl-Net-UPnP (Net-UPnP) +perl-Net-UPnP: +perl-Net-UPnP: Perl extension for UPnP. +perl-Net-UPnP: +perl-Net-UPnP: +perl-Net-UPnP: +perl-Net-UPnP: +perl-Net-UPnP: +perl-Net-UPnP: Homepage: http://search.cpan.org/dist/Net-UPnP/ +perl-Net-UPnP: +perl-Net-UPnP: diff --git a/perl/perl-Net-Write/README b/perl/perl-Net-Write/README new file mode 100644 index 0000000000..13836ed23a --- /dev/null +++ b/perl/perl-Net-Write/README @@ -0,0 +1,12 @@ +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). + +This package requires perl-Class-Gomor, perl-Net-Pcap and perl-Socket6 from +SlackBuilds.org diff --git a/perl/perl-Net-Write/perl-Net-Write.SlackBuild b/perl/perl-Net-Write/perl-Net-Write.SlackBuild new file mode 100644 index 0000000000..a55a86de2c --- /dev/null +++ b/perl/perl-Net-Write/perl-Net-Write.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-Net-Write + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-Net-Write +VERSION=${VERSION:-1.05} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=Net-Write +DOCS="LICENSE LICENSE.Artistic README" + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# 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 +) + +# 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-Net-Write/perl-Net-Write.info b/perl/perl-Net-Write/perl-Net-Write.info new file mode 100644 index 0000000000..532d6fb5b7 --- /dev/null +++ b/perl/perl-Net-Write/perl-Net-Write.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Net-Write" +VERSION="1.05" +HOMEPAGE="http://search.cpan.org/dist/Net-Write/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/Net-Write-1.05.tar.gz" +MD5SUM="833365d8474fd71a55c1190217613e73" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="Erik Hanson" diff --git a/perl/perl-Net-Write/slack-desc b/perl/perl-Net-Write/slack-desc new file mode 100644 index 0000000000..865aebcfa2 --- /dev/null +++ b/perl/perl-Net-Write/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 ':'. + + |-----handy-ruler-------------------------------------------------------| +perl-Net-Write: perl-Net-Write (portable interface to open and send raw data to network) +perl-Net-Write: +perl-Net-Write: Net::Write provides a portable interface to open a network interface, +perl-Net-Write: and be able to write raw data directly to the network. It juste +perl-Net-Write: provides three methods when a Net::Write object has been created for an +perl-Net-Write: interface: open, send, close. +perl-Net-Write: +perl-Net-Write: +perl-Net-Write: +perl-Net-Write: +perl-Net-Write: diff --git a/perl/perl-NetAddr-IP/README b/perl/perl-NetAddr-IP/README new file mode 100644 index 0000000000..97c51c55ca --- /dev/null +++ b/perl/perl-NetAddr-IP/README @@ -0,0 +1,2 @@ +perl-NetAddr-IP provides perl modules to manage IPv4 and IPv6 addresses +and subnets. diff --git a/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild b/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild new file mode 100644 index 0000000000..7708bb7b16 --- /dev/null +++ b/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild @@ -0,0 +1,104 @@ +#!/bin/sh + +# Slackware Package Build Script for perl modules: NetAddr::IP +# Home Page http://search.cpan.org/dist/NetAddr-IP/ + +# Copyright (c) 2008-2011, Nishant Limbachia, Hoffman Estates, IL, USA +# <nishant _AT_ mnspace _DOT_ 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 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. + +PRGNAM=perl-NetAddr-IP +VERSION=${VERSION:-4.038} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=NetAddr-IP + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +DOCS="Changes README" + +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 + + +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 . \ + \( -perm 777 -o -perm 775 -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 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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$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 +find $PKG -depth -type d -empty -exec rm -rf {} \; + +find $PKG/usr/man -type f -exec gzip -9 {} \; + +mkdir -p $PKG/install +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-NetAddr-IP/perl-NetAddr-IP.info b/perl/perl-NetAddr-IP/perl-NetAddr-IP.info new file mode 100644 index 0000000000..9c55db4f6e --- /dev/null +++ b/perl/perl-NetAddr-IP/perl-NetAddr-IP.info @@ -0,0 +1,10 @@ +PRGNAM="perl-NetAddr-IP" +VERSION="4.038" +HOMEPAGE="http://search.cpan.org/dist/NetAddr-IP/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/NetAddr-IP-4.038.tar.gz" +MD5SUM="04458809b25012a687f845f0eb860de7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Nishant Limbachia" +EMAIL="nishant@mnspace.net" +APPROVED="rworkman" diff --git a/perl/perl-NetAddr-IP/slack-desc b/perl/perl-NetAddr-IP/slack-desc new file mode 100644 index 0000000000..3675697ea7 --- /dev/null +++ b/perl/perl-NetAddr-IP/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-NetAddr-IP: perl-NetAddr-IP (NetAddr::IP) +perl-NetAddr-IP: +perl-NetAddr-IP: perl-NetAddr-IP provides perl modules to manage IPv4 +perl-NetAddr-IP: and IPv6 addresses and subnets +perl-NetAddr-IP: +perl-NetAddr-IP: Homepage: http://search.cpan.org/dist/NetAddr-IP/ +perl-NetAddr-IP: +perl-NetAddr-IP: +perl-NetAddr-IP: +perl-NetAddr-IP: +perl-NetAddr-IP: diff --git a/perl/perl-NetPacket/README b/perl/perl-NetPacket/README new file mode 100644 index 0000000000..a8d787778d --- /dev/null +++ b/perl/perl-NetPacket/README @@ -0,0 +1,15 @@ +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. + +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 new file mode 100644 index 0000000000..2e9e090901 --- /dev/null +++ b/perl/perl-NetPacket/perl-NetPacket.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +# Slackware build script for perl-NetPacket + +# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# 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-NetPacket +VERSION=${VERSION:-0.41.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRC_PRGNAM=NetPacket +DOCS="README" + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 $SRC_PRGNAM-$VERSION +tar xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz +cd $SRC_PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=perl +make +make test +make install DESTDIR=$PKG + +# Move man pages +mv $PKG/usr/share/man $PKG/usr/ + +# Compress man pages +( 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 +) + +# 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 +) + +# 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-NetPacket/perl-NetPacket.info b/perl/perl-NetPacket/perl-NetPacket.info new file mode 100644 index 0000000000..66bf8c5628 --- /dev/null +++ b/perl/perl-NetPacket/perl-NetPacket.info @@ -0,0 +1,10 @@ +PRGNAM="perl-NetPacket" +VERSION="0.41.1" +HOMEPAGE="http://search.cpan.org/dist/NetPacket/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/NetPacket-0.41.1.tar.gz" +MD5SUM="77c1482927c6892b9571404485ffe591" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Marco Bonetti" +EMAIL="sid77@slackware.it" +APPROVED="rworkman" diff --git a/perl/perl-NetPacket/slack-desc b/perl/perl-NetPacket/slack-desc new file mode 100644 index 0000000000..3a3b5f21c9 --- /dev/null +++ b/perl/perl-NetPacket/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 ':'. + + |-----handy-ruler-------------------------------------------------------| +perl-NetPacket: perl-NetPacket (modules to assemble/disassemble network packets) +perl-NetPacket: +perl-NetPacket: NetPacket provides a base class for a cluster of modules related to +perl-NetPacket: decoding and encoding of network protocols. Each NetPacket descendent +perl-NetPacket: module knows how to encode and decode packets for the network protocol +perl-NetPacket: it implements. +perl-NetPacket: +perl-NetPacket: +perl-NetPacket: +perl-NetPacket: +perl-NetPacket: diff --git a/perl/perl-Ogg-Vorbis-Header-PurePerl/README b/perl/perl-Ogg-Vorbis-Header-PurePerl/README new file mode 100644 index 0000000000..be9b297113 --- /dev/null +++ b/perl/perl-Ogg-Vorbis-Header-PurePerl/README @@ -0,0 +1,3 @@ +An object-oriented interface to Ogg Vorbis information and comment +fields, implemented entirely in Perl. Intended to be a drop in +replacement for Ogg::Vorbis::Header. 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 new file mode 100644 index 0000000000..bd2cbb32fe --- /dev/null +++ b/perl/perl-Ogg-Vorbis-Header-PurePerl/perl-Ogg-Vorbis-Header-PurePerl.SlackBuild @@ -0,0 +1,80 @@ +#!/bin/sh + +# Slackware build script for perl-Ogg-Vorbis-Header-PurePerl + +# Written by Mark Grocock <mark@grocock.me.uk> + +SRCNAM=Ogg-Vorbis-Header-PurePerl +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 . \ + \( -perm 777 -o -perm 775 -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/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.GPL 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-Ogg-Vorbis-Header-PurePerl/perl-Ogg-Vorbis-Header-PurePerl.info b/perl/perl-Ogg-Vorbis-Header-PurePerl/perl-Ogg-Vorbis-Header-PurePerl.info new file mode 100644 index 0000000000..e552fdce30 --- /dev/null +++ b/perl/perl-Ogg-Vorbis-Header-PurePerl/perl-Ogg-Vorbis-Header-PurePerl.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Ogg-Vorbis-Header-PurePerl" +VERSION="1.0" +HOMEPAGE="http://search.cpan.org/~daniel/Ogg-Vorbis-Header-PurePerl-1.0/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DA/DANIEL/Ogg-Vorbis-Header-PurePerl-1.0.tar.gz" +MD5SUM="1b09cefefd4a83bd4a53d2fddbd0bc68" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Mark Grocock" +EMAIL="mark@grocock.me.uk" +APPROVED="Michiel van Wessem" diff --git a/perl/perl-Ogg-Vorbis-Header-PurePerl/slack-desc b/perl/perl-Ogg-Vorbis-Header-PurePerl/slack-desc new file mode 100644 index 0000000000..a0b5a48a34 --- /dev/null +++ b/perl/perl-Ogg-Vorbis-Header-PurePerl/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-Ogg-Vorbis-Header-PurePerl: perl-Ogg-Vorbis-Header-PurePerl (interface to Ogg Vorbis information) +perl-Ogg-Vorbis-Header-PurePerl: +perl-Ogg-Vorbis-Header-PurePerl: An object-oriented interface to Ogg Vorbis information and comment +perl-Ogg-Vorbis-Header-PurePerl: fields, implemented entirely in Perl. Intended to be a drop in +perl-Ogg-Vorbis-Header-PurePerl: replacement for Ogg::Vorbis::Header. +perl-Ogg-Vorbis-Header-PurePerl: +perl-Ogg-Vorbis-Header-PurePerl: http://search.cpan.org/~daniel/Ogg-Vorbis-Header-PurePerl-1.0/ +perl-Ogg-Vorbis-Header-PurePerl: +perl-Ogg-Vorbis-Header-PurePerl: +perl-Ogg-Vorbis-Header-PurePerl: +perl-Ogg-Vorbis-Header-PurePerl: diff --git a/perl/perl-OpenGL-Image/README b/perl/perl-OpenGL-Image/README new file mode 100644 index 0000000000..c1c5632a8a --- /dev/null +++ b/perl/perl-OpenGL-Image/README @@ -0,0 +1,6 @@ +perl-OpenGL-Image (A wrapper to abstract imaging interfaces) + +OpenGL::Image provides methods to load/modify/save images for use +with OpenGL textures, FBOs and VBOs. + +This requires perl-OpenGL.
\ No newline at end of file diff --git a/perl/perl-OpenGL-Image/perl-OpenGL-Image.SlackBuild b/perl/perl-OpenGL-Image/perl-OpenGL-Image.SlackBuild new file mode 100644 index 0000000000..ef2f72908f --- /dev/null +++ b/perl/perl-OpenGL-Image/perl-OpenGL-Image.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/sh + +# Slackware build script for OpenGL-Image +# Written by Joey Trungale <joey@trungale.net> + +SRCNAM=OpenGL-Image +PRGNAM=perl-OpenGL-Image +VERSION=${VERSION:-1.03} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 +make +#make test +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 + +# Compress man pages +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system. +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes INSTALL 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} diff --git a/perl/perl-OpenGL-Image/perl-OpenGL-Image.info b/perl/perl-OpenGL-Image/perl-OpenGL-Image.info new file mode 100644 index 0000000000..51bd5ca4c0 --- /dev/null +++ b/perl/perl-OpenGL-Image/perl-OpenGL-Image.info @@ -0,0 +1,10 @@ +PRGNAM="perl-OpenGL-Image" +VERSION="1.03" +HOMEPAGE="http://graphcomp.com/pogl.cgi" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/B/BF/BFREE/OpenGL-Image-1.03.tar.gz" +MD5SUM="c68c25103fd19c752e5e9c97f0aecac0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Joey Trungale" +EMAIL="joey@trungale.net" +APPROVED="dsomero" diff --git a/perl/perl-OpenGL-Image/slack-desc b/perl/perl-OpenGL-Image/slack-desc new file mode 100644 index 0000000000..633b0e7dfa --- /dev/null +++ b/perl/perl-OpenGL-Image/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-OpenGL-Image: perl-OpenGL-Image (A wrapper to abstract imaging interfaces) +perl-OpenGL-Image: +perl-OpenGL-Image: OpenGL::Image provides methods to load/modify/save images for use +perl-OpenGL-Image: with OpenGL textures, FBOs and VBOs. +perl-OpenGL-Image: +perl-OpenGL-Image: http://graphcomp.com/pogl.cgi +perl-OpenGL-Image: +perl-OpenGL-Image: +perl-OpenGL-Image: +perl-OpenGL-Image: +perl-OpenGL-Image: diff --git a/perl/perl-OpenGL-Shader/README b/perl/perl-OpenGL-Shader/README new file mode 100644 index 0000000000..83c4279955 --- /dev/null +++ b/perl/perl-OpenGL-Shader/README @@ -0,0 +1,6 @@ +perl-OpenGL-Shader (An extensible abstraction for OpenGL shaders) + +OpenGL-Shader is a perl module that provides an extensible abstraction +for managing OpenGL shaders. + +This requires perl-OpenGL. diff --git a/perl/perl-OpenGL-Shader/perl-OpenGL-Shader.SlackBuild b/perl/perl-OpenGL-Shader/perl-OpenGL-Shader.SlackBuild new file mode 100644 index 0000000000..b4164de3c6 --- /dev/null +++ b/perl/perl-OpenGL-Shader/perl-OpenGL-Shader.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/sh + +# Slackware build script for OpenGL-Shader +# Written by Joey Trungale <joey@trungale.net> + +SRCNAM=OpenGL-Shader +PRGNAM=perl-OpenGL-Shader +VERSION=${VERSION:-1.01} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 +make +#make test +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 + +# Compress man pages +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system. +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + Changes INSTALL 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} diff --git a/perl/perl-OpenGL-Shader/perl-OpenGL-Shader.info b/perl/perl-OpenGL-Shader/perl-OpenGL-Shader.info new file mode 100644 index 0000000000..aa6fda12cd --- /dev/null +++ b/perl/perl-OpenGL-Shader/perl-OpenGL-Shader.info @@ -0,0 +1,10 @@ +PRGNAM="perl-OpenGL-Shader" +VERSION="1.01" +HOMEPAGE="http://graphcomp.com/pogl.cgi" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/B/BF/BFREE/OpenGL-Shader-1.01.tar.gz" +MD5SUM="7f76a8e20968472bde0f9cba94a61681" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Joey Trungale" +EMAIL="joey@trungale.net" +APPROVED="dsomero" diff --git a/perl/perl-OpenGL-Shader/slack-desc b/perl/perl-OpenGL-Shader/slack-desc new file mode 100644 index 0000000000..ff884bfa24 --- /dev/null +++ b/perl/perl-OpenGL-Shader/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-OpenGL-Shader: perl-OpenGL-Shader (An extensible abstraction for OpenGL shaders) +perl-OpenGL-Shader: +perl-OpenGL-Shader: OpenGL-Shader is a perl module that provides an extensible abstraction +perl-OpenGL-Shader: for managing OpenGL shaders. +perl-OpenGL-Shader: +perl-OpenGL-Shader: http://graphcomp.com/pogl.cgi +perl-OpenGL-Shader: +perl-OpenGL-Shader: +perl-OpenGL-Shader: +perl-OpenGL-Shader: +perl-OpenGL-Shader: diff --git a/perl/perl-OpenGL/README b/perl/perl-OpenGL/README new file mode 100644 index 0000000000..0c6a329b83 --- /dev/null +++ b/perl/perl-OpenGL/README @@ -0,0 +1,7 @@ +perl-OpenGL (A portable perl binding for OpenGL) + +Perl OpenGL (POGL) is a portable, compiled wrapper library that allows +OpenGL to be used in the Perl programming language. + +This requires freeglut and an operational OpenGL installation. +Freeglut and most popular OpenGL capable drivers are available on SBo. diff --git a/perl/perl-OpenGL/perl-OpenGL.SlackBuild b/perl/perl-OpenGL/perl-OpenGL.SlackBuild new file mode 100644 index 0000000000..b1fd264bd0 --- /dev/null +++ b/perl/perl-OpenGL/perl-OpenGL.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/sh + +# Slackware build script for OpenGL +# Written by Joey Trungale <joey@trungale.net> + +SRCNAM=OpenGL +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.63} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) 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 . \ + \( -perm 777 -o -perm 775 -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 INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 +make +#make test +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 + +# Compress man pages +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +# Remove perllocal.pod and other special files that don't need to be installed, +# as they will overwrite what's already on the system. +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true + +# Remove empty directories +find $PKG -depth -type d -empty -delete || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGES 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} diff --git a/perl/perl-OpenGL/perl-OpenGL.info b/perl/perl-OpenGL/perl-OpenGL.info new file mode 100644 index 0000000000..2fed559eae --- /dev/null +++ b/perl/perl-OpenGL/perl-OpenGL.info @@ -0,0 +1,10 @@ +PRGNAM="perl-OpenGL" +VERSION="0.63" +HOMEPAGE="http://graphcomp.com/pogl.cgi" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/C/CH/CHM/OpenGL-0.63.tar.gz" +MD5SUM="8b18413af9a6184d01b2547781e0d027" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Joey Trungale" +EMAIL="joey@trungale.net" +APPROVED="dsomero" diff --git a/perl/perl-OpenGL/slack-desc b/perl/perl-OpenGL/slack-desc new file mode 100644 index 0000000000..50bc44ee2d --- /dev/null +++ b/perl/perl-OpenGL/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 ':'. + + |-----handy-ruler------------------------------------------------------| +perl-OpenGL: perl-OpenGL (A portable perl binding for OpenGL) +perl-OpenGL: +perl-OpenGL: Perl OpenGL (POGL) is a portable, compiled wrapper library that allows +perl-OpenGL: OpenGL to be used in the Perl programming language. +perl-OpenGL: +perl-OpenGL: http://graphcomp.com/pogl.cgi +perl-OpenGL: +perl-OpenGL: +perl-OpenGL: +perl-OpenGL: +perl-OpenGL: diff --git a/perl/perl-PHP-Serialization/README b/perl/perl-PHP-Serialization/README new file mode 100644 index 0000000000..4c72b3e6e0 --- /dev/null +++ b/perl/perl-PHP-Serialization/README @@ -0,0 +1,5 @@ +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.SlackBuild b/perl/perl-PHP-Serialization/perl-PHP-Serialization.SlackBuild new file mode 100644 index 0000000000..e2daff0b89 --- /dev/null +++ b/perl/perl-PHP-Serialization/perl-PHP-Serialization.SlackBuild @@ -0,0 +1,97 @@ +#!/bin/sh + +# Slackware build script for perl-PHP-Serialization +# Copyright 2010 V'yacheslav Stetskevych <slava18@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. + +SRCNAM=PHP-Serialization +PRGNAM=perl-$SRCNAM +VERSION=${VERSION:-0.34} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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 |