summaryrefslogtreecommitdiff
path: root/net/sharity-light
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-03-12 16:05:59 +0000
committerwiz <wiz@pkgsrc.org>2001-03-12 16:05:59 +0000
commit424b45bf07328d2130dca8b48c4582856ee13f01 (patch)
treefc3bf4c21ad2f443d0b417e823f251407bc0be59 /net/sharity-light
parentb60f740838538e36292135e44bd4e926255d7bbb (diff)
downloadpkgsrc-424b45bf07328d2130dca8b48c4582856ee13f01.tar.gz
Add patch provided by Jared McNeill in pkg/12387 which fixes deletion
of dotfiles on shares mounted by shlight.
Diffstat (limited to 'net/sharity-light')
-rw-r--r--net/sharity-light/files/patch-sum3
-rw-r--r--net/sharity-light/patches/patch-ac19
2 files changed, 21 insertions, 1 deletions
diff --git a/net/sharity-light/files/patch-sum b/net/sharity-light/files/patch-sum
index c0de54b4187..fa6528cab71 100644
--- a/net/sharity-light/files/patch-sum
+++ b/net/sharity-light/files/patch-sum
@@ -1,4 +1,5 @@
-$NetBSD: patch-sum,v 1.1.1.1 2001/03/09 16:09:36 wiz Exp $
+$NetBSD: patch-sum,v 1.2 2001/03/12 16:05:59 wiz Exp $
SHA1 (patch-aa) = 349384306807e8d0e16334a2d9a7e7e0002ef8d1
SHA1 (patch-ab) = 42c29cb072b38d887231f546a967ebd85b708048
+SHA1 (patch-ac) = 2087a294f04ff2cc4fc4edd1814807e6f01cd949
diff --git a/net/sharity-light/patches/patch-ac b/net/sharity-light/patches/patch-ac
new file mode 100644
index 00000000000..dbe1897cc7b
--- /dev/null
+++ b/net/sharity-light/patches/patch-ac
@@ -0,0 +1,19 @@
+$NetBSD: patch-ac,v 1.1 2001/03/12 16:06:00 wiz Exp $
+
+--- proc.c.orig Mon Nov 16 18:12:26 1998
++++ proc.c
+@@ -867,12 +867,13 @@
+ char *p;
+ char *buf = server->packet;
+ int result;
++ const word o_attr = aSYSTEM | aHIDDEN;
+
+ smb_lock_server(server);
+
+ retry:
+ p = smb_setup_header(server, SMBunlink, 1, 2 + len);
+- WSET(buf, smb_vwv0, 0);
++ WSET(buf, smb_vwv0, o_attr);
+ smb_encode_ascii(p, path, len);
+
+ if ((result = smb_request_ok(server, SMBunlink, 0, 0)) < 0) {