From owner-svn-ports-head@FreeBSD.ORG Sun Jul 27 13:28:01 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8D200B01; Sun, 27 Jul 2014 13:28:01 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (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 7AB1A2BF5; Sun, 27 Jul 2014 13:28:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6RDS1Dj006672; Sun, 27 Jul 2014 13:28:01 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6RDS1Uc006671; Sun, 27 Jul 2014 13:28:01 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201407271328.s6RDS1Uc006671@svn.freebsd.org> From: John Marino Date: Sun, 27 Jul 2014 13:28:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r363061 - head/emulators/tpm-emulator X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jul 2014 13:28:01 -0000 Author: marino Date: Sun Jul 27 13:28:00 2014 New Revision: 363061 URL: http://svnweb.freebsd.org/changeset/ports/363061 QAT: https://qat.redports.org/buildarchive/r363061/ Log: stage emulators/tpm-emulator While here, simplify powerpc breakage, remove reference to BERLIOS PR: 191727 Submitted by: Dan Lukes Modified: head/emulators/tpm-emulator/Makefile Modified: head/emulators/tpm-emulator/Makefile ============================================================================== --- head/emulators/tpm-emulator/Makefile Sun Jul 27 13:04:21 2014 (r363060) +++ head/emulators/tpm-emulator/Makefile Sun Jul 27 13:28:00 2014 (r363061) @@ -4,7 +4,6 @@ PORTNAME= tpm-emulator PORTVERSION= 0.7.4 CATEGORIES= emulators security -#MASTER_SITES= BERLIOS MASTER_SITES= SF/${PORTNAME}.berlios DISTNAME= ${PORTNAME:S,-,_,}-${PORTVERSION} @@ -27,21 +26,13 @@ USERS= _tss GROUPS= _tss SUB_LIST= USERS="${USERS}" GROUPS="${GROUPS}" -NO_STAGE= yes -.include - -.if ${ARCH} == "powerpc" -BROKEN= Does not compile on powerpc -.endif +BROKEN_powerpc= Does not compile on powerpc post-install: - @${INSTALL} -d -o ${USERS} -g ${GROUPS} -m 0700 ${PREFIX}/var/db/tpm - @${INSTALL} -d -o ${USERS} -g ${GROUPS} -m 0700 /var/run/tpm - -add-plist-post: - @(${ECHO_CMD} "@cwd /"; \ - ${ECHO_CMD} "@unexec ${RMDIR} var/run/tpm 2>/dev/null || true"; \ - ${ECHO_CMD} "@exec ${INSTALL} -d -o ${USERS} -g ${GROUPS} -m 0700 var/run/tpm"; \ - ) >> ${TMPPLIST} + @${ECHO_CMD} "@exec ${INSTALL} -d -o ${USERS} -g ${GROUPS} -m 0700 /var/run/tpm" >> ${TMPPLIST} + @${MKDIR} ${STAGEDIR}/var/run/tpm + @${ECHO_CMD} "@dirrmtry /var/run/tpm" >> ${TMPPLIST} + @${ECHO_CMD} "@exec ${INSTALL} -d -o ${USERS} -g ${GROUPS} -m 0700 %D/var/db/tpm" >> ${TMPPLIST} + @${MKDIR} ${STAGEDIR}/${PREFIX}/var/db/tpm -.include +.include