pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/samba33 Importing Samba 3.3.10 as net/samba33.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2a5cd167397e
branches:  trunk
changeset: 571870:2a5cd167397e
user:      taca <taca%pkgsrc.org@localhost>
date:      Tue Feb 16 16:24:15 2010 +0000

description:
Importing Samba 3.3.10 as net/samba33.
This isn't latest release, but diffrence from current package is minimal
supported release.

Since changes are too huge to write here, please refer each release notes:

        http://www.samba.org/samba/history/

And this pacakge already contain fix for CVE-2009-3297.

diffstat:

 net/samba33/Makefile         |  150 +++++++++
 net/samba33/PLIST            |  684 +++++++++++++++++++++++++++++++++++++++++++
 net/samba33/distinfo         |   29 +
 net/samba33/patches/patch-aa |   36 ++
 net/samba33/patches/patch-ab |   57 +++
 net/samba33/patches/patch-ac |   99 ++++++
 net/samba33/patches/patch-ad |   13 +
 net/samba33/patches/patch-ae |   15 +
 net/samba33/patches/patch-af |  196 ++++++++++++
 net/samba33/patches/patch-ag |   26 +
 net/samba33/patches/patch-ah |   15 +
 net/samba33/patches/patch-ai |   17 +
 net/samba33/patches/patch-aj |   12 +
 net/samba33/patches/patch-ak |   13 +
 net/samba33/patches/patch-al |   19 +
 net/samba33/patches/patch-am |   78 ++++
 net/samba33/patches/patch-an |   13 +
 net/samba33/patches/patch-ao |   13 +
 net/samba33/patches/patch-ap |   15 +
 net/samba33/patches/patch-aq |   98 ++++++
 net/samba33/patches/patch-ar |   13 +
 net/samba33/patches/patch-as |   13 +
 net/samba33/patches/patch-at |   13 +
 net/samba33/patches/patch-au |   13 +
 net/samba33/patches/patch-av |   14 +
 net/samba33/patches/patch-aw |   17 +
 net/samba33/patches/patch-ax |   53 +++
 27 files changed, 1734 insertions(+), 0 deletions(-)

diffs (truncated from 1842 to 300 lines):

diff -r 428385d5be4c -r 2a5cd167397e net/samba33/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/samba33/Makefile      Tue Feb 16 16:24:15 2010 +0000
@@ -0,0 +1,150 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/02/16 16:24:15 taca Exp $
+
+.include "../../net/samba/Makefile.mirrors"
+
+DISTNAME=              samba-${VERSION}
+CATEGORIES=            net
+MASTER_SITES=          ${SAMBA_MIRRORS:=old-versions/}
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              http://www.samba.org/
+COMMENT=               SMB/CIFS protocol server suite
+LICENSE=               gnu-gpl-v3
+
+VERSION=               3.3.10
+CONFLICTS+=            ja-samba-[0-9]* pam-smbpass-[0-9]* tdb-[0-9]*   \
+                       winbind-[0-9]*
+MAKE_JOBS_SAFE=                NO
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+FILESDIR=              ${PKGDIR}/../samba/files
+DESCR_SRC=             ${PKGDIR}/../samba/DESCR
+MESSAGE_SRC=           ${PKGDIR}/../samba/MESSAGE
+WRKSRC=                        ${WRKDIR}/${DISTNAME}/source
+GNU_CONFIGURE=         yes
+BUILD_DEFS+=           VARBASE
+CHECK_WRKREF_SKIP=     *
+
+.include "../../mk/bsd.prefs.mk"
+
+PKG_SYSCONFSUBDIR?=    samba
+SAMBA_ETCDIR?=         ${PKG_SYSCONFDIR}
+SAMBA_LIBDIR?=         ${PREFIX}/lib
+SAMBA_LOCKDIR?=                ${SAMBA_VARDIR}/run/samba
+SAMBA_LOGDIR?=         ${SAMBA_VARDIR}/log
+SAMBA_MODULESDIR?=     ${SAMBA_LIBDIR}/samba
+SAMBA_PIDDIR?=         ${SAMBA_VARDIR}/run
+SAMBA_PRIVATE?=                ${SAMBA_ETCDIR}/private
+SAMBA_STATEDIR?=       ${SAMBA_VARDIR}/db/samba
+SAMBA_VARDIR?=         ${VARBASE}
+WINBINDD_RCD_SCRIPT=   # empty
+
+FILES_SUBST+=          SAMBA_ETCDIR=${SAMBA_ETCDIR:Q}
+FILES_SUBST+=          SAMBA_LOCKDIR=${SAMBA_LOCKDIR:Q}
+FILES_SUBST+=          SAMBA_LOGDIR=${SAMBA_LOGDIR:Q}
+FILES_SUBST+=          SAMBA_PIDDIR=${SAMBA_PIDDIR:Q}
+FILES_SUBST+=          SAMBA_PRIVATE=${SAMBA_PRIVATE:Q}
+FILES_SUBST+=          SAMBA_STATEDIR=${SAMBA_STATEDIR:Q}
+FILES_SUBST+=          SAMBA_VARDIR=${SAMBA_VARDIR:Q}
+FILES_SUBST+=          WINBINDD_RCD_SCRIPT=${WINBINDD_RCD_SCRIPT:Q}
+
+CONFIGURE_ARGS+=       --with-configdir=${SAMBA_ETCDIR:Q}
+CONFIGURE_ARGS+=       --libdir=${SAMBA_LIBDIR:Q}
+CONFIGURE_ARGS+=       --with-lockdir=${SAMBA_LOCKDIR:Q}
+CONFIGURE_ARGS+=       --with-logfilebase=${SAMBA_LOGDIR:Q}
+CONFIGURE_ARGS+=       --with-modulesdir=${SAMBA_MODULESDIR:Q}
+CONFIGURE_ARGS+=       --with-piddir=${SAMBA_PIDDIR:Q}
+CONFIGURE_ARGS+=       --with-privatedir=${SAMBA_PRIVATE:Q}
+CONFIGURE_ARGS+=       --with-statedir=${SAMBA_STATEDIR:Q}
+CONFIGURE_ARGS+=       --localstatedir=${SAMBA_VARDIR:Q}
+
+CONFIGURE_ARGS+=       --with-mandir=${PREFIX:Q}/${PKGMANDIR:Q}
+CONFIGURE_ARGS+=       --with-swatdir=${PREFIX:Q}/share/samba/swat
+
+.include "../../converters/libiconv/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-libiconv=${BUILDLINK_PREFIX.iconv}
+
+USE_GNU_READLINE=      yes
+.include "../../devel/readline/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-readline=${BUILDLINK_PREFIX.readline}
+
+.include "../../net/samba/options.mk"
+
+# Only Linux supports mount.cifs for mounting a CIFS share into the
+# filesystem.
+#
+PLIST_VARS+=           cifsmount
+.if ${OPSYS} == "Linux"
+CONFIGURE_ARGS+=       --with-cifsmount
+PLIST.cifsmount=       yes
+.endif
+
+# mktemp is useful for the replacement adduser script, but don't require
+# a full dependency since it's not actually needed by samba.
+#
+USE_TOOLS+=            mktemp
+
+# findsmb uses perl
+#
+USE_TOOLS+=            perl:run
+REPLACE_PERL=          script/findsmb.in
+
+.if !defined(PWD_MKDB)
+PWD_MKDB!=     ${TYPE} pwd_mkdb 2>&1 | \
+               ${AWK} '/not found/ { print "pwd_mkdb"; exit } { print $$3 }'
+MAKEFLAGS+=    PWD_MKDB=${PWD_MKDB:Q}
+.endif
+FILES_SUBST+=  MKTEMP=${MKTEMP:Q}
+FILES_SUBST+=  PWD_MKDB=${PWD_MKDB:Q}
+
+DOCDIR=                share/doc/${PKGBASE}
+EGDIR=         share/examples/${PKGBASE}
+
+INSTALLATION_DIRS+=    ${DOCDIR} ${EGDIR}
+
+CONF_FILES=            ${PREFIX}/${EGDIR}/smb.conf.default ${SAMBA_ETCDIR}/smb.conf
+MAKE_DIRS=             ${SAMBA_VARDIR} ${SAMBA_LOGDIR} ${SAMBA_PIDDIR}
+OWN_DIRS=              ${SAMBA_ETCDIR} ${SAMBA_LOCKDIR} ${SAMBA_STATEDIR}
+OWN_DIRS_PERMS=                ${SAMBA_PRIVATE} ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700
+RCD_SCRIPTS+=          samba nmbd smbd ${WINBINDD_RCD_SCRIPT}
+
+SUBST_CLASSES+=                paths
+SUBST_FILES.paths=     ${WRKDIR}/adduser.sh ${WRKDIR}/deluser.sh
+SUBST_SED.paths+=      -e 's,@AWK@,${AWK},g'
+SUBST_SED.paths+=      -e 's,@CAT@,${CAT},g'
+SUBST_SED.paths+=      -e 's,@MKTEMP@,${MKTEMP},g'
+SUBST_SED.paths+=      -e 's,@RM@,${RM},g'
+SUBST_SED.paths+=      -e 's,@PWD_MKDB@,${PWD_MKDB},g'
+SUBST_SED.paths+=      -e 's,@SH@,${SH},g'
+SUBST_STAGE.paths=     post-patch
+
+post-extract:
+       ${CP} ${FILESDIR}/adduser.sh ${FILESDIR}/deluser.sh ${WRKDIR}
+
+post-install:
+       ${RMDIR} ${DESTDIR}${PREFIX}/share/samba/swat/js
+       ${RMDIR} ${DESTDIR}${PREFIX}/share/samba/swat/lang/ja/include
+       ${RMDIR} ${DESTDIR}${PREFIX}/share/samba/swat/lang/ja/images
+       ${RMDIR} ${DESTDIR}${PREFIX}/share/samba/swat/lang/ja/js
+       ${RMDIR} ${DESTDIR}${PREFIX}/share/samba/swat/lang/tr/include
+       ${RMDIR} ${DESTDIR}${PREFIX}/share/samba/swat/lang/tr/js
+       for d in gpext idmap pdb rpc; do                                \
+               ${RMDIR} ${DESTDIR}${SAMBA_MODULESDIR}/$$d;             \
+       done
+       cd ${WRKDIR}/${DISTNAME}/docs/registry; for f in *.reg; do      \
+               ${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/${DOCDIR}/$${f}; \
+       done
+       ${INSTALL_SCRIPT} ${WRKDIR}/adduser.sh ${DESTDIR}${PREFIX}/${EGDIR}/adduser.sh
+       ${INSTALL_SCRIPT} ${WRKDIR}/deluser.sh ${DESTDIR}${PREFIX}/${EGDIR}/deluser.sh
+       cd ${WRKDIR}/${DISTNAME}/examples; \
+               ${INSTALL_DATA} LDAP/samba.schema ${DESTDIR}${PREFIX}/${EGDIR}; \
+               ${INSTALL_DATA} smb.conf.default ${DESTDIR}${PREFIX}/${EGDIR}
+       cd ${WRKSRC}/script; ${INSTALL_SCRIPT} mknissmbpasswd.sh ${DESTDIR}${PREFIX}/${EGDIR}
+       cd ${WRKSRC}/script; ${INSTALL_SCRIPT} mknissmbpwdtbl.sh ${DESTDIR}${PREFIX}/${EGDIR}
+       cd ${WRKSRC}/script; ${INSTALL_SCRIPT} mksmbpasswd.sh ${DESTDIR}${PREFIX}/${EGDIR}
+       cd ${WRKSRC}/script; ${INSTALL_SCRIPT} updatesmbpasswd.sh ${DESTDIR}${PREFIX}/${EGDIR}
+       ${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/include/*.h
+
+.include "../../devel/popt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 428385d5be4c -r 2a5cd167397e net/samba33/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/samba33/PLIST Tue Feb 16 16:24:15 2010 +0000
@@ -0,0 +1,684 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/02/16 16:24:15 taca Exp $
+bin/eventlogadm
+bin/findsmb
+bin/ldbadd
+bin/ldbdel
+bin/ldbedit
+bin/ldbmodify
+bin/ldbrename
+bin/ldbsearch
+bin/net
+bin/nmblookup
+bin/ntlm_auth
+bin/pdbedit
+bin/profiles
+bin/rpcclient
+bin/sharesec
+bin/smbcacls
+bin/smbclient
+bin/smbcontrol
+bin/smbcquotas
+bin/smbget
+bin/smbpasswd
+bin/smbspool
+bin/smbstatus
+bin/smbtar
+bin/smbtree
+bin/tdbbackup
+bin/tdbdump
+bin/tdbtool
+bin/testparm
+${PLIST.winbind}bin/wbinfo
+include/libsmbclient.h
+include/netapi.h
+include/smb_share_modes.h
+include/talloc.h
+include/tdb.h
+include/wbclient.h
+lib/libnetapi.so
+lib/libnetapi.so.0
+lib/libsmbclient.so
+lib/libsmbclient.so.0
+lib/libsmbsharemodes.so
+lib/libsmbsharemodes.so.0
+lib/libtalloc.so
+lib/libtalloc.so.1
+lib/libtdb.so
+lib/libtdb.so.1
+lib/libwbclient.so
+lib/libwbclient.so.0
+${PLIST.winbind}${NSS_WINBIND}
+${PLIST.winbind}${NSS_WINS}
+lib/samba/auth/script.so
+lib/samba/charset/CP437.so
+lib/samba/charset/CP850.so
+lib/samba/de.msg
+lib/samba/en.msg
+lib/samba/fi.msg
+lib/samba/fr.msg
+lib/samba/it.msg
+lib/samba/ja.msg
+lib/samba/lowcase.dat
+lib/samba/nl.msg
+lib/samba/pl.msg
+lib/samba/tr.msg
+lib/samba/upcase.dat
+lib/samba/valid.dat
+lib/samba/vfs/acl_tdb.so
+lib/samba/vfs/acl_xattr.so
+lib/samba/vfs/audit.so
+lib/samba/vfs/cap.so
+lib/samba/vfs/default_quota.so
+lib/samba/vfs/expand_msdfs.so
+lib/samba/vfs/extd_audit.so
+lib/samba/vfs/fake_perms.so
+lib/samba/vfs/full_audit.so
+lib/samba/vfs/netatalk.so
+${PLIST.fam}lib/samba/vfs/notify_fam.so
+lib/samba/vfs/preopen.so
+lib/samba/vfs/readahead.so
+lib/samba/vfs/readonly.so
+lib/samba/vfs/recycle.so
+lib/samba/vfs/shadow_copy.so
+lib/samba/vfs/shadow_copy2.so
+lib/samba/vfs/smb_traffic_analyzer.so
+lib/samba/vfs/streams_depot.so
+lib/samba/vfs/streams_xattr.so
+lib/samba/vfs/xattr_tdb.so
+${PLIST.pam}lib/security/pam_smbpass.so
+${PLIST.pam}${PLIST.winbind}lib/security/pam_winbind.so
+${PLIST.cups}libexec/cups/backend/smb
+man/man1/findsmb.1
+man/man1/ldbadd.1
+man/man1/ldbdel.1
+man/man1/ldbedit.1
+man/man1/ldbmodify.1
+man/man1/ldbrename.1
+man/man1/ldbsearch.1
+man/man1/log2pcap.1
+man/man1/nmblookup.1
+man/man1/ntlm_auth.1
+man/man1/profiles.1
+man/man1/rpcclient.1
+man/man1/sharesec.1
+man/man1/smbcacls.1
+man/man1/smbclient.1
+man/man1/smbcontrol.1
+man/man1/smbcquotas.1
+man/man1/smbget.1
+man/man1/smbstatus.1
+man/man1/smbtar.1
+man/man1/smbtree.1
+man/man1/testparm.1
+man/man1/vfstest.1
+man/man1/wbinfo.1
+man/man5/lmhosts.5
+man/man5/smb.conf.5
+man/man5/smbgetrc.5
+man/man5/smbpasswd.5
+man/man7/libsmbclient.7
+man/man7/samba.7
+man/man7/winbind_krb5_locator.7
+man/man8/eventlogadm.8
+man/man8/idmap_ad.8
+man/man8/idmap_adex.8
+man/man8/idmap_hash.8
+man/man8/idmap_ldap.8
+man/man8/idmap_nss.8
+man/man8/idmap_rid.8
+man/man8/idmap_tdb.8
+man/man8/idmap_tdb2.8
+man/man8/mount.cifs.8
+man/man8/net.8
+man/man8/nmbd.8
+man/man8/pam_winbind.8
+man/man8/pdbedit.8
+man/man8/smbd.8
+man/man8/smbpasswd.8
+man/man8/smbspool.8
+man/man8/swat.8
+man/man8/tdbbackup.8
+man/man8/tdbdump.8
+man/man8/tdbtool.8



Home | Main Index | Thread Index | Old Index