Index: head/security/john/Makefile =================================================================== --- head/security/john/Makefile (revision 495037) +++ head/security/john/Makefile (revision 495038) @@ -1,100 +1,87 @@ # Created by: David O'Brien # $FreeBSD$ PORTNAME= john +# NB: starting from the next version, community-enhanced (jumbo) patch +# should be offered as an option (suggested by Solar Designer himself). DISTVERSION= 1.8.0-jumbo-1 PORTREVISION= 5 CATEGORIES= security MASTER_SITES= http://www.openwall.com/john/j/ \ http://mirrors.kernel.org/openwall/projects/john/${DISTVERSION:C/-.*//}/ \ - http://distro.ibiblio.org/openwall/projects/john/${DISTVERSION:C/-.*//}/ \ - http://gd.tuwien.ac.at/opsys/linux/openwall/projects/john/${DISTVERSION:C/-.*//}/ + http://distro.ibiblio.org/openwall/projects/john/${DISTVERSION:C/-.*//}/ MAINTAINER= danfe@FreeBSD.org COMMENT= Featureful Unix password cracker LICENSE= GPLv2 -BROKEN_SSL= openssl111 - LIB_DEPENDS= libgmp.so:math/gmp -BROKEN_aarch64= Fails to build: Cannot detect CPU architechture -BROKEN_mips64= Fails to build: Cannot detect CPU architechture +BROKEN_aarch64= cannot detect CPU architecture +BROKEN_mips64= cannot detect CPU architecture USES= gmake shebangfix ssl tar:xz GNU_CONFIGURE= yes -CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ +CONFIGURE_ENV= CFLAGS_EXTRA="-DJOHN_SYSTEMWIDE=1" \ + OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" SHEBANG_FILES= ../run/*.pl ../run/*.rb ../run/benchmark-unify ../run/relbench WRKSRC_SUBDIR= src ALL_TARGET= default -CFLAGS+= -DJOHN_SYSTEMWIDE=1 \ - -DJOHN_SYSTEMWIDE_HOME=\\\"${DATADIR}\\\" \ - -DJOHN_SYSTEMWIDE_EXEC=\\\"${LOCALBASE}/libexec/${PORTNAME}\\\" -# We prefer -jumbo (community-enhanced) versions instead of vanilla releases -# due to the sad fact that `-jumbo-???' suffixed versions *precede* official -# ones per pkg_version(1) -t check. So, when Alexander rolls out new "plain" -# release, just hold the horses and wait for corresponding -jumbo one, which -# usually does not take too long to appear. -# -# Starting from the next version, community-enhanced (jumbo) should be added -# as an optional feature, as suggested by Alexander himself. -# -PORTSCOUT= limit:.*-jumbo - BINARIES= calc_stat cprepair genmkvpwd john luks2john mkvcalcproba \ raw2dyna SIPdump tgtsnarf uaf2john vncpcap2john wpapcap2john BINLINKS= base64conv dmg2john gpg2john hccap2john keepass2john \ keychain2john keyring2john keystore2john kwallet2john \ - pfx2john putty2john pwsafe2john racf2john rar2john \ + putty2john pwsafe2john racf2john rar2john \ truecrypt_volume2john unafs undrop unique unshadow zip2john PORTDOCS= * OPTIONS_DEFINE= DOCS #OPENMP #OPENMP_USES= compiler:openmp post-extract: @${RM} ${WRKSRC}/pfx_fmt_plug.c ${WRKSRC}/rawSHA0_fmt_plug.c \ ${WRKSRC}/ssh_fmt_plug.c \ post-patch: + @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/params.h # Replace methods and types that were marked deprecated by OpenSSL 0.9.7 # and removed in OpenSSL 1.1.0 and LibreSSL @${REINPLACE_CMD} -e 's|des_string_to_key|DES_string_to_key|' \ ${WRKSRC}/KRB4_fmt_plug.c @${REINPLACE_CMD} -e 's|des_set_odd_parity|DES_set_odd_parity|' \ ${WRKSRC}/KRB4_std_plug.c @${REINPLACE_CMD} -e 's|C_Block|DES_cblock|' \ ${WRKSRC}/efs_fmt_plug.c \ ${WRKSRC}/gpg_fmt_plug.c \ ${WRKSRC}/keychain_fmt_plug.c \ ${WRKSRC}/mozilla_ng_fmt_plug.c \ ${WRKSRC}/opencl_gpg_fmt_plug.c \ ${WRKSRC}/opencl_keychain_fmt_plug.c \ ${WRKSRC}/ssh_ng_fmt_plug.c do-install: .for b in ${BINARIES} ${INSTALL_PROGRAM} ${WRKSRC}/../run/${b} ${STAGEDIR}${PREFIX}/bin .endfor .for l in ${BINLINKS} ${LN} -sf john ${STAGEDIR}${PREFIX}/bin/${l} .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/extra cd ${WRKSRC}/../run && ${INSTALL_DATA} *.chr *.conf *.lst \ ${STAGEDIR}${DATADIR} cd ${WRKSRC}/../run && ${INSTALL_DATA} *.?? benchmark-unify \ dictionary.rfc2865 john.*sh_completion mailer makechr \ relbench stats ${STAGEDIR}${DATADIR}/extra do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @${RM} ${WRKSRC}/../doc/COPYING ${INSTALL_DATA} ${WRKSRC}/../doc/* ${STAGEDIR}${DOCSDIR} .include Index: head/security/john/pkg-plist =================================================================== --- head/security/john/pkg-plist (revision 495037) +++ head/security/john/pkg-plist (revision 495038) @@ -1,116 +1,115 @@ bin/SIPdump bin/base64conv bin/calc_stat bin/cprepair bin/dmg2john bin/genmkvpwd bin/gpg2john bin/hccap2john bin/john bin/keepass2john bin/keychain2john bin/keyring2john bin/keystore2john bin/kwallet2john bin/luks2john bin/mkvcalcproba -bin/pfx2john bin/putty2john bin/pwsafe2john bin/racf2john bin/rar2john bin/raw2dyna bin/tgtsnarf bin/truecrypt_volume2john bin/uaf2john bin/unafs bin/undrop bin/unique bin/unshadow bin/vncpcap2john bin/wpapcap2john bin/zip2john %%DATADIR%%/extra/1password2john.py %%DATADIR%%/extra/7z2john.py %%DATADIR%%/extra/aix2john.pl %%DATADIR%%/extra/aix2john.py %%DATADIR%%/extra/androidfde2john.py %%DATADIR%%/extra/apex2john.py %%DATADIR%%/extra/benchmark-unify %%DATADIR%%/extra/bitcoin2john.py %%DATADIR%%/extra/blockchain2john.py %%DATADIR%%/extra/cisco2john.pl %%DATADIR%%/extra/cracf2john.py %%DATADIR%%/extra/dictionary.rfc2865 %%DATADIR%%/extra/dmg2john.py %%DATADIR%%/extra/ecryptfs2john.py %%DATADIR%%/extra/efs2john.py %%DATADIR%%/extra/encfs2john.py %%DATADIR%%/extra/genincstats.rb %%DATADIR%%/extra/hextoraw.pl %%DATADIR%%/extra/htdigest2john.py %%DATADIR%%/extra/ikescan2john.py %%DATADIR%%/extra/ios7tojohn.pl %%DATADIR%%/extra/john.bash_completion %%DATADIR%%/extra/john.zsh_completion %%DATADIR%%/extra/kdcdump2john.py %%DATADIR%%/extra/keychain2john.py %%DATADIR%%/extra/keystore2john.py %%DATADIR%%/extra/known_hosts2john.py %%DATADIR%%/extra/kwallet2john.py %%DATADIR%%/extra/ldif2john.pl %%DATADIR%%/extra/leet.pl %%DATADIR%%/extra/lion2john-alt.pl %%DATADIR%%/extra/lion2john.pl %%DATADIR%%/extra/lotus2john.py %%DATADIR%%/extra/mailer %%DATADIR%%/extra/makechr %%DATADIR%%/extra/mcafee_epo2john.py %%DATADIR%%/extra/ml2john.py %%DATADIR%%/extra/mozilla2john.py %%DATADIR%%/extra/netntlm.pl %%DATADIR%%/extra/netscreen.py %%DATADIR%%/extra/odf2john.py %%DATADIR%%/extra/office2john.py %%DATADIR%%/extra/openbsd_softraid2john.py %%DATADIR%%/extra/openssl2john.py %%DATADIR%%/extra/pass_gen.pl %%DATADIR%%/extra/pcap2john.py %%DATADIR%%/extra/pdf2john.py %%DATADIR%%/extra/radius2john.pl %%DATADIR%%/extra/relbench %%DATADIR%%/extra/rexgen2rules.pl %%DATADIR%%/extra/sap2john.pl %%DATADIR%%/extra/sha-dump.pl %%DATADIR%%/extra/sha-test.pl %%DATADIR%%/extra/sipdump2john.py %%DATADIR%%/extra/ssh2sshng.py %%DATADIR%%/extra/sshng2john.py %%DATADIR%%/extra/stats %%DATADIR%%/extra/strip2john.py %%DATADIR%%/extra/sxc2john.py %%DATADIR%%/alnum.chr %%DATADIR%%/alnumspace.chr %%DATADIR%%/alpha.chr %%DATADIR%%/ascii.chr %%DATADIR%%/digits.chr %%DATADIR%%/dumb16.conf %%DATADIR%%/dumb32.conf %%DATADIR%%/dynamic.conf %%DATADIR%%/dynamic_flat_sse_formats.conf %%DATADIR%%/john.conf %%DATADIR%%/john.local.conf %%DATADIR%%/korelogic.conf %%DATADIR%%/lanman.chr %%DATADIR%%/latin1.chr %%DATADIR%%/lm_ascii.chr %%DATADIR%%/lower.chr %%DATADIR%%/lowernum.chr %%DATADIR%%/lowerspace.chr %%DATADIR%%/password.lst %%DATADIR%%/regex_alphabets.conf %%DATADIR%%/repeats16.conf %%DATADIR%%/repeats32.conf %%DATADIR%%/upper.chr %%DATADIR%%/uppernum.chr %%DATADIR%%/utf8.chr