Fix rc script with _tss USER/GROUP.

[NOTE]
In this time, I don't bump PORTREVISION.  Because I'll
re-setup working directory under $PREFIX
(/var/lib/tpm -> $PREFIX/var/lib/tpm).  So I'll finish
these working, and bump PORTREVISION.
This commit is contained in:
Norikatsu Shigemura 2010-12-14 16:26:27 +00:00
parent e3603ffbc3
commit 2d76d7517b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266295
2 changed files with 7 additions and 2 deletions

View file

@ -34,6 +34,11 @@ CONFIGURE_WRKSRC= ${CMAKE_SOURCE_PATH}/build
CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
-DCMAKE_EXE_LINKER_FLAGS="-L${LOCALBASE}/lib"
SUB_LIST= USERS=${USERS} GROUPS=${GROUPS}
USERS= _tss
GROUPS= _tss
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/README

View file

@ -22,8 +22,8 @@ command="%%PREFIX%%/bin/${name}"
load_rc_config $name
tpmd_enable=${tpmd_enable-"NO"}
tpmd_user=${tpmd_user-"_tss"}
tpmd_group=${tpmd_group-"_tss"}
tpmd_user=${tpmd_user-"%%USERS%%"}
tpmd_group=${tpmd_group-"%%GROUPS%%"}
command_args="-o ${tpmd_user} -g ${tpmd_group}"
unset tpmd_user tpmd_group