aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2004-10-13 16:30:33 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2004-10-13 16:30:33 +0000
commite1df0b9b0bcf86f6b09f316711579de3bd2f111e (patch)
treeae6f27506f764201be3e1d02a144b483b8d6b829
parent349b4c9e1699c3448a4df3cd453727ff7c001d27 (diff)
downloadports-e1df0b9b0bcf86f6b09f316711579de3bd2f111e.tar.gz
ports-e1df0b9b0bcf86f6b09f316711579de3bd2f111e.zip
Notes
-rw-r--r--japanese/samba/Makefile1
-rw-r--r--japanese/samba/files/patch-smbd:vfs.c10
2 files changed, 11 insertions, 0 deletions
diff --git a/japanese/samba/Makefile b/japanese/samba/Makefile
index 0604fe89fd8c..1d412a819feb 100644
--- a/japanese/samba/Makefile
+++ b/japanese/samba/Makefile
@@ -7,6 +7,7 @@
PORTNAME= samba
PORTVERSION= ${SAMBA_VERSION}.j${SAMBA_JA_VERSION}
+PORTREVISION= 1
CATEGORIES= japanese net
MASTER_SITES= ftp://ftp.samba.gr.jp/pub/samba-jp/%SUBDIR%/ \
ftp://ftp.iij.ad.jp/pub/SAMBA/samba-jp/%SUBDIR%/ \
diff --git a/japanese/samba/files/patch-smbd:vfs.c b/japanese/samba/files/patch-smbd:vfs.c
new file mode 100644
index 000000000000..5faca1a0c2ee
--- /dev/null
+++ b/japanese/samba/files/patch-smbd:vfs.c
@@ -0,0 +1,10 @@
+--- smbd/vfs.c.orig Sat Oct 9 09:49:52 2004
++++ smbd/vfs.c Sat Oct 9 09:50:17 2004
+@@ -790,7 +790,6 @@
+ *dir2 = *wd = *base_name = *newname = 0;
+
+ if (widelinks) {
+- unix_clean_name(s);
+ /* can't have a leading .. */
+ if (strncmp(s,"..",2) == 0 && (s[2]==0 || s[2]=='/')) {
+ DEBUG(3,("Illegal file name? (%s)\n",s));