summarylogtreecommitdiffstats
path: root/tss-user.patch
blob: 5cfdee6ae9bb14de0f3a45a76add24eb2d2853c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
--- trousers-0.3.8_ORG/dist/Makefile.am	2012-01-06 12:32:25.855832307 +0100
+++ trousers-0.3.8/dist/Makefile.am	2012-01-06 12:46:18.958344853 +0100
@@ -2,16 +2,9 @@
        fedora/fedora.initrd.tcsd
 install: install-exec-hook
 	if test ! -e ${DESTDIR}/@sysconfdir@/tcsd.conf; then mkdir -p ${DESTDIR}/@sysconfdir@ && cp tcsd.conf ${DESTDIR}/@sysconfdir@; fi
-	/bin/chown tss:tss ${DESTDIR}/@sysconfdir@/tcsd.conf || true
-	/bin/chmod 0600 ${DESTDIR}/@sysconfdir@/tcsd.conf
 
 install-exec-hook:
-	/usr/sbin/groupadd tss || true
-	/usr/sbin/useradd -r tss -g tss || true
-	/bin/sh -c 'if [ ! -e ${DESTDIR}/@localstatedir@/lib/tpm ];then mkdir -p ${DESTDIR}/@localstatedir@/lib/tpm; fi'
-	/bin/chown tss:tss ${DESTDIR}/@localstatedir@/lib/tpm || true
-	/bin/chmod 0700 ${DESTDIR}/@localstatedir@/lib/tpm
+	@echo "rule install-exec-hook skipped"
 
 uninstall-hook:
-	/usr/sbin/userdel tss || true
-	/usr/sbin/groupdel tss || true
+	@echo "rule uninstall-hook skipped"
--- trousers-0.3.8_ORG/dist/Makefile.in	2012-01-06 12:32:25.855832307 +0100
+++ trousers-0.3.8/dist/Makefile.in	2012-01-06 12:42:47.328535153 +0100
@@ -367,20 +367,11 @@
 
 install: install-exec-hook
 	if test ! -e ${DESTDIR}/@sysconfdir@/tcsd.conf; then mkdir -p ${DESTDIR}/@sysconfdir@ && cp tcsd.conf ${DESTDIR}/@sysconfdir@; fi
-	/bin/chown tss:tss ${DESTDIR}/@sysconfdir@/tcsd.conf || true
-	/bin/chmod 0600 ${DESTDIR}/@sysconfdir@/tcsd.conf
 
 install-exec-hook:
-	/usr/sbin/groupadd tss || true
-	/usr/sbin/useradd -r tss -g tss || true
-	/bin/sh -c 'if [ ! -e ${DESTDIR}/@localstatedir@/lib/tpm ];then mkdir -p ${DESTDIR}/@localstatedir@/lib/tpm; fi'
-	/bin/chown tss:tss ${DESTDIR}/@localstatedir@/lib/tpm || true
-	/bin/chmod 0700 ${DESTDIR}/@localstatedir@/lib/tpm
-
+	@echo "rule install-exec-hook skipped"
 uninstall-hook:
-	/usr/sbin/userdel tss || true
-	/usr/sbin/groupdel tss || true
-
+	@echo "rule uninstall-hook skipped"
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT: