[arch-commits] Commit in john/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Mon Jun 8 19:48:09 EDT 2009


    Date: Monday, June 8, 2009 @ 19:48:09
  Author: andrea
Revision: 41997

upgpkg: john 1.7.0.2-5

Modified:
  john/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-06-08 23:26:55 UTC (rev 41996)
+++ PKGBUILD	2009-06-08 23:48:09 UTC (rev 41997)
@@ -1,12 +1,13 @@
 # $Id$
-# Maintainer: Dale Blount <dale at archlinux.org>
-# Original Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-# Portions from AUR john-devel PKGBUILD used with permission from Michal Krenek <mikos at sg1.cz>
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Dale Blount <dale at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+# Contributor: Michal Krenek <mikos at sg1.cz>
 
 pkgname=john
 pkgver=1.7.0.2
-pkgrel=4
-pkgdesc="John the Ripper is a fast password cracker. Additional patches (NTLM, MySQL, Kerberos V5, etc.) included."
+pkgrel=5
+pkgdesc="John The Ripper - A fast password cracker. Additional patches (NTLM, MySQL, Kerberos V5, etc.) included."
 arch=(i686 x86_64)
 url="http://www.openwall.com/$pkgname/"
 license=('GPL2' 'custom')
@@ -15,8 +16,10 @@
 	http://www.openwall.com/john/contrib/john-1.7-all-4.diff.gz \
 	http://www2.psy.uq.edu.au/~ftp/Crypto/DES/libdes-4.04b.tar.gz \
 	params.h.patch)
-md5sums=('084fa03f265491ef7e32c05e9fb027db' '4429722ba242a5a33ca8ebf45fd42797'\
-         '271191f7bf86d16b1a6b0fa3f0f1dad3' 'f69ed632eba8fb9e45847a4b4a323787')
+md5sums=('084fa03f265491ef7e32c05e9fb027db'
+         '4429722ba242a5a33ca8ebf45fd42797'
+         '41bd2e1225c038ce9993ceb485991f0e'
+         'f69ed632eba8fb9e45847a4b4a323787')
 
 build() {
 	# jumbo patch
@@ -54,6 +57,11 @@
 	install -m644 ${srcdir}/john-$pkgver/run/password.lst ${pkgdir}/usr/share/john/	
 	install -D -m644 ${srcdir}/john-$pkgver/doc/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
 
+	# install password list and charset files
+	install -d ${pkgdir}/usr/share/john/
+	install -m644 ${srcdir}/${pkgname}-${pkgver}/run/{{all,alnum,alpha,digits,lanman}.chr,password.lst} \
+          ${pkgdir}/usr/share/john/ || return 1
+
 	# install binaries
 	install -d ${pkgdir}/usr/bin
 	if [ "$CARCH" == "x86_64" ]; then



More information about the arch-commits mailing list