diff options
73 files changed, 1520 insertions, 150 deletions
diff --git a/audio/id3/id3.SlackBuild b/audio/id3/id3.SlackBuild index b3de0c065f..a6edf3680d 100644 --- a/audio/id3/id3.SlackBuild +++ b/audio/id3/id3.SlackBuild @@ -70,10 +70,8 @@ cp -a id3.man $PKG/usr/man/man1/id3.1 find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ diff --git a/audio/snack/slack-desc b/audio/snack/slack-desc new file mode 100644 index 0000000000..92c4f306e3 --- /dev/null +++ b/audio/snack/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------------------------------------------------------| +snack: snack (Snack Sound Toolkit) +snack: +snack: The Snack Sound Toolkit is designed to be used with a scripting language +snack: language such as Tcl/Tk or Python. Using Snack you can create powerful +snack: multi-platform audio applications with just a few lines of code. +snack: +snack: +snack: +snack: homepage: +snack: http://www.speech.kth.se/snack/ +snack: diff --git a/audio/snack/snack.SlackBuild b/audio/snack/snack.SlackBuild new file mode 100644 index 0000000000..1e16274a38 --- /dev/null +++ b/audio/snack/snack.SlackBuild @@ -0,0 +1,92 @@ +#!/bin/sh + +# Slackware build script for snack + +# Written by Ponce <matteo.bernardini {at} sns.it> +# based on slackbuilds.org default template + +PRGNAM=snack +VERSION=${VERSION:-2.2.10} +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 $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 {} \; + +patch -p1 < $CWD/snack2.2.10_alsa_math.patch + +cd unix + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --enable-alsa \ + --with-tcl=/usr/lib${LIBDIRSUFFIX} \ + --with-tk=/usr/lib${LIBDIRSUFFIX} \ + --with-ogg-include=/usr \ + --with-ogg-lib=/usr \ + --build=$ARCH-slackware-linux + +make +make install DESTDIR=$PKG + +cd - + +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 BSD.txt COPYING 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/audio/snack/snack.info b/audio/snack/snack.info new file mode 100644 index 0000000000..704e97fe2f --- /dev/null +++ b/audio/snack/snack.info @@ -0,0 +1,10 @@ +PRGNAM="snack" +VERSION="2.2.10" +HOMEPAGE="http://www.speech.kth.se/snack/" +DOWNLOAD="http://www.speech.kth.se/snack/dist/snack2.2.10.tar.gz" +MD5SUM="98da0dc73599b3a039cba1b7ff169399" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Ponce" +EMAIL="matteo.bernardini {at} sns.it" +APPROVED="" diff --git a/audio/snack/snack2.2.10_alsa_math.patch b/audio/snack/snack2.2.10_alsa_math.patch new file mode 100644 index 0000000000..33a075dc54 --- /dev/null +++ b/audio/snack/snack2.2.10_alsa_math.patch @@ -0,0 +1,68 @@ +--- snack-2.2.10.orig/unix/jkAudIO_alsa.c ++++ snack-2.2.10/unix/jkAudIO_alsa.c +@@ -49,6 +49,8 @@ + + static int minNumChan = 1; + ++static snd_pcm_uframes_t hw_bufsize = 0; ++ + int + SnackAudioOpen(ADesc *A, Tcl_Interp *interp, char *device, int mode, int freq, + int nchannels, int encoding) +@@ -135,6 +137,9 @@ + Tcl_AppendResult(interp, "Failed setting HW params.", NULL); + return TCL_ERROR; + } ++ ++ snd_pcm_hw_params_get_buffer_size (hw_params, &hw_bufsize); ++ + snd_pcm_hw_params_free(hw_params); + snd_pcm_prepare(A->handle); + if (A->mode == RECORD) { +@@ -202,6 +207,8 @@ + int i; + static char buf[64]; + ++ return; ++ + if (A->debug > 1) Snack_WriteLog(" Enter SnackAudioPost\n"); + + for (i = 0; i < 1000; i++) { +@@ -267,12 +274,14 @@ + long + SnackAudioPlayed(ADesc *A) + { +- long avail = _snd_pcm_mmap_hw_ptr(A->handle); ++ // FIX Here, _snd_pcm_mmap_hw_ptr is deprecated in new alsalib ++ long played = A->nWritten - (hw_bufsize - SnackAudioWriteable(A)); ++ // long avail = _snd_pcm_mmap_hw_ptr(A->handle); + +- if (avail < 0) +- avail = 0; ++ if (played < 0) ++ return 0; + +- return (avail+A->nPlayed); ++ return (played); + } + + void +--- snack-2.2.10-dfsg1.orig/generic/jkFormatMP3.c ++++ snack-2.2.10-dfsg1/generic/jkFormatMP3.c +@@ -29,6 +29,7 @@ + #include "snack.h" + #include "jkFormatMP3.h" + #include <string.h> ++#include <math.h> + #define FRAS2(is,a) ((is) > 0 ? t_43[(is)]*(a):-t_43[-(is)]*(a)) + #define MAXFRAMESIZE 2106 /* frame size starting at header */ + #define roundf(x) (floor((x)+(float )0.5f)) +@@ -1309,8 +1310,6 @@ + return len; + } + +-#include <math.h> +- + #define PI12 0.261799387f + #define PI36 0.087266462f + #define COSPI3 0.500000000f diff --git a/desktop/wmCalClock/wmCalClock.SlackBuild b/desktop/wmCalClock/wmCalClock.SlackBuild index bc068e5a62..b6b0e17be9 100644 --- a/desktop/wmCalClock/wmCalClock.SlackBuild +++ b/desktop/wmCalClock/wmCalClock.SlackBuild @@ -66,10 +66,8 @@ cd - 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 -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a BUGS CHANGES COPYING HINTS INSTALL README TODO \ diff --git a/desktop/wmMoonClock/wmMoonClock.SlackBuild b/desktop/wmMoonClock/wmMoonClock.SlackBuild index 9fcbff5dbc..b2aba81036 100644 --- a/desktop/wmMoonClock/wmMoonClock.SlackBuild +++ b/desktop/wmMoonClock/wmMoonClock.SlackBuild @@ -66,10 +66,8 @@ cd - 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 -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a BUGS COPYING $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/desktop/wmSun/wmSun.SlackBuild b/desktop/wmSun/wmSun.SlackBuild index db34d8dfd3..c54a059ec2 100644 --- a/desktop/wmSun/wmSun.SlackBuild +++ b/desktop/wmSun/wmSun.SlackBuild @@ -72,10 +72,8 @@ cd - 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 -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a BUGS COPYING TODO \ diff --git a/desktop/wmakerconf/wmakerconf.SlackBuild b/desktop/wmakerconf/wmakerconf.SlackBuild index b6ea8d85fe..67ae4ac488 100644 --- a/desktop/wmakerconf/wmakerconf.SlackBuild +++ b/desktop/wmakerconf/wmakerconf.SlackBuild @@ -73,10 +73,8 @@ 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 -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ diff --git a/development/zope.interface/zope.interface.SlackBuild b/development/zope.interface/zope.interface.SlackBuild index 46392e3ce8..5d5e9898db 100644 --- a/development/zope.interface/zope.interface.SlackBuild +++ b/development/zope.interface/zope.interface.SlackBuild @@ -6,7 +6,7 @@ # Public domain PRGNAM=zope.interface -VERSION=${VERSION:-3.5.0} +VERSION=${VERSION:-3.6.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -31,7 +31,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -unzip $CWD/$PRGNAM-$VERSION.zip +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find . \ diff --git a/development/zope.interface/zope.interface.info b/development/zope.interface/zope.interface.info index dba86695e6..6b56d676db 100644 --- a/development/zope.interface/zope.interface.info +++ b/development/zope.interface/zope.interface.info @@ -1,8 +1,8 @@ PRGNAM="zope.interface" -VERSION="3.5.0" +VERSION="3.6.1" HOMEPAGE="http://pypi.python.org/pypi/zope.interface/" -DOWNLOAD="http://pypi.python.org/packages/source/z/zope.interface/zope.interface-3.5.0.zip" -MD5SUM="478d05add7cd7faf25a2fd880a739ddb" +DOWNLOAD="http://pypi.python.org/packages/source/z/zope.interface/zope.interface-3.6.1.tar.gz" +MD5SUM="7a895181b8d10be4a7e9a3afa13cd3be" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Mikko Varri" diff --git a/games/scummvm/README b/games/scummvm/README new file mode 100644 index 0000000000..d958efead6 --- /dev/null +++ b/games/scummvm/README @@ -0,0 +1,9 @@ +ScummVM is a collection of interpreters, capable of emulating several +adventure game engines. ScummVM mainly supports engines created using +SCUMM (Script Creation Utility for Maniac Mansion), used in various +LucasArts games such as Monkey Island, Day of the Tentacle, and others. +ScummVM also contains interpreters for several non-SCUMM games - currently +Beneath a Steel Sky, Broken Sword I & II, and Simon the Sorcerer 1 & 2. + +ScummVM optionally uses libmpeg2 and fluidsynth, both are available from +SlackBuilds.org
\ No newline at end of file diff --git a/games/scummvm/doinst.sh b/games/scummvm/doinst.sh new file mode 100644 index 0000000000..3412314ed0 --- /dev/null +++ b/games/scummvm/doinst.sh @@ -0,0 +1,5 @@ + +if [ -x usr/bin/update-desktop-database ]; then + ./usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1 +fi + diff --git a/games/scummvm/scummvm.SlackBuild b/games/scummvm/scummvm.SlackBuild new file mode 100644 index 0000000000..859613bdd6 --- /dev/null +++ b/games/scummvm/scummvm.SlackBuild @@ -0,0 +1,108 @@ +#!/bin/sh + +# Slackware build script for scummvm + +# Copyright 2006 Halim Issa <yallaone@gmail.com> +# Copyright 2008 Carlos Corbacho <carlos@strangeworlds.co.uk> (Slamd64 port) +# 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=scummvm +VERSION=1.1.1 +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="AUTHORS COPYING NEWS 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 + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP || exit 1 +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 +cd $PRGNAM-$VERSION || exit 1 +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --bindir=/usr/games \ + --libdir=/usr/lib$LIBDIRSUFFIX \ + --mandir=/usr/man \ + --disable-debug \ + || exit 1 + +make || exit 1 +make install DESTDIR=$PKG || exit 1 + +strip --strip-unneeded $PKG/usr/games/scummvm 2> /dev/null + +# The .desktop file for the menu is not being installed +install -D -m 0644 dists/scummvm.desktop \ + $PKG/usr/share/applications/scummvm.desktop + +# Hardcode the location for the .desktop icon +sed -i s%Icon=%Icon=/usr/share/pixmaps/% \ + $PKG/usr/share/applications/scummvm.desktop + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +# We don't need these - they're redundant +rm -rf $PKG/usr/share/doc + +# Compress the man page(s) +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 +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/games/scummvm/scummvm.info b/games/scummvm/scummvm.info new file mode 100644 index 0000000000..cea6c38e0c --- /dev/null +++ b/games/scummvm/scummvm.info @@ -0,0 +1,10 @@ +PRGNAM="scummvm" +VERSION="1.1.1" +HOMEPAGE="http://www.scummvm.org/" +DOWNLOAD="http://downloads.sourceforge.net/scummvm/1.1.1/scummvm-1.1.1.tar.bz2" +MD5SUM="ed9098a78022d07fa1482f14325e3ab8" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Yalla-One" +EMAIL="yallaone@gmail.com" +APPROVED="" diff --git a/games/scummvm/slack-desc b/games/scummvm/slack-desc new file mode 100644 index 0000000000..90ffe9f920 --- /dev/null +++ b/games/scummvm/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------------------------------------------------------| +scummvm: ScummVM (SCUMM game engine interpreter) +scummvm: +scummvm: ScummVM is a collection of interpreters, capable of emulating +scummvm: several adventure game engines. ScummVM mainly supports engines +scummvm: created using SCUMM (Script Creation Utility for Maniac Mansion), +scummvm: used in various LucasArts games such as Monkey Island, Day of the +scummvm: Tentacle, and others. ScummVM also contains interpreters for +scummvm: several non-SCUMM games, currently these are Beneath a Steel Sky, +scummvm: Broken Sword I & II, and Simon the Sorcerer 1 & 2. +scummvm: +scummvm: diff --git a/libraries/cryptopp/cryptopp.SlackBuild b/libraries/cryptopp/cryptopp.SlackBuild index 8c6384b77c..752d83a222 100644 --- a/libraries/cryptopp/cryptopp.SlackBuild +++ b/libraries/cryptopp/cryptopp.SlackBuild @@ -4,7 +4,7 @@ # Written by Iskar Enev (iskar.enev@gmail.com) PRGNAM=cryptopp -VERSION=${VERSION:-5.6.0} +VERSION=${VERSION:-5.5.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/cryptopp/cryptopp.info b/libraries/cryptopp/cryptopp.info index 6935271b60..8b8b59b999 100644 --- a/libraries/cryptopp/cryptopp.info +++ b/libraries/cryptopp/cryptopp.info @@ -1,8 +1,8 @@ PRGNAM="cryptopp" -VERSION="5.6.0" +VERSION="5.5.2" HOMEPAGE="http://www.cryptopp.com/" -DOWNLOAD="http://www.cryptopp.com/cryptopp560.zip" -MD5SUM="36f35789ad60489d58003d3c849807e8" +DOWNLOAD="http://www.cryptopp.com/cryptopp552.zip" +MD5SUM="a889be9d9ad5c202c925fb105caa4857" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Iskar Enev" diff --git a/libraries/gavl/README b/libraries/gavl/README new file mode 100644 index 0000000000..3ba513bb66 --- /dev/null +++ b/libraries/gavl/README @@ -0,0 +1,3 @@ +gavl (multimedia library) + +gavl is a library which provides basic support for uncompressed Audio, Video and Image data. diff --git a/libraries/gavl/gavl.SlackBuild b/libraries/gavl/gavl.SlackBuild new file mode 100644 index 0000000000..ddf23932d0 --- /dev/null +++ b/libraries/gavl/gavl.SlackBuild @@ -0,0 +1,88 @@ +#!/bin/sh + +# Slackware build script for gavl + +# Written by Matteo Bernardini <matteo.bernardini@sns.it> +# based on slackbuilds.org default template + +PRGNAM=gavl +VERSION=${VERSION:-20100529} +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 $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 {} \; + +./autogen.sh + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --disable-static \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --with-cpuflags=none \ + --build=$ARCH-slackware-linux + +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 \ + AUTHORS COPYING 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/libraries/gavl/gavl.info b/libraries/gavl/gavl.info new file mode 100644 index 0000000000..ded6bb5ea1 --- /dev/null +++ b/libraries/gavl/gavl.info @@ -0,0 +1,10 @@ +PRGNAM="gavl" +VERSION="20100529" +HOMEPAGE="http://gmerlin.sourceforge.net/" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/gavl-20100529.tar.gz" +MD5SUM="bdc1336cc75a62ec5774b01b9b3bfa47" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Matteo Bernardini" +EMAIL="matteo.bernardini@sns.it" +APPROVED="" diff --git a/libraries/gavl/slack-desc b/libraries/gavl/slack-desc new file mode 100644 index 0000000000..4cb2882d10 --- /dev/null +++ b/libraries/gavl/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------------------------------------------------------| +gavl: gavl (multimedia library) +gavl: +gavl: gavl is a library which provides basic support for uncompressed Audio, +gavl: Video and Image data. +gavl: +gavl: +gavl: +gavl: +gavl: homepage: +gavl: http://gmerlin.sourceforge.net/ +gavl: diff --git a/libraries/gst-python/gst-python.SlackBuild b/libraries/gst-python/gst-python.SlackBuild index c4cedb4f9e..41d867dc59 100644 --- a/libraries/gst-python/gst-python.SlackBuild +++ b/libraries/gst-python/gst-python.SlackBuild @@ -6,7 +6,7 @@ # Modified by the slackbuilds.org project. PRGNAM=gst-python -VERSION=0.10.15 +VERSION=0.10.19 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/libraries/gst-python/gst-python.info b/libraries/gst-python/gst-python.info index fb822659c2..76606304d1 100644 --- a/libraries/gst-python/gst-python.info +++ b/libraries/gst-python/gst-python.info @@ -1,8 +1,8 @@ PRGNAM="gst-python" -VERSION="0.10.15" +VERSION="0.10.19" HOMEPAGE="http://gstreamer.freedesktop.org/modules/gst-python.html" -DOWNLOAD="http://gstreamer.freedesktop.org/src/gst-python/gst-python-0.10.15.tar.bz2" -MD5SUM="3329320a97bdbc669e11054f19bddf5a" +DOWNLOAD="http://gstreamer.freedesktop.org/src/gst-python/gst-python-0.10.19.tar.bz2" +MD5SUM="ddcef7d00bd88b0591cd6d910c36ec4b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Thiago Coutinho" diff --git a/libraries/libiconv/README b/libraries/libiconv/README new file mode 100644 index 0000000000..139fbfd58b --- /dev/null +++ b/libraries/libiconv/README @@ -0,0 +1,3 @@ +libiconv + +GNU libiconv is a conversion library for text encodings. diff --git a/libraries/libiconv/libiconv.SlackBuild b/libraries/libiconv/libiconv.SlackBuild new file mode 100755 index 0000000000..9c6149ed84 --- /dev/null +++ b/libraries/libiconv/libiconv.SlackBuild @@ -0,0 +1,90 @@ +#!/bin/sh + +# Slackware build script for libiconv + +# Written by Matteo Bernardini <matteo.bernardini {at} sns.it> +# based on slackbuilds.org default template +# generated by Grissiom's sbo-dev-helper + +PRGNAM=libiconv +VERSION=${VERSION:-1.13.1} +BUILD=${BUILD:-2} +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 $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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + +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 + +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 + +rm $PKG/usr/include/iconv.h + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + ABOUT-NLS AUTHORS COPYING* ChangeLog DESIGN HACKING INSTALL* NEWS NOTES PORTS README* THANKS \ + $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/libraries/libiconv/libiconv.info b/libraries/libiconv/libiconv.info new file mode 100644 index 0000000000..0f0330c541 --- /dev/null +++ b/libraries/libiconv/libiconv.info @@ -0,0 +1,10 @@ +PRGNAM="libiconv" +VERSION="1.13.1" +HOMEPAGE="http://www.gnu.org/software/libiconv" +DOWNLOAD="http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.1.tar.gz" +MD5SUM="7ab33ebd26687c744a37264a330bbe9a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Matteo Bernardini" +EMAIL="matteo.bernardini {at} sns.it" +APPROVED="" diff --git a/libraries/libiconv/slack-desc b/libraries/libiconv/slack-desc new file mode 100644 index 0000000000..0c0cfd4624 --- /dev/null +++ b/libraries/libiconv/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------------------------------------------------------| +libiconv: libiconv +libiconv: +libiconv: GNU libiconv is a conversion library for text encodings. +libiconv: +libiconv: +libiconv: +libiconv: +libiconv: +libiconv: homepage: +libiconv: http://www.gnu.org/software/libiconv +libiconv: diff --git a/libraries/libunicap/README b/libraries/libunicap/README new file mode 100644 index 0000000000..1cafb80a4b --- /dev/null +++ b/libraries/libunicap/README @@ -0,0 +1,6 @@ +libunicap (video capture api) + +unicap provides a uniform interface to video capture devices. +It allows applications to use any supported video capture device via a single API. +It offers a high level of hardware abstraction while maintaining maximum performance. +Zero copy capture of video buffers is possible for devices supporting it allowing fast video capture with low CPU usage even on low-speed architectures. diff --git a/libraries/libunicap/libunicap.SlackBuild b/libraries/libunicap/libunicap.SlackBuild new file mode 100644 index 0000000000..81537531ec --- /dev/null +++ b/libraries/libunicap/libunicap.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/sh + +# Slackware build script for unicap + +# Written by Matteo Bernardini <matteo.bernardini@sns.it> +# based on slackbuilds.org default template + +PRGNAM=libunicap +VERSION=${VERSION:-0.9.8} +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 $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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --disable-static \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux + +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 \ + ABOUT-NLS AUTHORS COPYING ChangeLog 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/libraries/libunicap/libunicap.info b/libraries/libunicap/libunicap.info new file mode 100644 index 0000000000..89b4205726 --- /dev/null +++ b/libraries/libunicap/libunicap.info @@ -0,0 +1,10 @@ +PRGNAM="libunicap" +VERSION="0.9.8" +HOMEPAGE="http://unicap-imaging.org/" +DOWNLOAD="http://unicap-imaging.org/downloads/libunicap-0.9.8.tar.gz" +MD5SUM="48b97308fc8bb949f4ac34cbeaf1dbec" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Matteo Bernardini" +EMAIL="matteo.bernardini@sns.it" +APPROVED="" diff --git a/libraries/libunicap/slack-desc b/libraries/libunicap/slack-desc new file mode 100644 index 0000000000..c67b3e783e --- /dev/null +++ b/libraries/libunicap/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------------------------------------------------------| +libunicap: libunicap (video capture api) +libunicap: +libunicap: unicap provides a uniform interface to video capture devices. +libunicap: It allows applications to use any supported video capture device +libunicap: via a single API. +libunicap: +libunicap: +libunicap: +libunicap: homepage: +libunicap: http://unicap-imaging.org/ +libunicap: diff --git a/libraries/perl-Compress-Raw-Zlib/README b/libraries/perl-Compress-Raw-Zlib/README new file mode 100644 index 0000000000..5f5edd7503 --- /dev/null +++ b/libraries/perl-Compress-Raw-Zlib/README @@ -0,0 +1 @@ +This module provides a Perl interface to the zlib compression library. diff --git a/libraries/perl-Compress-Raw-Zlib/perl-Compress-Raw-Zlib.SlackBuild b/libraries/perl-Compress-Raw-Zlib/perl-Compress-Raw-Zlib.SlackBuild new file mode 100644 index 0000000000..084a037574 --- /dev/null +++ b/libraries/perl-Compress-Raw-Zlib/perl-Compress-Raw-Zlib.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Slackware build script for Compress-Raw-Zlib + +# Copyright 2008 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. + +# updated by Ponce + +SRCNAM=Compress-Raw-Zlib +PRGNAM=perl-Compress-Raw-Zlib +VERSION=2.027 +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" + +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 -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 . +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 + +find $PKG -name $SRCNAM.so -exec strip --strip-unneeded $PKG 2> /dev/null {} \; + +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 +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/libraries/perl-Compress-Raw-Zlib/perl-Compress-Raw-Zlib.info b/libraries/perl-Compress-Raw-Zlib/perl-Compress-Raw-Zlib.info new file mode 100644 index 0000000000..87d7e33195 --- /dev/null +++ b/libraries/perl-Compress-Raw-Zlib/perl-Compress-Raw-Zlib.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Compress-Raw-Zlib" +VERSION="2.027" +HOMEPAGE="http://search.cpan.org/~pmqs/Compress-Raw-Zlib-2.027/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Raw-Zlib-2.027.tar.gz" +MD5SUM="6af5c62e55f3118e142326798a28d278" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="" diff --git a/libraries/perl-Compress-Raw-Zlib/slack-desc b/libraries/perl-Compress-Raw-Zlib/slack-desc new file mode 100644 index 0000000000..8dfc6d094c --- /dev/null +++ b/libraries/perl-Compress-Raw-Zlib/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-Compress-Raw-Zlib: perl-Compress-Raw-Zlib (perl module) +perl-Compress-Raw-Zlib: +perl-Compress-Raw-Zlib: This module provides a Perl interface to the zlib compression library. +perl-Compress-Raw-Zlib: +perl-Compress-Raw-Zlib: +perl-Compress-Raw-Zlib: +perl-Compress-Raw-Zlib: +perl-Compress-Raw-Zlib: +perl-Compress-Raw-Zlib: +perl-Compress-Raw-Zlib: +perl-Compress-Raw-Zlib: diff --git a/libraries/perl-Compress-Zlib/README b/libraries/perl-Compress-Zlib/README new file mode 100644 index 0000000000..e015595ead --- /dev/null +++ b/libraries/perl-Compress-Zlib/README @@ -0,0 +1,4 @@ +This module provides a Perl interface to the zlib compression library. + +Requires: perl-Compress-Raw-Zlib and perl-IO-Compress-Zlib +Both of which are also available at SlackBuilds.org diff --git a/libraries/perl-Compress-Zlib/perl-Compress-Zlib.SlackBuild b/libraries/perl-Compress-Zlib/perl-Compress-Zlib.SlackBuild new file mode 100644 index 0000000000..f65ba897ca --- /dev/null +++ b/libraries/perl-Compress-Zlib/perl-Compress-Zlib.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Slackware build script for Compress-Zlib + +# Copyright 2008 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. + +# updated by Ponce + +PRGNAM=perl-compress-zlib +SRCNAM=Compress-Zlib +VERSION=2.015 +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" + +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 -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 . +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 + +find $PKG -name $SRCNAM.so -exec strip --strip-unneeded $PKG 2> /dev/null {} \; + +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 +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/libraries/perl-Compress-Zlib/perl-Compress-Zlib.info b/libraries/perl-Compress-Zlib/perl-Compress-Zlib.info new file mode 100644 index 0000000000..5d82a3be50 --- /dev/null +++ b/libraries/perl-Compress-Zlib/perl-Compress-Zlib.info @@ -0,0 +1,10 @@ +PRGNAM="perl-Compress-Zlib" +VERSION="2.015" +HOMEPAGE="http://search.cpan.org/~pmqs/Compress-Zlib-2.015/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Zlib-2.015.tar.gz" +MD5SUM="689ba2cc399b019d0bf76a0575c32947" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="" diff --git a/libraries/perl-Compress-Zlib/slack-desc b/libraries/perl-Compress-Zlib/slack-desc new file mode 100644 index 0000000000..b9d37affe3 --- /dev/null +++ b/libraries/perl-Compress-Zlib/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-Compress-Zlib: perl-Compress-Zlib (perl module) +perl-Compress-Zlib: +perl-Compress-Zlib: This module provides a Perl interface to the zlib compression library. +perl-Compress-Zlib: +perl-Compress-Zlib: +perl-Compress-Zlib: +perl-Compress-Zlib: +perl-Compress-Zlib: +perl-Compress-Zlib: +perl-Compress-Zlib: +perl-Compress-Zlib: diff --git a/libraries/perl-IO-Compress-Base/README b/libraries/perl-IO-Compress-Base/README new file mode 100644 index 0000000000..81e3843bf2 --- /dev/null +++ b/libraries/perl-IO-Compress-Base/README @@ -0,0 +1 @@ +This module is the base class for all IO::Compress and IO::Uncompress perl modules. diff --git a/libraries/perl-IO-Compress-Base/perl-IO-Compress-Base.SlackBuild b/libraries/perl-IO-Compress-Base/perl-IO-Compress-Base.SlackBuild new file mode 100755 index 0000000000..d0782d7daa --- /dev/null +++ b/libraries/perl-IO-Compress-Base/perl-IO-Compress-Base.SlackBuild @@ -0,0 +1,97 @@ +#!/bin/sh + +# Slackware build script for IO-Compress-Base + +# Copyright 2008 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-IO-Compress-Base +SRCNAM=IO-Compress-Base +VERSION=2.015 +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" + +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 -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 . +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 + +find $PKG -name $SRCNAM.so -exec strip --strip-unneeded $PKG 2> /dev/null {} \; + +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 +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/libraries/perl-IO-Compress-Base/perl-IO-Compress-Base.info b/libraries/perl-IO-Compress-Base/perl-IO-Compress-Base.info new file mode 100644 index 0000000000..db5cd30429 --- /dev/null +++ b/libraries/perl-IO-Compress-Base/perl-IO-Compress-Base.info @@ -0,0 +1,8 @@ +PRGNAM="perl-IO-Compress-Base" +VERSION="2.015" +HOMEPAGE="http://search.cpan.org/~pmqs/IO-Compress-Base-2.015/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/IO-Compress-Base-2.015.tar.gz" +MD5SUM="009813067e40c73c28c23fde8d9abfd5" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="" diff --git a/libraries/perl-IO-Compress-Base/slack-desc b/libraries/perl-IO-Compress-Base/slack-desc new file mode 100644 index 0000000000..3d2cd58c48 --- /dev/null +++ b/libraries/perl-IO-Compress-Base/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-Compress-Base: perl-IO-Compress-Base (perl module) +perl-IO-Compress-Base: +perl-IO-Compress-Base: This module is the base class for all IO::Compress and +perl-IO-Compress-Base: IO::Uncompress modules. +perl-IO-Compress-Base: +perl-IO-Compress-Base: +perl-IO-Compress-Base: +perl-IO-Compress-Base: +perl-IO-Compress-Base: +perl-IO-Compress-Base: +perl-IO-Compress-Base: diff --git a/libraries/perl-IO-Compress-Zlib/README b/libraries/perl-IO-Compress-Zlib/README new file mode 100644 index 0000000000..6b73bd71bf --- /dev/null +++ b/libraries/perl-IO-Compress-Zlib/README @@ -0,0 +1,5 @@ +This module provides a Perl interface to allow reading and writing of RFC +1950, 1951, 1952 (i.e. gzip) and zip files/buffers. + +Requires: Compress-Raw-Zlib and IO-Compress-Base +Both of these are also available from SlackBuilds.org. diff --git a/libraries/perl-IO-Compress-Zlib/perl-IO-Compress-Zlib.SlackBuild b/libraries/perl-IO-Compress-Zlib/perl-IO-Compress-Zlib.SlackBuild new file mode 100755 index 0000000000..cfaa20cfce --- /dev/null +++ b/libraries/perl-IO-Compress-Zlib/perl-IO-Compress-Zlib.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Slackware build script for IO-Compress-Zlib + +# Copyright 2008 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. + +# updated by Ponce + +PRGNAM=perl-IO-Compress-Zlib +SRCNAM=IO-Compress-Zlib +VERSION=2.015 +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" + +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 -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 . +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 + +find $PKG -name $SRCNAM.so -exec strip --strip-unneeded $PKG 2> /dev/null {} \; + +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 +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/libraries/perl-IO-Compress-Zlib/perl-IO-Compress-Zlib.info b/libraries/perl-IO-Compress-Zlib/perl-IO-Compress-Zlib.info new file mode 100644 index 0000000000..ff68e3b464 --- /dev/null +++ b/libraries/perl-IO-Compress-Zlib/perl-IO-Compress-Zlib.info @@ -0,0 +1,10 @@ +PRGNAM="perl-IO-Compress-Zlib" +VERSION="2.015" +HOMEPAGE="http://search.cpan.org/~pmqs/IO-Compress-Zlib-2.015/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/IO-Compress-Zlib-2.015.tar.gz" +MD5SUM="22f3b677a6f1782713c8451966598d3f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="David Somero" +EMAIL="dsomero@hotmail.com" +APPROVED="" diff --git a/libraries/perl-IO-Compress-Zlib/slack-desc b/libraries/perl-IO-Compress-Zlib/slack-desc new file mode 100644 index 0000000000..43bc47752b --- /dev/null +++ b/libraries/perl-IO-Compress-Zlib/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-Compress-Zlib: perl-IO-Compress-Zlib (perl module) +perl-IO-Compress-Zlib: +perl-IO-Compress-Zlib: This module provides a Perl interface to allow reading and writing +perl-IO-Compress-Zlib: of RFC 1950, 1951, 1952 (i.e. gzip) and zip files/buffers. +perl-IO-Compress-Zlib: +perl-IO-Compress-Zlib: +perl-IO-Compress-Zlib: +perl-IO-Compress-Zlib: +perl-IO-Compress-Zlib: +perl-IO-Compress-Zlib: +perl-IO-Compress-Zlib: diff --git a/misc/cksfv/cksfv.SlackBuild b/misc/cksfv/cksfv.SlackBuild index d76ef63007..96c229b55c 100644 --- a/misc/cksfv/cksfv.SlackBuild +++ b/misc/cksfv/cksfv.SlackBuild @@ -82,10 +82,8 @@ make install 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 -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS ChangeLog COPYING INSTALL README TODO \ diff --git a/multimedia/avidemux/avidemux-2.5.1-i18n.patch b/multimedia/avidemux/avidemux-2.5.1-i18n.patch deleted file mode 100644 index 956bbd1921..0000000000 --- a/multimedia/avidemux/avidemux-2.5.1-i18n.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff --git a/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp b/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp -index 4cce636..b875528 100644 ---- a/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp -+++ b/avidemux/ADM_userInterfaces/ADM_QT4/ui_support.cpp -@@ -73,7 +73,7 @@ void loadTranslator(void) - #ifdef __APPLE__
- QString appdir = QCoreApplication::applicationDirPath() + "/../Resources/locale/";
- #else
-- QString appdir = QCoreApplication::applicationDirPath() + "/i18n/";
-+ QString appdir = "/usr/share/avidemux/i18n/";
- #endif
-
- loadTranslation(&qtTranslator, appdir + "qt_" + QLocale::system().name());
-@@ -164,4 +164,4 @@ const char* getNativeRendererDesc(void) - }
-
- return "Qt";
--} -\ No newline at end of file -+}
-diff --git a/cmake/Ts.cmake b/cmake/Ts.cmake -index 15eb89b..e40f078 100644 ---- a/cmake/Ts.cmake -+++ b/cmake/Ts.cmake -@@ -64,7 +64,7 @@ MACRO(COMPILE_AVIDEMUX_TS_FILES ts_subdir _sources) -
- SET(qm_files ${qm_files} ${_outXml} ${_out})
-
-- INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/${BIN_DIR}/i18n")
-+ INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/avidemux/i18n")
- ENDFOREACH(ts_input ${ts_files})
-
- SET(${_sources} ${${_sources}} ${qm_files})
-@@ -95,7 +95,7 @@ MACRO(COMPILE_QT_TS_FILES ts_subdir _sources) -
- SET(qm_files ${qm_files} ${_out})
-
-- INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/${BIN_DIR}/i18n")
-+ INSTALL(FILES ${_out} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/avidemux/i18n")
- ENDFOREACH(ts_input ${ts_files})
-
- SET(${_sources} ${${_sources}} ${qm_files})
diff --git a/multimedia/avidemux/avidemux.SlackBuild b/multimedia/avidemux/avidemux.SlackBuild index 7b1f78efaa..6d218fabfd 100644 --- a/multimedia/avidemux/avidemux.SlackBuild +++ b/multimedia/avidemux/avidemux.SlackBuild @@ -26,7 +26,7 @@ # project will use in the future. No additional license terms added PRGNAM=avidemux -VERSION=${VERSION:-2.5.2} +VERSION=${VERSION:-2.5.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,9 +71,6 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R a-s,u+w,go+r-w . -#Patch that installs i18n in the correct place even if we compile with qt4 support -cat $CWD/avidemux-2.5.1-i18n.patch | patch -p1 --verbose --backup --suffix=.orig - if [ "$ARCH" = "x86_64" ]; then # Some paths are incorrectly hardcoded to "lib": sed -i -e "s/Dir=\"lib\"/Dir=\"lib${LIBDIRSUFFIX}\"/" $(grep -lr 'Dir="lib"' .) @@ -148,13 +145,23 @@ cat man/avidemux.1 | gzip -9c > $PKG/usr/man/man1/avidemux.1.gz cd $TMP/$PRGNAM-$VERSION mkdir -p $PKG/usr/share/{applications,pixmaps} -cat avidemux2-gtk.desktop > $PKG/usr/share/applications/avidemux2-gtk.desktop -cat avidemux2-gtk.desktop > $PKG/usr/share/applications/avidemux2-qt.desktop -cat avidemux_icon.png > $PKG/usr/share/pixmaps/avidemux.png -#patch avidemux2_qt.desktop to exec avidemux2_qt4 instead of avidemux2_gtk -sed -i 's/avidemux2_gtk/avidemux2_qt4/' $PKG/usr/share/applications/avidemux2-qt.desktop -sed -i 's/GTK+/Qt/g' $PKG/usr/share/applications/avidemux2-qt.desktop -sed -i 's/GTK/Qt/' $PKG/usr/share/applications/avidemux2-qt.desktop +mkdir -p $PKG/usr/share/icons/hicolor/{16x16,32x32,48x48,64x64}/apps +# If the qt4 binary was built, we prefer to use that over the gtk version: +if [ -x $PKG/usr/bin/avidemux2_qt4 ]; then + cat avidemux2.desktop | sed -e 's/_gtk/_qt4/' \ + > $PKG/usr/share/applications/avidemux2.desktop +else + install -m644 avidemux2.desktop $PKG/usr/share/applications/avidemux2.desktop +fi +install -m644 avidemux_icon.png $PKG/usr/share/pixmaps/avidemux.png +install -m644 avidemux_icon.png \ + ${PKG}/usr/share/icons/hicolor/64x64/apps/avidemux.png +convert avidemux_icon.png -resize 16x16 \ + ${PKG}/usr/share/icons/hicolor/16x16/apps/avidemux.png +convert avidemux_icon.png -resize 32x32 \ + ${PKG}/usr/share/icons/hicolor/32x32/apps/avidemux.png +convert avidemux_icon.png -resize 48x48 \ + ${PKG}/usr/share/icons/hicolor/48x48/apps/avidemux.png mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING README TODO \ @@ -168,6 +175,3 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} -if [ "$1" = "--cleanup" ]; then - rm -rf $PKG $TMP/$PRGNAM-$VERSION - fi diff --git a/multimedia/avidemux/avidemux.info b/multimedia/avidemux/avidemux.info index 8622274c64..b21a6cc806 100644 --- a/multimedia/avidemux/avidemux.info +++ b/multimedia/avidemux/avidemux.info @@ -1,9 +1,9 @@ PRGNAM="avidemux" -VERSION="2.5.2" +VERSION="2.5.3" HOMEPAGE="http://avidemux.org" -DOWNLOAD="http://downloads.sourceforge.net/avidemux/avidemux_2.5.2.tar.gz" +DOWNLOAD="http://downloads.sourceforge.net/avidemux/avidemux_2.5.3.tar.gz" DOWNLOAD_x86_64="" -MD5SUM="9027e1324c06e833e6c3c22298503cc7" +MD5SUM="5a688029895b66b65ca86b7c85a03ee3" MD5SUM_x86_64="" MAINTAINER="Niklas 'Nille' Åkerström" EMAIL="Nille.kungen[AT]gmail.com" diff --git a/multimedia/dvgrab/dvgrab.SlackBuild b/multimedia/dvgrab/dvgrab.SlackBuild index 37b8c6370b..75073af847 100644 --- a/multimedia/dvgrab/dvgrab.SlackBuild +++ b/multimedia/dvgrab/dvgrab.SlackBuild @@ -88,10 +88,8 @@ 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 -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \ diff --git a/multimedia/mjpegtools/mjpegtools.SlackBuild b/multimedia/mjpegtools/mjpegtools.SlackBuild index e2566c373a..d42ea23cd5 100644 --- a/multimedia/mjpegtools/mjpegtools.SlackBuild +++ b/multimedia/mjpegtools/mjpegtools.SlackBuild @@ -91,10 +91,8 @@ 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 -) +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 rm -f $PKG/usr/info/dir gzip -9 $PKG/usr/info/* diff --git a/network/cherokee/ChangeLog.txt b/network/cherokee/ChangeLog.txt index 94c24d33a9..6d8f33f841 100644 --- a/network/cherokee/ChangeLog.txt +++ b/network/cherokee/ChangeLog.txt @@ -1,3 +1,5 @@ +- updated for version 1.0.5 by Ponce + Mon 07 Sep 2009 - Pablo Hernan Saro (pablosaro@gmail.com) - SlackBuild script for Cherokee 0.99.24 - Cherokee rc script updated diff --git a/network/cherokee/cherokee.SlackBuild b/network/cherokee/cherokee.SlackBuild index caff2d9f11..4123d60a5c 100644 --- a/network/cherokee/cherokee.SlackBuild +++ b/network/cherokee/cherokee.SlackBuild @@ -5,11 +5,20 @@ # Written by Pablo Hernan Saro (pablosaro@gmail.com) PRGNAM=cherokee -VERSION=${VERSION:-0.99.24} -ARCH=${ARCH:-i686} +VERSION=${VERSION:-1.0.5} 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 @@ -24,11 +33,20 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" fi # Set the WWW root directory WWWROOT=${WWWROOT:-/var/www} +# Set the WWW user - use apache by default +WWWUSER=${WWWUSER:-apache} + +# Set the WWW group - use apache by default +WWWGROUP=${WWWGROUP:-apache} + # Enable/Disable IPv6 support IPV6=${IPV6:-no} @@ -67,9 +85,12 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux \ --with-wwwroot=$WWWROOT \ + --with-wwwuser=$WWWUSER \ + --with-wwwgroup=$WWWGROUP \ --with-mysql=$MYSQL \ --enable-ipv6=$IPV6 \ --enable-admin=$ADMIN \ + --disable-pam \ --enable-trace=$TRACE make @@ -78,10 +99,8 @@ 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 -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ @@ -99,4 +118,3 @@ 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/network/cherokee/cherokee.info b/network/cherokee/cherokee.info index 427929e9cc..61a803e168 100644 --- a/network/cherokee/cherokee.info +++ b/network/cherokee/cherokee.info @@ -1,10 +1,10 @@ PRGNAM="cherokee" -VERSION="0.99.24" +VERSION="1.0.5" HOMEPAGE="http://www.cherokee-project.com" -DOWNLOAD="http://www.cherokee-project.com/download/0.99/0.99.24/cherokee-0.99.24.tar.gz" -MD5SUM="5afed8bdd6020dc5bf0ba9ec83b947f1" +DOWNLOAD="http://www.cherokee-project.com/download/1.0/1.0.5/cherokee-1.0.5.tar.gz" +MD5SUM="28261c77f0181994e7c372aed37f5ea3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Pablo Hernan Saro" EMAIL="pablosaro@gmail.com" -APPROVED="dsomero" +APPROVED="" diff --git a/network/darkstat/darkstat.SlackBuild b/network/darkstat/darkstat.SlackBuild index 3b585e000a..62508a77ef 100644 --- a/network/darkstat/darkstat.SlackBuild +++ b/network/darkstat/darkstat.SlackBuild @@ -70,10 +70,8 @@ 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 -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/network/hping3/hping3.SlackBuild b/network/hping3/hping3.SlackBuild index a80574dfec..71c8ec4ec4 100644 --- a/network/hping3/hping3.SlackBuild +++ b/network/hping3/hping3.SlackBuild @@ -108,10 +108,8 @@ install -m 0644 docs/hping3.8 $PKG/usr/man/man8/ 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 -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION ( cd docs ; cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION ) diff --git a/network/python-twisted/python-twisted.SlackBuild b/network/python-twisted/python-twisted.SlackBuild index 5e70ceeea6..f729a7f589 100644 --- a/network/python-twisted/python-twisted.SlackBuild +++ b/network/python-twisted/python-twisted.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=python-twisted SRCNAM=Twisted -VERSION=${VERSION:-8.2.0} +VERSION=${VERSION:-10.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -77,12 +77,6 @@ python setup.py install --root=$PKG || exit 1 find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mkdir -p $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 -) - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/slack-desc > $PKG/usr/doc/$PRGNAM-$VERSION/slack-desc diff --git a/network/python-twisted/python-twisted.info b/network/python-twisted/python-twisted.info index 7443cd969b..59c39943a9 100644 --- a/network/python-twisted/python-twisted.info +++ b/network/python-twisted/python-twisted.info @@ -1,8 +1,8 @@ PRGNAM="python-twisted" -VERSION="8.2.0" +VERSION="10.1.0" HOMEPAGE="http://twistedmatrix.com/" -DOWNLOAD="http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/Twisted-8.2.0.tar.bz2" -MD5SUM="c85f151999df3ecf04c49a781b4438d2" +DOWNLOAD="http://tmrc.mit.edu/mirror/twisted/Twisted/10.1/Twisted-10.1.0.tar.bz2" +MD5SUM="04cca97506e830074cffc1965297da3f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Marco Bonetti" diff --git a/network/wvdial/Makefile.diff b/network/wvdial/Makefile.diff new file mode 100644 index 0000000000..95f7b4a98f --- /dev/null +++ b/network/wvdial/Makefile.diff @@ -0,0 +1,29 @@ +--- Makefile.ORIG 2008-05-10 22:59:21.000000000 -0500 ++++ Makefile 2008-05-10 23:01:31.000000000 -0500 +@@ -35,17 +36,17 @@ + wvdial wvdialconf papchaptest pppmon: wvdial.a + + install-bin: all +- [ -d ${BINDIR} ] || install -d ${BINDIR} +- [ -d ${PPPDIR} ] || install -d ${PPPDIR} +- install -m 0755 wvdial wvdialconf ${BINDIR} +- cp ppp.provider ${PPPDIR}/wvdial +- cp ppp.provider-pipe ${PPPDIR}/wvdial-pipe ++ [ -d $(DESTDIR)/${BINDIR} ] || install -d $(DESTDIR)/${BINDIR} ++ [ -d $(DESTDIR)/${PPPDIR} ] || install -d $(DESTDIR)/${PPPDIR} ++ install -m 0755 wvdial wvdialconf $(DESTDIR)/${BINDIR} ++ cp ppp.provider $(DESTDIR)/${PPPDIR}/wvdial ++ cp ppp.provider-pipe $(DESTDIR)/${PPPDIR}/wvdial-pipe + + install-man: +- [ -d ${MANDIR}/man1 ] || install -d ${MANDIR}/man1 +- [ -d ${MANDIR}/man5 ] || install -d ${MANDIR}/man5 +- install -m 0644 wvdial.1 wvdialconf.1 ${MANDIR}/man1 +- install -m 0644 wvdial.conf.5 ${MANDIR}/man5 ++ [ -d $(DESTDIR)/${MANDIR}/man1 ] || install -d $(DESTDIR)/${MANDIR}/man1 ++ [ -d $(DESTDIR)/${MANDIR}/man5 ] || install -d $(DESTDIR)/${MANDIR}/man5 ++ install -m 0644 wvdial.1 wvdialconf.1 $(DESTDIR)/${MANDIR}/man1 ++ install -m 0644 wvdial.conf.5 $(DESTDIR)/${MANDIR}/man5 + + install: install-bin install-man + diff --git a/network/wvdial/README b/network/wvdial/README new file mode 100644 index 0000000000..4b9dd3b7f7 --- /dev/null +++ b/network/wvdial/README @@ -0,0 +1,5 @@ +WvDial is a program that makes it easy to connect your Linux workstation +to the Internet. It will automatically detect your modem, and it can log +into almost any Internet provider's server without any special configuration. + +This requires wvstreams. diff --git a/network/wvdial/doinst.sh b/network/wvdial/doinst.sh new file mode 100644 index 0000000000..2a50656fa9 --- /dev/null +++ b/network/wvdial/doinst.sh @@ -0,0 +1,17 @@ +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... +} + +config etc/wvdial.conf.new +config etc/ppp/peers/wvdial-pipe.new +config etc/ppp/peers/wvdial.new + diff --git a/network/wvdial/slack-desc b/network/wvdial/slack-desc new file mode 100644 index 0000000000..9d1f1f3f39 --- /dev/null +++ b/network/wvdial/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------------------------------------------------------| +wvdial: wvdial (ppp dialer app) +wvdial: +wvdial: wvdial is a program that makes it easy to connect your Linux +wvdial: workstation to the Internet. It will automatically detect your +wvdial: modem, and it can log into almost any Internet provider's +wvdial: server without any special configuration. +wvdial: +wvdial: http://alumnit.ca/wiki/index.php?page=WvDial +wvdial: +wvdial: +wvdial: diff --git a/network/wvdial/wvdial.SlackBuild b/network/wvdial/wvdial.SlackBuild new file mode 100644 index 0000000000..4235c2ff3f --- /dev/null +++ b/network/wvdial/wvdial.SlackBuild @@ -0,0 +1,86 @@ +#!/bin/sh + +# Slackware build script for wvdial + +# Written by Vincent Batts, vbatts@batts.mine.nu + +PRGNAM=wvdial +VERSION=1.61 +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 $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 {} \; + +./configure + +# Add DESTDIR support to the Makefile +patch -u Makefile $CWD/Makefile.diff + +make prefix=/usr MANDIR=/usr/man +make prefix=/usr MANDIR=/usr/man 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 + +# Add a sample config file, and don't clobber any of them on upgrades +cat $CWD/wvdial.conf > $PKG/etc/wvdial.conf.new +mv $PKG/etc/ppp/peers/wvdial-pipe $PKG/etc/ppp/peers/wvdial-pipe.new +mv $PKG/etc/ppp/peers/wvdial $PKG/etc/ppp/peers/wvdial.new + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGES COPYING.LIB ChangeLog FAQ README TODO MENUS \ + $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 +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/network/wvdial/wvdial.conf b/network/wvdial/wvdial.conf new file mode 100644 index 0000000000..d3ce8421b2 --- /dev/null +++ b/network/wvdial/wvdial.conf @@ -0,0 +1,21 @@ + +[Dialer Defaults] +Modem = /dev/modem +Baud = 57600 +Init1 = ATZ +Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +Init3 = +Area Code = +Phone = 0 +Username = +Password = +Ask Password = 0 +Dial Command = ATDT +Stupid Mode = 1 +Compuserve = 0 +Force Address = +Idle Seconds = 300 +DialMessage1 = +DialMessage2 = +ISDN = 0 +Auto DNS = 1 diff --git a/network/wvdial/wvdial.info b/network/wvdial/wvdial.info new file mode 100644 index 0000000000..30771862ff --- /dev/null +++ b/network/wvdial/wvdial.info @@ -0,0 +1,10 @@ +PRGNAM="wvdial" +VERSION="1.61" +HOMEPAGE="http://alumnit.ca/wiki/index.php?page=WvDial" +DOWNLOAD="http://wvstreams.googlecode.com/files/wvdial-1.61.tar.gz" +MD5SUM="acd3b2050c9b65fff2aecda6576ee7bc" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Vincent Batts" +EMAIL="vbatts@batts.mine.nu" +APPROVED="" diff --git a/system/cabextract/cabextract.SlackBuild b/system/cabextract/cabextract.SlackBuild index 18dbfb039a..ade0eef265 100644 --- a/system/cabextract/cabextract.SlackBuild +++ b/system/cabextract/cabextract.SlackBuild @@ -89,10 +89,8 @@ cp -a \ $PKG/usr/doc/$PRGNAM-$VERSION chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/* -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +find $PKG/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 diff --git a/system/clamav/clamav.SlackBuild b/system/clamav/clamav.SlackBuild index 2376ce656d..acacfc28ae 100644 --- a/system/clamav/clamav.SlackBuild +++ b/system/clamav/clamav.SlackBuild @@ -26,7 +26,7 @@ # No additional license terms added PRGNAM=clamav -VERSION=0.95.2 +VERSION=0.96.1 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/system/clamav/clamav.info b/system/clamav/clamav.info index da3ba08f27..cbad24f07b 100644 --- a/system/clamav/clamav.info +++ b/system/clamav/clamav.info @@ -1,8 +1,8 @@ PRGNAM="clamav" -VERSION="0.95.2" +VERSION="0.96.1" HOMEPAGE="http://www.clamav.net/" -DOWNLOAD="http://downloads.sourceforge.net/clamav/clamav-0.95.2.tar.gz" -MD5SUM="930362397d30e01ba81b5f24c1046d48" +DOWNLOAD="http://downloads.sourceforge.net/clamav/clamav-0.96.1.tar.gz" +MD5SUM="38e7870db6e9ad0e569518499a6f3651" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Yalla-One" diff --git a/system/clamav/config/clamd.conf.patch b/system/clamav/config/clamd.conf.patch index a18ff49d88..f0bb098d15 100644 --- a/system/clamav/config/clamd.conf.patch +++ b/system/clamav/config/clamd.conf.patch @@ -1,6 +1,5 @@ -diff -Nur clamav-0.95.2.orig/etc/clamd.conf clamav-0.95.2/etc/clamd.conf ---- clamav-0.95.2.orig/etc/clamd.conf 2009-04-07 05:32:06.000000000 -0500 -+++ clamav-0.95.2/etc/clamd.conf 2009-08-10 10:56:05.791514384 -0500 +--- clamav-0.96.1/etc/clamd.conf.orig 2010-05-29 12:28:24.829993575 +0200 ++++ clamav-0.96.1/etc/clamd.conf 2010-05-29 12:32:17.852494693 +0200 @@ -5,7 +5,7 @@ @@ -34,13 +33,23 @@ diff -Nur clamav-0.95.2.orig/etc/clamd.conf clamav-0.95.2/etc/clamd.conf # Optional path to the global temporary directory. # Default: system specific (usually /tmp or /var/tmp). -@@ -69,11 +69,11 @@ +@@ -73,19 +73,19 @@ # Path to a local socket file the daemon will listen on. # Default: disabled (must be specified by a user) --LocalSocket /tmp/clamd.socket +-#LocalSocket /tmp/clamd.socket +LocalSocket /var/run/clamav/clamd.socket + # Sets the group ownership on the unix socket. + # Default: disabled (the primary group of the user running clamd) +-#LocalSocketGroup virusgroup ++LocalSocketGroup clamav + + # Sets the permissions on the unix socket to the specified mode. + # Default: disabled (socket is world accessible) +-#LocalSocketMode 660 ++LocalSocketMode 660 + # Remove stale socket after unclean shutdown. # Default: yes -#FixStaleSocket yes @@ -48,7 +57,7 @@ diff -Nur clamav-0.95.2.orig/etc/clamd.conf clamav-0.95.2/etc/clamd.conf # TCP port address. # Default: no -@@ -167,14 +167,14 @@ +@@ -183,14 +183,14 @@ # Run as another user (clamd must be started by root for this option to work) # Default: don't drop privileges diff --git a/system/vice/vice.SlackBuild b/system/vice/vice.SlackBuild index ea0180229a..c52706426f 100644 --- a/system/vice/vice.SlackBuild +++ b/system/vice/vice.SlackBuild @@ -97,9 +97,8 @@ 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 {} \; -) +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 rm -f $PKG/usr/info/dir gzip -9 $PKG/usr/info/* |