summary refs log tree commit diff
path: root/pkgs/tools/security/trousers/disable-install-rule.patch
blob: 698beac9ffde88e2851ad34afd893c170c7a07a2 (plain) (blame)
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
--- trousers-0.3.11/dist/Makefile.in	2013-08-14 06:49:37.597558787 +0200
+++ trousers-0.3.11/dist/Makefile.in	2013-08-14 06:50:07.134510774 +0200
@@ -363,16 +363,16 @@
 	uninstall uninstall-am uninstall-hook
 
 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
+#	echo if test ! -e ${DESTDIR}/@sysconfdir@/tcsd.conf; then mkdir -p ${DESTDIR}/@sysconfdir@ && cp tcsd.conf ${DESTDIR}/@sysconfdir@; fi
+	echo /bin/chown tss:tss ${DESTDIR}/@sysconfdir@/tcsd.conf || true
+	echo /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 /usr/sbin/groupadd tss || true
+	echo /usr/sbin/useradd -r tss -g tss || true
+	echo /bin/sh -c 'if [ ! -e ${DESTDIR}/@localstatedir@/lib/tpm ];then mkdir -p ${DESTDIR}/@localstatedir@/lib/tpm; fi'
+	echo /bin/chown tss:tss ${DESTDIR}/@localstatedir@/lib/tpm || true
+	echo /bin/chmod 0700 ${DESTDIR}/@localstatedir@/lib/tpm
 
 uninstall-hook:
 	/usr/sbin/userdel tss || true