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