Bug 185246 - security/john: update to 1.7.9-jumbo-7
Summary: security/john: update to 1.7.9-jumbo-7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-28 18:00 UTC by Royce Williams
Modified: 2013-12-31 10:50 UTC (History)
0 users

See Also:


Attachments
file.diff (1.77 KB, patch)
2013-12-28 18:00 UTC, Royce Williams
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Royce Williams 2013-12-28 18:00:01 UTC
Formal port update request, following up on a chain of informal requests starting in August 2012, including additional requests in October 2013, November 2013, and December 2013.

Maintainer has stated that he prefers to make significant improvements to the port rather than making this basic update.  In my view, they are not mutually exclusive.

Fix: Apply patch.

Patch attached with submission follows:
How-To-Repeat: n/a
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-12-28 18:00:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danfe

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 3 Mathieu Arnold freebsd_committer freebsd_triage 2013-12-31 10:45:09 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-12-31 10:45:56 UTC
Author: mat
Date: Tue Dec 31 10:45:48 2013
New Revision: 338280
URL: http://svnweb.freebsd.org/changeset/ports/338280

Log:
  - Update from 1.7.9-jumbo-5 to 1.7.9-jumbo-7 [1]
  - Support staging
  - Minor fixes
  
  maintainer timeout [1]
  
  PR:		ports/180794, ports/185246 [1]
  Submitted by:	Hung-Yi Chen, Royce Williams [1]

Modified:
  head/security/john/Makefile   (contents, props changed)
  head/security/john/distinfo   (contents, props changed)
  head/security/john/pkg-plist   (contents, props changed)

Modified: head/security/john/Makefile
==============================================================================
--- head/security/john/Makefile	Tue Dec 31 10:10:07 2013	(r338279)
+++ head/security/john/Makefile	Tue Dec 31 10:45:48 2013	(r338280)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	john
-DISTVERSION=	1.7.9-jumbo-5
+DISTVERSION=	1.7.9-jumbo-7
 CATEGORIES=	security
 MASTER_SITES=	http://www.openwall.com/john/g/ \
 		http://mirrors.kernel.org/openwall/projects/john/${DISTVERSION:C/-.*//}/ \
@@ -14,8 +14,9 @@ COMMENT=	Featureful Unix password cracke
 
 LICENSE=	GPLv2
 
+USES=		gmake shebangfix
 USE_BZIP2=	yes
-USE_GMAKE=	yes
+SHEBANG_FILES=	run/*.pl
 BUILD_WRKSRC=	${WRKDIR}/${DISTNAME}/src
 
 # We prefer -jumbo (community-enhanced) versions instead of vanilla releases
@@ -37,7 +38,6 @@ PORTDOCS=	CHANGES CONFIG EXAMPLES EXTERN
 OPTIONS_DEFINE=	OPENMP DOCS
 OPENMP_DESC=	Compile with OpenMP support
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "i386"
@@ -80,20 +80,15 @@ pre-build:
 	@${ECHO_CMD}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/run/john ${PREFIX}/bin
-	${LN} -sf john ${PREFIX}/bin/xtract
-	${LN} -sf john ${PREFIX}/bin/unshadow
-	@${MKDIR} ${DATADIR}
-	cd ${WRKSRC}/run && ${INSTALL_DATA} *.??? [^j]*.conf ${DATADIR}
-	cd ${WRKSRC}/run && ${INSTALL_SCRIPT} *.?? mailer ${DATADIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/run/john ${STAGEDIR}${PREFIX}/bin
+	${LN} -sf john ${STAGEDIR}${PREFIX}/bin/xtract
+	${LN} -sf john ${STAGEDIR}${PREFIX}/bin/unshadow
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	cd ${WRKSRC}/run && ${INSTALL_DATA} *.??? [^j]*.conf ${STAGEDIR}${DATADIR}
+	cd ${WRKSRC}/run && ${INSTALL_SCRIPT} *.?? mailer ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/run/john.conf \
-		${PREFIX}/etc/john.conf.default
-.if !exists(${PREFIX}/etc/john.conf)
-	${INSTALL_DATA} ${WRKSRC}/run/john.conf ${PREFIX}/etc
-.endif
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${DOCSDIR}
-.endif
+		${STAGEDIR}${PREFIX}/etc/john.conf.default
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.post.mk>

Modified: head/security/john/distinfo
==============================================================================
--- head/security/john/distinfo	Tue Dec 31 10:10:07 2013	(r338279)
+++ head/security/john/distinfo	Tue Dec 31 10:45:48 2013	(r338280)
@@ -1,2 +1,2 @@
-SHA256 (john-1.7.9-jumbo-5.tar.bz2) = 4007aec40d2fedb1ce3287c62f23f8a1a8b8029d22cd3cbc60bb1a42f56c1a7f
-SIZE (john-1.7.9-jumbo-5.tar.bz2) = 1214046
+SHA256 (john-1.7.9-jumbo-7.tar.bz2) = fa7e5a1a31e61d516a97318fac27758ca40b1a626f4dbf353ecece8a41f54d32
+SIZE (john-1.7.9-jumbo-7.tar.bz2) = 1595514

Modified: head/security/john/pkg-plist
==============================================================================
--- head/security/john/pkg-plist	Tue Dec 31 10:10:07 2013	(r338279)
+++ head/security/john/pkg-plist	Tue Dec 31 10:45:48 2013	(r338280)
@@ -7,7 +7,7 @@ etc/john.conf.default
 %%DATADIR%%/all.chr
 %%DATADIR%%/alnum.chr
 %%DATADIR%%/alpha.chr
-%%DATADIR%%/cmpt_cp.pl
+%%DATADIR%%/cracf2john.py
 %%DATADIR%%/digits.chr
 %%DATADIR%%/dumb16.conf
 %%DATADIR%%/dumb32.conf
@@ -20,9 +20,12 @@ etc/john.conf.default
 %%DATADIR%%/mailer
 %%DATADIR%%/netntlm.pl
 %%DATADIR%%/netscreen.py
+%%DATADIR%%/odf2john.py
+%%DATADIR%%/pass_gen.pl
 %%DATADIR%%/password.lst
 %%DATADIR%%/radius2john.pl
-%%DATADIR%%/sap_prepare.pl
+%%DATADIR%%/sap2john.pl
 %%DATADIR%%/sha-dump.pl
 %%DATADIR%%/sha-test.pl
+%%DATADIR%%/sipdump2john.py
 @dirrm %%DATADIR%%
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"