head	1.4;
access;
symbols
	pkgsrc-2013Q2:1.4.0.48
	pkgsrc-2013Q2-base:1.4
	pkgsrc-2012Q4:1.4.0.46
	pkgsrc-2012Q4-base:1.4
	pkgsrc-2011Q4:1.4.0.44
	pkgsrc-2011Q4-base:1.4
	pkgsrc-2011Q2:1.4.0.42
	pkgsrc-2011Q2-base:1.4
	pkgsrc-2009Q4:1.4.0.40
	pkgsrc-2009Q4-base:1.4
	pkgsrc-2008Q4:1.4.0.38
	pkgsrc-2008Q4-base:1.4
	pkgsrc-2008Q3:1.4.0.36
	pkgsrc-2008Q3-base:1.4
	cube-native-xorg:1.4.0.34
	cube-native-xorg-base:1.4
	pkgsrc-2008Q2:1.4.0.32
	pkgsrc-2008Q2-base:1.4
	pkgsrc-2008Q1:1.4.0.30
	pkgsrc-2008Q1-base:1.4
	pkgsrc-2007Q4:1.4.0.28
	pkgsrc-2007Q4-base:1.4
	pkgsrc-2007Q3:1.4.0.26
	pkgsrc-2007Q3-base:1.4
	pkgsrc-2007Q2:1.4.0.24
	pkgsrc-2007Q2-base:1.4
	pkgsrc-2007Q1:1.4.0.22
	pkgsrc-2007Q1-base:1.4
	pkgsrc-2006Q4:1.4.0.20
	pkgsrc-2006Q4-base:1.4
	pkgsrc-2006Q3:1.4.0.18
	pkgsrc-2006Q3-base:1.4
	pkgsrc-2006Q2:1.4.0.16
	pkgsrc-2006Q2-base:1.4
	pkgsrc-2006Q1:1.4.0.14
	pkgsrc-2006Q1-base:1.4
	pkgsrc-2005Q4:1.4.0.12
	pkgsrc-2005Q4-base:1.4
	pkgsrc-2005Q3:1.4.0.10
	pkgsrc-2005Q3-base:1.4
	pkgsrc-2005Q2:1.4.0.8
	pkgsrc-2005Q2-base:1.4
	pkgsrc-2005Q1:1.4.0.6
	pkgsrc-2005Q1-base:1.4
	pkgsrc-2004Q4:1.4.0.4
	pkgsrc-2004Q4-base:1.4
	pkgsrc-2004Q3:1.4.0.2
	pkgsrc-2004Q3-base:1.4
	pkgsrc-2004Q2:1.2.0.6
	pkgsrc-2004Q2-base:1.2
	pkgsrc-2004Q1:1.2.0.4
	pkgsrc-2004Q1-base:1.2
	pkgsrc-2003Q4:1.2.0.2
	pkgsrc-2003Q4-base:1.2
	netbsd-1-6-1:1.1.0.4
	netbsd-1-6-1-base:1.1
	netbsd-1-6:1.1.0.6
	netbsd-1-6-RELEASE-base:1.1
	pkgviews:1.1.0.2
	pkgviews-base:1.1;
locks; strict;
comment	@# @;


1.4
date	2004.08.17.17.32.44;	author taca;	state dead;
branches;
next	1.3;

1.3
date	2004.07.23.16.45.43;	author taca;	state Exp;
branches;
next	1.2;

1.2
date	2003.03.29.08.18.53;	author taca;	state dead;
branches;
next	1.1;

1.1
date	2002.07.07.14.36.48;	author taca;	state Exp;
branches
	1.1.4.1;
next	;

1.1.4.1
date	2003.04.20.12.29.15;	author grant;	state dead;
branches;
next	;


desc
@@


1.4
log
@Update ja-samba package to 2.2.10.1.0 (samba-2.2.10-a-1.0).

Changes from 2.2.9.1.0 is a fix for CAN-2004-0686 included in samba 2.2.10
though it is already applied by ja-samba-2.2.9.1.0nb1 package.

This pkgsrc also contains a fix by Samba 2.2.11; smbd crash problem
by Windos XP SP2 client.
@
text
@$NetBSD: patch-bd,v 1.3 2004/07/23 16:45:43 taca Exp $

--- smbd/mangle.c.orig	2003-05-20 11:17:18.000000000 +0900
+++ smbd/mangle.c
@@@@ -97,9 +97,9 @@@@ BOOL mangle_is_8_3_wildcards(const char 
   looking for a matching name if it doesn't. It should succeed most of the time
   or there will be a huge performance penalty
 */
-BOOL mangle_check_cache(char *s)
+BOOL mangle_check_cache(char *s, size_t maxlen)
 {
-	return mangle_fns->check_cache(s);
+	return mangle_fns->check_cache(s, maxlen);
 }
 
 /* 
@


1.3
log
@- Fix the problem that swat authentication always fail.  Noted by
  MORI Kouji on tech-pkg-ja mailing list.
- merge security fix related change between samba 2.2.9 and 2.2.10.
  See http://www.samba.org/samba/whatsnew/samba-2.2.10.html or
  http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0686.

Bump package revision.
@
text
@d1 1
a1 1
$NetBSD$
@


1.2
log
@Update ja-samba package to ja-samba-2.2.7.1.1.1 (samba 2.2.7a-1.1).
This contains security problem solved by samba 2.2.8.

pkgsrc changes:

o pkgsrc organization changesd as samba package.
o note explicitly security problem fixed by samba 2.2.8.
o remove own quota support patch.

Changes from ja-samba-2.2.4.1.0 package:


              Changelog of Samba2.2 Japanese Edition

                                                    Samba Users Group Japan

   Here is the fix list of Samba2.2 Japanese Edition.
   The sign of each line means:

   *: Fix of Samba Japanese Edition only
   x: Fix of sending a patch to Samba Team
   c: Fix of being commited a patch by Samba Team

samba-2.2.7a-ja-1.1
~~~~~~~~~~~~~~~~~~~
   Changes to the original version
      c Fixed two security problems which is fixed at samba 2.2.8
                                                          [sugj-tech:5211]

samba-2.2.7a-ja-1.0beta1
~~~~~~~~~~~~~~~~~~~~~~~
   Changes to the internationalized version
      * Fixed build problem when gettext 0.11.x installed [sugj-tech:5177]
      * Fixed memory leak of winbindd                     [sugj-tech:5152]
      * Added 'ldap referrals' parameter                  [sugj-tech:5124]
      * Fixed parameter of 'printing' was set on FreeBSD  [sugj-tech:5155]
      * Fixed reseting parameters of smbd and nmbd by SIGHUP
                                                          [sugj-tech:5160]
      * Fixed setting change of the 'printing' parameter works together
        with print-related parameters                     [sugj-tech:5155]
      * Fixed error message when old getgroups() is used  [sugj-tech:5166]
      * Fixed warning message when leap second is set     [sugj-tech:5166]
      * Fixed altname command of smbclient                [sugj-tech:5019]
      * Fixed close share command of smbcontrol with Japanese
                                                          [sugj-tech:5014]
      * Fixed compile problem on Tru64 UNIX               [sugj-tech:5033]
      * Fixed compile problem of tdb directory            [sugj-tech:5033]
      * Fixed to enable domain logon to Japanese domain name
                                                          [sugj-tech:5043]
      * Fixed smbspool command with Japanese              [sugj-tech:5048,5112]
      * Fixed recycle.c of VFS module                     [samba-jp:13590]
      * Fixed memory allocation of make_printerdef        [sugj-tech:5106]
      * Fixed compile problem before FreeBSD 2.2.8        [sugj-tech:5112]
      * Fixed querydispinfo command of rpcclient          [sugj-tech:5112]
      * Fixed rpcclient for Japanese resource             [sugj-tech:5112]
      * Changed option of client tools from '-t' to '-T'  [sugj-tech:5077]
      * Update smbchartool and removed jcode.pl           [sugj-tech:5091]
      * Fixed encoding when using euc3 coding system      [sugj-tech:5122]

samba-2.2.5-ja-1.0beta3
~~~~~~~~~~~~~~~~~~~~~~~
   Changes to the internationalized version
      * Added %j macro which means printing job name       [sugj-tech:4998]

   Changes to the original version
      * Fixed counting characters of unistr_to_dos()       [sugj-tech:5004]
      * Fixed compile problem with --with-quotas on NetBSD [sugj-tech:4965]
@
text
@d1 1
a1 1
$NetBSD: patch-bd,v 1.1 2002/07/07 14:36:48 taca Exp $
d3 12
a14 3
--- smbd/quotas.c.orig	Fri Jun  7 20:09:06 2002
+++ smbd/quotas.c
@@@@ -855,7 +855,7 @@@@
d16 1
a16 63
 #else
 
-#if    defined(__FreeBSD__) || defined(__OpenBSD__)
+#if    defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
 #include <ufs/ufs/quota.h>
 #include <machine/param.h>
 #elif         AIX
@@@@ -865,7 +865,7 @@@@
 #define dqb_curfiles dqb_curinodes
 #define dqb_fhardlimit dqb_ihardlimit
 #define dqb_fsoftlimit dqb_isoftlimit
-#else /* !__FreeBSD__ && !AIX && !__OpenBSD__ */
+#else /* !__FreeBSD__ && !AIX && !__OpenBSD__ && !__NetBSD__ */
 #include <sys/quota.h>
 #include <devnm.h>
 #endif
@@@@ -879,7 +879,7 @@@@
   int r;
   struct dqblk D;
   uid_t euser_id;
-#if !defined(__FreeBSD__) && !defined(AIX) && !defined(__OpenBSD__)
+#if !defined(__FreeBSD__) && !defined(AIX) && !defined(__OpenBSD__) && !defined(__NetBSD__)
   char dev_disk[256];
   SMB_STRUCT_STAT S;
   /* find the block device file */
@@@@ -898,7 +898,7 @@@@
 
   restore_re_uid();
 #else 
-#if defined(__FreeBSD__) || defined(__OpenBSD__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
   {
     /* FreeBSD patches from Marty Moll <martym@@arbor.edu> */
     gid_t egrp_id;
@@@@ -923,15 +923,15 @@@@
   r= quotactl(path,QCMD(Q_GETQUOTA,USRQUOTA),euser_id,(char *) &D);
 #else /* !__FreeBSD__ && !AIX && !__OpenBSD__ */
   r=quotactl(Q_GETQUOTA, dev_disk, euser_id, &D);
-#endif /* !__FreeBSD__ && !AIX && !__OpenBSD__ */
+#endif /* !__FreeBSD__ && !AIX && !__OpenBSD__ && !__NetBSD__ */
 #endif /* HPUX */
 
   /* Use softlimit to determine disk space, except when it has been exceeded */
-#if defined(__FreeBSD__) || defined(__OpenBSD__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
   *bsize = DEV_BSIZE;
-#else /* !__FreeBSD__ && !__OpenBSD__ */
+#else /* !__FreeBSD__ && !__OpenBSD__ && !__NetBSD__ */
   *bsize = 1024;
-#endif /*!__FreeBSD__ && !__OpenBSD__ */
+#endif /*!__FreeBSD__ && !__OpenBSD__ && !__NetBSD__ */
 
   if (r)
     {
@@@@ -954,7 +954,7 @@@@
     return(False);
   /* Use softlimit to determine disk space, except when it has been exceeded */
   if ((D.dqb_curblocks>D.dqb_bsoftlimit)
-#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
 ||((D.dqb_curfiles>D.dqb_fsoftlimit) && (D.dqb_fsoftlimit != 0))
 #endif
     ) {
@


1.1
log
@Update ja-samba package to 2.2.4.1.0 (samba-ja 2.2.4-ja-1.0).

This is localized message based on samba 2.2.4.  Its own feature:

- Localized winbind support (though winbind isn't supported on NetBSD.)
- Japanese support for resource name: file name, share name, NetBIOS name
  and NetBIOS user name.
- Machine depended character code for file and directory name.
- Japanese documents.
- Internatilnalized swat.

It also fixes security problem found on samba 2.2.3 and later which
happens with --with-tdbsam option.  (It isn't enabled on default.)
@
text
@d1 1
a1 1
$NetBSD$
@


1.1.4.1
log
@Delete file (requested by taca in ticket #1268):

Update samba package to samba-2.2.7b-1.0.
This fixes samba's known security problem.
@
text
@d1 1
a1 1
$NetBSD: patch-bd,v 1.1 2002/07/07 14:36:48 taca Exp $
@


