| Index: dev-libs/opencryptoki/files/opencryptoki-2.2.8-remove_recursive_chmod.patch
|
| diff --git a/dev-libs/opencryptoki/files/opencryptoki-2.2.8-remove_recursive_chmod.patch b/dev-libs/opencryptoki/files/opencryptoki-2.2.8-remove_recursive_chmod.patch
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b95534aa00a5aff33ea36b50d04cd2225b017021
|
| --- /dev/null
|
| +++ b/dev-libs/opencryptoki/files/opencryptoki-2.2.8-remove_recursive_chmod.patch
|
| @@ -0,0 +1,21 @@
|
| +--- opencryptoki-2.2.8/usr/sbin/pkcs_slot/pkcs_slot.in.orig 2010-10-05 17:14:44.000000000 -0400
|
| ++++ opencryptoki-2.2.8/usr/sbin/pkcs_slot/pkcs_slot.in 2010-10-05 17:13:24.000000000 -0400
|
| +@@ -351,6 +351,9 @@
|
| + DEVICE=$1
|
| + DEPTH=$2
|
| +
|
| ++# Ensure that any directories created are group-accessible
|
| ++umask 002
|
| ++
|
| + # Check for the existance of the directories
|
| + if [ ! -d @DB_PATH@ ]
|
| + then
|
| +@@ -481,8 +484,4 @@
|
| + echo "TRUE|0|$SLOT_DESCRIPTION|$MANUFACTURER|TRUE|FALSE|TRUE|0|0|1|1|NONE|$TPM_DLL_FN|$TPM_INIT" >>$CFGFILE
|
| + fi
|
| +
|
| +-cd @DB_PATH@
|
| +-chmod -R g+wrx .
|
| +-
|
| +-
|
| + exit $OK
|
|
|