pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Update net/samba to 3.0.2a. Fixes from version 3.0.1 ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b76720683614
branches: trunk
changeset: 468855:b76720683614
user: jlam <jlam%pkgsrc.org@localhost>
date: Tue Feb 17 11:51:52 2004 +0000
description:
Update net/samba to 3.0.2a. Fixes from version 3.0.1 include:
o Joining a Samba domain from Pre-SP2 Windows 2000 clients.
o Logging onto a Samba domain from Windows XP clients.
o Problems with the %U and %u smb.conf variables in relation to
Windows 9x/ME clients.
o Kerberos failures due to an invalid in memory keytab detection
test.
o Updates to the ntlm_auth tool.
o Fixes for various SMB signing errors.
o Better separation of WINS and DNS queries for domain controllers.
o Issues with nss_winbind FreeBSD and Solaris.
o Several crash bugs in smbd and winbindd.
o Output formatting fixes for smbclient for better compatibility
with scripts based on the 2.2 version.
diffstat:
doc/CHANGES | 3 ++-
net/samba/Makefile | 9 +++++----
net/samba/PLIST | 9 ++++++---
net/samba/distinfo | 10 ++++------
net/samba/patches/patch-aa | 13 -------------
net/samba/patches/patch-ab | 13 -------------
net/samba/patches/patch-ad | 22 +++++++++++-----------
7 files changed, 28 insertions(+), 51 deletions(-)
diffs (196 lines):
diff -r 8279fc028bc9 -r b76720683614 doc/CHANGES
--- a/doc/CHANGES Tue Feb 17 11:28:52 2004 +0000
+++ b/doc/CHANGES Tue Feb 17 11:51:52 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.4879 2004/02/17 08:26:27 jlam Exp $
+$NetBSD: CHANGES,v 1.4880 2004/02/17 11:51:52 jlam Exp $
Changes to the packages collection and infrastructure in 2004:
@@ -890,3 +890,4 @@
Added p5-Object-Realize-Later-0.15 [minskim 2004-02-17]
Added p5-Net-IP-1.20 [minskim 2004-02-17]
Updated x11-links to 0.22 [jlam 2004-02-17]
+ Updated samba to 3.0.2a [jlam 2004-02-17]
diff -r 8279fc028bc9 -r b76720683614 net/samba/Makefile
--- a/net/samba/Makefile Tue Feb 17 11:28:52 2004 +0000
+++ b/net/samba/Makefile Tue Feb 17 11:51:52 2004 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.115 2004/02/17 00:09:41 xtraeme Exp $
+# $NetBSD: Makefile,v 1.116 2004/02/17 11:51:54 jlam Exp $
-DISTNAME= samba-3.0.1
-PKGREVISION= 2
+DISTNAME= samba-3.0.2a
CATEGORIES= net
MASTER_SITES= ftp://ftp.samba.org/pub/samba/ \
ftp://ring.asahi-net.or.jp/pub/net/samba/ \
@@ -25,7 +24,7 @@
USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= PERL="${PERL5}"
-PLIST_SRC= ${PKGDIR}/PLIST
+PLIST_SRC= # empty
.include "../../mk/bsd.prefs.mk"
@@ -106,6 +105,8 @@
BUILD_DEFS+= SAMBA_USE_LDAP
BUILD_DEFS+= SAMBA_USE_LDAP_COMPAT
+PLIST_SRC+= ${PKGDIR}/PLIST
+
.if !defined(MKTEMP)
MKTEMP!= ${TYPE} mktemp 2>&1 | \
${AWK} '/not found/ { print "mktemp"; exit } { print $$3 }'
diff -r 8279fc028bc9 -r b76720683614 net/samba/PLIST
--- a/net/samba/PLIST Tue Feb 17 11:28:52 2004 +0000
+++ b/net/samba/PLIST Tue Feb 17 11:51:52 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2004/02/17 00:01:26 xtraeme Exp $
+@comment $NetBSD: PLIST,v 1.16 2004/02/17 11:51:54 jlam Exp $
bin/findsmb
bin/net
bin/nmblookup
@@ -93,10 +93,11 @@
sbin/smbd
sbin/swat
sbin/winbindd
-share/doc/samba/FolderRedir.reg
share/doc/samba/NT4-Locking.reg
share/doc/samba/NT4_PlainPassword.reg
-share/doc/samba/Win-NT-2K-XP-DeleteRoamingProfile.reg
+share/doc/samba/Win-2Kx-XPP-DeleteCachedProfiles.reg
+share/doc/samba/Win-2Kx-XPP-ForceLocalProfile.reg
+share/doc/samba/Win-NT-DeleteRoamingProfile.reg
share/doc/samba/Win2000_PlainPassword.reg
share/doc/samba/Win95_PlainPassword.reg
share/doc/samba/Win98_PlainPassword.reg
@@ -179,6 +180,7 @@
share/samba/swat/help/smbcontrol.1.html
share/samba/swat/help/smbcquotas.1.html
share/samba/swat/help/smbd.8.html
+share/samba/swat/help/smbget.1.html
share/samba/swat/help/smbmnt.8.html
share/samba/swat/help/smbmount.8.html
share/samba/swat/help/smbpasswd.5.html
@@ -192,6 +194,7 @@
share/samba/swat/help/speed.html
share/samba/swat/help/swat.8.html
share/samba/swat/help/tdbbackup.8.html
+share/samba/swat/help/tdbdump.8.html
share/samba/swat/help/testparm.1.html
share/samba/swat/help/testprns.1.html
share/samba/swat/help/troubleshooting.html
diff -r 8279fc028bc9 -r b76720683614 net/samba/distinfo
--- a/net/samba/distinfo Tue Feb 17 11:28:52 2004 +0000
+++ b/net/samba/distinfo Tue Feb 17 11:51:52 2004 +0000
@@ -1,10 +1,8 @@
-$NetBSD: distinfo,v 1.31 2004/01/11 02:26:31 jlam Exp $
+$NetBSD: distinfo,v 1.32 2004/02/17 11:51:54 jlam Exp $
-SHA1 (samba-3.0.1.tar.bz2) = e390d24beb6c4e30f75995cf3dc75d374f5586d2
-Size (samba-3.0.1.tar.bz2) = 8303432 bytes
-SHA1 (patch-aa) = f38d7cb0a1f33b4e71e5d1fb4aecdbfdb92a8459
-SHA1 (patch-ab) = 8e9a78fe84f0b07571f72715a4d9a639fd9801a8
+SHA1 (samba-3.0.2a.tar.bz2) = dbe0341a97554c78ed024e0122dd5b48fdde10b5
+Size (samba-3.0.2a.tar.bz2) = 9289178 bytes
SHA1 (patch-ac) = fc0d15f371a9c3544499f6a6cd830b52b34ff644
-SHA1 (patch-ad) = 435996c8409b68f34fa731132413ed5e7421921e
+SHA1 (patch-ad) = b75770eb6fc7ff5d26764fced83e26fd6cf153af
SHA1 (patch-ae) = cf3a040f04142df534abe54b66156a48697b665d
SHA1 (patch-af) = dce26803c2a9c04d714c0929ae2efeaa1487aeda
diff -r 8279fc028bc9 -r b76720683614 net/samba/patches/patch-aa
--- a/net/samba/patches/patch-aa Tue Feb 17 11:28:52 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.25 2004/01/11 02:26:31 jlam Exp $
-
---- configure.in.orig Sun Dec 14 22:36:25 2003
-+++ configure.in
-@@ -1642,7 +1642,7 @@ dnl Try to find iconv(3)
- jm_ICONV($i)
-
- if test "$ICONV_FOUND" = yes; then
-- LDFLAGS=$save_LDFLAG
-+ LDFLAGS=$save_LDFLAGS
- LIB_ADD_DIR(LDFLAGS, "$i/lib")
- CFLAGS_ADD_DIR(CPPFLAGS, "$i/include")
- LIBS="$save_LIBS"
diff -r 8279fc028bc9 -r b76720683614 net/samba/patches/patch-ab
--- a/net/samba/patches/patch-ab Tue Feb 17 11:28:52 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.21 2004/01/11 02:26:31 jlam Exp $
-
---- configure.orig Mon Dec 15 09:55:22 2003
-+++ configure
-@@ -20216,7 +20216,7 @@ echo "${ECHO_T}no" >&6
-
-
- if test "$ICONV_FOUND" = yes; then
-- LDFLAGS=$save_LDFLAG
-+ LDFLAGS=$save_LDFLAGS
-
- if test ""$i/lib"" != "/usr/lib" ; then
- LDFLAGS="$LDFLAGS -L"$i/lib""
diff -r 8279fc028bc9 -r b76720683614 net/samba/patches/patch-ad
--- a/net/samba/patches/patch-ad Tue Feb 17 11:28:52 2004 +0000
+++ b/net/samba/patches/patch-ad Tue Feb 17 11:51:52 2004 +0000
@@ -1,14 +1,14 @@
-$NetBSD: patch-ad,v 1.13 2004/01/11 02:26:31 jlam Exp $
+$NetBSD: patch-ad,v 1.14 2004/02/17 11:51:54 jlam Exp $
---- lib/util_getent.c.orig Sat Jun 7 13:57:33 2003
+--- lib/util_getent.c.orig Fri Feb 13 11:02:10 2004
+++ lib/util_getent.c
@@ -133,6 +133,11 @@ struct sys_pwent * getpwent_list(void)
struct sys_pwent *plist;
struct sys_pwent *pent;
struct passwd *pwd;
+#ifdef BSD
-+# define BUFLEN 1024
-+ char *bp, *gecos, *p, buf[BUFLEN];
++# define GECOS_BUFLEN 1024
++ char *bp, *gecos, *p, buf[GECOS_BUFLEN];
+ int buflen;
+#endif
@@ -26,24 +26,24 @@
+
+ /* copy gecos, interpolating & to be full name */
+ for (p = gecos; *p != '\0'; p++) {
-+ if (bp >= &buf[BUFLEN - 1])
++ if (bp >= &buf[GECOS_BUFLEN - 1])
+ /* buffer overflow */
+ goto gecos_done;
+ if (*p == '&') {
+ /* interpolate full name */
-+ snprintf(bp, BUFLEN - (bp - buf),
++ snprintf(bp, GECOS_BUFLEN - (bp - buf),
+ "%s", pwd->pw_name);
+ *bp = toupper(*bp);
+ bp += strlen(bp);
++ } else {
++ *bp++ = *p;
+ }
-+ else
-+ *bp++ = *p;
+ }
+ *bp = '\0';
-+ if ((pent->pw_name = strdup(buf)) == NULL)
++ if ((pent->pw_gecos = strdup(buf)) == NULL)
+ goto err;
+#else
- if ((pent->pw_name = strdup(pwd->pw_gecos)) == NULL)
+ if ((pent->pw_gecos = strdup(pwd->pw_gecos)) == NULL)
goto err;
+#endif
}
@@ -51,5 +51,5 @@
+ gecos_done:
+#endif
if (pwd->pw_dir) {
- if ((pent->pw_name = strdup(pwd->pw_dir)) == NULL)
+ if ((pent->pw_dir = strdup(pwd->pw_dir)) == NULL)
goto err;
Home |
Main Index |
Thread Index |
Old Index