updated on Fri Jan 6 08:01:17 UTC 2012
[aur-mirror.git] / trousers / tss-user.patch
blob98a26c19a40e2225aad947d9907e5cc72ab41822
1 --- trousers-0.3.7-orig/dist/Makefile.am 2010-01-28 22:47:32.000000000 +0100
2 +++ trousers-0.3.7/dist/Makefile.am 2010-02-01 15:24:24.782825558 +0100
3 @@ -2,15 +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 diff -aburN trousers-0.3.4-orig/dist/Makefile.in trousers-0.3.4/dist/Makefile.in
21 --- trousers-0.3.7-orig/dist/Makefile.in 2010-01-28 22:56:44.000000000 +0100
22 +++ trousers-0.3.7/dist/Makefile.in 2010-02-01 15:24:59.142799178 +0100
23 @@ -364,15 +364,9 @@
25 install: install-exec-hook
26 if test ! -e ${DESTDIR}/@sysconfdir@/tcsd.conf; then mkdir -p ${DESTDIR}/@sysconfdir@ && cp tcsd.conf ${DESTDIR}/@sysconfdir@; fi
27 - /bin/chown tss:tss ${DESTDIR}/@sysconfdir@/tcsd.conf || true
28 - /bin/chmod 0600 ${DESTDIR}/@sysconfdir@/tcsd.conf
30 install-exec-hook:
31 - /usr/sbin/groupadd tss || true
32 - /usr/sbin/useradd -r tss -g tss || true
33 - /bin/sh -c 'if [ ! -e ${DESTDIR}/@localstatedir@/lib/tpm ];then mkdir -p ${DESTDIR}/@localstatedir@/lib/tpm; fi'
34 - /bin/chown tss:tss ${DESTDIR}/@localstatedir@/lib/tpm || true
35 - /bin/chmod 0700 ${DESTDIR}/@localstatedir@/lib/tpm
36 + @echo "rule install-exec-hook skipped"
38 uninstall-hook:
39 /usr/sbin/userdel tss || true