From 1d3107c4da15be40c7a4d08cfa744df8e736fdb2 Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 29 Apr 2009 12:55:09 +0000 Subject: EOLing old patches git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@2175 370017ae-e619-0410-ac65-c121f96126d4 --- patches/libtiff/libtiff.SlackBuild | 113 --------------------- patches/libtiff/slack-desc | 19 ---- patches/libtiff/tiff-3.8.2.goo-sec.diff.gz | Bin 6121 -> 0 bytes ...ff-3.8.2.tiffsplit.commandline.overflow.diff.gz | Bin 423 -> 0 bytes 4 files changed, 132 deletions(-) delete mode 100755 patches/libtiff/libtiff.SlackBuild delete mode 100644 patches/libtiff/slack-desc delete mode 100644 patches/libtiff/tiff-3.8.2.goo-sec.diff.gz delete mode 100644 patches/libtiff/tiff-3.8.2.tiffsplit.commandline.overflow.diff.gz (limited to 'patches/libtiff') diff --git a/patches/libtiff/libtiff.SlackBuild b/patches/libtiff/libtiff.SlackBuild deleted file mode 100755 index b930d27a..00000000 --- a/patches/libtiff/libtiff.SlackBuild +++ /dev/null @@ -1,113 +0,0 @@ -#!/bin/bash -# -# got it from ftp://ftp.slackware.com/pub/slackware/slackware-10.2/patches/source/libtiff/libtiff.SlackBuild -# small changes by rhatto -# - -CWD="`pwd`" - -if [ -f ~/.slackbuildrc ]; then - source ~/.slackbuildrc -elif [ -f /etc/slackbuildrc ]; then - source /etc/slackbuildrc -fi - -# default settings -PACKAGE="libtiff" -ARCH=${ARCH:=i486} -VERSION=${VERSION:=3.8.2} -BUILD=${BUILD:=1rha} -SRC_DIR=${SRC:=$CWD} -TMP=${TMP:=/tmp} -REPOS=${REPOS:=$TMP} - -LIBDIR=/usr/lib -if [ "$ARCH" = "i386" ]; then - SLKCFLAGS="-O2 -march=i386 -mcpu=i686" -elif [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mcpu=i686" -elif [ "$ARCH" = "s390" ]; then - SLKCFLAGS="-O2" -elif [ "$ARCH" = "x86_64" ]; then - export LDFLAGS="-L/lib64 -L/usr/lib64" - SLKCFLAGS="-O2" - LIBDIR=/usr/lib64 -fi - -RTOOL="wget" -PACKAGE_EXT="gz" -SRC="tiff-$VERSION.tar.$PACKAGE_EXT" -URL="ftp://ftp.remotesensing.org/pub/libtiff/$SRC" - -SRC_DIR="$SRC_DIR/$PACKAGE" -mkdir -p $SRC_DIR - -if [ "$PACKAGE_EXT" == "bz2" ]; then - tarflag="j" -else - tarflag="z" -fi - -if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then - wget "$URL" -O "$SRC_DIR/$SRC" -fi - -TMP="$TMP/$PACKAGE" -PKG="$TMP/package-$PACKAGE" -rm -rf $TMP -mkdir -p $TMP -cd $TMP - -rm -rf tiff-$VERSION -tar xvf$tarflag $SRC_DIR/tiff-$VERSION.tar.$PACKAGE_EXT -cd tiff-$VERSION - -chown -R root:root . -find . -perm 777 -exec chmod 755 {} \; -find . -perm 664 -exec chmod 644 {} \; - -if [ "$VERSION" == "3.8.2" ]; then - zcat $CWD/tiff-3.8.2.goo-sec.diff.gz | patch -p1 --verbose || exit 1 - zcat $CWD/tiff-3.8.2.tiffsplit.commandline.overflow.diff.gz | patch -p1 --verbose || exit 1 -fi - -CFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --program-prefix="" \ - --program-suffix="" \ - --libdir=$LIBDIR \ - $ARCH-slackware-linux - -make -j3 || exit 1 -make install DESTDIR=$PKG || exit 1 -rm -r $PKG/usr/share -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) -strip -g $PKG/$LIBDIR/lib*.a -chmod 755 $PKG/$LIBDIR/libtiff*.so.* -chown -R root:bin $PKG/usr/bin -mkdir -p $PKG/usr/doc/libtiff-$VERSION -cp -a \ - COPYRIGHT README RELEASE-DATE TODO VERSION \ - $PKG/usr/doc/libtiff-$VERSION - -mv $PKG/usr/local/man $PKG/usr -rmdir $PKG/usr/local - -# I'd use that shiny new manpage script here but all the -# .3 manpages end with '.3tiff'. -gzip -9 $PKG/usr/man/man?/* - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -makepkg -l y -c n $REPOS/libtiff-$VERSION-$ARCH-$BUILD.tgz - -if [ "$CLEANUP" == "yes" ]; then - rm -rf $TMP -fi - diff --git a/patches/libtiff/slack-desc b/patches/libtiff/slack-desc deleted file mode 100644 index 42c79f47..00000000 --- a/patches/libtiff/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -libtiff: libtiff (a library for reading and writing TIFF files) -libtiff: -libtiff: This package provides support for the Tag Image File Format (TIFF), -libtiff: a widely used format for storing image data. Included is the libtiff -libtiff: library (for reading and writing TIFF files), and a collection of -libtiff: tools for working with TIFF images. -libtiff: -libtiff: -libtiff: -libtiff: -libtiff: diff --git a/patches/libtiff/tiff-3.8.2.goo-sec.diff.gz b/patches/libtiff/tiff-3.8.2.goo-sec.diff.gz deleted file mode 100644 index 87fc289a..00000000 Binary files a/patches/libtiff/tiff-3.8.2.goo-sec.diff.gz and /dev/null differ diff --git a/patches/libtiff/tiff-3.8.2.tiffsplit.commandline.overflow.diff.gz b/patches/libtiff/tiff-3.8.2.tiffsplit.commandline.overflow.diff.gz deleted file mode 100644 index 8e5a2e0c..00000000 Binary files a/patches/libtiff/tiff-3.8.2.tiffsplit.commandline.overflow.diff.gz and /dev/null differ -- cgit v1.2.3