From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 12 15:50:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1F540A47 for ; Mon, 12 May 2014 15:50:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D5DCD2349 for ; Mon, 12 May 2014 15:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4CFo0OM085482 for ; Mon, 12 May 2014 15:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4CFo0PX085481; Mon, 12 May 2014 15:50:00 GMT (envelope-from gnats) Resent-Date: Mon, 12 May 2014 15:50:00 GMT Resent-Message-Id: <201405121550.s4CFo0PX085481@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michael Schout Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 117FC5BC for ; Mon, 12 May 2014 15:43:49 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F318522C8 for ; Mon, 12 May 2014 15:43:48 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4CFhmLL017796 for ; Mon, 12 May 2014 15:43:48 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4CFhmm1017795; Mon, 12 May 2014 15:43:48 GMT (envelope-from nobody) Message-Id: <201405121543.s4CFhmm1017795@cgiserv.freebsd.org> Date: Mon, 12 May 2014 15:43:48 GMT From: Michael Schout To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/189722: PATCH: enables stage for security/pam_pwdfile X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2014 15:50:01 -0000 >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 ||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: