diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-13 00:09:26 +0200 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-13 00:09:26 +0200 |
commit | c04b1d8678d66bf5cda81a6966e8735e83b18d06 (patch) | |
tree | eede8dfb5702e959ef56184aaa376cbc2cbae615 /system | |
parent | 735722a361f895ab8cea83d74e45b9593f826a4e (diff) | |
download | slackbuilds-c04b1d8678d66bf5cda81a6966e8735e83b18d06.tar.gz |
system/par2cmdline: Removed from 13.0 repository
Diffstat (limited to 'system')
-rw-r--r-- | system/par2cmdline/README | 29 | ||||
-rw-r--r-- | system/par2cmdline/par2cmdline-0.4-gcc4.patch | 56 | ||||
-rw-r--r-- | system/par2cmdline/par2cmdline.SlackBuild | 63 | ||||
-rw-r--r-- | system/par2cmdline/par2cmdline.info | 8 | ||||
-rw-r--r-- | system/par2cmdline/slack-desc | 19 |
5 files changed, 0 insertions, 175 deletions
diff --git a/system/par2cmdline/README b/system/par2cmdline/README deleted file mode 100644 index 6dc06df56c..0000000000 --- a/system/par2cmdline/README +++ /dev/null @@ -1,29 +0,0 @@ -par2cmdline (Commandline implementation of PARv2.0 specification) - -par2cmdline is a GPL-licensed commandline tool for creating and using PAR2 -parity sets to detect damage in files and repair them if necessary. The -program uses Reed Solomon Coding to perform its error correction. A useful -program for checking and ensuring the integrity of binaries retrieved from -usenet for instance. - -This program, or it's argued gcc, has compile issues which result in a -"Warning: ignoring..." messages during the build process. This problem is -known and was made a gcc bug, which was shortly fixed. From what I know, -this issue does not affect the actual compilation of the program. - -For information on the issue see these messages: - http://gcc.gnu.org/ml/gcc-bugs/2004-04/msg02848.html - http://gcc.gnu.org/ml/gcc-bugs/2004-04/msg02856.html - http://bugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=356548 - -There is also current work being done on a par2 library extracted from -par2cmdline called libpar2 and is available at pararchive.sourceforge.net. -However, since it still contains the original par2cmdline, it has the same -compilation issue. - -On a side note, par2cmdline in combination with unrar (available here on -SlackBuilds.org) can be used by the python program hellanzb to make getting, -verifying and unraring files with a nzb file almost totally hands-free. -For more information see: http://www.hellanzb.com/trac/. - -This includes a patch to make par2cmdline work with GCC 4.x.x diff --git a/system/par2cmdline/par2cmdline-0.4-gcc4.patch b/system/par2cmdline/par2cmdline-0.4-gcc4.patch deleted file mode 100644 index a0bfbd2796..0000000000 --- a/system/par2cmdline/par2cmdline-0.4-gcc4.patch +++ /dev/null @@ -1,56 +0,0 @@ ---- reedsolomon.cpp.orig 2007-07-06 00:50:38.000000000 +0100 -+++ reedsolomon.cpp 2007-07-06 00:58:05.000000000 +0100 -@@ -51,7 +51,7 @@ - } - } - --bool ReedSolomon<Galois8>::SetInput(const vector<bool> &present) -+template <> bool ReedSolomon<Galois8>::SetInput(const vector<bool> &present) - { - inputcount = (u32)present.size(); - -@@ -80,7 +80,7 @@ - return true; - } - --bool ReedSolomon<Galois8>::SetInput(u32 count) -+template <> bool ReedSolomon<Galois8>::SetInput(u32 count) - { - inputcount = count; - -@@ -101,7 +101,7 @@ - return true; - } - --bool ReedSolomon<Galois8>::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer) -+template <> bool ReedSolomon<Galois8>::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer) - { - // Look up the appropriate element in the RS matrix - Galois8 factor = leftmatrix[outputindex * (datapresent + datamissing) + inputindex]; -@@ -189,7 +189,7 @@ - - // Set which of the source files are present and which are missing - // and compute the base values to use for the vandermonde matrix. --bool ReedSolomon<Galois16>::SetInput(const vector<bool> &present) -+template <> bool ReedSolomon<Galois16>::SetInput(const vector<bool> &present) - { - inputcount = (u32)present.size(); - -@@ -233,7 +233,7 @@ - - // Record that the specified number of source files are all present - // and compute the base values to use for the vandermonde matrix. --bool ReedSolomon<Galois16>::SetInput(u32 count) -+template <> bool ReedSolomon<Galois16>::SetInput(u32 count) - { - inputcount = count; - -@@ -267,7 +267,7 @@ - return true; - } - --bool ReedSolomon<Galois16>::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer) -+template <> bool ReedSolomon<Galois16>::Process(size_t size, u32 inputindex, const void *inputbuffer, u32 outputindex, void *outputbuffer) - { - // Look up the appropriate element in the RS matrix - diff --git a/system/par2cmdline/par2cmdline.SlackBuild b/system/par2cmdline/par2cmdline.SlackBuild deleted file mode 100644 index 5cf9b2cb5d..0000000000 --- a/system/par2cmdline/par2cmdline.SlackBuild +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh - -# Slackware build script for par2cmdline - -# Written by maldoror -# See README for notes on "warning" during build - -# No Guarantees. Use this SlackBuild at your own risk. -# Public Domain - -# Modified by the SlackBuilds.org project - -PRGNAM=par2cmdline -VERSION=0.4 -ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -fi - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 -rm -rf $PRGNAM-$VERSION -tar -zxvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 -cd $PRGNAM-$VERSION || exit 1 -chown -R root:root . -chmod -R u+w,go+r-w,a-s . - -# Apply the patch for gcc-4.x.x (Thanks to Neil Ord for pointing -# this one out in ##Slackware) -cat $CWD/$PRGNAM-$VERSION-gcc4.patch | patch -p0 || exit 1 - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - || exit 1 - -make || exit 1 -make check || exit 1 -make install-strip DESTDIR=$PKG || exit 1 - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL NEWS PORTING README ROADMAP \ - $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.tgz diff --git a/system/par2cmdline/par2cmdline.info b/system/par2cmdline/par2cmdline.info deleted file mode 100644 index f2fb20f17e..0000000000 --- a/system/par2cmdline/par2cmdline.info +++ /dev/null @@ -1,8 +0,0 @@ -PRGNAM="par2cmdline" -VERSION="0.4" -HOMEPAGE="http://parchive.sourceforge.net" -DOWNLOAD="http://downloads.sourceforge.net/parchive/par2cmdline-0.4.tar.gz" -MD5SUM="1551b63e57e3c232254dc62073b723a9" -MAINTAINER="maldoror" -EMAIL="mujyo@comcast.net" -APPROVED="rworkman" diff --git a/system/par2cmdline/slack-desc b/system/par2cmdline/slack-desc deleted file mode 100644 index 4d7f560581..0000000000 --- a/system/par2cmdline/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------------------------------------------------------| -par2cmdline: par2cmdline (Commandline implementation of PARv2.0 specification) -par2cmdline: -par2cmdline: par2cmdline is a GPL-licensed commandline tool for creating and -par2cmdline: using PAR2 parity sets to detect damage in files and repair them -par2cmdline: if necessary. The program uses Reed Solomon Coding to perform -par2cmdline: its error correction. A useful program for checking and ensuring -par2cmdline: the integrity of binaries retrieved from usenet for instance. -par2cmdline: -par2cmdline: http://parchive.sourceforge.net/ -par2cmdline: -par2cmdline: |