diff options
author | taca <taca> | 2002-06-28 17:13:59 +0000 |
---|---|---|
committer | taca <taca> | 2002-06-28 17:13:59 +0000 |
commit | ba292bfb47aa41d4a9b82b923a8944cd1b3dc835 (patch) | |
tree | adcb267deb1a53a67ca33425ecafcff8fb2fe555 | |
parent | 47cc40e9936b7cbf6aa44e8c041988e5d9ec61f2 (diff) | |
download | pkgsrc-ba292bfb47aa41d4a9b82b923a8944cd1b3dc835.tar.gz |
- Add two additional fix about localization.
- bump package revision.
-rw-r--r-- | net/ja-samba/Makefile | 3 | ||||
-rw-r--r-- | net/ja-samba/distinfo | 4 | ||||
-rw-r--r-- | net/ja-samba/patches/patch-bb | 15 | ||||
-rw-r--r-- | net/ja-samba/patches/patch-bc | 21 |
4 files changed, 41 insertions, 2 deletions
diff --git a/net/ja-samba/Makefile b/net/ja-samba/Makefile index f8c0011ae04..1b2f30cbcd5 100644 --- a/net/ja-samba/Makefile +++ b/net/ja-samba/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2002/06/25 23:22:13 jlam Exp $ +# $NetBSD: Makefile,v 1.3 2002/06/28 17:13:59 taca Exp $ DISTNAME= samba-2.2.2-ja-1.1 PKGNAME= ja-samba-2.2.2.1.1 +PKGREVISION= 1 WRKSRC= ${WRKDIR}/${DISTNAME}/source CATEGORIES= net MASTER_SITES= ftp://ftp.samba.gr.jp/pub/samba-jp/samba-2.2.2-ja/ \ diff --git a/net/ja-samba/distinfo b/net/ja-samba/distinfo index 11542c561c4..a25adc74bae 100644 --- a/net/ja-samba/distinfo +++ b/net/ja-samba/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2002/06/25 23:22:13 jlam Exp $ +$NetBSD: distinfo,v 1.3 2002/06/28 17:13:59 taca Exp $ SHA1 (samba-2.2.2-ja-1.1.tar.bz2) = e443b3b99db850f4b2f0ca6a829752711cabb87b Size (samba-2.2.2-ja-1.1.tar.bz2) = 7154111 bytes @@ -17,3 +17,5 @@ SHA1 (patch-al) = e7caad8f6743537469866f9b47b0044ec95852ad SHA1 (patch-am) = 92aa5e122529a30e05199cbe26620b3ac01adbc5 SHA1 (patch-an) = 55c7f9785c19d84b8ad74bbf0827162b156e2327 SHA1 (patch-ba) = 5d99806e0cb3ddf2d30e09cf414cf7651a1b6455 +SHA1 (patch-bb) = df50bb4ca65693f54e6082693afd3a3867826427 +SHA1 (patch-bc) = 0102830482ed9f0a2b2f2da3f78768bd36f779e3 diff --git a/net/ja-samba/patches/patch-bb b/net/ja-samba/patches/patch-bb new file mode 100644 index 00000000000..21588e244c6 --- /dev/null +++ b/net/ja-samba/patches/patch-bb @@ -0,0 +1,15 @@ +$NetBSD: patch-bb,v 1.1 2002/06/28 17:14:00 taca Exp $ + +--- smbd/trans2.c.orig Fri Nov 9 18:27:43 2001 ++++ smbd/trans2.c +@@ -300,8 +300,8 @@ + static BOOL exact_match(char *str,char *mask, BOOL case_sig) + { + if (mask[0] == '.' && mask[1] == 0) return False; +- if (case_sig) return strcmp(str,mask)==0; +- return strcasecmp(str,mask) == 0; ++ if (case_sig) return StrCmp(str,mask)==0; ++ return StrCaseCmp(str,mask) == 0; + } + + /**************************************************************************** diff --git a/net/ja-samba/patches/patch-bc b/net/ja-samba/patches/patch-bc new file mode 100644 index 00000000000..8b50384334a --- /dev/null +++ b/net/ja-samba/patches/patch-bc @@ -0,0 +1,21 @@ +$NetBSD: patch-bc,v 1.1 2002/06/28 17:14:00 taca Exp $ + +--- utils/status.c.orig Fri Nov 9 18:27:58 2001 ++++ utils/status.c +@@ -513,6 +513,7 @@ + struct session_record *ptr; + struct connections_data crec; + pstring unixname; ++ pstring unixcrecname; + + if (dbuf.dsize != sizeof(crec)) + return 0; +@@ -555,7 +556,7 @@ + add a sort at some time */ + } else { + printf("%-10.10s %-8s %-8s %5d %-8s (%s) %s", +- crec.name, ++ dos_to_unix( unixcrecname, crec.name ), + dos_to_unix(unixname, uidtoname(crec.uid)), + gidtoname(crec.gid),(int)crec.pid, + crec.machine,crec.addr, |