aboutsummaryrefslogtreecommitdiff
path: root/net/misc/monkeysphere/monkeysphere-0.24.diff
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2009-06-29 01:52:56 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2009-06-29 01:52:56 +0000
commit3fa16f38206f91e182b4dd17c51453522aec669e (patch)
treee40a0ec5072250b8b6b2fef4a5ae2d3731a17e43 /net/misc/monkeysphere/monkeysphere-0.24.diff
parent3a795b592e4e9a684d62c8b6a151a2429840dab6 (diff)
downloadslackbuilds-3fa16f38206f91e182b4dd17c51453522aec669e.tar.gz
slackbuilds-3fa16f38206f91e182b4dd17c51453522aec669e.tar.bz2
monkeysphere: adding patch for symlink deference on permission/ownership test
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@2224 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'net/misc/monkeysphere/monkeysphere-0.24.diff')
-rw-r--r--net/misc/monkeysphere/monkeysphere-0.24.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/misc/monkeysphere/monkeysphere-0.24.diff b/net/misc/monkeysphere/monkeysphere-0.24.diff
new file mode 100644
index 00000000..f7be544a
--- /dev/null
+++ b/net/misc/monkeysphere/monkeysphere-0.24.diff
@@ -0,0 +1,15 @@
+diff -Naur monkeysphere-0.24.orig/src/share/common monkeysphere-0.24/src/share/common
+--- monkeysphere-0.24.orig/src/share/common 2009-03-03 14:02:00.000000000 -0300
++++ monkeysphere-0.24/src/share/common 2009-06-28 22:39:37.000000000 -0300
+@@ -415,6 +415,11 @@
+ uname="$1"
+ path="$2"
+
++ # rewrite path if it points to a symlink
++ if [ -h "$path" ] ; then
++ path="`readlink $path`"
++ fi
++
+ log debug "checking path permission '$path'..."
+
+ # return 255 if cannot stat file