pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/samba2 Reimport net/samba as net/samba2. net/samb...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5fed6db28fbf
branches:  trunk
changeset: 466069:5fed6db28fbf
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Jan 11 00:41:12 2004 +0000

description:
Reimport net/samba as net/samba2.  net/samba2 will continue to track the
2.x release of Samba, which net/samba will track post-2.x releases of
Samba.

diffstat:

 net/samba2/DESCR             |   13 +
 net/samba2/INSTALL           |   24 ++
 net/samba2/MESSAGE.smbpasswd |   19 +
 net/samba2/Makefile.common   |   70 ++++++
 net/samba2/PLIST             |  452 +++++++++++++++++++++++++++++++++++++++++++
 net/samba2/buildlink2.mk     |   28 ++
 net/samba2/distinfo          |   16 +
 net/samba2/files/adduser.sh  |  160 +++++++++++++++
 net/samba2/files/deluser.sh  |   68 ++++++
 net/samba2/files/nmbd.sh     |   30 ++
 net/samba2/files/samba.sh    |   56 +++++
 net/samba2/files/smbd.sh     |   28 ++
 net/samba2/patches/patch-ab  |   62 +++++
 net/samba2/patches/patch-ac  |   13 +
 net/samba2/patches/patch-ad  |   31 ++
 net/samba2/patches/patch-ag  |   23 ++
 net/samba2/patches/patch-ah  |   13 +
 net/samba2/patches/patch-aj  |   13 +
 net/samba2/patches/patch-al  |   17 +
 net/samba2/patches/patch-ap  |   57 +++++
 net/samba2/patches/patch-aq  |   56 +++++
 net/samba2/patches/patch-ar  |   16 +
 net/samba2/patches/patch-as  |   16 +
 23 files changed, 1281 insertions(+), 0 deletions(-)

diffs (truncated from 1373 to 300 lines):

diff -r 2c8331007ce8 -r 5fed6db28fbf net/samba2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/samba2/DESCR  Sun Jan 11 00:41:12 2004 +0000
@@ -0,0 +1,13 @@
+Samba is a suite of programs which work together to allow clients to
+access to a server's filespace and printers via the SMB (Server
+Message Block) protocol.
+
+In practice, this means that you can redirect disks and printers to
+Unix disks and printers from Lan Manager clients, Windows for
+Workgroups 3.11 clients, Windows NT clients, Linux clients and OS/2
+clients. There is also a generic Unix client program supplied as part
+of the suite which allows Unix users to use an ftp-like interface to
+access filespace and printers on any other SMB servers. This gives the
+capability for these operating systems to behave much like a LAN
+Server or Windows NT Server machine, only with added functionality and
+flexibility designed to make life easier for administrators.
diff -r 2c8331007ce8 -r 5fed6db28fbf net/samba2/INSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/samba2/INSTALL        Sun Jan 11 00:41:12 2004 +0000
@@ -0,0 +1,24 @@
+#!/bin/sh
+#
+# $NetBSD: INSTALL,v 1.1.1.1 2004/01/11 00:41:13 jlam Exp $
+
+SAMBA_LOCKDIR="@SAMBA_LOCKDIR@"
+SAMBA_PRIVATE="@SAMBA_PRIVATE@"
+
+case ${STAGE} in
+POST-INSTALL)
+       # Check for files in old "lock" directory.
+       if [ -e /var/run/samba ]
+       then
+               ${CAT} << EOF
+===========================================================================
+
+The location of the Samba cache directory has moved to ${SAMBA_LOCKDIR}.
+If you have any files under /var/run/samba, please move them into
+${SAMBA_LOCKDIR} and restart the SMB and NMB servers.
+
+===========================================================================
+EOF
+       fi
+       ;;
+esac
diff -r 2c8331007ce8 -r 5fed6db28fbf net/samba2/MESSAGE.smbpasswd
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/samba2/MESSAGE.smbpasswd      Sun Jan 11 00:41:12 2004 +0000
@@ -0,0 +1,19 @@
+===========================================================================
+$NetBSD: MESSAGE.smbpasswd,v 1.1.1.1 2004/01/11 00:41:12 jlam Exp $
+
+                      *===* SECURITY NOTES *===*
+
+The users' encrypted passwords are stored in
+
+       ${SAMBA_PRIVATE}/smbpasswd
+
+with owner ${ROOT_USER}, group ${ROOT_GROUP}, and file mode 0600.
+These encrypted passwords are _PASSWORD_EQUIVALENT_ from the viewpoint of
+the SMB protocol.  Do _NOT_ weaken the permissions of this file unless
+there is a very good reason.
+
+Please note that even if you pkg_delete ${PKGNAME}, the smbpasswd file
+will remain on the system.  If you don't intend to use this package
+anymore, then it is _STRONGLY_ recommended that you remove the smbpasswd
+file manually.
+===========================================================================
diff -r 2c8331007ce8 -r 5fed6db28fbf net/samba2/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/samba2/Makefile.common        Sun Jan 11 00:41:12 2004 +0000
@@ -0,0 +1,70 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2004/01/11 00:41:12 jlam Exp $
+#
+# NOTE: This file is included by:
+#
+#      net/samba/Makefile
+#      security/pam-smbpass/Makefile
+#      security/winbind/Makefile
+
+DISTNAME=              samba-${SAMBA_DIST_VERS}
+SAMBA_DIST_VERS=       2.2.8a
+WRKSRC?=               ${WRKDIR}/${DISTNAME}/source
+CATEGORIES?=           net
+MASTER_SITES=          ftp://ftp.samba.org/pub/samba/ \
+                       ftp://ring.asahi-net.or.jp/pub/net/samba/ \
+                       ftp://samba.anu.edu.au/pub/samba/ \
+                       ftp://ftp.sunet.se/pub/unix/utilities/samba/
+COUNTRY_MIRRORS=       au1 ca fi fr de it pl ru sg se us1 us6
+.for COUNTRY in ${COUNTRY_MIRRORS}
+MASTER_SITES+=         ftp://${COUNTRY}.samba.org/pub/samba/
+.endfor
+EXTRACT_SUFX=          .tar.bz2
+
+DISTINFO_FILE?=                ${.CURDIR}/../../net/samba/distinfo
+PATCHDIR?=             ${.CURDIR}/../../net/samba/patches
+
+GNU_CONFIGURE=         # defined
+USE_LIBTOOL=           # defined
+LTCONFIG_OVERRIDE=     ${WRKSRC}/ltconfig
+
+.include "../../mk/bsd.prefs.mk"
+
+PKG_SYSCONFSUBDIR?=    samba
+PKG_SYSCONFVAR=                samba
+
+VARDIR?=               /var
+SAMBA_ETCDIR?=         ${PKG_SYSCONFDIR}
+SAMBA_DATADIR=         ${PREFIX}/share
+SAMBA_LOCKDIR?=                ${VARDIR}/db/samba
+SAMBA_LOGDIR?=         ${VARDIR}/log
+SAMBA_PIDDIR?=         ${VARDIR}/run
+SAMBA_PRIVATE?=                ${SAMBA_ETCDIR}/private
+
+CONFIGURE_ARGS+=       --localstatedir=${VARDIR}
+CONFIGURE_ARGS+=       --sbindir=${PREFIX}/sbin
+CONFIGURE_ARGS+=       --with-configdir=${SAMBA_ETCDIR}
+CONFIGURE_ARGS+=       --with-codepagedir=${SAMBA_DATADIR}/samba/codepages
+CONFIGURE_ARGS+=       --with-datadir=${SAMBA_DATADIR}
+CONFIGURE_ARGS+=       --with-lockdir=${SAMBA_LOCKDIR}
+CONFIGURE_ARGS+=       --with-logfilebase=${SAMBA_LOGDIR}
+CONFIGURE_ARGS+=       --with-piddir=${SAMBA_PIDDIR}
+CONFIGURE_ARGS+=       --with-privatedir=${SAMBA_PRIVATE}
+CONFIGURE_ARGS+=       --with-swatdir=${SAMBA_DATADIR}/samba/swat
+
+CONFIGURE_ARGS+=       --without-readline
+CONFIGURE_ARGS+=       --without-ssl
+
+CONFIGURE_ENV+=                ac_cv_lib_curses_tgetent=no
+
+CONFIGURE_ARGS+=       --disable-cups
+CONFIGURE_ARGS+=       --without-pam
+CONFIGURE_ARGS+=       --without-winbind
+
+# The following are Linux-only options.
+CONFIGURE_ARGS+=       --without-smbwrapper
+CONFIGURE_ARGS+=       --without-smbmount
+
+FILES_SUBST=           SAMBA_PRIVATE=${SAMBA_PRIVATE}
+FILES_SUBST+=          SAMBA_LOCKDIR=${SAMBA_LOCKDIR}
+FILES_SUBST+=          SAMBA_LOGDIR=${SAMBA_LOGDIR}
+FILES_SUBST+=          SAMBA_ETCDIR=${SAMBA_ETCDIR}
diff -r 2c8331007ce8 -r 5fed6db28fbf net/samba2/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/samba2/PLIST  Sun Jan 11 00:41:12 2004 +0000
@@ -0,0 +1,452 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/11 00:41:13 jlam Exp $
+bin/findsmb
+bin/make_printerdef
+bin/make_smbcodepage
+bin/make_unicodemap
+bin/nmblookup
+${SAMBA_LDAP}bin/pdbedit
+bin/rpcclient
+bin/smbcacls
+bin/smbclient
+bin/smbcontrol
+bin/smbpasswd
+bin/smbspool
+bin/smbstatus
+bin/smbtar
+bin/tdbbackup
+bin/testparm
+bin/testprns
+etc/rc.d/nmbd
+etc/rc.d/samba
+etc/rc.d/smbd
+man/man1/findsmb.1
+man/man1/make_smbcodepage.1
+man/man1/make_unicodemap.1
+man/man1/nmblookup.1
+man/man1/rpcclient.1
+man/man1/smbcacls.1
+man/man1/smbclient.1
+man/man1/smbcontrol.1
+man/man1/smbsh.1
+man/man1/smbstatus.1
+man/man1/smbtar.1
+man/man1/testparm.1
+man/man1/testprns.1
+man/man1/wbinfo.1
+man/man5/lmhosts.5
+man/man5/smb.conf.5
+man/man5/smbpasswd.5
+man/man7/samba.7
+man/man8/nmbd.8
+man/man8/pdbedit.8
+man/man8/smbd.8
+man/man8/smbmnt.8
+man/man8/smbmount.8
+man/man8/smbpasswd.8
+man/man8/smbspool.8
+man/man8/smbumount.8
+man/man8/swat.8
+man/man8/winbindd.8
+sbin/mksmbpasswd
+sbin/nmbd
+sbin/smbd
+sbin/swat
+share/doc/samba/Application_Serving.txt
+share/doc/samba/BROWSING-Config.txt
+share/doc/samba/BROWSING.txt
+share/doc/samba/BUGS.txt
+share/doc/samba/CUPS-PrintingInfo.txt
+share/doc/samba/DHCP-Server-Configuration.txt
+share/doc/samba/DIAGNOSIS.txt
+share/doc/samba/DNIX.txt
+share/doc/samba/Faxing.txt
+share/doc/samba/GOTCHAS.txt
+share/doc/samba/HINTS.txt
+share/doc/samba/INSTALL.sambatar
+share/doc/samba/Imprints.txt
+share/doc/samba/Macintosh_Clients.txt
+share/doc/samba/NT4-Locking.reg
+share/doc/samba/NT4_PlainPassword.reg
+share/doc/samba/NetBIOS.txt
+share/doc/samba/PROFILES.txt
+share/doc/samba/Passwords.txt
+share/doc/samba/Printing.txt
+share/doc/samba/README.DCEDFS
+share/doc/samba/README.NOW
+share/doc/samba/README.jis
+share/doc/samba/README.sambatar
+share/doc/samba/Recent-FAQs.txt
+share/doc/samba/RoutedNetworks.txt
+share/doc/samba/SCO.txt
+share/doc/samba/SMBTAR.notes
+share/doc/samba/Samba-OpenSSL.txt
+share/doc/samba/Speed.txt
+share/doc/samba/Speed2.txt
+share/doc/samba/Tracing.txt
+share/doc/samba/UNIX-SMB.txt
+share/doc/samba/UNIX_SECURITY.txt
+share/doc/samba/Win2000_PlainPassword.reg
+share/doc/samba/Win95.txt
+share/doc/samba/Win95_PlainPassword.reg
+share/doc/samba/Win98_PlainPassword.reg
+share/doc/samba/Win9X-CacheHandling.reg
+share/doc/samba/WinME_PlainPassword.reg
+share/doc/samba/WinNT.txt
+share/doc/samba/WinXP_SignOrSeal.reg
+share/doc/samba/WindowsTerminalServer.reg
+share/doc/samba/announce
+share/doc/samba/cifsntdomain.txt
+share/doc/samba/security_level.txt
+share/examples/samba/LDAP/README
+share/examples/samba/LDAP/export_smbpasswd.pl
+share/examples/samba/LDAP/import_smbpasswd.pl
+share/examples/samba/LDAP/ldapchpasswd
+share/examples/samba/LDAP/ldapsync.pl
+share/examples/samba/LDAP/samba-nds.schema
+share/examples/samba/LDAP/samba-schema-netscapeds4.x
+share/examples/samba/LDAP/samba-schema-netscapeds5.x
+share/examples/samba/LDAP/samba-schema.IBMSecureWay
+share/examples/samba/LDAP/samba.schema
+share/examples/samba/LDAP/smbldap-tools/AUTHORS
+share/examples/samba/LDAP/smbldap-tools/CONTRIBUTORS
+share/examples/samba/LDAP/smbldap-tools/COPYING
+share/examples/samba/LDAP/smbldap-tools/ChangeLog
+share/examples/samba/LDAP/smbldap-tools/FILES
+share/examples/samba/LDAP/smbldap-tools/INFRASTRUCTURE
+share/examples/samba/LDAP/smbldap-tools/INSTALL
+share/examples/samba/LDAP/smbldap-tools/Makefile
+share/examples/samba/LDAP/smbldap-tools/NEWS
+share/examples/samba/LDAP/smbldap-tools/README
+share/examples/samba/LDAP/smbldap-tools/TODO
+share/examples/samba/LDAP/smbldap-tools/cgi/README
+share/examples/samba/LDAP/smbldap-tools/cgi/ldappass.cgi
+share/examples/samba/LDAP/smbldap-tools/mkntpwd/Makefile
+share/examples/samba/LDAP/smbldap-tools/mkntpwd/getopt.c
+share/examples/samba/LDAP/smbldap-tools/mkntpwd/getopt.h
+share/examples/samba/LDAP/smbldap-tools/mkntpwd/md4.c
+share/examples/samba/LDAP/smbldap-tools/mkntpwd/mkntpwd.c
+share/examples/samba/LDAP/smbldap-tools/mkntpwd/mkntpwd.h
+share/examples/samba/LDAP/smbldap-tools/mkntpwd/smbdes.c
+share/examples/samba/LDAP/smbldap-tools/smbldap-groupadd.pl
+share/examples/samba/LDAP/smbldap-tools/smbldap-groupdel.pl
+share/examples/samba/LDAP/smbldap-tools/smbldap-groupmod.pl
+share/examples/samba/LDAP/smbldap-tools/smbldap-groupshow.pl
+share/examples/samba/LDAP/smbldap-tools/smbldap-migrate-accounts.pl
+share/examples/samba/LDAP/smbldap-tools/smbldap-migrate-groups.pl
+share/examples/samba/LDAP/smbldap-tools/smbldap-passwd.pl
+share/examples/samba/LDAP/smbldap-tools/smbldap-populate.pl
+share/examples/samba/LDAP/smbldap-tools/smbldap-tools.spec
+share/examples/samba/LDAP/smbldap-tools/smbldap-useradd.pl
+share/examples/samba/LDAP/smbldap-tools/smbldap-userdel.pl
+share/examples/samba/LDAP/smbldap-tools/smbldap-usermod.pl
+share/examples/samba/LDAP/smbldap-tools/smbldap-usershow.pl
+share/examples/samba/LDAP/smbldap-tools/smbldap_conf.pm
+share/examples/samba/LDAP/smbldap-tools/smbldap_tools.pm
+share/examples/samba/README
+share/examples/samba/adduser.sh
+share/examples/samba/deluser.sh
+share/examples/samba/misc/convert_smbpasswd
+share/examples/samba/misc/extra_smbstatus
+share/examples/samba/misc/modify_samba_config.pl
+share/examples/samba/misc/swat.pl
+share/examples/samba/misc/wall.perl
+share/examples/samba/printer-accounting/README
+share/examples/samba/printer-accounting/acct-all



Home | Main Index | Thread Index | Old Index