Date: Sun, 27 Jul 2014 13:28:01 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r363061 - head/emulators/tpm-emulator Message-ID: <201407271328.s6RDS1Uc006671@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk> - -.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 <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407271328.s6RDS1Uc006671>