summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2019-12-07 20:13:36 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-07 20:13:36 +0700
commit5c87c42c77f3fc287f8c87a5e86146eb808625f3 (patch)
treebd5934f681ded7fa2b516dd86af88948d2dc70da
parent426a166ec43fce09ba56e2c7b94c819bea6bf2a8 (diff)
downloadslackbuilds-5c87c42c77f3fc287f8c87a5e86146eb808625f3.tar.gz
misc/rarcrack: Updated for version 0.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--misc/rarcrack/README2
-rw-r--r--misc/rarcrack/rarcrack.SlackBuild10
-rw-r--r--misc/rarcrack/rarcrack.info6
-rw-r--r--misc/rarcrack/slack-desc2
4 files changed, 10 insertions, 10 deletions
diff --git a/misc/rarcrack/README b/misc/rarcrack/README
index bb0ac4149c..dc12ac6369 100644
--- a/misc/rarcrack/README
+++ b/misc/rarcrack/README
@@ -4,3 +4,5 @@ rarcrack uses a brute force algorithm to guess your encrypted
compressed file's password.
This program can crack zip, 7z and rar file passwords.
+
+NOTE: for work this require: p7zip, unrar.
diff --git a/misc/rarcrack/rarcrack.SlackBuild b/misc/rarcrack/rarcrack.SlackBuild
index 478bc75f7e..c94a323103 100644
--- a/misc/rarcrack/rarcrack.SlackBuild
+++ b/misc/rarcrack/rarcrack.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for rarcrack.
#
-# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2019 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=rarcrack
VERSION=${VERSION:-0.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -77,10 +77,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
install -d $PKG/usr/bin
install -D -m755 rarcrack $PKG/usr/bin/rarcrack
-DOCS="CHANGELOG LICENSE README README.html RELEASE_NOTES"
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp CHANGELOG LICENSE README README.html RELEASE_NOTES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/misc/rarcrack/rarcrack.info b/misc/rarcrack/rarcrack.info
index 80de5cceac..bf7984a7e0 100644
--- a/misc/rarcrack/rarcrack.info
+++ b/misc/rarcrack/rarcrack.info
@@ -1,8 +1,8 @@
PRGNAM="rarcrack"
VERSION="0.2"
-HOMEPAGE="http://rarcrack.sourceforge.net/"
-DOWNLOAD="http://sourceforge.net/projects/rarcrack/files/rarcrack-0.2/%5BUnnamed%20release%5D/rarcrack-0.2.tar.bz2"
-MD5SUM="62d0cf77c6c4edc7204305649f8b7362"
+HOMEPAGE="https://github.com/ziman/rarcrack"
+DOWNLOAD="https://github.com/ziman/rarcrack/archive/0.2/rarcrack-0.2.tar.gz"
+MD5SUM="e3838aaa384aaa0834d73914e182a628"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/misc/rarcrack/slack-desc b/misc/rarcrack/slack-desc
index 16fd849893..0d02039ca2 100644
--- a/misc/rarcrack/slack-desc
+++ b/misc/rarcrack/slack-desc
@@ -13,7 +13,7 @@ rarcrack: compressed file's password.
rarcrack:
rarcrack: This program can crack zip, 7z and rar file passwords.
rarcrack:
-rarcrack: Home page: http://rarcrack.sourceforge.net/
+rarcrack: Home page: https://github.com/ziman/rarcrack
rarcrack:
rarcrack:
rarcrack: