Receipt for package "john"
# SliTaz package receipt. PACKAGE="john" VERSION="1.9.0" CATEGORY="system-tools" SHORT_DESC="Fast password cracker." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://www.openwall.com/john/" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="${WEB_SITE}k/$TARBALL" DEPENDS="libdes openssl" BUILD_DEPENDS="libdes-dev openssl-dev" CONFIG_FILES="/etc/john/john.conf" #PATCH="http://www.openwall.com/john/g/$PACKAGE-$VERSION-jumbo-7.diff.gz" #EXTRA_SOURCE_FILES="$PATCH" # What is the latest version available today? current_version() { wget -O - https://github.com/openwall/john/tags 2>/dev/null | \ sed '/archive.*tar/!d;/tags\/[0-9\.]*.tar/!d;s|.*/\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { # cd $src # [ -s $SOURCES_REPOSITORY/$(basename $PATCH) ] || # wget -P $SOURCES_REPOSITORY $PATCH # zcat $SRC/$(basename $PATCH) | patch -p1 cd $src/src patch -Np0 -i $stuff/params.h.patch # sed -i 's|LIBS = -ldes|LIBS = -ldes -Ldes|' Makefile sed -i "s|CFLAGS = -c -Wall -O2|CFLAGS = -c -Wall -O2 -march=$ARCH -DJOHN_SYSTEMWIDE=1|" Makefile make clean generic } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p \ $fs/usr/sbin \ $fs/etc/john \ $fs/usr/share/john cp -a $src/run/john $fs/usr/sbin cp -a $src/run/mailer $fs/usr/sbin cp -a $src/run/unafs $fs/usr/sbin cp -a $src/run/unique $fs/usr/sbin cp -a $src/run/unshadow $fs/usr/sbin cp -a $src/run/*.chr $fs/usr/share/john # cp -a $src/run/dumb??.conf $fs/usr/share/john # cp -a $src/run/generic.conf $fs/usr/share/john cp -a $src/run/password.lst $fs/usr/share/john cp $src/run/john.conf $fs/etc/john sed -i 's|$JOHN|/usr/share/john|g' $fs/etc/john/john.conf }
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)