]> git.pld-linux.org Git - packages/trousers.git/blob - trousers-nouser.patch
- no useradd/groupadd during build
[packages/trousers.git] / trousers-nouser.patch
1 --- trousers-0.3.0/dist/Makefile.am.orig        2006-09-28 00:13:06.000000000 +0200
2 +++ trousers-0.3.0/dist/Makefile.am     2007-09-02 20:52:45.041683824 +0200
3 @@ -1,17 +1,8 @@
4  
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
8 -       /bin/chmod 0600 ${DESTDIR}/@sysconfdir@/tcsd.conf
9  
10  install-exec-hook:
11 -       /usr/sbin/groupadd tss || true
12 -       /usr/sbin/useradd -r tss -g tss || true
13 -       /bin/chown tss:tss ${DESTDIR}/@sbindir@/tcsd
14         /bin/sh -c 'if [ ! -e ${DESTDIR}/@localstatedir@/lib/tpm ];then mkdir -p ${DESTDIR}/@localstatedir@/lib/tpm; fi'
15 -       /bin/chown tss:tss ${DESTDIR}/@localstatedir@/lib/tpm
16 -       /bin/chmod 0700 ${DESTDIR}/@localstatedir@/lib/tpm
17  
18  uninstall-hook:
19 -       /usr/sbin/userdel tss
20 -       /usr/sbin/groupdel tss
This page took 0.051495 seconds and 3 git commands to generate.