summaryrefslogtreecommitdiff
path: root/net/ja-samba
diff options
context:
space:
mode:
Diffstat (limited to 'net/ja-samba')
-rw-r--r--net/ja-samba/Makefile4
-rw-r--r--net/ja-samba/distinfo3
-rw-r--r--net/ja-samba/patches/patch-bb23
3 files changed, 27 insertions, 3 deletions
diff --git a/net/ja-samba/Makefile b/net/ja-samba/Makefile
index f47f642e64c..7a605e00f62 100644
--- a/net/ja-samba/Makefile
+++ b/net/ja-samba/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.11 2003/04/07 18:10:07 taca Exp $
+# $NetBSD: Makefile,v 1.12 2003/04/08 03:39:13 taca Exp $
.include "Makefile.common"
PKGNAME= ja-samba-${SAMBA_BASE_VERS:S/a/.1/}.${SAMBA_JA_VERS}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MAINTAINER= tech-pkg-ja@jp.netbsd.org
diff --git a/net/ja-samba/distinfo b/net/ja-samba/distinfo
index 798cb8a188b..0b558c531e5 100644
--- a/net/ja-samba/distinfo
+++ b/net/ja-samba/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2003/04/07 18:10:07 taca Exp $
+$NetBSD: distinfo,v 1.8 2003/04/08 03:39:13 taca Exp $
SHA1 (samba-2.2.7a-ja-1.1.tar.bz2) = 7555ad9055a5c2e19f7506138713ade174d26816
Size (samba-2.2.7a-ja-1.1.tar.bz2) = 7307743 bytes
@@ -18,3 +18,4 @@ SHA1 (patch-ar) = 1974317b2be6689df6d0ad06138fa5a28dfaf99f
SHA1 (patch-as) = 3aa4e0d7f254d2302940b4b6540b4e1b96582b2b
SHA1 (patch-at) = 1b4215e00c243eb21d009ef13896371eecacf5c3
SHA1 (patch-au) = ad02a1175a5aeb2e6a8f65b280df0e550d557970
+SHA1 (patch-bb) = 86475e740b3b9d903929f678aa9f274d5a64b78a
diff --git a/net/ja-samba/patches/patch-bb b/net/ja-samba/patches/patch-bb
new file mode 100644
index 00000000000..36952d67e82
--- /dev/null
+++ b/net/ja-samba/patches/patch-bb
@@ -0,0 +1,23 @@
+$NetBSD: patch-bb,v 1.3 2003/04/08 03:39:14 taca Exp $
+
+--- smbd/trans2.c.orig 2003-03-17 13:17:56.000000000 +0900
++++ smbd/trans2.c
+@@ -217,7 +217,6 @@ static int call_trans2open(connection_st
+ int16 open_ofun;
+ int32 open_size;
+ char *pname;
+- int16 namelen;
+
+ pstring fname;
+ mode_t unixmode;
+@@ -247,9 +246,8 @@ static int call_trans2open(connection_st
+ open_ofun = SVAL(params,12);
+ open_size = IVAL(params,14);
+ pname = &params[28];
+- namelen = strlen(pname)+1;
+
+- StrnCpy(fname,pname,namelen);
++ pstrcpy(fname,pname);
+ if (strchr(fname,'?'))
+ return(ERROR_DOS(ERRDOS,ERRinvalidname));
+