Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 95764
Collapse All | Expand All

(-)trousers-0.1.11.orig/dist/Makefile.am (-3 / +3 lines)
Lines 12-20 Link Here
12
	/usr/sbin/groupadd tss || true
12
	/usr/sbin/groupadd tss || true
13
	/usr/sbin/useradd -r tss -g tss || true
13
	/usr/sbin/useradd -r tss -g tss || true
14
	/bin/chown tss:tss ${DESTDIR}/@sbindir@/tcsd
14
	/bin/chown tss:tss ${DESTDIR}/@sbindir@/tcsd
15
	/bin/sh -c 'if [ ! -e ${DESTDIR}/@localstatedir@/lib/tpm ];then mkdir -p ${DESTDIR}/@localstatedir@/lib/tpm; fi'
15
	/bin/sh -c 'if [ ! -e ${DESTDIR}/@localstatedir@/state/lib/tpm ];then mkdir -p ${DESTDIR}/@localstatedir@/lib/tpm; fi'
16
	/bin/chown tss:tss ${DESTDIR}/@localstatedir@/lib/tpm
16
	/bin/chown tss:tss ${DESTDIR}/@localstatedir@/state/lib/tpm
17
	/bin/chmod 1777 ${DESTDIR}/@localstatedir@/lib/tpm
17
	/bin/chmod 1777 ${DESTDIR}/@localstatedir@/state/lib/tpm
18
18
19
uninstall-hook:
19
uninstall-hook:
20
	/usr/sbin/userdel tss
20
	/usr/sbin/userdel tss
(-)trousers-0.1.11.orig/dist/tcsd.conf.in (-1 / +1 lines)
Lines 26-32 Link Here
26
# Values: Any absolute directory path
26
# Values: Any absolute directory path
27
# Description: Path where the tcsd creates its persistent storage file.
27
# Description: Path where the tcsd creates its persistent storage file.
28
#
28
#
29
# system_ps_file = @localstatedir@/tpm/system.data
29
# system_ps_file = @localstatedir@/state/tpm/system.data
30
#
30
#
31
31
32
# Option: firmware_log_file
32
# Option: firmware_log_file
(-)trousers-0.1.11.orig/src/tcs/Makefile.am (-1 / +1 lines)
Lines 1-7 Link Here
1
noinst_LIBRARIES=libtcs.a
1
noinst_LIBRARIES=libtcs.a
2
2
3
AM_OBJS=atmel.o cache.o cxt.o tcscm.o tcsem.o imaem.o tcskcm.o tcspbg.o tcs_utils.o log.o ps/ps_utils.o ps/tcsps.o req_mgr.o auth_mgr.o
3
AM_OBJS=atmel.o cache.o cxt.o tcscm.o tcsem.o imaem.o tcskcm.o tcspbg.o tcs_utils.o log.o ps/ps_utils.o ps/tcsps.o req_mgr.o auth_mgr.o
4
AM_CFLAGS=-DAPPID=\"TCS\" -DVAR_PREFIX=\"@localstatedir@\" -DETC_PREFIX=\"@sysconfdir@\"
4
AM_CFLAGS=-DAPPID=\"TCS\" -DVAR_PREFIX=\"@localstatedir@/state\" -DETC_PREFIX=\"@sysconfdir@\"
5
5
6
.c.o:
6
.c.o:
7
	$(CC) $(CFLAGS) $(AM_CFLAGS) -c -o $@ $<
7
	$(CC) $(CFLAGS) $(AM_CFLAGS) -c -o $@ $<
(-)trousers-0.1.11.orig/src/tcsd/Makefile.am (-1 / +1 lines)
Lines 1-5 Link Here
1
sbin_PROGRAMS=tcsd
1
sbin_PROGRAMS=tcsd
2
2
3
tcsd_SOURCES=svrside.c tcsd_wrap.c tcsd_conf.c tcsd_threads.c platform.c
3
tcsd_SOURCES=svrside.c tcsd_wrap.c tcsd_conf.c tcsd_threads.c platform.c
4
tcsd_CFLAGS=-DAPPID=\"TCSD\" -DVAR_PREFIX=\"@localstatedir@\" -DETC_PREFIX=\"@sysconfdir@\"
4
tcsd_CFLAGS=-DAPPID=\"TCSD\" -DVAR_PREFIX=\"@localstatedir@/state\" -DETC_PREFIX=\"@sysconfdir@\"
5
tcsd_LDFLAGS=../tcs/libtcs.a ../tddl/libtddl.a -lpthread
5
tcsd_LDFLAGS=../tcs/libtcs.a ../tddl/libtddl.a -lpthread
(-)trousers-0.1.11.orig/src/tspi/Makefile.am (-1 / +1 lines)
Lines 19-25 Link Here
19
19
20
libtspi_la_LDFLAGS=-version-info 0:0:0 -lcrypto -lpthread
20
libtspi_la_LDFLAGS=-version-info 0:0:0 -lcrypto -lpthread
21
21
22
libtspi_la_CFLAGS=-I../include -DAPPID=\"TSPI\" -DVAR_PREFIX=\"@localstatedir@\" -DETC_PREFIX=\"@sysconfdir@\"
22
libtspi_la_CFLAGS=-I../include -DAPPID=\"TSPI\" -DVAR_PREFIX=\"@localstatedir@/state\" -DETC_PREFIX=\"@sysconfdir@\"
23
libtspi_la_SOURCES=ConvertLib.c obj.c spi_context.c spi_getset.c spi_key.c spi_policy.c spi_utils.c keyreg.c memmgr.c secrets.c spi_data.c spi_hash.c spi_pcr.c spi_tpm.c ../tcsd_api/calltcsapi.c ../tcsd_api/tcstp.c ../tcsd_api/hosttable.c ../tcsd_api/clntside.c ps/tspps.c ps/ps_utils.c log.c
23
libtspi_la_SOURCES=ConvertLib.c obj.c spi_context.c spi_getset.c spi_key.c spi_policy.c spi_utils.c keyreg.c memmgr.c secrets.c spi_data.c spi_hash.c spi_pcr.c spi_tpm.c ../tcsd_api/calltcsapi.c ../tcsd_api/tcstp.c ../tcsd_api/hosttable.c ../tcsd_api/clntside.c ps/tspps.c ps/ps_utils.c log.c
24
24
25
if HAVE_GTK
25
if HAVE_GTK

Return to bug 95764