SOURCES: trousers-nouser.patch (NEW) - no useradd/groupadd during ...
qboosh
qboosh at pld-linux.org
Sun Sep 2 21:29:14 CEST 2007
Author: qboosh Date: Sun Sep 2 19:29:14 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- no useradd/groupadd during build
---- Files affected:
SOURCES:
trousers-nouser.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/trousers-nouser.patch
diff -u /dev/null SOURCES/trousers-nouser.patch:1.1
--- /dev/null Sun Sep 2 21:29:14 2007
+++ SOURCES/trousers-nouser.patch Sun Sep 2 21:29:09 2007
@@ -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
================================================================
More information about the pld-cvs-commit
mailing list