ports/189722: PATCH: enables stage for security/pam_pwdfile
Michael Schout
mschout at gkg.net
Mon May 12 15:50:01 UTC 2014
>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 at 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:
More information about the freebsd-ports-bugs
mailing list