Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2014 15:43:48 GMT
From:      Michael Schout <mschout@gkg.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189722: PATCH: enables stage for security/pam_pwdfile
Message-ID:  <201405121543.s4CFhmm1017795@cgiserv.freebsd.org>
Resent-Message-ID: <201405121550.s4CFo0PX085481@freefall.freebsd.org>

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

>Number:         189722
>Category:       ports
>Synopsis:       PATCH: enables stage for security/pam_pwdfile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 12 15:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Michael Schout
>Release:        FreeBSD 10.0-RELEASE-p1
>Organization:
GKG.NET, Inc.
>Environment:
FreeBSD freebsd-10.snowcrash.lan 10.0-RELEASE-p1 FreeBSD 10.0-RELEASE-p1 #0: Tue Apr  8 06:45:06 UTC 2014     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
security/pam_pwdfile does not use Stage.

This patch fixes this problem.
>How-To-Repeat:
install the port
>Fix:
Apply the following patch to security/pam_pwdfile port



Patch attached with submission follows:

diff --git a/Makefile b/Makefile
index cfbc938..09f0118 100644
--- a/Makefile
+++ b/Makefile
@@ -16,16 +16,15 @@ PLIST_FILES=	lib/pam_pwdfile.so
 PORTDOCS=	README INSTALL changelog
 CFLAGS+=	-I${WRKSRC}
 
-NO_STAGE=	yes
 post-patch:
 	${REINPLACE_CMD} -e 's|#include <features.h>||g' ${WRKSRC}/pam_pwdfile.c
 	${CP} ${FILESDIR}/_pam_macros.h ${WRKSRC}
 
 post-install:
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for docs in ${PORTDOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 


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



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