Bug 189722 - PATCH: enables stage for security/pam_pwdfile
Summary: PATCH: enables stage for security/pam_pwdfile
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-12 16:50 UTC by Michael Schout
Modified: 2014-05-20 21:20 UTC (History)
0 users

See Also:


Attachments
file.diff (601 bytes, patch)
2014-05-12 16:50 UTC, Michael Schout
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Schout 2014-05-12 16:50:00 UTC
security/pam_pwdfile does not use Stage.

This patch fixes this problem.

Fix: Apply the following patch to security/pam_pwdfile port



Patch attached with submission follows:
How-To-Repeat: install the port
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-12 16:50:05 UTC
Class Changed
From-To: update->maintainer-update

Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-05-20 21:15:08 UTC
Author: amdmi3
Date: Tue May 20 20:15:04 2014
New Revision: 354681
URL: http://svnweb.freebsd.org/changeset/ports/354681
QAT: https://qat.redports.org/buildarchive/r354681/

Log:
  - Support staging
  
  PR:		189722
  Submitted by:	Michael Schout <mschout@gkg.net> (maintainer)

Modified:
  head/security/pam_pwdfile/Makefile

Modified: head/security/pam_pwdfile/Makefile
==============================================================================
--- head/security/pam_pwdfile/Makefile	Tue May 20 20:03:16 2014	(r354680)
+++ head/security/pam_pwdfile/Makefile	Tue May 20 20:15:04 2014	(r354681)
@@ -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
 
_______________________________________________
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"
Comment 3 Dmitry Marakasov freebsd_committer freebsd_triage 2014-05-20 21:16:26 UTC
State Changed
From-To: open->closed

Committed.  Thanks!  Please consider switching from NOPORTDOCS to proper 
options support.