summaryrefslogtreecommitdiffstats
path: root/extra/john/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-10 23:25:29 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-10 23:25:29 +0200
commit3de096dcfc45ac8c66aa5f28edfc45bab461c478 (patch)
tree75bd74976f6923cbb3ca7ae13648243fb3f342b8 /extra/john/Pkgfile
parent2c248604d6f705503f36746ad4cb4a81113ae148 (diff)
downloadnutyx-extra-3de096dcfc45ac8c66aa5f28edfc45bab461c478.tar.gz
nutyx-extra-3de096dcfc45ac8c66aa5f28edfc45bab461c478.tar.bz2
nutyx-extra-3de096dcfc45ac8c66aa5f28edfc45bab461c478.tar.xz
nutyx-extra-3de096dcfc45ac8c66aa5f28edfc45bab461c478.zip
Ajout de john#1.7.3-3
Diffstat (limited to 'extra/john/Pkgfile')
-rwxr-xr-xextra/john/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/john/Pkgfile b/extra/john/Pkgfile
new file mode 100755
index 000000000..0e740337a
--- /dev/null
+++ b/extra/john/Pkgfile
@@ -0,0 +1,28 @@
+# Description: utilitaire systeme pour retrouver les mots de passe
+# URL: http://www.openwall.com/john/
+# Maintainer: NuTyX core team
+# Packager: fred.galusik at gmail dot com
+# Depends on:
+
+name=john
+version=1.7.3
+release=3
+source=(http://www.openwall.com/john/g/$name-$version.tar.gz john)
+
+build() {
+cd $name-$version/src
+ make clean linux-x86-any
+ mkdir -p $PKG/usr/share/$name
+ cp -a ../run/* $PKG/usr/share/$name
+
+ mkdir -p $PKG/usr/bin
+ install -m 755 ../../john $PKG/usr/bin/
+
+ mkdir -p $PKG/usr/share/doc/$name
+ cp -a ../doc/* $PKG/usr/share/doc/$name
+
+ chmod 755 $PKG/usr/share/john/mailer
+ chmod 644 $PKG/usr/share/john/john.conf
+ chown -R root:root $PKG
+}
+