ports/69627: [PATCH] security/john: install more docs

Radim Kolar hsn at netmag.cz
Mon Jul 26 18:40:21 UTC 2004


>Number:         69627
>Category:       ports
>Synopsis:       [PATCH] security/john: install more docs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 26 18:40:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Radim Kolar
>Release:        FreeBSD 5.2.1-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD sanatana.dharma 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #8: Tue Jul 20 20:32:29 CEST 2004
>Description:
Install documentation from old john version also.
change machine_arch -> arch because of portlint complains.
let's bsd.port.mk to autogenerate pkg-list of installed docs.

Port maintainer (dom at helenmarks.co.uk) is cc'd.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- john-1.6.37_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/john/Makefile /home/hsn/hacked/john/Makefile
--- /usr/ports/security/john/Makefile	Mon Apr 19 12:23:05 2004
+++ /home/hsn/hacked/john/Makefile	Mon Jul 26 16:25:03 2004
@@ -8,6 +8,7 @@
 
 PORTNAME=	john
 PORTVERSION=	1.6.37
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	http://www.openwall.com/john/a/ \
 		ftp://ftp.ru.openwall.com/pub/projects/john/
@@ -18,19 +19,20 @@
 COMMENT=	Featureful Unix password cracker
 
 USE_REINPLACE=	yes
+PORTDOCS=	*
 
 .include <bsd.port.pre.mk>
 
 OSNAME=		${OPSYS:S/F/f/:S/N/n/:S/O/o/:S/B/b/:S/S/s/:S/D/d/}
 
 ALL_TARGET=	generic
-.if ${MACHINE_ARCH} == "i386"
+.if ${ARCH} == "i386"
 . if ${MACHINE_CPU:Mmmx}
 ALL_TARGET=	${OSNAME}-x86-mmx-elf
 . else
 ALL_TARGET=	${OSNAME}-x86-any-elf
 . endif
-.elif ${MACHINE_ARCH} == "alpha"
+.elif ${ARCH} == "alpha"
 ALL_TARGET=	${OSNAME}-alpha
 .endif
 
@@ -60,6 +62,7 @@
 			${DATADIR}
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
+	@${INSTALL_DATA} ${OLDSRC}/../doc/* ${DOCSDIR}
 	@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/* ${DOCSDIR}
 .endif
 
diff -ruN --exclude=CVS /usr/ports/security/john/pkg-plist /home/hsn/hacked/john/pkg-plist
--- /usr/ports/security/john/pkg-plist	Thu Jan 16 03:31:41 2003
+++ /home/hsn/hacked/john/pkg-plist	Mon Jul 26 16:09:39 2004
@@ -1,4 +1,3 @@
- at comment $FreeBSD: ports/security/john/pkg-plist,v 1.7 2003/01/16 02:31:41 edwin Exp $
 bin/john
 bin/unshadow
 bin/xtract
@@ -8,8 +7,4 @@
 share/john/lanman.chr
 share/john/john.conf
 share/john/password.lst
-share/doc/john/CHANGES
-share/doc/john/LICENSING
-share/doc/john/README
- at dirrm share/doc/john
 @dirrm share/john
--- john-1.6.37_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list