Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2013 20:06:57 -0700 (MST)
From:      John Hein <jhein@symmetricom.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        buganini@gmail.com
Subject:   ports/184158: [patch] security/chntpw: install other useful binaries
Message-ID:  <201311220306.rAM36vmY072173@fbsd8-build-32.symmetricom.us>
Resent-Message-ID: <201311220310.rAM3A0uD058791@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         184158
>Category:       ports
>Synopsis:       [patch] security/chntpw: install other useful binaries
>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:   Fri Nov 22 03:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     John Hein
>Release:        all
>Organization:
>Environment:
System:

>Description:

Here's a change for security/chntpw that installs some other
programs that are useful.  It also unmutes the install
command.

>How-To-Repeat:

>Fix:

Index: Makefile
===================================================================
--- Makefile	(revision 334476)
+++ Makefile	(working copy)
@@ -3,6 +3,7 @@
 
 PORTNAME=	chntpw
 PORTVERSION=	110511
+PORTREVISION=	1
 CATEGORIES=	security sysutils
 MASTER_SITES=	http://pogostick.net/~pnh/ntpasswd/
 DISTNAME=	${PORTNAME}-source-${PORTVERSION}
@@ -20,7 +21,8 @@
 
 ONLY_FOR_ARCHS=	i386 amd64
 
-PLIST_FILES=	bin/chntpw
+BIN_FILES=	chntpw cpnt reged
+PLIST_FILES=	${BIN_FILES:C|^|bin/|}
 PORTDOCS=	README.txt WinReg.txt regedit.txt
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
@@ -34,7 +36,7 @@
 .endif
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/chntpw ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${BIN_FILES:C|^|${WRKSRC}/|} ${STAGEDIR}${PREFIX}/bin
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311220306.rAM36vmY072173>