]> git.pld-linux.org Git - packages/trousers.git/commitdiff
- no useradd/groupadd during build auto/th/trousers-0_3_0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 2 Sep 2007 19:29:09 +0000 (19:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    trousers-nouser.patch -> 1.1

trousers-nouser.patch [new file with mode: 0644]

diff --git a/trousers-nouser.patch b/trousers-nouser.patch
new file mode 100644 (file)
index 0000000..6b034d4
--- /dev/null
@@ -0,0 +1,20 @@
+--- trousers-0.3.0/dist/Makefile.am.orig       2006-09-28 00:13:06.000000000 +0200
++++ trousers-0.3.0/dist/Makefile.am    2007-09-02 20:52:45.041683824 +0200
+@@ -1,17 +1,8 @@
+ 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
+-      /bin/chmod 0600 ${DESTDIR}/@sysconfdir@/tcsd.conf
+ install-exec-hook:
+-      /usr/sbin/groupadd tss || true
+-      /usr/sbin/useradd -r tss -g tss || true
+-      /bin/chown tss:tss ${DESTDIR}/@sbindir@/tcsd
+       /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
+-      /bin/chmod 0700 ${DESTDIR}/@localstatedir@/lib/tpm
+ uninstall-hook:
+-      /usr/sbin/userdel tss
+-      /usr/sbin/groupdel tss
This page took 0.105717 seconds and 4 git commands to generate.