summaryrefslogtreecommitdiff
path: root/community/john
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-06-10 11:35:18 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-06-10 11:35:18 +0200
commit51d25a8023c8dafdbcafd8bcc6adb19979f15ac6 (patch)
tree3419b254ec8c04b09a938d993fdb768eae03c005 /community/john
parent11fe0679d59f68c3fbe3d0a205e5087bf694262e (diff)
parent7b2739f21a7ed0d52497fa381c9a2383e71ab7a8 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: extra/kdemultimedia/PKGBUILD extra/kdenetwork/PKGBUILD extra/samba/PKGBUILD multilib/lib32-gnutls/PKGBUILD multilib/wine/PKGBUILD staging/kdemultimedia/PKGBUILD
Diffstat (limited to 'community/john')
-rw-r--r--community/john/PKGBUILD33
1 files changed, 28 insertions, 5 deletions
diff --git a/community/john/PKGBUILD b/community/john/PKGBUILD
index f8e685e90..323a033ce 100644
--- a/community/john/PKGBUILD
+++ b/community/john/PKGBUILD
@@ -6,13 +6,16 @@
pkgname=john
pkgver=1.7.9
-pkgrel=2
+pkgrel=3
_jumbover=5
pkgdesc="John The Ripper - A fast password cracker (jumbo-$_jumbover included)"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.openwall.com/$pkgname/"
license=('GPL2' 'custom')
depends=('openssl')
+optdepends=("perl: for executing some of the scripts at /usr/share/john"
+ "ruby: for executing some of the scripts at /usr/share/john"
+ "python: for executing some of the scripts at /usr/share/john")
backup=('etc/john/john.conf')
source=(http://www.openwall.com/$pkgname/g/$pkgname-$pkgver.tar.bz2
http://www.openwall.com/john/g/john-$pkgver-jumbo-$_jumbover.diff.gz
@@ -59,20 +62,40 @@ package() {
# docs
install -d ${pkgdir}/usr/share/doc/john
install -m644 ${srcdir}/john-$pkgver/doc/* ${pkgdir}/usr/share/doc/john/
- install -d ${pkgdir}/usr/share/john/
install -Dm644 ${srcdir}/john-$pkgver/doc/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
- # install password list and charset files
- install -m644 ${srcdir}/${pkgname}-${pkgver}/run/{{all,alnum,alpha,digits,lanman}.chr,password.lst} \
+ # install password list, charset files and other stuff
+ install -d ${pkgdir}/usr/share/john/
+ install -m644 ${srcdir}/${pkgname}-${pkgver}/run/password.lst ${pkgdir}/usr/share/john/
+ install -m644 ${srcdir}/${pkgname}-${pkgver}/run/stats ${pkgdir}/usr/share/john/
+ install -m644 ${srcdir}/${pkgname}-${pkgver}/run/{all,alnum,alpha,digits,lanman}.chr \
${pkgdir}/usr/share/john/
install -m644 ${srcdir}/${pkgname}-${pkgver}/run/{dumb16,dumb32,dynamic}.conf \
${pkgdir}/usr/share/john/
+ install -m644 ${srcdir}/${pkgname}-${pkgver}/run/{cmpt_cp,ldif2john,lion2john-alt,lion2john}.pl \
+ ${pkgdir}/usr/share/john
+ install -m644 ${srcdir}/${pkgname}-${pkgver}/run/{netntlm,radius2john,sap_prepare,sha-dump}.pl \
+ ${pkgdir}/usr/share/john
+ install -m644 ${srcdir}/${pkgname}-${pkgver}/run/sha-test.pl \
+ ${pkgdir}/usr/share/john
+ install -m644 ${srcdir}/${pkgname}-${pkgver}/run/genincstats.rb \
+ ${pkgdir}/usr/share/john
+ install -m644 ${srcdir}/${pkgname}-${pkgver}/run/netscreen.py \
+ ${pkgdir}/usr/share/john
+
install -m644 ${srcdir}/${pkgname}-${pkgver}/run/dynamic.conf ${pkgdir}/etc/john/
# install binaries
install -Dm755 ${srcdir}/john-$pkgver/run/john ${pkgdir}/usr/bin/john
+ install -Dm755 ${srcdir}/john-$pkgver/run/calc_stat ${pkgdir}/usr/bin/calc_stat
+ install -Dm755 ${srcdir}/john-$pkgver/run/genmkvpwd ${pkgdir}/usr/bin/genmkvpwd
+ install -Dm755 ${srcdir}/john-$pkgver/run/mkvcalcproba ${pkgdir}/usr/bin/mkvcalcproba
+ install -Dm755 ${srcdir}/john-$pkgver/run/relbench ${pkgdir}/usr/bin/relbench
+ install -Dm755 ${srcdir}/john-$pkgver/run/tgtsnarf ${pkgdir}/usr/bin/tgtsnarf
install -Dm755 ${srcdir}/john-$pkgver/run/mailer ${pkgdir}/usr/bin/john-mailer
- cd ${pkgdir}/usr/bin
+
+ # create links
+ cd ${pkgdir}/usr/bin
ln -s john unafs
ln -s john unique
ln -s john unshadow