diff options
Diffstat (limited to 'network/sniffjoke')
-rw-r--r-- | network/sniffjoke/README | 5 | ||||
-rw-r--r-- | network/sniffjoke/sniffjoke.SlackBuild | 22 | ||||
-rw-r--r-- | network/sniffjoke/sniffjoke.info | 2 |
3 files changed, 20 insertions, 9 deletions
diff --git a/network/sniffjoke/README b/network/sniffjoke/README index 87020ffa73..445e28db08 100644 --- a/network/sniffjoke/README +++ b/network/sniffjoke/README @@ -1,5 +1,6 @@ An internet client running SniffJoke injects in the transmission flow some packets able to seriously disturb passive analysis like sniffing, -interception and low level information theft. No server supports needed! +interception and low level information theft. No server support needed! -Please read documentation files in /usr/doc/ to set sniffjoke up properly. +Please read documentation files in /usr/doc/sniffjoke-$VERSION to set +sniffjoke up properly. diff --git a/network/sniffjoke/sniffjoke.SlackBuild b/network/sniffjoke/sniffjoke.SlackBuild index 4b0722ed3d..3250e78b49 100644 --- a/network/sniffjoke/sniffjoke.SlackBuild +++ b/network/sniffjoke/sniffjoke.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for sniffjoke @@ -22,20 +22,30 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=sniffjoke VERSION=${VERSION:-0.4.2_aa2a003} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -44,8 +54,8 @@ SRCNAM="vecna-sniffjoke" GITSRCVERSION="aa2a003" DOCFILES="AUTHORS ChangeLog COPYING README.md doc/*.txt" -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -128,4 +138,4 @@ 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} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/network/sniffjoke/sniffjoke.info b/network/sniffjoke/sniffjoke.info index a1319bac2a..157711a63c 100644 --- a/network/sniffjoke/sniffjoke.info +++ b/network/sniffjoke/sniffjoke.info @@ -1,7 +1,7 @@ PRGNAM="sniffjoke" VERSION="0.4.2_aa2a003" HOMEPAGE="http://www.delirandom.net/sniffjoke/" -DOWNLOAD="http://lukenshiro.altervista.org/sbo-sources/vecna-sniffjoke-aa2a003.tar.gz" +DOWNLOAD="https://slackware.uk/~urchlay/src/vecna-sniffjoke-aa2a003.tar.gz" MD5SUM="c5c071e6ec2ae0a614f7512fb8c102f3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |