head 1.12; access; symbols pkgsrc-2026Q1:1.12.0.116 pkgsrc-2026Q1-base:1.12 pkgsrc-2025Q4:1.12.0.114 pkgsrc-2025Q4-base:1.12 pkgsrc-2025Q3:1.12.0.112 pkgsrc-2025Q3-base:1.12 pkgsrc-2025Q2:1.12.0.110 pkgsrc-2025Q2-base:1.12 pkgsrc-2025Q1:1.12.0.108 pkgsrc-2025Q1-base:1.12 pkgsrc-2024Q4:1.12.0.106 pkgsrc-2024Q4-base:1.12 pkgsrc-2024Q3:1.12.0.104 pkgsrc-2024Q3-base:1.12 pkgsrc-2024Q2:1.12.0.102 pkgsrc-2024Q2-base:1.12 pkgsrc-2024Q1:1.12.0.100 pkgsrc-2024Q1-base:1.12 pkgsrc-2023Q4:1.12.0.98 pkgsrc-2023Q4-base:1.12 pkgsrc-2023Q3:1.12.0.96 pkgsrc-2023Q3-base:1.12 pkgsrc-2023Q2:1.12.0.94 pkgsrc-2023Q2-base:1.12 pkgsrc-2023Q1:1.12.0.92 pkgsrc-2023Q1-base:1.12 pkgsrc-2022Q4:1.12.0.90 pkgsrc-2022Q4-base:1.12 pkgsrc-2022Q3:1.12.0.88 pkgsrc-2022Q3-base:1.12 pkgsrc-2022Q2:1.12.0.86 pkgsrc-2022Q2-base:1.12 pkgsrc-2022Q1:1.12.0.84 pkgsrc-2022Q1-base:1.12 pkgsrc-2021Q4:1.12.0.82 pkgsrc-2021Q4-base:1.12 pkgsrc-2021Q3:1.12.0.80 pkgsrc-2021Q3-base:1.12 pkgsrc-2021Q2:1.12.0.78 pkgsrc-2021Q2-base:1.12 pkgsrc-2021Q1:1.12.0.76 pkgsrc-2021Q1-base:1.12 pkgsrc-2020Q4:1.12.0.74 pkgsrc-2020Q4-base:1.12 pkgsrc-2020Q3:1.12.0.72 pkgsrc-2020Q3-base:1.12 pkgsrc-2020Q2:1.12.0.68 pkgsrc-2020Q2-base:1.12 pkgsrc-2020Q1:1.12.0.48 pkgsrc-2020Q1-base:1.12 pkgsrc-2019Q4:1.12.0.70 pkgsrc-2019Q4-base:1.12 pkgsrc-2019Q3:1.12.0.66 pkgsrc-2019Q3-base:1.12 pkgsrc-2019Q2:1.12.0.64 pkgsrc-2019Q2-base:1.12 pkgsrc-2019Q1:1.12.0.62 pkgsrc-2019Q1-base:1.12 pkgsrc-2018Q4:1.12.0.60 pkgsrc-2018Q4-base:1.12 pkgsrc-2018Q3:1.12.0.58 pkgsrc-2018Q3-base:1.12 pkgsrc-2018Q2:1.12.0.56 pkgsrc-2018Q2-base:1.12 pkgsrc-2018Q1:1.12.0.54 pkgsrc-2018Q1-base:1.12 pkgsrc-2017Q4:1.12.0.52 pkgsrc-2017Q4-base:1.12 pkgsrc-2017Q3:1.12.0.50 pkgsrc-2017Q3-base:1.12 pkgsrc-2017Q2:1.12.0.46 pkgsrc-2017Q2-base:1.12 pkgsrc-2017Q1:1.12.0.44 pkgsrc-2017Q1-base:1.12 pkgsrc-2016Q4:1.12.0.42 pkgsrc-2016Q4-base:1.12 pkgsrc-2016Q3:1.12.0.40 pkgsrc-2016Q3-base:1.12 pkgsrc-2016Q2:1.12.0.38 pkgsrc-2016Q2-base:1.12 pkgsrc-2016Q1:1.12.0.36 pkgsrc-2016Q1-base:1.12 pkgsrc-2015Q4:1.12.0.34 pkgsrc-2015Q4-base:1.12 pkgsrc-2015Q3:1.12.0.32 pkgsrc-2015Q3-base:1.12 pkgsrc-2015Q2:1.12.0.30 pkgsrc-2015Q2-base:1.12 pkgsrc-2015Q1:1.12.0.28 pkgsrc-2015Q1-base:1.12 pkgsrc-2014Q4:1.12.0.26 pkgsrc-2014Q4-base:1.12 pkgsrc-2014Q3:1.12.0.24 pkgsrc-2014Q3-base:1.12 pkgsrc-2014Q2:1.12.0.22 pkgsrc-2014Q2-base:1.12 pkgsrc-2014Q1:1.12.0.20 pkgsrc-2014Q1-base:1.12 pkgsrc-2013Q4:1.12.0.18 pkgsrc-2013Q4-base:1.12 pkgsrc-2013Q3:1.12.0.16 pkgsrc-2013Q3-base:1.12 pkgsrc-2013Q2:1.12.0.14 pkgsrc-2013Q2-base:1.12 pkgsrc-2013Q1:1.12.0.12 pkgsrc-2013Q1-base:1.12 pkgsrc-2012Q4:1.12.0.10 pkgsrc-2012Q4-base:1.12 pkgsrc-2012Q3:1.12.0.8 pkgsrc-2012Q3-base:1.12 pkgsrc-2012Q2:1.12.0.6 pkgsrc-2012Q2-base:1.12 pkgsrc-2012Q1:1.12.0.4 pkgsrc-2012Q1-base:1.12 pkgsrc-2011Q4:1.12.0.2 pkgsrc-2011Q4-base:1.12 pkgsrc-2011Q3:1.11.0.18 pkgsrc-2011Q3-base:1.11 pkgsrc-2011Q2:1.11.0.16 pkgsrc-2011Q2-base:1.11 pkgsrc-2011Q1:1.11.0.14 pkgsrc-2011Q1-base:1.11 pkgsrc-2010Q4:1.11.0.12 pkgsrc-2010Q4-base:1.11 pkgsrc-2010Q3:1.11.0.10 pkgsrc-2010Q3-base:1.11 pkgsrc-2010Q2:1.11.0.8 pkgsrc-2010Q2-base:1.11 pkgsrc-2010Q1:1.11.0.6 pkgsrc-2010Q1-base:1.11 pkgsrc-2009Q4:1.11.0.4 pkgsrc-2009Q4-base:1.11 pkgsrc-2009Q3:1.11.0.2 pkgsrc-2009Q3-base:1.11 pkgsrc-2009Q2:1.10.0.4 pkgsrc-2009Q2-base:1.10 pkgsrc-2009Q1:1.10.0.2 pkgsrc-2009Q1-base:1.10 pkgsrc-2008Q4:1.9.0.12 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.10 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.8 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.6 pkgsrc-2008Q2-base:1.9 cwrapper:1.9.0.4 pkgsrc-2008Q1:1.9.0.2 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.8.0.2 pkgsrc-2007Q4-base:1.8 pkgsrc-2007Q3:1.6.0.6 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.4 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.2 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.5.0.6 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.4 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.2 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.4.0.2 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.3.0.2 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.2.0.4 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.2 pkgsrc-2005Q2-base:1.2; locks; strict; comment @# @; 1.12 date 2011.12.16.11.05.24; author asau; state Exp; branches; next 1.11; 1.11 date 2009.10.04.16.58.38; author taca; state Exp; branches; next 1.10; 1.10 date 2009.03.03.17.50.49; author sborrill; state Exp; branches; next 1.9; 1.9 date 2008.04.03.20.19.42; author jlam; state Exp; branches 1.9.12.1; next 1.8; 1.8 date 2007.12.21.17.32.26; author drochner; state Exp; branches; next 1.7; 1.7 date 2007.10.28.07.28.47; author taca; state Exp; branches; next 1.6; 1.6 date 2007.02.11.18.39.04; author tron; state Exp; branches 1.6.6.1; next 1.5; 1.5 date 2006.04.01.04.55.35; author jlam; state Exp; branches 1.5.6.1; next 1.4; 1.4 date 2006.01.02.22.33.36; author jlam; state Exp; branches 1.4.2.1; next 1.3; 1.3 date 2005.11.14.08.05.27; author jlam; state Exp; branches; next 1.2; 1.2 date 2005.06.08.20.15.20; author jlam; state Exp; branches; next 1.1; 1.1 date 2005.06.05.14.17.53; author taca; state Exp; branches; next ; 1.9.12.1 date 2009.03.04.23.12.19; author tron; state Exp; branches; next ; 1.6.6.1 date 2007.11.16.15.19.24; author ghen; state Exp; branches; next ; 1.5.6.1 date 2007.02.15.13.14.50; author salo; state Exp; branches; next ; 1.4.2.1 date 2006.04.02.14.16.16; author salo; state Exp; branches; next ; desc @@ 1.12 log @Update to Samba 3.5.11 from net/samba35, part of Samba packages rearrangement. @ text @$NetBSD: patch-au,v 1.1.1.1 2010/12/06 17:01:23 adam Exp $ --- script/installswat.sh.orig 2010-01-14 10:12:10.000000000 +0000 +++ script/installswat.sh @@@@ -140,7 +140,7 @@@@ if [ -d $SRCDIR../docs/htmldocs/ ]; then INSTALLDIR="$DESTDIR/$SWATDIR/help/`echo $dir | sed 's/htmldocs\///g'`" if test ! -d "$INSTALLDIR" -a "$mode" = 'install'; then - mkdir "$INSTALLDIR" + mkdir -p "$INSTALLDIR" if test ! -d "$INSTALLDIR"; then echo "Failed to make directory $INSTALLDIR, does $USER have privileges? " exit 1 @ 1.11 log @Update samba package to 3.0.37. This is a security release in order to address CVE-2009-2813, CVE-2009-2948 and CVE-2009-2906. Please note that Samba 3.0 is not maintained any longer. This security release is shipped on a voluntary basis. o CVE-2009-2813: In all versions of Samba later than 3.0.11, connecting to the home share of a user will use the root of the filesystem as the home directory if this user is misconfigured to have an empty home directory in /etc/passwd. o CVE-2009-2948: If mount.cifs is installed as a setuid program, a user can pass it a credential or password path to which he or she does not have access and then use the --verbose option to view the first line of that file. o CVE-2009-2906: Specially crafted SMB requests on authenticated SMB connections can send smbd into a 100% CPU loop, causing a DoS on the Samba server. @ text @d1 13 a13 161 $NetBSD: patch-au,v 1.10 2009/03/03 17:50:49 sborrill Exp $ --- configure.in.orig 2009-09-30 21:21:56.000000000 +0900 +++ configure.in @@@@ -38,6 +38,7 @@@@ AC_PREFIX_DEFAULT(/usr/local/samba) rootsbindir="\${SBINDIR}" lockdir="\${VARDIR}/locks" +statedir="\${VARDIR}/locks" piddir="\${VARDIR}/locks" test "${mandir}" || mandir="\${prefix}/man" logfilebase="\${VARDIR}" @@@@ -51,7 +52,8 @@@@ AC_ARG_WITH(fhs, [ --with-fhs Use FHS-compliant paths (default=no)], [ case "$withval" in yes) - lockdir="\${VARDIR}/lib/samba" + lockdir="\${VARDIR}/run/samba" + statedir="\${VARDIR}/lib/samba" piddir="\${VARDIR}/run" mandir="\${prefix}/share/man" logfilebase="\${VARDIR}/log/samba" @@@@ -111,6 +113,22 @@@@ AC_ARG_WITH(lockdir, esac]) ################################################# +# set state directory location +AC_ARG_WITH(statedir, +[ --with-statedir=DIR Where to put state files ($ac_default_prefix/var/locks)], +[ case "$withval" in + yes|no) + # + # Just in case anybody calls it without argument + # + AC_MSG_WARN([--with-statedir called without argument - will use default]) + ;; + * ) + statedir="$withval" + ;; + esac]) + +################################################# # set pid directory location AC_ARG_WITH(piddir, [ --with-piddir=DIR Where to put pid files ($ac_default_prefix/var/locks)], @@@@ -257,6 +275,7 @@@@ fi AC_SUBST(configdir) AC_SUBST(lockdir) +AC_SUBST(statedir) AC_SUBST(piddir) AC_SUBST(logfilebase) AC_SUBST(privatedir) @@@@ -1245,7 +1264,7 @@@@ AC_CHECK_FUNCS(lstat64 fopen64 atexit gr AC_CHECK_FUNCS(fseek64 fseeko64 ftell64 ftello64 setluid getpwanam setlinebuf) AC_CHECK_FUNCS(opendir64 readdir64 seekdir64 telldir64 rewinddir64 closedir64) AC_CHECK_FUNCS(getpwent_r) -AC_CHECK_FUNCS(getdents getdents64) +AC_CHECK_FUNCS(getdents getdents64 getpwent_r) AC_CHECK_FUNCS(srandom random srand rand setenv usleep strcasecmp fcvt fcvtl symlink readlink) AC_CHECK_FUNCS(syslog vsyslog timegm) AC_CHECK_FUNCS(setlocale nl_langinfo) @@@@ -2824,6 +2843,20 @@@@ AC_CHECK_FUNCS(getpagesize) ################## # look for a method of finding the list of network interfaces iface=no; +AC_CACHE_CHECK([for iface ifaddrs],samba_cv_HAVE_IFACE_IFADDRS,[ +SAVE_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CPPFLAGS ${SAMBA_CONFIGURE_CPPFLAGS}" +AC_TRY_RUN([ +#define HAVE_IFACE_IFADDRS 1 +#define AUTOCONF_TEST 1 +#include "${srcdir-.}/lib/interfaces.c"], + samba_cv_HAVE_IFACE_IFADDRS=yes,samba_cv_HAVE_IFACE_IFADDRS=no,samba_cv_HAVE_IFACE_IFADDRS=cross)]) +CPPFLAGS="$SAVE_CPPFLAGS" +if test x"$samba_cv_HAVE_IFACE_IFADDRS" = x"yes"; then + iface=yes;AC_DEFINE(HAVE_IFACE_IFADDRS,1,[Whether iface ifaddrs is available]) +fi + +if test $iface = no; then AC_CACHE_CHECK([for iface AIX],samba_cv_HAVE_IFACE_AIX,[ SAVE_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS ${SAMBA_CONFIGURE_CPPFLAGS}" @@@@ -2837,6 +2870,7 @@@@ CPPFLAGS="$SAVE_CPPFLAGS" if test x"$samba_cv_HAVE_IFACE_AIX" = x"yes"; then iface=yes;AC_DEFINE(HAVE_IFACE_AIX,1,[Whether iface AIX is available]) fi +fi if test $iface = no; then AC_CACHE_CHECK([for iface ifconf],samba_cv_HAVE_IFACE_IFCONF,[ @@@@ -3531,7 +3565,7 @@@@ if test x"$with_ads_support" != x"no"; t AC_CHECK_LIB_EXT(k5crypto, KRB5_LIBS, krb5_encrypt_data) # Heimdal checks. - AC_CHECK_LIB_EXT(crypto, KRB5_LIBS, des_set_key) + AC_CHECK_LIB_EXT(crypto, KRB5_LIBS, EVP_des_cbc) AC_CHECK_LIB_EXT(asn1, KRB5_LIBS, copy_Authenticator) AC_CHECK_LIB_EXT(roken, KRB5_LIBS, roken_getaddrinfo_hostspec) @@@@ -5830,31 +5864,39 @@@@ case "$host_os" in NSSSONAMEVERSIONSUFFIX=".2" WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_linux.o" ;; - *freebsd[[5-9]]*) - # FreeBSD winbind client is implemented as a wrapper around - # the Linux version. - NSSSONAMEVERSIONSUFFIX=".1" - WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_freebsd.o \ - nsswitch/winbind_nss_linux.o" - WINBIND_NSS="nsswitch/nss_winbind.$SHLIBEXT" - WINBIND_WINS_NSS="nsswitch/nss_wins.$SHLIBEXT" - ;; - - *netbsd*[[3-9]]*) - # NetBSD winbind client is implemented as a wrapper - # around the Linux version. It needs getpwent_r() to - # indicate libc's use of the correct nsdispatch API. - # - if test x"$ac_cv_func_getpwent_r" = x"yes"; then - WINBIND_NSS_EXTRA_OBJS="\ - nsswitch/winbind_nss_netbsd.o \ + *freebsd*) + case "$UNAME_R" in + [[5-9]]*) + # FreeBSD winbind client is implemented as a wrapper + # around the Linux version. + NSSSONAMEVERSIONSUFFIX=".1" + WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_freebsd.o \ nsswitch/winbind_nss_linux.o" WINBIND_NSS="nsswitch/nss_winbind.$SHLIBEXT" WINBIND_WINS_NSS="nsswitch/nss_wins.$SHLIBEXT" - else - HAVE_WINBIND=no - winbind_no_reason=", getpwent_r is missing on $host_os so winbind is unsupported" - fi + ;; + esac + ;; + + *netbsd*) + case "$UNAME_R" in + [[3-9]]*) + # NetBSD winbind client is implemented as a wrapper + # around the Linux version. It needs getpwent_r() to + # indicate libc's use of the correct nsdispatch API. + # + if test x"$ac_cv_func_getpwent_r" = x"yes"; then + WINBIND_NSS_EXTRA_OBJS="\ + nsswitch/winbind_nss_netbsd.o \ + nsswitch/winbind_nss_linux.o" + WINBIND_NSS="nsswitch/nss_winbind.$SHLIBEXT" + WINBIND_WINS_NSS="nsswitch/nss_wins.$SHLIBEXT" + else + HAVE_WINBIND=no + winbind_no_reason=", getpwent_r is missing on $host_os so winbind is unsupported" + fi + ;; + esac ;; *irix*) # IRIX has differently named shared libraries @ 1.10 log @Rework detection of getifaddrs() code so that it precedes the AIX method as AIX method was being chosen in preference (on NetBSD 5.0 at least). This broke net and rpcclient, etc. as they failed to enumerate interfaces correctly. @ text @d1 4 a4 4 $NetBSD$ --- configure.in.orig 2008-08-25 22:09:21.000000000 +0100 +++ configure.in 2009-03-03 17:11:54.000000000 +0000 @@@@ -38,6 +38,7 @@@@ d12 1 a12 1 @@@@ -51,7 +52,8 @@@@ d22 1 a22 1 @@@@ -111,6 +113,22 @@@@ d45 1 a45 1 @@@@ -257,6 +275,7 @@@@ d53 1 a53 1 @@@@ -1242,7 +1261,7 @@@@ d62 1 a62 1 @@@@ -2821,6 +2840,20 @@@@ d83 1 a83 1 @@@@ -2834,6 +2867,7 @@@@ d91 1 a91 1 @@@@ -3526,7 +3560,7 @@@@ d100 1 a100 1 @@@@ -5771,31 +5805,39 @@@@ @ 1.9 log @Update samba to version 3.0.28a. CHANGES FOR PKGSRC: ================== Makefile: + Modify section that manually handles the ELF symlinks for samba shared libraries -- add additional libraries that are built (addns, smbsharemodes) and reorganize so we don't need two loops where one will do. + Pass --with-included-popt to the configure script to force using the popt distribution included with samba to avoid any library mismatch errors between samba and any installed popt. This fixes PR pkg/34444 by Jason Lingohr. + Don't build the smbmount programs on Linux -- they're deprecated in favor of the mount.cifs programs. + Remove some pkgviews-related settings -- I'm not supporting pkgviews installation of samba. Makefile.patches: + Empty out PATCHFILES because we are updating to the latest release of samba, which has all previous patches for security advisories already rolled into the main sources. Makefile.mirrors: + Update SAMBA_MIRRORS in Makefile.mirrors to the latest list of FTP mirrors. options.mk: + Only show the ``acl'' option on platforms that actually support POSIX ACLs. + Add a new ``fam'' option to enable building the notify_fam VFS module. patch-ab, patch-ax: + Remove patch-ab and update patch-ax -- there's nothing for the scripts to back up so we don't need to patch the install* scripts to avoid this. patch-ae, patch-ah: + Update patch-ae and remove patch-ah -- we should definitely check that PAM_AUTHTOK_RECOVERY_ERR is defined before using its value to define PAM_AUTHTOK_RECOVER_ERR. patch-at, patch-au: + Fix patch-at and patch-au -- in configure.in, we need to "escape" left and right brackets or else m4 will strip them away in the resulting configure script. This should fix the detection of FreeBSD and NetBSD systems capable of using nss_winbind noted in PR pkg/38076 by Ingo Meyer. patch-ay: + Remove some unnecessary changes -- we can safely just do "mkdir" in some places because we know the parent and any intermediate directories exist. patch-be: + Fix a bug in locating WINS_LIST -- nmbd/nmbd_winsserver.c was referring to WINS_LIST under the state directory in one place and under the lock directory in another; change all references to be under the state directory. patch-db: + Add patch to fix the build of samba on older BSDs. Patch supplied in PR pkg/37487 by John Frear. All remaining changes to patches/patch-* are simply to remove fuzz. MAJOR CHANGES FROM VERSION 3.0.26a: * Fix failure to join Windows 2008 domains. * Fix Windows Vista (including SP1 RC) inter-op issues. * Add a new ``administrative share'' service parameter for defining hidden shares that cannot be managed from Windows. * Fix for CVS-2007-6015 (already fixed in 3.0.26anb4 in pkgsrc). * Fix for CVS-2007-5398 (already fixed in 3.0.26anb4 in pkgsrc). * Fix for CVS-2007-4572 (already fixed in 3.0.26anb4 in pkgsrc). Also subsequent fix for regression experienced by smbfs clients caused by the fix for CVS-2007-4572, noted in PR pkg/38300 by Dave Barnes. * Many other bugs fixed and memory leaks plugged. @ text @d2 3 a4 4 --- configure.in.orig 2008-03-08 10:56:26.000000000 -0500 +++ configure.in @@@@ -38,6 +38,7 @@@@ AC_PREFIX_DEFAULT(/usr/local/samba) d12 1 a12 1 @@@@ -51,7 +52,8 @@@@ AC_ARG_WITH(fhs, d22 1 a22 1 @@@@ -111,6 +113,22 @@@@ AC_ARG_WITH(lockdir, d45 1 a45 1 @@@@ -257,6 +275,7 @@@@ fi d53 1 a53 1 @@@@ -1242,7 +1261,7 @@@@ AC_CHECK_FUNCS(lstat64 fopen64 atexit gr d62 4 a65 4 @@@@ -2834,6 +2853,21 @@@@ if test x"$samba_cv_HAVE_IFACE_AIX" = x" fi if test $iface = no; then a77 1 +fi d80 1 a80 1 AC_CACHE_CHECK([for iface ifconf],samba_cv_HAVE_IFACE_IFCONF,[ d83 9 a91 1 @@@@ -3524,7 +3558,7 @@@@ if test x"$with_ads_support" != x"no"; t d100 1 a100 1 @@@@ -5769,31 +5803,39 @@@@ case "$host_os" in @ 1.9.12.1 log @Pullup ticket #2715 - requested by sborrill samba: bug fix Revisions pulled up: - net/samba/Makefile 1.188 - net/samba/distinfo 1.66 - net/samba/patches/patch-at 1.11 - net/samba/patches/patch-au 1.10 --- Module Name: pkgsrc Committed By: sborrill Date: Tue Mar 3 17:50:49 UTC 2009 Modified Files: pkgsrc/net/samba: Makefile distinfo pkgsrc/net/samba/patches: patch-at patch-au Log Message: Rework detection of getifaddrs() code so that it precedes the AIX method as AIX method was being chosen in preference (on NetBSD 5.0 at least). This broke net and rpcclient, etc. as they failed to enumerate interfaces correctly. @ text @d2 4 a5 3 --- configure.in.orig 2008-08-25 22:09:21.000000000 +0100 +++ configure.in 2009-03-03 17:11:54.000000000 +0000 @@@@ -38,6 +38,7 @@@@ d13 1 a13 1 @@@@ -51,7 +52,8 @@@@ d23 1 a23 1 @@@@ -111,6 +113,22 @@@@ d46 1 a46 1 @@@@ -257,6 +275,7 @@@@ d54 1 a54 1 @@@@ -1242,7 +1261,7 @@@@ d63 4 a66 4 @@@@ -2821,6 +2840,20 @@@@ ################## # look for a method of finding the list of network interfaces iface=no; d79 1 d82 1 a82 1 AC_CACHE_CHECK([for iface AIX],samba_cv_HAVE_IFACE_AIX,[ d85 1 a85 9 @@@@ -2834,6 +2867,7 @@@@ if test x"$samba_cv_HAVE_IFACE_AIX" = x"yes"; then iface=yes;AC_DEFINE(HAVE_IFACE_AIX,1,[Whether iface AIX is available]) fi +fi if test $iface = no; then AC_CACHE_CHECK([for iface ifconf],samba_cv_HAVE_IFACE_IFCONF,[ @@@@ -3526,7 +3560,7 @@@@ d94 1 a94 1 @@@@ -5771,31 +5805,39 @@@@ @ 1.8 log @fix the problems with SIOCGIFCONF and its wrong use here by adding a getifaddrs-based implementation, fix another botch in the patch for "configure", bump PKGREVISION @ text @d3 1 a3 1 --- configure.in.orig 2007-08-20 15:04:51.000000000 +0200 d5 1 a5 1 @@@@ -27,6 +27,7 @@@@ AC_PREFIX_DEFAULT(/usr/local/samba) d13 1 a13 1 @@@@ -40,7 +41,8 @@@@ AC_ARG_WITH(fhs, d23 1 a23 1 @@@@ -100,6 +102,22 @@@@ AC_ARG_WITH(lockdir, d46 1 a46 1 @@@@ -246,6 +264,7 @@@@ fi d54 1 a54 1 @@@@ -1231,7 +1250,7 @@@@ AC_CHECK_FUNCS(lstat64 fopen64 atexit gr d63 1 a63 1 @@@@ -2823,6 +2842,21 @@@@ if test x"$samba_cv_HAVE_IFACE_AIX" = x" d85 1 a85 1 @@@@ -3498,7 +3532,7 @@@@ if test x"$with_ads_support" != x"no"; t d94 1 a94 1 @@@@ -5719,31 +5753,39 @@@@ case "$host_os" in d118 1 a118 1 + [5-9]*) d134 1 a134 1 + *netbsd*[[3-9]]*) d136 1 a136 1 + [3-9]*) @ 1.7 log @Update samba to 3.0.26a. pkgsrc change: Add support for DESTDIR. Changes from 3.0.24 are huge, please refer WHATSNEW.txt. @ text @d1 1 a1 1 $NetBSD: patch-au,v 1.6 2007/02/11 18:39:04 tron Exp $ d3 1 a3 1 --- configure.in.orig 2007-08-20 22:04:51.000000000 +0900 d63 23 a85 1 @@@@ -3498,7 +3517,7 @@@@ if test x"$with_ads_support" != x"no"; t d94 1 a94 1 @@@@ -5719,32 +5738,40 @@@@ case "$host_os" in d132 1 a132 1 ;; a151 1 + ;; d153 1 a155 1 WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_irix.o" @ 1.6 log @Update "samba" package to version 3.0.24. Major changes since version 3.0.22: - CVE-2007-0452 (Potential Denial of Service bug in smbd) - CVE-2007-0453 (Buffer overrun in NSS host lookup Winbind NSS library on Solaris) - CVE-2007-0454 (Format string bug in afsacl.so VFS plugin) - Stability fixes for winbindd - Portability fixes on FreeBSD and Solaris operating systems. - Authentication failures in pam_winbind when the AD domain policy is set to not expire passwords. - Authorization failures when using smb.conf options such as "valid users" with the smbpasswd passdb backend. - Ambiguity with unqualified names in smb.conf parameters such as "force user" and "valid users". - Errors in 'net ads join' caused by bad IP address in the list of domain controllers. - SMB signing errors in the client and server code. - Domain join failures when using smbpasswd on a Samba PDC. - Failure to strip the domain name from groups when 'winbind use default domain = yes' - Failure in pam_winbind to correctly parse arguments. - Bad token creation of local users on member servers not running winbindd. - Failure to add users or groups to ACLs using the Windows object picker. - Failure in file serving code when 'kernel oplocks = yes'. - New "createupn" option to "net ads join" - Rewritten Kerberos keytab generation when 'use kerberos keytab = yes' - Improved 'make test' - New offline mode in winbindd. - New Kerberos support for pam_winbind.so. - New handling of unmapped users and groups. - New non-root share management tools. - Improved support for local and BUILTIN groups. - Winbind IDMAP integration with RFC2307 schema objects supported by Windows 2003 R2. - Rewritten 'net ads join' to mimic Windows XP without requiring administrative rights to join a domain. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- configure.in.orig 2007-02-04 18:59:28.000000000 +0000 +++ configure.in 2007-02-11 16:16:27.000000000 +0000 @@@@ -24,6 +24,7 @@@@ d13 1 a13 1 @@@@ -37,7 +38,8 @@@@ d23 1 a23 1 @@@@ -97,6 +99,22 @@@@ d46 1 a46 1 @@@@ -229,6 +247,7 @@@@ d54 1 a54 2 @@@@ -1271,7 +1290,7 @@@@ AC_CHECK_FUNCS(lstat64 fopen64 atexit grantpt dup2 lseek64 ftruncate64) d57 1 d63 1 a63 1 @@@@ -3420,7 +3439,7 @@@@ d72 1 a72 1 @@@@ -5287,15 +5306,39 @@@@ d84 10 d101 7 a107 3 + nsswitch/winbind_nss_linux.o" + WINBIND_NSS="nsswitch/nss_winbind.$SHLIBEXT" + WINBIND_WINS_NSS="nsswitch/nss_wins.$SHLIBEXT" d111 2 a112 1 + *netbsd*) d120 1 a120 1 + WINBIND_NSS_EXTRA_OBJS=" \ d130 1 a131 1 + ;; a134 12 @@@@ -5361,6 +5404,11 @@@@ # Display test results +if test x"$HAVE_WINBIND" = x"no"; then + WINBIND_NSS="" + WINBIND_WINS_NSS="" +fi + if test x"$HAVE_WINBIND" = x"yes"; then AC_MSG_RESULT(yes) AC_DEFINE(WITH_WINBIND,1,[Whether to build winbind]) @ 1.6.6.1 log @Pullup ticket 2228 - requested by tron security update for samba - pkgsrc/net/samba/Makefile 1.175-1.177 - pkgsrc/net/samba/Makefile.patches 1.5-1.6 - pkgsrc/net/samba/PLIST 1.37 - pkgsrc/net/samba/distinfo 1.55-1.57 - pkgsrc/net/samba/options.mk 1.22 - pkgsrc/net/samba/patches/patch-ag 1.7 - pkgsrc/net/samba/patches/patch-ai removed - pkgsrc/net/samba/patches/patch-aj removed - pkgsrc/net/samba/patches/patch-al removed - pkgsrc/net/samba/patches/patch-am removed - pkgsrc/net/samba/patches/patch-au 1.7 - pkgsrc/net/samba/patches/patch-au 1.7 - pkgsrc/net/samba/patches/patch-av 1.3 - pkgsrc/net/samba/patches/patch-ay 1.3 - pkgsrc/net/samba/patches/patch-ba 1.5-1.6 - pkgsrc/net/samba/patches/patch-bb removed - pkgsrc/net/samba/patches/patch-bc 1.2 - pkgsrc/net/samba/patches/patch-bd 1.3 - pkgsrc/net/samba/patches/patch-be 1.3 - pkgsrc/net/samba/patches/patch-bf removed - pkgsrc/net/samba/patches/patch-bh 1.3 - pkgsrc/net/samba/patches/patch-bi 1.5 - pkgsrc/net/samba/patches/patch-bj removed - pkgsrc/net/samba/patches/patch-bk removed - pkgsrc/net/samba/patches/patch-bo 1.4 - pkgsrc/net/samba/patches/patch-bp 1.4 - pkgsrc/net/samba/patches/patch-br 1.3 - pkgsrc/net/samba/patches/patch-bs 1.4 - pkgsrc/net/samba/patches/patch-bt 1.3 - pkgsrc/net/samba/patches/patch-bu 1.5 - pkgsrc/net/samba/patches/patch-bw 1.4 - pkgsrc/net/samba/patches/patch-bx removed - pkgsrc/net/samba/patches/patch-by removed - pkgsrc/net/samba/patches/patch-bz removed - pkgsrc/net/samba/patches/patch-ca 1.4 - pkgsrc/net/samba/patches/patch-ce 1.1 - pkgsrc/net/samba/patches/patch-cf 1.1 - pkgsrc/net/samba/patches/patch-cg 1.1 - pkgsrc/net/samba/patches/patch-ch 1.1 Module Name: pkgsrc Committed By: taca Date: Sun Oct 28 07:28:51 UTC 2007 Modified Files: pkgsrc/net/samba: Makefile Makefile.patches PLIST distinfo options.mk pkgsrc/net/samba/patches: patch-ag patch-at patch-au patch-av patch-ay patch-ba patch-bc patch-bd patch-be patch-bh patch-bi patch-bo patch-bp patch-br patch-bs patch-bt patch-bu patch-bw patch-ca Added Files: pkgsrc/net/samba/patches: patch-ce patch-cf patch-cg patch-ch Removed Files: pkgsrc/net/samba/patches: patch-ai patch-aj patch-al patch-am patch-bb patch-bf patch-bj patch-bk patch-bx patch-by patch-bz Log Message: Update samba to 3.0.26a. pkgsrc change: Add support for DESTDIR. Changes from 3.0.24 are huge, please refer WHATSNEW.txt. --- Module Name: pkgsrc Committed By: rillig Date: Tue Nov 6 00:47:53 UTC 2007 Modified Files: pkgsrc/net/samba: Makefile distinfo pkgsrc/net/samba/patches: patch-ba Log Message: Fixed an expansion of @@mandir@@ that accidentally got into patch-ba in revision 1.5. PKGREVISION++ --- Module Name: pkgsrc Committed By: tron Date: Fri Nov 16 11:41:38 UTC 2007 Modified Files: pkgsrc/net/samba: Makefile Makefile.patches distinfo Log Message: Apply security fixes for CVE-2007-4572 and CVE-2007-5398 released by the Samba project. Bump package revision. @ text @d1 1 a1 1 $NetBSD: patch-au,v 1.6 2007/02/11 18:39:04 tron Exp $ d3 3 a5 3 --- configure.in.orig 2007-08-20 22:04:51.000000000 +0900 +++ configure.in @@@@ -27,6 +27,7 @@@@ AC_PREFIX_DEFAULT(/usr/local/samba) d13 1 a13 1 @@@@ -40,7 +41,8 @@@@ AC_ARG_WITH(fhs, d23 1 a23 1 @@@@ -100,6 +102,22 @@@@ AC_ARG_WITH(lockdir, d46 1 a46 1 @@@@ -246,6 +264,7 @@@@ fi d54 2 a55 1 @@@@ -1231,7 +1250,7 @@@@ AC_CHECK_FUNCS(lstat64 fopen64 atexit gr a57 1 AC_CHECK_FUNCS(getpwent_r) d63 1 a63 1 @@@@ -3498,7 +3517,7 @@@@ if test x"$with_ads_support" != x"no"; t d72 1 a72 1 @@@@ -5719,32 +5738,40 @@@@ case "$host_os" in a83 10 - ;; - - *netbsd*[[3-9]]*) - # NetBSD winbind client is implemented as a wrapper - # around the Linux version. It needs getpwent_r() to - # indicate libc's use of the correct nsdispatch API. - # - if test x"$ac_cv_func_getpwent_r" = x"yes"; then - WINBIND_NSS_EXTRA_OBJS="\ - nsswitch/winbind_nss_netbsd.o \ d91 3 a93 7 nsswitch/winbind_nss_linux.o" WINBIND_NSS="nsswitch/nss_winbind.$SHLIBEXT" WINBIND_WINS_NSS="nsswitch/nss_wins.$SHLIBEXT" - else - HAVE_WINBIND=no - winbind_no_reason=", getpwent_r is missing on $host_os so winbind is unsupported" - fi d97 1 a97 2 + + *netbsd*[[3-9]]*) d105 1 a105 1 + WINBIND_NSS_EXTRA_OBJS="\ a114 1 + ;; d116 1 d120 12 @ 1.5 log @Update net/samba to version 3.0.22. Changes from version 3.0.21a include: * Fix CAN-2006-1059 -- samba<3.0.22 exposes the clear text of the server's machine account credentials in the winbind log files when the log level is set to 5 or higher. * Append "-pkgsrc" to the Samba version string so as to distinguish the official version from the pkgsrc version, which has the modifications for "state directory" and "passwd expand gecos". * Modify package so that we automatically determine the name of the nsswitch modules that are installed by samba with the winbind option. We extract this information by invoking the config.status script to get the value that the configure script determined. o Access checks when deleting printer driver meta-data. o Several non-default combinations schannel and SPNEGO support. o Password changes with NT4 and Win2k pre-SP4 clients. o High load issues on IRIX caused by a bug when interfacing with kernel oplocks. o Server crashes in smbd. o Compile issues on 64-bit platforms. o Crash bugs on big-endian systems. o Packaging fixes for RHEL/Fedora, Solaris, & Debian. o Over 30 bugzilla reports closed. @ text @d3 3 a5 4 --- configure.in.orig 2006-02-20 15:33:23.000000000 -0500 +++ configure.in @@@@ -23,6 +23,7 @@@@ fi AC_PREFIX_DEFAULT(/usr/local/samba) d7 1 d11 1 a11 1 mandir="\${prefix}/man" d13 1 a13 1 @@@@ -35,7 +36,8 @@@@ AC_ARG_WITH(fhs, d23 1 a23 1 @@@@ -79,6 +81,22 @@@@ AC_ARG_WITH(lockdir, d46 1 a46 1 @@@@ -195,6 +213,7 @@@@ done d54 1 a54 1 @@@@ -1151,6 +1170,7 @@@@ AC_CHECK_FUNCS(setpriv setgidx setuidx s d58 2 a59 1 +AC_CHECK_FUNCS(getpwent_r) d63 1 a63 1 @@@@ -3071,7 +3091,7 @@@@ if test x"$with_ads_support" != x"no"; t d72 2 a73 2 @@@@ -4913,13 +4933,37 @@@@ case "$host_os" in *linux*) d79 1 d89 1 d96 1 a96 1 + ;; d116 1 a116 1 ;; d119 2 a120 1 @@@@ -4984,6 +5028,11 @@@@ fi @ 1.5.6.1 log @Pullup ticket 2019 - requested by tron security update for samba Revisions pulled up: - pkgsrc/net/samba/Makefile 1.169 - pkgsrc/net/samba/PLIST 1.35 - pkgsrc/net/samba/distinfo 1.52 - pkgsrc/net/samba/patches/patch-ab 1.26 - pkgsrc/net/samba/patches/patch-ad removed - pkgsrc/net/samba/patches/patch-af 1.8 - pkgsrc/net/samba/patches/patch-ag 1.6 - pkgsrc/net/samba/patches/patch-ai 1.4 - pkgsrc/net/samba/patches/patch-al 1.5 - pkgsrc/net/samba/patches/patch-at 1.6 - pkgsrc/net/samba/patches/patch-au 1.6 - pkgsrc/net/samba/patches/patch-aw 1.2 - pkgsrc/net/samba/patches/patch-ay 1.2 - pkgsrc/net/samba/patches/patch-ba 1.4 - pkgsrc/net/samba/patches/patch-bb 1.2 - pkgsrc/net/samba/patches/patch-bg 1.2 - pkgsrc/net/samba/patches/patch-bi 1.4 - pkgsrc/net/samba/patches/patch-bl removed - pkgsrc/net/samba/patches/patch-bm 1.2 - pkgsrc/net/samba/patches/patch-bn 1.2 - pkgsrc/net/samba/patches/patch-bu 1.4 - pkgsrc/net/samba/patches/patch-bv 1.2 - pkgsrc/net/samba/patches/patch-cd removed Module Name: pkgsrc Committed By: tron Date: Sun Feb 11 18:39:04 UTC 2007 Modified Files: pkgsrc/net/samba: Makefile PLIST distinfo pkgsrc/net/samba/patches: patch-ab patch-af patch-ag patch-ai patch-al patch-at patch-au patch-aw patch-ay patch-ba patch-bb patch-bg patch-bi patch-bm patch-bn patch-bu patch-bv Removed Files: pkgsrc/net/samba/patches: patch-ad patch-bl patch-cd Log Message: Update "samba" package to version 3.0.24. Major changes since version 3.0.22: - CVE-2007-0452 (Potential Denial of Service bug in smbd) - CVE-2007-0453 (Buffer overrun in NSS host lookup Winbind NSS library on Solaris) - CVE-2007-0454 (Format string bug in afsacl.so VFS plugin) - Stability fixes for winbindd - Portability fixes on FreeBSD and Solaris operating systems. - Authentication failures in pam_winbind when the AD domain policy is set to not expire passwords. - Authorization failures when using smb.conf options such as "valid users" with the smbpasswd passdb backend. - Ambiguity with unqualified names in smb.conf parameters such as "force user" and "valid users". - Errors in 'net ads join' caused by bad IP address in the list of domain controllers. - SMB signing errors in the client and server code. - Domain join failures when using smbpasswd on a Samba PDC. - Failure to strip the domain name from groups when 'winbind use default domain =3D yes' - Failure in pam_winbind to correctly parse arguments. - Bad token creation of local users on member servers not running winbindd. - Failure to add users or groups to ACLs using the Windows object picker. - Failure in file serving code when 'kernel oplocks =3D yes'. - New "createupn" option to "net ads join" - Rewritten Kerberos keytab generation when 'use kerberos keytab =3D yes' - Improved 'make test' - New offline mode in winbindd. - New Kerberos support for pam_winbind.so. - New handling of unmapped users and groups. - New non-root share management tools. - Improved support for local and BUILTIN groups. - Winbind IDMAP integration with RFC2307 schema objects supported by Windows 2003 R2. - Rewritten 'net ads join' to mimic Windows XP without requiring administrative rights to join a domain. @ text @d1 1 a1 1 $NetBSD: patch-au,v 1.6 2007/02/11 18:39:04 tron Exp $ d3 4 a6 3 --- configure.in.orig 2007-02-04 18:59:28.000000000 +0000 +++ configure.in 2007-02-11 16:16:27.000000000 +0000 @@@@ -24,6 +24,7 @@@@ a7 1 rootsbindir="\${SBINDIR}" d11 1 a11 1 test "${mandir}" || mandir="\${prefix}/man" d13 1 a13 1 @@@@ -37,7 +38,8 @@@@ d23 1 a23 1 @@@@ -97,6 +99,22 @@@@ d46 1 a46 1 @@@@ -229,6 +247,7 @@@@ d54 1 a54 1 @@@@ -1271,7 +1290,7 @@@@ d58 1 a58 2 -AC_CHECK_FUNCS(getdents getdents64) +AC_CHECK_FUNCS(getdents getdents64 getpwent_r) d62 1 a62 1 @@@@ -3420,7 +3439,7 @@@@ d71 2 a72 2 @@@@ -5287,15 +5306,39 @@@@ NSSSONAMEVERSIONSUFFIX=".2" a77 1 - NSSSONAMEVERSIONSUFFIX=".1" a86 1 + NSSSONAMEVERSIONSUFFIX=".1" d93 1 a93 1 ;; d113 1 a113 1 + ;; d116 1 a116 2 WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_irix.o" @@@@ -5361,6 +5404,11 @@@@ @ 1.4 log @Update net/samba to 3.0.21a. Changes since version 3.0.20b include: Bugfixes: o Address a bug in the oplock code which may cause clients to stall when multiple users are accessing a share concurrently o Missing groups in a user's token when logging in via kerberos o Incompatibilities with newer MS Windows hotfixes and embedded OS platforms o Portability and crash bugs. o Performance issues in winbindd. Additions: o Complete NTLMv2 support by consolidating authentication mechanism used at the CIFS and RPC layers. o The capability to manage Unix services using the Win32 Service Control API. o The capability to view external Unix log files via the Microsoft Event Viewer. o New libmsrpc share library for application developers. o Rewrite of CIFS oplock implementation. o Performance Counter external daemon. o Winbindd auto-detection query methods when communicating with a domain controller. o The ability to enumerate long share names in libsmbclient applications. @ text @d3 1 a3 1 --- configure.in.orig 2005-12-14 07:45:51.000000000 -0500 d54 1 a54 1 @@@@ -1150,6 +1169,7 @@@@ AC_CHECK_FUNCS(setpriv setgidx setuidx s d62 1 a62 1 @@@@ -3040,7 +3060,7 @@@@ if test x"$with_ads_support" != x"no"; t d71 1 a71 1 @@@@ -4881,13 +4901,37 @@@@ case "$host_os" in d116 12 @ 1.4.2.1 log @Pullup ticket 1298 - requested by jlam security update for samba Revisions pulled up: - pkgsrc/net/samba/DESCR 1.4 - pkgsrc/net/samba/Makefile 1.159 - pkgsrc/net/samba/Makefile.mirrors 1.3 - pkgsrc/net/samba/PLIST 1.34 - pkgsrc/net/samba/distinfo 1.48 - pkgsrc/net/samba/options.mk 1.13 - pkgsrc/net/samba/patches/patch-am 1.7 - pkgsrc/net/samba/patches/patch-at 1.5 - pkgsrc/net/samba/patches/patch-au 1.5 - pkgsrc/net/samba/patches/patch-ba 1.3 - pkgsrc/net/samba/patches/patch-be 1.2 - pkgsrc/net/samba/patches/patch-bf 1.3 - pkgsrc/net/samba/patches/patch-bi 1.3 - pkgsrc/net/samba/patches/patch-bo 1.3 - pkgsrc/net/samba/patches/patch-bp 1.3 - pkgsrc/net/samba/patches/patch-bs 1.3 - pkgsrc/net/samba/patches/patch-bu 1.3 - pkgsrc/net/samba/patches/patch-bw 1.3 - pkgsrc/net/samba/patches/patch-ca 1.3 Module Name: pkgsrc Committed By: jlam Date: Sat Apr 1 04:55:35 UTC 2006 Modified Files: pkgsrc/net/samba: DESCR Makefile Makefile.mirrors PLIST distinfo options.mk pkgsrc/net/samba/patches: patch-am patch-at patch-au patch-ba patch-be patch-bf patch-bi patch-bo patch-bp patch-bs patch-bu patch-bw Added Files: pkgsrc/net/samba/patches: patch-ca Log Message: Update net/samba to version 3.0.22. Changes from version 3.0.21a include: * Fix CAN-2006-1059 -- samba<3.0.22 exposes the clear text of the server's machine account credentials in the winbind log files when the log level is set to 5 or higher. * Append "-pkgsrc" to the Samba version string so as to distinguish the official version from the pkgsrc version, which has the modifications for "state directory" and "passwd expand gecos". * Modify package so that we automatically determine the name of the nsswitch modules that are installed by samba with the winbind option. We extract this information by invoking the config.status script to get the value that the configure script determined. o Access checks when deleting printer driver meta-data. o Several non-default combinations schannel and SPNEGO support. o Password changes with NT4 and Win2k pre-SP4 clients. o High load issues on IRIX caused by a bug when interfacing with kernel oplocks. o Server crashes in smbd. o Compile issues on 64-bit platforms. o Crash bugs on big-endian systems. o Packaging fixes for RHEL/Fedora, Solaris, & Debian. o Over 30 bugzilla reports closed. @ text @d1 1 a1 1 $NetBSD: patch-au,v 1.5 2006/04/01 04:55:35 jlam Exp $ d3 1 a3 1 --- configure.in.orig 2006-02-20 15:33:23.000000000 -0500 d54 1 a54 1 @@@@ -1151,6 +1170,7 @@@@ AC_CHECK_FUNCS(setpriv setgidx setuidx s d62 1 a62 1 @@@@ -3071,7 +3091,7 @@@@ if test x"$with_ads_support" != x"no"; t d71 1 a71 1 @@@@ -4913,13 +4933,37 @@@@ case "$host_os" in a115 12 @@@@ -4984,6 +5028,11 @@@@ fi # Display test results +if test x"$HAVE_WINBIND" = x"no"; then + WINBIND_NSS="" + WINBIND_WINS_NSS="" +fi + if test x"$HAVE_WINBIND" = x"yes"; then AC_MSG_RESULT(yes) AC_DEFINE(WITH_WINBIND,1,[Whether to build winbind]) @ 1.3 log @Update net/samba to 3.0.20.2 from samba-3.0.20b. Recommended patches for samba-3.0.20b that are applied as part of this update include: http://www.samba.org/samba/patches/print_lprm.patch http://www.samba.org/samba/patches/quota.patch http://www.samba.org/samba/patches/bug3201_wbinfo.patch This fixes PRs pkg/31352 and pkg/31991. Important changes that were made as part of porting this Samba release to pkgsrc include the following: * The new release model for Samba includes distributing patches for urgent bug fixes that will be included in the next release of Samba, and are available at http://www.samba.org/samba/patches/. Since these patches are rather generically named, we download all DISTFILES and PATCHFILES for Samba into a ${DISTNAME}-specific directory. * The default configuration for the samba package no longer builds the "winbind" portions of samba, which are really only useful when attempting to unify logons between Unix and Microsoft Windows. When the "winbind" option is specified, we also build the RID and AD idmap backends, which allow sharing UIDs/GIDs across Unix machines. * New package options have been added to the build: "mysql", "pgsql", and "xml" allow adding optional support for experimental passdb storage backends, and "winbind" allows for optionally building the winbindd daemon and associated plugins. * Two new smb.conf options were added -- "passwd expand gecos" and "state directory". The first describes whether "&" in the GECOS field of a passwd db entry is expanded to the login name. The second describes the location where the persistent-state database files are stored. * Luke Mewburn contributed code to allow nss_winbind.so to work properly on supported NetBSD systems. The FreeBSD NSS winbind code should probably be replaced with a suitably tweaked version of the NetBSD code since the latter is much more complete in the functions that are provided, but I'll leave that to freebsd-pkg-people. * Samba dumps all of its files into "lock directory", but some of them need to persist across reboots. We make a distinction between these files and the temporary files that are re-created by the Samba daemons when they are restarted -- the former are now stored in a "state directory" and the latter are stored in the "lock directory". This is modeled after the Debian patch to Samba located in: packaging/Debian/debian-unstable/patches/fhs.patch The "lock directory" default has been moved to ${VARBASE}/run/samba to emphasize the temporary status of the files stored in that directory. * Samba persists in using PAM_AUTHTOK_RECOVER_ERR, when there is almost universal agreement that PAM_AUTHTOK_RECOVERY_ERR is the right constant to use. Even the Linux-PAM distribution ensures that PAM_AUTHTOK_RECOVERY_ERR is correctly defined. To work around this, we define PAM_AUTHTOK_RECOVER_ERR appropriately in all the places where it is used. * The configure script checks for OpenSSL's libcrypto.so by looking for the symbol "des_set_key". However, libcrypto.so might not contain that symbol because the DES functions might come from a separate library, e.g. libdes.so. In this case, the configure script will think that libcrypto.so is not available, when it actually may be. Instead, look for EVP_des_cbc, which is always provided by libcrypto.so. * Add some missing $(PASSDB_LIBS) references to the Makefile to fix compilation problems if the experimental passdb backends are statically compiled into the Samba suite programs. * Fix compilation problems in sam/idmap_rid.c and sam/idmap_ad.c if the "rid" and "ad" idmap backends are statically compiled into winbindd. Changes between version 3.0.14a and 3.0.20b include: o Reporting files as read-only instead of returning the correct error code of "access denied" o File system quota support defects o Crash bugs caused by incompatibilities on 64-bit systems. o User Manager interoperability problems. o Support for several new Win32 rpc pipes. o New 'net rpc service' tool for managing Win32 services. o Capability to set the owner on new files and directory based on the parent's ownership. o Experimental, asynchronous IO file serving support. o Support for Microsoft Print Migrator. o New Winbind IDmap plugin (ad) for retrieving uid and gid from AD servers which maintain the SFU user and group attributes. o Rewritten support for POSIX pathnames when utilizing the Linux CIFS fs client. o New asynchronous winbindd. o New Windows NT registry file I/O library. o New user right (SeTakeOwnershipPrivilege) added. o New "net share migrate" options. @ text @d3 1 a3 1 --- configure.in.orig 2005-10-12 13:03:39.000000000 -0400 d54 1 a54 1 @@@@ -1134,6 +1153,7 @@@@ AC_CHECK_FUNCS(setpriv setgidx setuidx s d62 1 a62 1 @@@@ -2996,7 +3016,7 @@@@ if test x"$with_ads_support" != x"no"; t d71 1 a71 1 @@@@ -4710,13 +4730,37 @@@@ case "$host_os" in @ 1.2 log @Look for "EVP_des_cbc" instead of "des_set_key" in libcrypto.so to decide if it's actually libcrypto.so from the OpenSSL distribution. Samba looks to see if libkrb5.so needs it to link when samba is configured to build ADS support. However, newer versions of heimdal don't need the old DES API, and newer versions of OpenSSL don't even provide the old des_* symbol names in the library, so "des_set_key" is a poor choice to use to detect libcrypto.so. The only place in the samba sources where the old DES API is even used is in the AFS fake kaserver support, which pkgsrc does not (ever) intend to support. This fixes PR pkg/24456. @ text @d3 1 a3 1 --- configure.in.orig 2005-04-14 02:14:26.000000000 -0400 d5 58 a62 19 @@@@ -533,7 +533,7 @@@@ case "$host_os" in *irix*) AC_DEFINE(SYSV, 1, [Whether to enable System V compatibility]) ;; - *freebsd*|*DragonFly*) + *freebsd*|*dragonfly*) AC_DEFINE(FREEBSD, 1, [Whether the host os is FreeBSD]) ;; # @@@@ -1223,7 +1223,7 @@@@ if test "$enable_shared" = "yes"; then AC_DEFINE(STAT_ST_BLOCKSIZE,512) AC_DEFINE(BROKEN_GETGRNAM,1,[Does getgrnam work correctly]) ;; - *netbsd* | *freebsd* | *DragonFly* ) + *netbsd* | *freebsd* | *dragonfly* ) BLDSHARED="true" LDSHFLAGS="-shared" DYNEXP="-Wl,--export-dynamic" @@@@ -2788,7 +2788,7 @@@@ if test x"$with_ads_support" != x"no"; t d71 45 a115 9 @@@@ -4108,7 +4108,7 @@@@ samba_cv_HAVE_BROKEN_LINUX_SENDFILE=yes, fi ;; - *freebsd* | *DragonFly* ) + *freebsd* | *dragonfly* ) AC_CACHE_CHECK([for freebsd sendfile support],samba_cv_HAVE_SENDFILE,[ AC_TRY_LINK([\ #include @ 1.1 log @Add patches for support DragonFly. - DragonFly dosen't support NSS currently. - Fix some typo in congigure scripts. Provided by Joerg Sonnenberger by private mail. Bump PKGREVISION. @ text @d3 1 a3 1 --- configure.in.orig 2005-06-02 23:10:03.000000000 +0200 d5 1 a5 1 @@@@ -514,7 +514,7 @@@@ case "$host_os" in d14 1 a14 1 @@@@ -1203,7 +1203,7 @@@@ if test "$enable_shared" = "yes"; then d23 10 a32 1 @@@@ -4090,7 +4090,7 @@@@ samba_cv_HAVE_BROKEN_LINUX_SENDFILE=yes, @