aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2004-10-14 00:30:33 +0800
committernork <nork@FreeBSD.org>2004-10-14 00:30:33 +0800
commit2f4c06673034c2589ac912c1973875b388e56997 (patch)
treed3243f71185d3c9fb3b4a180b4fd880c7fe49b16
parentfbd0be02266b83d5a5f474e068c7cf1dab0ce9b9 (diff)
downloadfreebsd-ports-gnome-2f4c06673034c2589ac912c1973875b388e56997.tar.gz
freebsd-ports-gnome-2f4c06673034c2589ac912c1973875b388e56997.tar.zst
freebsd-ports-gnome-2f4c06673034c2589ac912c1973875b388e56997.zip
Oops, I forgot a new patch.
Pointed out by: NAKAJI Hiroyuki <nakaji@jp.freebsd.org> (maintainer) PR: ports/71581
-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));