@comment PKG_FORMAT_REVISION:1.1
@name tpm-emulator-0.7.4_2
@comment ORIGIN:emulators/tpm-emulator
@cwd /usr/local
@pkgdep indexinfo-0.2.4
@comment DEPORIGIN:print/indexinfo
@pkgdep gmp-6.2.0
@comment DEPORIGIN:math/gmp
@conflicts trousers-tddl-[0-9]*
@exec echo "===> Creating users and/or groups."
@exec if ! /usr/sbin/pw groupshow _tss >/dev/null 2>&1; then  echo "Creating group '_tss' with gid '601'.";  /usr/sbin/pw groupadd _tss -g 601; else echo "Using existing group '_tss'."; fi
@exec if ! /usr/sbin/pw usershow _tss >/dev/null 2>&1; then  echo "Creating user '_tss' with uid '601'.";  /usr/sbin/pw useradd _tss -u 601 -g 601 -L daemon -c "TrouSerS user" -d /var/empty -s /usr/sbin/nologin;  /usr/sbin/pwd_mkdb /etc/master.passwd ; /usr/sbin/pwd_mkdb -p /etc/master.passwd ; /bin/sleep 1;  else echo "Using existing user '_tss'."; fi
@owner root
@group wheel
bin/tpmd
@comment MD5:3e233c93067f660f2519297d45f6203e
include/tddl.h
@comment MD5:f3dc7305531465e0e11ebc929b6cfb42
lib/tddl_emu/libtddl.a
@comment MD5:e99c26cc8488fbc494b1d6a5ad82cfa9
lib/tddl_emu/libtddl.so
@comment MD5:914c099c8ade2ef18c1b093cb7cd5b49
lib/tddl_emu/libtddl.so.1
@comment MD5:13aeeb8f2f15b3e44c772a2845615916
lib/tddl_emu/libtddl.so.1.2.0.7
@comment MD5:6ea62aa6e7a6477adc47552c570dd38d
@comment begin @dir(_tss,_tss,0700) var/db/tpm
@comment target_perms=_tss,_tss,0700 |@dir(_tss,_tss,0700)|
@unexec rmdir "%D/var/db/tpm" 2>/dev/null || true
@exec mkdir -p "%D/var/db/tpm" 2>/dev/null || true
@exec chown _tss "%D/var/db/tpm"
@exec chgrp _tss "%D/var/db/tpm"
@exec chmod 0700 "%D/var/db/tpm"
@comment end @dir(_tss,_tss,0700) var/db/tpm
@comment begin @dir(_tss,_tss,0700) /var/run/tpm
@comment target_perms=_tss,_tss,0700 |@dir(_tss,_tss,0700)|
@unexec rmdir "/var/run/tpm" 2>/dev/null || true
@exec mkdir -p "/var/run/tpm" 2>/dev/null || true
@exec chown _tss "/var/run/tpm"
@exec chgrp _tss "/var/run/tpm"
@exec chmod 0700 "/var/run/tpm"
@comment end @dir(_tss,_tss,0700) /var/run/tpm
@exec /sbin/ldconfig -m /usr/local/lib
@unexec /sbin/ldconfig -R
@unexec if /usr/sbin/pw usershow _tss >/dev/null 2>&1; then  echo "==> You should manually remove the \"_tss\" user. "; fi
@unexec if /usr/sbin/pw groupshow _tss >/dev/null 2>&1; then  echo "==> You should manually remove the \"_tss\" group"; fi
@owner root
@group wheel
@cwd /usr/local
@comment begin @dirrm share/licenses/tpm-emulator-0.7.4_2
@unexec rmdir "%D/share/licenses/tpm-emulator-0.7.4_2" 2>/dev/null || true
@comment end @dirrm share/licenses/tpm-emulator-0.7.4_2
@unexec rmdir %D/share/licenses 2>/dev/null || true
@comment OPTIONS:
@cwd /
usr/local/share/licenses/tpm-emulator-0.7.4_2/catalog.mk
@comment MD5:d50b44394346ef628eb41abc9ceab486
usr/local/share/licenses/tpm-emulator-0.7.4_2/LICENSE
@comment MD5:7c8bc065d0f852d117a249dd54579660
usr/local/share/licenses/tpm-emulator-0.7.4_2/GPLv2
@comment MD5:b234ee4d69f5fce4486a80fdaf4a4263
usr/local/etc/rc.d/tpmd
@comment MD5:89cecee5c508d4309cfde18e1eb84dfc
@ignore
+COMMENT
@comment MD5:3efbdd61b1c6af79cb15508add1d1f2d
@ignore
+DESC
@comment MD5:8dfb8d0f72e31567d7015f88982ce710
@ignore
+MTREE_DIRS
@comment MD5:46bc19728a6e08fd74aa310fcae3dc98
@mtree +MTREE_DIRS
