aboutsummaryrefslogtreecommitdiff
path: root/security/john
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2011-06-22 08:10:35 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2011-06-22 08:10:35 +0000
commit12ebf45c5c9fab9220c9e9a8598695e3ef59e263 (patch)
treef90e269429b6160d54d1f6106b41fa1008d3e71f /security/john
parent2ea9f158ac463a41a8dbb8e12d2b32fc63af921a (diff)
downloadports-12ebf45c5c9fab9220c9e9a8598695e3ef59e263.tar.gz
ports-12ebf45c5c9fab9220c9e9a8598695e3ef59e263.zip
Notes
Diffstat (limited to 'security/john')
-rw-r--r--security/john/Makefile14
-rw-r--r--security/john/distinfo6
2 files changed, 7 insertions, 13 deletions
diff --git a/security/john/Makefile b/security/john/Makefile
index 18c73b8577fb..b71d987d5fe7 100644
--- a/security/john/Makefile
+++ b/security/john/Makefile
@@ -6,17 +6,12 @@
#
PORTNAME= john
-PORTVERSION= 1.7.6
-PORTREVISION= 3
+DISTVERSION= 1.7.7-jumbo-6
CATEGORIES= security
MASTER_SITES= http://www.openwall.com/john/g/ \
- http://mirrors.kernel.org/openwall/projects/john/${PORTVERSION}/ \
- http://distro.ibiblio.org/pub/linux/distributions/openwall/projects/john/${PORTVERSION}/ \
- http://gd.tuwien.ac.at/opsys/linux/openwall/projects/john/${PORTVERSION}/
-
-PATCH_SITES= ${MASTER_SITES:H:H:S/$/\/contrib\//}
-PATCHFILES= john-${PORTVERSION}-jumbo-11.diff.gz
-PATCH_DIST_STRIP= -p1
+ http://mirrors.kernel.org/openwall/projects/john/${DISTVERSION:C/-.*//}/ \
+ http://distro.ibiblio.org/pub/linux/distributions/openwall/projects/john/${DISTVERSION:C/-.*//}/ \
+ http://gd.tuwien.ac.at/opsys/linux/openwall/projects/john/${DISTVERSION:C/-.*//}/
MAINTAINER= danfe@FreeBSD.org
COMMENT= Featureful Unix password cracker
@@ -62,6 +57,7 @@ post-patch:
${WRKSRC}/src/Makefile
@${REINPLACE_CMD} -i '' -e 's|/usr/bin|${LOCALBASE}/bin|' \
${WRKSRC}/run/*.rb
+ @${REINPLACE_CMD} -e '/_XOPEN_SOURCE/d' ${WRKSRC}/src/recovery.c
pre-build:
@${ECHO_CMD}
diff --git a/security/john/distinfo b/security/john/distinfo
index 85419ab36e7d..7b75036074a0 100644
--- a/security/john/distinfo
+++ b/security/john/distinfo
@@ -1,4 +1,2 @@
-SHA256 (john-1.7.6.tar.bz2) = 4fdfebebdc1523869f3c64a2993ff7041c8af47e9c58309575d1fdef54636c0f
-SIZE (john-1.7.6.tar.bz2) = 669568
-SHA256 (john-1.7.6-jumbo-11.diff.gz) = f5cedbf1adba8be76d255b4ffaf9b344269875adf03da2d9e9c91f54a8904088
-SIZE (john-1.7.6-jumbo-11.diff.gz) = 225952
+SHA256 (john-1.7.7-jumbo-6.tar.bz2) = 2a5c4ccbbbb8a31cf45230687c4a88b8efc2422260bde17f549341462648026b
+SIZE (john-1.7.7-jumbo-6.tar.bz2) = 1008689