diff options
author | Jeremy Allison <jra@samba.org> | 2002-02-02 20:46:17 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-02-02 20:46:17 +0000 |
commit | 2533f976a6d4f5973a640e5465d216f18f212cfb (patch) | |
tree | c19ab42433a1bf56395ffa78027ab112e71f2037 /packaging | |
parent | f8626687e8fc3654b7af3bad09d34dce145a8e53 (diff) | |
download | samba-2533f976a6d4f5973a640e5465d216f18f212cfb.tar.gz |
Remove - not used.
Jeremy.
Diffstat (limited to 'packaging')
48 files changed, 0 insertions, 4007 deletions
diff --git a/packaging/Debian/unstable/README.build b/packaging/Debian/unstable/README.build deleted file mode 100644 index 0a11a1f6ea6..00000000000 --- a/packaging/Debian/unstable/README.build +++ /dev/null @@ -1,397 +0,0 @@ -From: Steve Langasek <vorlon@netexpress.net> -To: "Eloy A. Paris" <eloy.paris@usa.net> -Date: Thu, 23 Aug 2001 21:20:05 -0500 (CDT) -Subject: Re: autobuilder failure on arm for samba-2.2.1a-3 -In-Reply-To: <20010823100906.A1092@antenas> -Message-ID: <Pine.LNX.4.30.0108231744090.11071-100000@tennyson.netexpress.net> -MIME-Version: 1.0 -Content-Type: TEXT/PLAIN; charset=US-ASCII - -On Thu, 23 Aug 2001, Eloy A. Paris wrote: - -> On Wed, Aug 22, 2001 at 03:01:01PM -0500, Steve Langasek wrote: - -> > Hmm. Maybe the thing to do is to focus on getting config.cache (not log, -> > cache) support into the package. Issues like this are frequent enough with -> > Samba, and the configure tests add enough time to the build process, that I -> > think there'd be much benefit in being able to step past a lot of these. - -> Uhhmmm... I don't know, I guess I don't like much the idea of -> maintaining a config.cache. It looks like extra work plus a -> compilation process that is "synthetic" or atificial. What happens if -> the Samba Team adds a new test, or modifies the configure script, will -> the config.cache pick those up? - -> In any case, you are the expert, so if you think that's the way to go, -> and the burden far exceeds the problems we have right now I say let's -> go for it. I am not well versed on autoconf and the configure process, -> that's all... - -Well, I'll attach my work to the bottom of this message and let you judge it -for yourself. - -The config.cache I'm trying to generate here is not equivalent to what -a configure script outputs. The only values I'm including are those which 1) -are no-brainers on any glibc-based platform, 2) are questions we need to force -a particular value for regardless of the kernel being built against, or 3) are -questions about specific bizarre features of proprietary Unices that we'll -always get an answer of 'no' to. - -I've removed all of the config.cache variables related to headers, or to -checks for particular libraries; I think it's pretty safe to assert that glibc -provides basic C functions like select(), setenv(), and waitpid() on all our -build targets, but I think it's less safe to assert that they'll always be -provided by particular header files. - -So the config.cache won't automatically be updated with answers to new -configure tests, but it also doesn't need to in order to be useful. There's -really only a handful of variables in there that we /need/ in order to -guarantee correctly-built packages, and if you want to leave out everything -else, that's perfectly ok too. Everything from the fifth stanza on down is -just a build-time speed-up for some of the slower architectures. Well, it -also has the fringe benefit that the packages will FAIL to build if someone -tries rebuilding for a really bizarre (non-Linux, non-glibc) architecture. I -see that as a plus :), you may disagree, but in any case my next trick would -be to add a global variable developers can set to bypass the provided -config.cache. - - -It is a little artificial, but the whole point of .debs is to be able to build -binaries in a controlled environment. Right now, we don't really have control -over what happens in the autobuilders. We have even /less/ control over what -happens in a stable release: it's been two weeks now since I built binaries -for bug #94380, and they haven't been uploaded to security.d.o yet. I'm -guessing they won't be uploaded until Wichert is back from vacation, either -- -which is fine, but it would be nice if we didn't have to worry about -mis-builds by the security team, or about putting the security team to extra -trouble after the fact to get packages fixed. - -With a pre-loaded config.cache, we can ensure that bugs of this kind don't -happen in woody. We can take the arm autobuilder problem into our own hands, -and not have to worry about quirkiness in the build environment. We can even -close bug #109773, since we no longer have to worry about detecting the -setuid() routines. - - -So to me, it definitely seems worth it. But you're the maintainer, and I -won't ask you to put anything in the package that you're not comfortable with. - - -> By the way, I think I remember someone was able to build 2.2.x succesfully on -> the ARM. If this is the case, could it be that there's something weird -> with Phillip's setup? - -It could be. There are arm packages for 2.2.1a-1, so at /some/ point the -autobuilder was able to pass the locking test. - - -> P.S. How did you know about the ARM build problems? I don't see any -> bugs about this... - -<http://ftp-master.debian.org/testing/>, follow the links for samba... The -exact reference for the arm autobuilder is at -<http://buildd.armlinux.org/~buildd/build.php?pkg=samba&ver=2.2.1a-4&arch=arm>. - -Regards, -Steve Langasek -postmodern programmer - - -diff -uNrw samba-2.2.1a-bak/debian/changelog samba-2.2.1a/debian/changelog ---- samba-2.2.1a-bak/debian/changelog Thu Aug 23 10:27:54 2001 -+++ samba-2.2.1a/debian/changelog Thu Aug 23 10:28:08 2001 -@@ -1,3 +1,12 @@ -+samba (2.2.1a-4.1) unstable; urgency=low -+ -+ * Fix up the build system to avoid needing to run configure as root to -+ answer questions we already know the answers to. -+ * In the process, make surprising progress towards being able to -+ cross-compile the samba packages. -+ -+ -- Steve Langasek <vorlon@debian.org> Wed, 22 Aug 2001 23:35:00 -0500 -+ - samba (2.2.1a-4) unstable; urgency=low - - * Fixed typo in smbmount's mount page. -diff -uNrw samba-2.2.1a-bak/debian/config.cache samba-2.2.1a/debian/config.cache ---- samba-2.2.1a-bak/debian/config.cache Wed Dec 31 18:00:00 1969 -+++ samba-2.2.1a/debian/config.cache Thu Aug 23 10:28:08 2001 -@@ -0,0 +1,231 @@ -+# -+# 22 August 2001 Steve Langasek <vorlon@debian.org> -+# -+# This file is a shell script that caches the results of configure -+# tests run on this system so they can be shared between configure -+# scripts and configure runs. It is not useful on other systems. -+# If it contains results you don't want to keep, you may remove or edit it. -+# -+# By default, configure uses ./config.cache as the cache file, -+# creating it if it does not exist already. You can give configure -+# the --cache-file=FILE option to use a different cache file; that is -+# what configure does when it calls configure scripts in -+# subdirectories, so they share the cache. -+# Giving --cache-file=/dev/null disables caching, for debugging configure. -+# config.status only pays attention to the cache file if you give it the -+# --recheck option to rerun configure. -+# -+# -+# This config.cache file contains a list of acceptable autoconf -+# values which can be used in compiling Samba for Debian woody/sid. -+# -+# Autoconf sorts options alphabetically in its output. This file -+# groups options logically. -+ -+ -+# Load any architecture-specific settings -+if [ -n "$DEB_HOST_GNU_TYPE" \ -+ -a -f ../debian/config.cache.${DEB_HOST_GNU_TYPE} ]; then -+ . ../debian/config.cache.${DEB_HOST_GNU_TYPE} -+fi -+ -+ -+# This is at the top because it's most in need of regular tweaking. -+# These are options which are supported on 2.4 kernels, but not on 2.2 -+# kernels. -+ -+samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=${samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=no} -+samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=${samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=no} -+samba_cv_HAVE_KERNEL_SHARE_MODES=${samba_cv_HAVE_KERNEL_SHARE_MODES=no} -+ -+ -+# These are present in 2.2 kernels, but not in 2.0... -+ -+samba_cv_have_setresuid=${samba_cv_have_setresuid=yes} -+samba_cv_have_setresgid=${samba_cv_have_setresgid=yes} -+samba_cv_USE_SETRESUID=${samba_cv_USE_SETRESUID=yes} -+ -+ -+# POSIX ACL support not present in Linux 2.2; not allowed in the -+# Debian packages, even if present on the build machine. -+ -+ac_cv_header_sys_acl_h=${ac_cv_header_sys_acl_h=no} -+ -+ -+# Various basic libc/compiler stuff that it's blindingly obvious that -+# Linux supports (now watch me get bitten for saying that) -+ -+ac_cv_c_const=${ac_cv_c_const=yes} -+ac_cv_c_inline=${ac_cv_c_inline=inline} -+samba_cv_volatile=${samba_cv_volatile=yes} -+ac_cv_dirent_d_off=${ac_cv_dirent_d_off=yes} -+ac_cv_func_bzero=${ac_cv_func_bzero=yes} -+ac_cv_func_chmod=${ac_cv_func_chmod=yes} -+ac_cv_func_chown=${ac_cv_func_chown=yes} -+ac_cv_func_chroot=${ac_cv_func_chroot=yes} -+ac_cv_func_connect=${ac_cv_func_connect=yes} -+ac_cv_func_dup2=${ac_cv_func_dup2=yes} -+ac_cv_func_execl=${ac_cv_func_execl=yes} -+ac_cv_func_fchmod=${ac_cv_func_fchmod=yes} -+ac_cv_func_fchown=${ac_cv_func_fchown=yes} -+ac_cv_func_fstat=${ac_cv_func_fstat=yes} -+ac_cv_func_fsync=${ac_cv_func_fsync=yes} -+ac_cv_func_ftruncate=${ac_cv_func_ftruncate=yes} -+ac_cv_func_getcwd=${ac_cv_func_getcwd=yes} -+ac_cv_func_getgrent=${ac_cv_func_getgrent=yes} -+ac_cv_func_getgrnam=${ac_cv_func_getgrnam=yes} -+ac_cv_func_getspnam=${ac_cv_func_getspnam=yes} -+ac_cv_func_glob=${ac_cv_func_glob=yes} -+ac_cv_func_grantpt=${ac_cv_func_grantpt=yes} -+ac_cv_func_initgroups=${ac_cv_func_initgroups=yes} -+ac_cv_func_llseek=${ac_cv_func_llseek=yes} -+ac_cv_func_memcmp_clean=${ac_cv_func_memcmp_clean=yes} -+ac_cv_func_memmove=${ac_cv_func_memmove=yes} -+ac_cv_func_memset=${ac_cv_func_memset=yes} -+ac_cv_func_mktime=${ac_cv_func_mktime=yes} -+ac_cv_func_pipe=${ac_cv_func_pipe=yes} -+ac_cv_func_poll=${ac_cv_func_poll=yes} -+ac_cv_func_pread=${ac_cv_func_pread=yes} -+ac_cv_func_pwrite=${ac_cv_func_pwrite=yes} -+ac_cv_func_rand=${ac_cv_func_rand=yes} -+ac_cv_func_random=${ac_cv_func_random=yes} -+ac_cv_func_readlink=${ac_cv_func_readlink=yes} -+ac_cv_func_rename=${ac_cv_func_rename=yes} -+ac_cv_func_select=${ac_cv_func_select=yes} -+ac_cv_func_setenv=${ac_cv_func_setenv=yes} -+ac_cv_func_setgroups=${ac_cv_func_setgroups=yes} -+ac_cv_func_setsid=${ac_cv_func_setsid=yes} -+ac_cv_func_sigaction=${ac_cv_func_sigaction=yes} -+ac_cv_func_sigblock=${ac_cv_func_sigblock=yes} -+ac_cv_func_sigprocmask=${ac_cv_func_sigprocmask=yes} -+ac_cv_func_snprintf=${ac_cv_func_snprintf=yes} -+ac_cv_func_srand=${ac_cv_func_srand=yes} -+ac_cv_func_srandom=${ac_cv_func_srandom=yes} -+ac_cv_func_strcasecmp=${ac_cv_func_strcasecmp=yes} -+ac_cv_func_strchr=${ac_cv_func_strchr=yes} -+ac_cv_func_strdup=${ac_cv_func_strdup=yes} -+ac_cv_func_strerror=${ac_cv_func_strerror=yes} -+ac_cv_func_strftime=${ac_cv_func_strftime=yes} -+ac_cv_func_strpbrk=${ac_cv_func_strpbrk=yes} -+ac_cv_func_strtoul=${ac_cv_func_strtoul=yes} -+ac_cv_func_symlink=${ac_cv_func_symlink=yes} -+ac_cv_func_usleep=${ac_cv_func_usleep=yes} -+ac_cv_func_utime=${ac_cv_func_utime=yes} -+ac_cv_func_utimes=${ac_cv_func_utimes=yes} -+ac_cv_func_vsnprintf=${ac_cv_func_vsnprintf=yes} -+ac_cv_func_waitpid=${ac_cv_func_waitpid=yes} -+ac_cv_type_ino_t=${ac_cv_type_ino_t=yes} -+ac_cv_type_mode_t=${ac_cv_type_mode_t=yes} -+ac_cv_type_pid_t=${ac_cv_type_pid_t=yes} -+ac_cv_type_size_t=${ac_cv_type_size_t=yes} -+ac_cv_type_uid_t=${ac_cv_type_uid_t=yes} -+samba_cv_socklen_t=${samba_cv_socklen_t=yes} -+ -+# Yes, we know Linux supports fcntl locking. Just ignore -+# any errors caused by building on an NFS mount. -+samba_cv_HAVE_FCNTL_LOCK=${samba_cv_HAVE_FCNTL_LOCK=yes} -+ -+ -+# smbwrapper doesn't work because the glibc maintainers don't want -+# to support transparent userland VFS. We might as well preempt -+# any checks for shadowed symbols that are only useful for smbwrapper. -+ -+ac_cv_func___acl=${ac_cv_func___acl=no} -+ac_cv_func__acl=${ac_cv_func__acl=no} -+ac_cv_func___chdir=${ac_cv_func___chdir=no} -+ac_cv_func__chdir=${ac_cv_func__chdir=no} -+ac_cv_func___close=${ac_cv_func___close=no} -+ac_cv_func__close=${ac_cv_func__close=no} -+ac_cv_func___closedir=${ac_cv_func___closedir=no} -+ac_cv_func__closedir=${ac_cv_func__closedir=no} -+ac_cv_func___dup=${ac_cv_func___dup=no} -+ac_cv_func__dup=${ac_cv_func__dup=no} -+ac_cv_func___dup2=${ac_cv_func___dup2=no} -+ac_cv_func__dup2=${ac_cv_func__dup2=no} -+ac_cv_func___facl=${ac_cv_func___facl=no} -+ac_cv_func__facl=${ac_cv_func__facl=no} -+ac_cv_func___fchdir=${ac_cv_func___fchdir=no} -+ac_cv_func__fchdir=${ac_cv_func__fchdir=no} -+ac_cv_func___fcntl=${ac_cv_func___fcntl=no} -+ac_cv_func__fcntl=${ac_cv_func__fcntl=no} -+ac_cv_func___fork=${ac_cv_func___fork=no} -+ac_cv_func__fork=${ac_cv_func__fork=no} -+ac_cv_func___fstat=${ac_cv_func___fstat=no} -+ac_cv_func__fstat=${ac_cv_func__fstat=no} -+ac_cv_func___fstat64=${ac_cv_func___fstat64=no} -+ac_cv_func__fstat64=${ac_cv_func__fstat64=no} -+ac_cv_func___fxstat=${ac_cv_func___fxstat=no} -+ac_cv_func___getcwd=${ac_cv_func___getcwd=no} -+ac_cv_func__getcwd=${ac_cv_func__getcwd=no} -+ac_cv_func___getdents=${ac_cv_func___getdents=no} -+ac_cv_func__getdents=${ac_cv_func__getdents=no} -+ac_cv_func___llseek=${ac_cv_func___llseek=no} -+ac_cv_func___sys_llseek=${ac_cv_func___sys_llseek=no} -+ac_cv_func__llseek=${ac_cv_func__llseek=no} -+ac_cv_func___lseek=${ac_cv_func___lseek=no} -+ac_cv_func__lseek=${ac_cv_func__lseek=no} -+ac_cv_func___lstat=${ac_cv_func___lstat=no} -+ac_cv_func__lstat=${ac_cv_func__lstat=no} -+ac_cv_func___lstat64=${ac_cv_func___lstat64=no} -+ac_cv_func__lstat64=${ac_cv_func__lstat64=no} -+ac_cv_func___lxstat=${ac_cv_func___lxstat=no} -+ac_cv_func___open=${ac_cv_func___open=no} -+ac_cv_func__open=${ac_cv_func__open=no} -+ac_cv_func___open64=${ac_cv_func___open64=no} -+ac_cv_func__open64=${ac_cv_func__open64=no} -+ac_cv_func___opendir=${ac_cv_func___opendir=no} -+ac_cv_func__opendir=${ac_cv_func__opendir=no} -+ac_cv_func___pread=${ac_cv_func___pread=no} -+ac_cv_func__pread=${ac_cv_func__pread=no} -+ac_cv_func___pread64=${ac_cv_func___pread64=no} -+ac_cv_func__pread64=${ac_cv_func__pread64=no} -+ac_cv_func___pwrite=${ac_cv_func___pwrite=no} -+ac_cv_func__pwrite=${ac_cv_func__pwrite=no} -+ac_cv_func___pwrite64=${ac_cv_func___pwrite64=no} -+ac_cv_func__pwrite64=${ac_cv_func__pwrite64=no} -+ac_cv_func___read=${ac_cv_func___read=no} -+ac_cv_func__read=${ac_cv_func__read=no} -+ac_cv_func___readdir=${ac_cv_func___readdir=no} -+ac_cv_func__readdir=${ac_cv_func__readdir=no} -+ac_cv_func___readdir64=${ac_cv_func___readdir64=no} -+ac_cv_func__readdir64=${ac_cv_func__readdir64=no} -+ac_cv_func___seekdir=${ac_cv_func___seekdir=no} -+ac_cv_func__seekdir=${ac_cv_func__seekdir=no} -+ac_cv_func___stat=${ac_cv_func___stat=no} -+ac_cv_func__stat=${ac_cv_func__stat=no} -+ac_cv_func___stat64=${ac_cv_func___stat64=no} -+ac_cv_func__stat64=${ac_cv_func__stat64=no} -+ac_cv_func___telldir=${ac_cv_func___telldir=no} -+ac_cv_func__telldir=${ac_cv_func__telldir=no} -+ac_cv_func___write=${ac_cv_func___write=no} -+ac_cv_func__write=${ac_cv_func__write=no} -+ac_cv_func___xstat=${ac_cv_func___xstat=no} -+ -+ -+ -+# Miscellaneous stuff that isn't, and shouldn't be, available -+# in Debian. Those interested in building debs for other systems may -+# need to remove some of these defines. -+ -+ac_cv_func_bigcrypt=${ac_cv_func_bigcrypt=no} -+ac_cv_func_crypt16=${ac_cv_func_crypt16=no} -+ac_cv_func_getauthuid=${ac_cv_func_getauthuid=no} -+ac_cv_func_getprpwnam=${ac_cv_func_getprpwnam=no} -+ac_cv_func_getpwanam=${ac_cv_func_getpwanam=no} -+ac_cv_func_putprpwnam=${ac_cv_func_putprpwnam=no} -+ac_cv_func_rdchk=${ac_cv_func_rdchk=no} -+ac_cv_func_set_auth_parameters=${ac_cv_func_set_auth_parameters=no} -+ac_cv_func_setgidx=${ac_cv_func_setgidx=no} -+ac_cv_func_setluid=${ac_cv_func_setluid=no} -+ac_cv_func_setpriv=${ac_cv_func_setpriv=no} -+ac_cv_func_setuidx=${ac_cv_func_setuidx=no} -+ac_cv_lib_sec_bigcrypt=${ac_cv_lib_sec_bigcrypt=no} -+ac_cv_lib_sec_getprpwnam=${ac_cv_lib_sec_getprpwnam=no} -+ac_cv_lib_sec_getspnam=${ac_cv_lib_sec_getspnam=no} -+ac_cv_lib_sec_putprpwnam=${ac_cv_lib_sec_putprpwnam=no} -+ac_cv_lib_sec_set_auth_parameters=${ac_cv_lib_sec_set_auth_parameters=no} -+ac_cv_lib_security_bigcrypt=${ac_cv_lib_security_bigcrypt=no} -+ac_cv_lib_security_getprpwnam=${ac_cv_lib_security_getprpwnam=no} -+ac_cv_lib_security_getspnam=${ac_cv_lib_security_getspnam=no} -+ac_cv_lib_security_putprpwnam=${ac_cv_lib_security_putprpwnam=no} -+ac_cv_lib_security_set_auth_parameters=${ac_cv_lib_security_set_auth_parameters=no} -diff -uNrw samba-2.2.1a-bak/debian/config.cache.alpha-linux samba-2.2.1a/debian/config.cache.alpha-linux ---- samba-2.2.1a-bak/debian/config.cache.alpha-linux Wed Dec 31 18:00:00 1969 -+++ samba-2.2.1a/debian/config.cache.alpha-linux Thu Aug 23 10:28:08 2001 -@@ -0,0 +1,12 @@ -+# 22 Aug 2001 Steve Langasek <vorlon@debian.org> -+ -+# This file contains autoconf settings specific to the alpha-linux -+# platform that should be preloaded when building for this architecture. -+ -+ -+# Linux 2.2 on Alpha doesn't have a functional setresgid() call, but -+# Linux 2.4 does. Ensure that packages compiled for woody remain -+# compatible with 2.2 kernels, even if the build machine is running 2.4. -+samba_cv_have_setresgid=${samba_cv_have_setresgid=no} -+samba_cv_USE_SETRESUID=${samba_cv_USE_SETRESUID=no} -+samba_cv_USE_SETREUID=${samba_cv_USE_SETREUID=yes} -diff -uNrw samba-2.2.1a-bak/debian/rules samba-2.2.1a/debian/rules ---- samba-2.2.1a-bak/debian/rules Thu Aug 23 10:27:54 2001 -+++ samba-2.2.1a/debian/rules Thu Aug 23 10:28:08 2001 -@@ -15,6 +15,14 @@ - # This has to be exported to make some magic below work. - export DH_OPTIONS - -+# Set the host and build architectures for use with config.cache loading, -+# cross-building, etc. -+DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -+DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) -+ -+export DEB_HOST_GNU_TYPE -+export DEB_BUILD_GNU_TYPE -+ - BVARS = SMBLOGFILE=/var/log/smb NMBLOGFILE=/var/log/nmb - - DESTDIR=`pwd`/debian/samba -@@ -48,8 +56,11 @@ - # ./configure --with-fhs --prefix=/usr --sysconfdir=/etc \ - # --localstatedir=/var - -+ if [ -f debian/config.cache ]; then \ -+ cp -f debian/config.cache source/config.cache; \ -+ fi - # [ -f source/Makefile ] || (cd source && ./configure --with-fhs --prefix=/usr --exec-prefix=/usr --with-netatalk --with-smbmount --with-pam --with-syslog --with-sambabook --with-utmp) -- [ -f source/Makefile ] || (cd source && ./configure --with-fhs --prefix=/usr --sysconfdir=/etc --with-privatedir=/etc/samba --with-lockdir=/var/state/samba --localstatedir=/var --with-netatalk --with-smbmount --with-pam --with-syslog --with-sambabook --with-utmp --with-readline --with-pam_smbpass) -+ [ -f source/Makefile ] || (cd source && ./configure --host=$(DEB_HOST_GNU_TYPE)-gnu --build=$(DEB_BUILD_GNU_TYPE)-gnu --with-fhs --prefix=/usr --sysconfdir=/etc --with-privatedir=/etc/samba --with-lockdir=/var/state/samba --localstatedir=/var --with-netatalk --with-smbmount --with-pam --with-syslog --with-sambabook --with-utmp --with-readline --with-pam_smbpass) - - touch configure-stamp - diff --git a/packaging/Debian/unstable/README.debian b/packaging/Debian/unstable/README.debian deleted file mode 100644 index b57e034ced9..00000000000 --- a/packaging/Debian/unstable/README.debian +++ /dev/null @@ -1,67 +0,0 @@ -samba for DEBIAN ----------------- - -This package was built by me (Eloy Paris <peloy@debian.org>) based on work -from Bruce Perens <Bruce@Pixar.com>, Andrew Howell <andrew@it.com.au>, -Klee Dienes <klee@debian.org> and Michael Meskes <meskes@topsystem.de>, -all previous maintainers of the packages samba and sambades (now merged -together - see below). - -Password encryption is now supported in the standard samba package -(>= 1.9.18alpha12-1). This has been possible because Samba 1.9.18 -and later does not depend on the DES encryption libraries. This makes -package sambades (part of the non-us section) obsolete. - -Also, there are no more export restrictions with this version of Samba. - -As of Samba 2.0.6-1, the Debian version of Samba is compiled with -Pluggable Authentication Modules (PAM) support. PAM support was -discontinued during the libc5 -> libc6 migration process and I never -brought it back until 2.0.6-1. I don't use PAM myself so let me know -if you find any problems. - -Since Samba 2.0.5a-3, the smbfs utilities included in the smbfs package -can now handle kernels > 2.0.x so there is no need to have two smbfs -packages. - -As of Samba 2.0.5a-5, the Samba sources produce the following binary packages: - -samba: A LanManager like file and printer server for Unix. -samba-common: Samba common files used by both the server and the client. -smbclient: A LanManager like simple client for Unix. -swat: Samba Web Administration Tool -samba-doc: Samba documentation. -smbfs: Mount and umount commands for the smbfs (works with 2.2.x and - above kernels, not with 2.0.x kernels.) - -Please note that the package smbwrapper (a shared library that provides -SMB client services that existed between Samba 2.0.0-1 and Samba-2.0.5a-4 -does not exist any more. The reason is that starting with Samba 2.0.6-1, that -code does not even compile, and the upstream author (Andrew Tridgell) -recommended to disable the compilation of smbwrapper until some issues -with glibc2.1 get cleared out (the problem is with glibc, not with Samba -itself). - -Support for NT Domains ----------------------- - -Samba 2.2 includes preliminary support for NT domains. A Samba server -can now be part of a Windows NT domain whose Primary Domain Controller -is a Windows NT server. This feature is supposed to be stable although I -haven't tried it myself. Read the documentation in the samba-doc package -for help on how to do this (hint: "security = domain" in the smb.conf -file). - -Samba 2.2 has also experimental support for Primary Domain -Controller. This means that a Samba server can act now as a PDC. There -are no special flags needed to compile Samba with NT domain PDC -support. Please read the NTDOM PDC FAQ at www.samba.org (Documentation -section). - -Please note that NT domain PDC support is far from complete and is still -experimental. - -Your comments are welcome. - - -Eloy A. Paris <peloy@debian.org>, Sunday March 18, 2001. diff --git a/packaging/Debian/unstable/TODO b/packaging/Debian/unstable/TODO deleted file mode 100644 index 748f1edcd15..00000000000 --- a/packaging/Debian/unstable/TODO +++ /dev/null @@ -1,4 +0,0 @@ -* Check in the smbmount wrapper script that the kernel has support -for smbfs, as suggested by Jeroen Schaap -<J.Schaap@physiology.medfac.leidenuniv.nl>. - diff --git a/packaging/Debian/unstable/changelog b/packaging/Debian/unstable/changelog deleted file mode 100644 index a26c219600c..00000000000 --- a/packaging/Debian/unstable/changelog +++ /dev/null @@ -1,1418 +0,0 @@ -samba (2.2.1a.cvs20011002-1) experimental; urgency=low - - * Building from CVS sources. This code will become Samba 2.2.2 RSN. - * Temporary fix for #113763 (Steve Langasek) - - -- Eloy A. Paris <peloy@debian.org> Thu, 4 Oct 2001 00:02:08 -0400 - -samba (2.2.1a-9.1) unstable; urgency=low - - * Quick hack to avoid smbmount reveal password length. Please note - that even with this hack there is a small window when password is - completely visible with 'ps aux'. There are other methods that should - be used to automate mounting of SMB shares. - Closes: #112195: smbmount-2.2.x reveals password length. - * Applied patch from Steve Langasek <vorlon@debian.org> to prevent - forcing use of setresuid() in Sparc. - Closes: #112779: samba build forces use of setresuid, which causes - smbd to fail on Sparc. - - -- Eloy A. Paris <peloy@debian.org> Mon, 24 Sep 2001 19:52:07 -0400 - -samba (2.2.1a-9) unstable; urgency=low - - * Replaced $(LD) with $(CC) all the way through source/Makefile. - Closes: #111036: ld shouldn't be used to link shlibs. - * s/\/bin\/mail/\/usr\/bin\/mail/ in smb.conf's man page (HTML and - sgml as well.) - Closes: #110963: smb.conf: mail should be /usr/bin/mail. - * Documented better smbclient's -W behavior. Patch from Steve - Langasek. - Closes: #53672: smbclient: -W flag is interpreted as domain, not - workgroup. - - -- Eloy A. Paris <peloy@debian.org> Tue, 4 Sep 2001 23:10:41 -0400 - -samba (2.2.1a-8) unstable; urgency=low - - * Set some reasonable default perms for the samba logdir (again, - thanks to vorlon :-) - Closes: #72529: insecure permissions on log files. - - -- Eloy A. Paris <peloy@debian.org> Sun, 26 Aug 2001 15:40:47 -0400 - -samba (2.2.1a-7) unstable; urgency=low - - * Another attempt at fixing #47493. Patch from Steve Langasek - <vorlon@netexpress.net>. Let's keep our fingers crossed Steve! - - -- Eloy A. Paris <peloy@debian.org> Sun, 26 Aug 2001 13:37:06 -0400 - -samba (2.2.1a-6) unstable; urgency=low - - * Backed out fix to #47493 introduced in 2.2.1a-4 as it is causing - smbd to die with signal 11 under some unidentified situations. - Closes: #109774: Latest debian version breaks printer driver download. - Closes: #109946: not all files appear in samba-exported directories. - * Another patch from Steve Langasek. This one adds quotes around - printer names for print systems it's reasonable for Debian to - support. Together with the patch in #29957 (see changelog for - 2.2.1a-4), this should take care of the problems with multi-word - printer names in Samba. - - -- Eloy A. Paris <peloy@debian.org> Fri, 24 Aug 2001 21:12:27 -0400 - -samba (2.2.1a-5) unstable; urgency=low - - * Important changes that affect how Samba is built on Debian - machines are implemented in this release. All of this changes - were suggested by the energetic Steve Langasek <vorlon@debian.org>, - and his arguments were so sound and reasonable that I decided - to implement them. Here's Steve's original changelog: - - * Fix up the build system to avoid needing to run configure - as root to answer questions we already know the answers to. - * In the process, make surprising progress towards being able to - cross-compile the samba packages. - - -- Eloy A. Paris <peloy@debian.org> Fri, 24 Aug 2001 01:08:06 -0400 - -samba (2.2.1a-4) unstable; urgency=low - - * Fixed typo in smbmount's mount page. - Closes: #109317: smbfs: mistype in smbmount manpage. - * Included symlink to smbspool to better support CUPS printing. - Closes: #109509: include symlink for cups samba support. - * Applied patch from Steve Langasek <vorlon@netexpress.net> to - fix bug #29957. - Closes: #29957: samba strips trailing " from strings in smb.conf. - * First attempt at fixing #47493. Another patch from Steve "I want - a bug-free Samba" Langasek. - Closes: #47493: Samba doesn't handle ':' in dir names right. - - -- Eloy A. Paris <peloy@debian.org> Tue, 21 Aug 2001 23:26:38 -0400 - -samba (2.2.1a-3) unstable; urgency=low - - * Steve Langasek <vorlon@netexpress.net> has been hard at work in - the last few days looking at the long list of open bugs filed - against the Samba packages. I don't know how to thank him. It's been - a pleasure working with Steve, and all the fixes, patches, etc. in - this release come from him. The bug list is greatly reduced thanks - to Steve's efforts. - * Steve's additions/modifications/patches/etc. are: - - New package that (libpam-smbpass) provides pam_smbpass. Before, this - was provided in another package but now the sources are part of - the Samba sources so we can start providing it from here. - Closes: #107043 - pam_smbpass now present in Samba source, - should be built from there - - Patch to source/smbd/service.c that allows admins to call - /bin/umount from the root postexec of a Samba share. - Closes: #40561 - samba pre/postexec commands do not work. - - Clear TMPDIR before starting smbd in /etc/init.d/samba. - Closes: #51295 - Problems with Samba and TMPDIR. - - Correction to documentation of "guest only". - Closes #38282 - "guest only" share still requires a password. - * Applied patch from Santiago Vila <sanvila@unex.es> to convert - /usr/sbin/mksmbpasswd from a shell script into a real awk script. - Sorry it took so long, Santiago; I hadn't realized you even - provided a patch :-) - Closes: #77891 - mksmbpasswd could be a real awk script. - * Updated description of the smbfs and smbclient packages. Also have - each package recommend the other. - Closes: #108650: Should suggest or recommend smbfs. - - -- Eloy A. Paris <peloy@debian.org> Mon, 13 Aug 2001 22:21:55 -0400 - -samba (2.2.1a-2) unstable; urgency=low - - * Build-depends: depend on debhelper (>=2.0.103). - Closes: #105795: Build-Depends are wrong. - * Run samba's preinst and postinst scripts without -e so failed commands - do not abort installation. - Closes: #106384: postinstall crashes abnormally. (And really closes - #104471.) - - -- Eloy A. Paris <peloy@debian.org> Thu, 26 Jul 2001 00:30:37 -0400 - -samba (2.2.1a-1) unstable; urgency=low - - * New upstream version. - * Make sure samba's postinst script exits with a zero status. - Closes: #104471: Samba postinst problem. - - -- Eloy A. Paris <peloy@debian.org> Thu, 12 Jul 2001 21:55:21 -0400 - -samba (2.2.1-1) unstable; urgency=low - - * New upstream version. - Closes: #103339: config.guess and config.sub update required. - Closes: #98518: Samba 2.2 can't act as PDC for NT4/W2K due to - incompatibility with PAM. - Closes: #97447: nmbd crashes due to bugs in DAVE 2.5.2. - Closes: #95777: Samba 2.2 is unable to join or authenticate against - Samba 2.2 PDC domain. - Closes: #68842: samba should use PAM for password changing (I - haven't personally tried this one, but it's been - advertised this works.) - Closes: #102506: PAM account checking fails. - Closes: #102518: Complains about unknown paramter "obey pam - restrictions" - Closes: #94774: Build failure on PARISC machines. - * Moved away from /etc/cron.weekly/samba for log file rotation. - Now using logrotate. - Closes: #95548: typo in /etc/cron.weekly/samba. - Closes: #74951: nmbd does not rename its log file. - * Removed Debian-specific addtosmbpass.8 man page since this script - is not longer provided upstream. Users should use the smbpasswd - program instead. - * Updated sample /etc/samba/smb.conf to reflect the recent changes - affecting handling of PAM authentication. Also updated - /etc/pam.d/samba. - - -- Eloy A. Paris <peloy@debian.org> Wed, 11 Jul 2001 00:44:14 -0400 - -samba (2.2.0.final.a-1) unstable; urgency=high - - * New upstream version (contains security fix from DSA-065-1.) - Closes: #97241: samba 2.2.0 fails to process hostnames in - "hosts allow" config line. - * Removed Debian-specific addtosmbpass.8 man page since this script - is not longer provided upstream. Users should use the smbpasswd - program instead. - Closes: #98365: addtosmbpass is missing from 2.2.0.final-2. - * Updated sample /etc/samba/smb.conf to reflect the recent changes - affecting handling of PAM authentication. Also updated - /etc/pam.d/samba. - - -- Eloy A. Paris <peloy@debian.org> Sun, 24 Jun 2001 11:11:59 -0400 - -samba (2.2.0.final-2) unstable; urgency=low - - * Added libcupsys2-dev to Build-Depends. - * Samba depends now (again) on netbase so update-inetd is always - available for the Samba maintainer scripts. - Closes: #86063: Fails to uninstall if inetd is not installed. - * Updated source/config.{sub,guess} so ARM built doesn't fail. - Closes: #94480: config.sub out of date; can't build on arm. - Closes: #85801: config.sub/guess out of date. - * Not using brace expansion, i.e. {foo,bar} in any of the maintainers - scripts nor in debian/rules. - Closes: #88007: samba postrm has is not POSIX sh compliant. - - -- Eloy A. Paris <peloy@debian.org> Sat, 21 Apr 2001 17:27:18 -0400 - -samba (2.2.0.final-1) unstable; urgency=low - - * New upstream release. Lots of new things. See WHATSNEW.txt. - * Goofy version number because of my stupidity when assigning version - numbers to the CVS packages I have been uploading to experimental. - Will be fixed when 2.2.1 is released. I've no doubts a 2.2.1 release - will follow soon. - - -- Eloy A. Paris <peloy@debian.org> Tue, 17 Apr 2001 22:58:14 -0400 - -samba (2.2.0.cvs20010416-1) experimental; urgency=low - - * CVS update. - - -- Eloy A. Paris <peloy@debian.org> Mon, 16 Apr 2001 21:25:15 -0400 - -samba (2.2.0.cvs20010410-1) experimental; urgency=low - - * CVS update. - * Added libreadline4-dev to Build-Depends. - - -- Eloy A. Paris <peloy@debian.org> Tue, 10 Apr 2001 16:53:45 -0400 - -samba (2.2.0.cvs20010407-1) experimental; urgency=low - - * CVS update. Includes what is in 2.2.0alpha3. - - -- Eloy A. Paris <peloy@debian.org> Sat, 7 Apr 2001 16:00:33 -0400 - -samba (2.2.0.cvs20010316-1) experimental; urgency=low - - * Started working on Samba 2.2.0. Using the SAMBA_2_2_0 branch - from Samba CVS. - * Not compiling rpctorture as it has compile errors. Change in - debian/rules. - * Removed Linux kernel 2.0.x and smbfs compatibility baggage. Now - the smbfs does not support 2.0.x kernels; a kernel > 2.2.x is - needed to use smbfs. Updated debian/control, debian/rules and - README.Debian to reflect this change. - * Added to swat a versioned dependency on samba (so a user is forced to - install a new version of swat each time a new version of samba is - installed.) - - -- Eloy A. Paris <peloy@debian.org> Sun, 18 Mar 2001 14:21:14 -0500 - -samba (2.0.7-5) unstable; urgency=medium - - * Transition from suidmanager to dpkg-statoverride. - - -- Eloy A. Paris <peloy@debian.org> Thu, 18 Jan 2001 23:51:56 -0500 - -samba (2.0.7-4) unstable; urgency=medium - - * Applied Urban Widmark <urban@teststation.com> fixes to smbmount. Urban - is the maintainer of the smbfs in the kernel and of the userland - utilities. - * Links to HTML documents are correct now. - Closes: #69439: swat: Broken help file symlinks - Closes: #72615: samba-doc directory changed: removed htmldocs from path - Closes: #75847: swat: Wrong symlink - Closes: #66857: Wrong links to html documents. - Closes: #77912: misplaced documentation symlinks for swat - * Building Samba with CUPS support. For this I reverted the change to - source/configure.in that I did in 2.0.7-3 and re-ran autoconf. - Closes: #59038: samba: not compiled with cups support. - * Fix against previous known/unknown user time difference patch to swat - (make username / password lookups take the same time.) Remove CGI - logging code in Swat. - Closes: #76341 - Security holes in swat - * Updated Build-depends. - * Updated debian/copyright to refer to the correct location of the GPL. - * debian/rules: changed DESTDIR to `pwd`/debian/samba (was - `pwd`/debian/tmp.) - * debian/rules: added '--sourcedir=debian/samba' to dh_movefiles (for some - strange reason dh_installdirs is not creating debian/tmp/ so I needed - to tweak everything to install stuff in debian/samba rather than in - debian/tmp.) - * debian/control: changed section of samba-docs to 'doc' (was 'docs') - * Using relative symlinks in /usr/share/samba/swat/ (changed debian/rules - and source/scripts/installswat.sh.) - * Fixed (by tweaking debian/rules) - /usr/bin/{smbmnt,smbumount-2.*,smbmount-2.*} to be suid. - * Added "Provides: samba-client" to smbclient's section in control. - Closes: #71143: smbclient: Smbclient should provide samba-client. - * Fix for desired_access being zero in map_share_mode() (patch to - source/smbd/nttrans.c.) Thanks to Gary Wilson - <wilsong@sergievsky.cpmc.columbia.edu> for bringing this patch to my - attention. - * Hacked source/lib/util_sec.c so smbd works fine in both 2.0.x and - 2.2.x kernels even when the build is done in a system running - a 2.2.x kernel. - Closes: #78858: samba-common: samba2.0.7 needs kernel 2.2.x but - doesnt depend on it. - Closes: #72758: README.Debian should comment on 2.0.x kernels. - Closes: #56935: Samba 2.0.6 and Kernel 2.0.x. - Closes: #58126: Samba 2.0.6 and Kernel 2.0.x -- more info. - Closes: #60580: samba: failed to set gid. - Closes: #64280: Samba panics, can't set gid. - Closes: #66816: Must deal with brokenness under 2.0.x. - Closes: #67682: potatoe samba 2.0.7-3 out of order, 2.0.5a-1 OK. - Closes: #69735: PANIC: failed to set gid - Closes: #66122: "smbclient -L localhost -U%" returns with "tree - connect failed: code 0". - Closes: #57637: Samba says tree connect error. - Closes: #58015: potato samba wins support is broken. - * Fixed comments in sample smb.conf to point to the correct location. - Closes: #69578: comments in smb.conf points to wrong path. - * Move codepages from /etc/samba/codepages/ to - /usr/share/samba/codepages/. - Closes: #63813: samba; codepages should go in /usr/lib. - * Moved /var/samba/ to /var/state/samba/. - Closes: #49011: samba package not FHS compliant. - * Hacked source/configure.in (and re-ran autoconf) so yp_get_default_domain() - is found. - Closes: #44558: netgroup support missing in samba 2.0.5a-1. - * /etc/init.d/samba was calling start-stop-daemon with both --pidfile and - --exec. Got rid of --exec so --pidfile works. - - -- Eloy A. Paris <peloy@debian.org> Thu, 11 Jan 2001 00:15:57 -0500 - -samba (2.0.7-3) frozen unstable; urgency=high - - * Release manager: this closes a RC bug. - * Commented out the section in source/configure.in that auto-detects - CUPS support and then ran autoconf to generate a new configure - script. This was done to prevent machines that have libcupsys-dev - installed from detecting CUPS support and adding an unwanted - dependency on libcupsys. This way the whole printing system - won't break on upgrades. CUPS support should be added after - Potato is released. - Closes: #65185: samba-common: Upgrading removes printing system. - Closes: #64496: smbfs: smbfs on powerpc has a dependency on cupsys. - * Updated README.debian. - Closes: #64594: Old README.Debian in /usr/share/doc/samba. - - -- Eloy A. Paris <peloy@debian.org> Tue, 20 Jun 2000 19:16:04 -0400 - -samba (2.0.7-2) frozen unstable; urgency=high - - * Release manager: this closes RC bug #63839 that prevents Samba - to be built from source. - * Fixed a stupid typo in debian/rules that was preventing Samba - to be built from source. - Closes: #63839: samba_2.0.7-1(frozen): build error (SAMBABOOK dir) - * I forgot to mention that O'Reilly's book "Using Samba" was donated - to the Open Source community. The book was included in Samba 2.0.7 - in HTML format and is part of the Debian Samba package since - Samba 2.0.7-1. - * In Samba 2.0.7-1, the "Using Samba" book and a number of HTML help - files were supposed to be provided in both the swat and the samba-doc - packages. This duplication was a waste of space. Starting with - Samba 2.0.7-2, swat recommends samba-doc and the book and the HTML - files are included only in samba-doc, and are accessed via symlinks - from within swat. - Closes: #58810: superfluous files in swat? - * Added a 'echo "."' to /etc/init.d/samba in the reload) section. - Closes: #63394: "echo ." missing in reload section of init.d script - * Fixed typo in docs/htmldocs/using_samba/ch06_05.html. - Closes: #64344: typo "encrypted passwords" - * Cleaned up samba's postrm script so important common files aren't - deleted when samba is purged. Created a samba-common.postrm script. - Closes: #62675: purging samba removes /etc/samba/smb.conf. - Closes: #63386: samba --purge removes /etc/samba dir even though - smbclient/smbfs/samba-common packages are still installed - - -- Eloy A. Paris <peloy@debian.org> Wed, 3 May 2000 02:42:07 -0400 - -samba (2.0.7-1) frozen unstable; urgency=low - - * New upstream version. Dear Release Manager: please allow this - package to go to frozen as it contains fixes to a _lot_ of problems. - You can take a look at all the problems fixed by this release in - the official upstream announcement at - http://us1.samba.org/samba/whatsnew/samba-2.0.7.html. - * Added --with-utmp to add utmp support to smbd (this is new in Samba - 2.0.7) - * Closes: #62148 - samba not rotating filled logs. - * Closes: #56711: Samba doesn't manage well long share name (please note - that it's possible to connect to shares with names longer than - 14 characters but the share will be listed with a name truncated to - 13 characters.) - * Closes: #51752 - NT DOMAIN - NET USE * /HOME not mapping (error 67). - Closes: #50907 - logon path not working. - This is not a bug, it's just Samba doing the same thing an NT server - does. See WHATSNEW.txt and smb.conf's man page for details. - * Closes: #48497 - error executing smbsh in debian-potato. (smbwrapper - is not supported anymore.) - * Closes: #58994 swat: typo in swat description. - * Closes: #45931 - Samba dies with SIGILL on startup. (Hardware - problems, person that reported the bug never came back.) - Closes: #54398 - smbadduser fails, looks for ypcat. - * Fixed swat's man page to include Debian specific installation - instructions. There's not necessary to edit /etc/services or - /etc/inetd.conf. - (Closes: #58616 - incomplete install config && incorrect installation - instructions.) - * s/SBINDIR/\"/usr/sbin\"/g in source/web/startstop.c to prevent swat - to look for smbd and nmbd in the wrong place when requested to start or - stop smbd or nmbd. - (Closes: #55028 - swat can't start samba servers.) - * Closes: #37274: smbclient does not honour pot. (Tested and seems to be - working now.) - * Not confirmed, but should fix #56699, #62185, #56247, #52218, #43492, - #50479, #39818, #54383, #59411. - (please re-open any of this if the problem still exists - I was unable - to confirm any of this because I could never reproduce them.) - Closes: #56699 - Samba's nmbd causes random kernel oops several - times in a row. - Closes: #62185 - nmbd's forking until no more file descriptors are - available. - Closes: #56247 - session setup failed: ERRSRV - ERRbadpw. - Closes: #52218 - Either wins proxy does not work, or I don't understand - it. - Closes: #43492 - intermittent problem changing password. - Closes: #50479 - Can't access windows 2000 shares with samba. - Closes: #39818 - samba-common: Upgrading Samba from the Slink version. - Closes: #54383 - samba-common: Missing /etc/smb.conf. - Closes: #59411 - smbclient: cannot browse Win2k shares. - - -- Eloy A. Paris <peloy@debian.org> Thu, 27 Apr 2000 16:07:45 -0400 - -samba (2.0.6-5) frozen unstable; urgency=low - - * Oppsss! samba-common doesn't depend on libcupsys1 so the binaries - in this package are broken unless libcupsys1 is installed. - samba-common has a "grave" bug because of this. Instead of adding - libcupsys1 to the Depends: list of each package in debian/control - I investigated why dh_shlibs was not picking the dependency - automatically. It turns out that it's probably a bug in libcupsys1 - because the format of its shlibs file is not correct. I fixed that - file (/var/lib/dpkg/info/libcupsys1.shlibs) and now dependencies are - picked correctly. I'll talk to the libcupsys1 maintainer. - - I think the addition of CUPS support to Samba is a big change that - should not go into Frozen. So, I decided to back up the addition - of CUPS support I did in 2.0.6-4 to minimize problems. I'll add - CUPS support again when I start working on Samba for Woody. - (Closes: #59337 - samba-common has a missing dependency) - - -- Eloy A. Paris <peloy@debian.org> Wed, 1 Mar 2000 08:40:02 -0500 - -samba (2.0.6-4) frozen unstable; urgency=low - - * It seems that sometimes nmbd or smbd are not killed when upgrading. - I think it is because in samba's prerm script I was calling - start-stop-daemon with the --pidfile switch and in old versions of - Samba the nmbd and smbd daemons did not store their PIDs in a file in - /var/samba/. I changed debian/samba.prerm so the existence of the - PID files is checked before calling "start-stop-daemon --pidfile ..." - If the PID files do not exist then start-stop-daemon is called - without the --pidfile parameter. - (Closes: #58058 - upgrade from slink went badly) - * Fixed typo in description of swat package in debian/control. - * Installed libcupsys1-dev so the configure script picks up CUPS - and Samba is compiled with CUPS support. Also added libcupsys1 to - the Depends: list of package samba in debian/control. - (Closes: #59038 - samba not compiled with cups support) - * Added a small paragraph to debian/README.debian warning about possible - problems with the WINS code in Samba 2.0.6. - - -- Eloy A. Paris <peloy@debian.org> Mon, 28 Feb 2000 14:00:42 -0500 - -samba (2.0.6-3) frozen unstable; urgency=low - - * Applied patch posted by Jeremy Allison to the samba mailing list - that should take care of the internal errors reported in bug #52698 - (release-critical). Wichert: please test as I never could reproduce - it here. - (Closes: #52698 - samba gets interbal errors) - * Moved samba-docs to the 'docs' section. - (Closes: #51077 - samba-doc: wrong section) - * Added reload capability to /etc/init.d/samba (only for smbd because - nmbd does not support reloading after receiving a signal). - (Closes: #50954 - patch to add reload support to /etc/init.d/samba) - * Corrected "passwd chat" parameter in sample /etc/samba/smb.conf so - Unix password syncronization works with the passwd program currently - in Potato. Thanks to Augustin Luton <aluton@hybrigenics.fr> for - the correct chat script. - * Stole source/lib/util_sec.c from the CVS tree of what will become - Samba 2.0.7 or whatever so we can use the same binaries under - both 2.0.x and 2.2.x kernels. - (Closes: #51331 - PANIC: failed to set gid) - * smbadduser is now provided as an example and it's customized for Debian. - I am not providing this script in /usr/sbin/ because then I would need - a dependency on csh, something that I don't want to do. - (Closes: #51697, #54052) - * Fixed the short description of the smbfs package in debian/control. - (Closes: 53534 - one-line description out of date). - - -- Eloy A. Paris <peloy@debian.org> Tue, 23 Nov 1999 16:32:12 -0500 - -samba (2.0.6-2) unstable; urgency=low - - * samba-common now depends on libpam-modules (not on libpam-pwdb, which - I have been told is obsolete). I modified /etc/pam.d/samba accordingly - to reflect the change. - (Closes: Bug#50722: pam pwdb dependence?). - * The old /etc/pam.d/samba file which had references to pam_pwdb caused - smbd to die with a signal 11. The new /etc/pam.d/samba file fixes - this problem. - (Closes: #50876, #50838, #50698) - * Compiled with syslog support (use at your own risk: syslog support - is still experimental in Samba). I added the parameters "syslog = 0" - and "syslog only = no" to the sample smb.conf to avoid pestering - users that do not want Samba to log through syslog. - (Closes: Bug#50703 - syslog only option doesn't work) - * Removed the stupid code in the smbmount wrapper script that tries - to load the smbfs module if smbfs is not listed in /proc/filesystems. - (Closes: Bug#50759 - Non-root can't run smbmount if SMBFS is compiled - as a module in the kernel) - * Added /bin/mount.smb as a symlink pointing to /usr/bin/smbmount so - 'mount -t smb ...' works just as 'mount -t smbfs ...'. - (Closes: Bug#50763 - 'mount -t smb' doesn't work) - - -- Eloy A. Paris <peloy@debian.org> Sat, 20 Nov 1999 18:53:35 -0500 - -samba (2.0.6-1) unstable; urgency=low - - * Samba 2.0.6 has been released. This is the first try of the Debian - Samba packages. I know for sure that smbd won't work properly on - 2.0.x kernels because the patch that Wichert sent me does not apply - to the new source/lib/util_sec.c in Samba 2.0.6. That file was - completely re-written by Tridge. - * Updated README.Debian. - * A new client utility called smbspool appeared in Samba 2.0.6. I added - this utility to the smbclient package, although I haven't tried it yet. - * Added the symlink /sbin/mount.smbfs that points to /usr/bin/smbmount. - This is to be able to type "mouont -t smbfs ...". This symlink goes - in the smbfs package, of course. - * This new release should close the following bugs (some of these - are fixed for sure in this new upstream release, some others I could - not reproduce but I believe they are fixed if they were real bugs. - As always, please feel free to re-open the bugs if the problem is not - solved). - Closes: Bug#33240: icmp mask needs a bug workaround. - Closes: Bug#37692: samba: Has problems detecting interfaces. - Closes: Bug#38988: samba: Truly bizzare behavour from nmbd. - Closes: Bug#46432: samba-2.0.5a-2: nmbd does not appear to broadcast - properly. - Closes: Bug#44131: smbfs: no longer possible to set file and - directory-modes. - Closes: Bug#46992: smbmount-2.2.x manpage wrong. - Closes: Bug#42335: smbfs: missing options from the new 2.2.x commandline. - Closes: Bug#46605: smbmnt segfaults. - Closes: Bug#48186: smbmount. - Closes: Bug#38040: smbfs: Please add /sbin/mount.smb [included]. - Closes: Bug#47332: smbmount: could -f and -P be added back? - * Samba has been compiled with PAM support (closes: Bug#39512 - samba PAM - module). To succesfully add PAM support, I created /etc/pam.d/samba and - added this file as a conffile for the samba-common package. I also made - samba-common depend on libpam-pwdb. - * Added simple man pages for the wrapper scripts smbmount and smbmount. - (Closes: Bug#44705 - Missing smbmount man page) - * Installed libreadlineg2-dev in my system so smbclient now has a - "history" command and libreadline support :-) - * This time I did add a check to the smbmount wrapper script to see if - the kernel has support for smbfs, as suggested by Jeroen Schaap - <J.Schaap@physiology.medfac.leidenuniv.nl>. I mentioned in the changelog - for samba-2.0.5a-3 that I did this but I forgot at the end. - - -- Eloy A. Paris <peloy@debian.org> Thu, 11 Nov 1999 12:08:15 -0500 - -samba (2.0.5a-5) unstable; urgency=low - - * I am sorry to report that the smbwrapper package is gone for the - moment. The reason for this is twofold: first of all, smbwrapper - is completely broken in Samba-2.0.5a (it compiles but it doesn't - run) and in the upcoming Samba-2.0.6 it doesn't even compile. Second, - when I asked Andrew Tridgell (father of Samba) about the state of - smbwrapper he told me that Ulrich Drepper (head of the glibc project) - broke on purpose the glibc stuff in which smbwrapper is based. - Consequently, Tridge recommended me to compile Samba without - support for smbwrapper. When, I have no idea. Sorry folks. Here is - the original message I received from Andrew: - - > 1) 2.0.5a's smbwrapper doesn't work under glibc2.1, and pre-2.0.6's - > smbwrapper doesn't even compile under glibc2.1. - - yep, Ulrich deliberately broke it. It won't get fixed till glibc - allows the sorts of games it plays to work again. I suggest you turn - it off in your build scripts until that gets sorted out. - - * Swat's file are now in /usr/share/samba/ instead of - /usr/lib/samba/ (bug #49011). - * Man pages now in /usr/share/man/ instead of /usr/man/ (bug #49011). - - -- Eloy A. Paris <peloy@debian.org> Tue, 2 Nov 1999 12:59:13 -0500 - -samba (2.0.5a-4) unstable; urgency=low - - * Applied patch from our fearless leader (Wichert) to fix the darn bug - that prevents Samba to work on 2.0.x kernels if it was compiled - in a system running a 2.2.x kernel. This closes #40645 (build uses - setresuid which doesn't work under 2.0.34 (does apparently under - 2.2.x) ). - * Fixed the entry that swat's postinst script adds to /etc/inetd.conf - so it is '#<off># swat\t\tstream\ttcp\tnowait.400 ...' instead of - '#<off>#swat\t\tstream\ttcp\tnowait.400 ...'. The old way caused - 'update-inetd --enable swat' to leave the entry for swat disabled. - Thanks to Dave Burchell <burchell@inetnebr.com> for finding out - this problem. This closes #48762 (swat uses non-standard syntax to - comment out inetd.conf entry). - * /usr/sbin/swat does not think anymore that the smbd daemon lives - in /usr/local/samba/bin/. To fix this I am running now source/configure - with "--prefix=/usr --exec-prefix=/usr". This closes #47716 (samba - 'swat' fails: incorrect hardwired path in the binary). - - -- Eloy A. Paris <peloy@debian.org> Sun, 31 Oct 1999 03:42:38 -0500 - -samba (2.0.5a-3) unstable; urgency=low - - * I am pretty darn busy with my MBA, I apologize for the long time it's - taking to squash bugs in the Samba packages. - * Built with debhelper v2 for FHS compliancy. Changed a couple of - things in debian/rules to accomodate for the new place for the docs. - I also had to change debian/{samba.postinst,samba.prerm,swat.postinst} - to make sure that the symlink from /usr/doc/xxx exists and points to - /usr/share/doc/xxx (the reason for this is that I am not letting - debhelper to create these scripts for me automatically). - * Built with latest libc6. - * smbfs: finally, the nasty bug that causes smbmount to die after - a while is gone thanks to Ben Tilly <Ben_Tilly@trepp.com>. - The problem was just a typo in source/client/smbmount.c. - This closes grave bug #42764 (smbmount dies) and #43341 - (smbfs-2.2.x won't function after a while). - * Fixed the smbmount wrapper script to eliminate a bashism (closes - #45202 - "wrapper scripts use $* instead of "$@") and to recognize - 2.3.x and 2.4.x kernels (closes #47688 - "smbfs: does not recognize - kernel 2.3.x"). - * Added a check to the smbmount wrapper script to see if the - kernel has support for smbfs, as suggested by Jeroen Schaap - <J.Schaap@physiology.medfac.leidenuniv.nl>. - * swat's man page is now part of the swat package, not of the samba - package. This closes #44808 (Samba has a man page for swat, but - the binary is not included). - * The interface program smbrun is not longer needed by smbd because - of the availability of execl() under Linux. Because of this, the - smbrun is not even being compiled. Since there is no need for smbrun - now, the smbrun man page was taken out of the samba package. This - closes #45266 (/usr/bin/smbrun missing). - * smbpasswd is now part of the samba-common package, and not part of - the samba package. This is to let administrators that do not want - to install a full Samba server administer passwords in remote - machines. This closes bug #42624 (smbpasswd should be included in - smbclient). This bug report also suggests that swat becomes part of - the samba package, that smbfs becomes part of the smbclient package, - and that the binary smbpasswd becomes part of the smbclient package. - I moved smbpasswd to the samba-common package but I am reluctant to - do the other things the bug report suggests. - * In order to keep dpkg happy when moving smbpasswd from the samba - package to samba-common, I had to add a "Replaces: samba (<= 2.0.5a-2)" - in the control section of the samba-common package and a - "Replaces: samba-common (<= 2.0.5a-2)" in the control section of the - samba package (in debian.control). - * Samba is now being compiled with the "--with-netatalk" option. This - closes #47480 (Could samba be compiled with the --with-netatalk option). - * All packages that depend on samba-common have a versioned dependency - now. This was accomplished by adding "(= ${Source-Version})" to the - relevant sections of debian/control. Thanks t Antti-Juhani Kaijanaho - <gaia@iki.fi> for the hint. This closes #42985 (samba should probably - have a versioned depends on samba-common). - * Made sure the file docs/textdocs/DIAGNOSIS.txt gets installed in all - the Samba packages. This closes bug #42049 (no DIAGNOSTICS.txt file). - * Added the smbadduser helper script to the samba package. This closes - #44480 (Samba doesn't come with the smbadduser program). - * Applied patch from szasz@triton.sch.bme.hu that prevents smbmount - to leave an entry in /etc/mtab for a share that could not be mounted - because of invalid user of password. The patch also allows smbumount - to unmount the share in the event that something goes wrong with the - smbmount process. This closes bug #48613 (Mount/umount problems + - patch) as well as #44130 (failed mount is still mounted). - * smbmount-2.2.x is now setuid root. This is needed for the patch - applied above to be effective. If smbmount-2.2.x is not setuid root - then an entry will be left in /etc/mtab even when the mount - fails. I had to add "usr/bin/smbmount-2.2.x" to debian/smbfs.suid - for this to work. - - -- Eloy A. Paris <peloy@debian.org> Wed, 27 Oct 1999 10:36:13 -0400 - -samba (2.0.5a-2) unstable; urgency=low - - * This version is basically the same as 2.0.5a-1 but it was compiled - on a Potato system with glibc2.1. See below the change log for 2.0.5a-1 - for more information. - - -- Eloy A. Paris <peloy@debian.org> Tue, 27 Jul 1999 02:25:29 -0400 - -samba (2.0.5a-1) stable; urgency=high - - * I'm back from the Honey Moon. We are pretty busy because we are moving - to Pittsburgh (from Caracas, Venezuela) in aprox. 24 hours and we still - have plenty of things to pack and to do. Samba 2.0.5 was released - while I was in the Honey Moon and it is just now (almost 3 AM) when - I have time to package it. - * Because of the security problems fixed in 2.0.5, this upload goes - to both stable and unstable (the Security Team asked for this). - * This release (2.0.5a-1) was compiled on a Slink system. 2.0.5a-2 will - be compiled on a Potato system. - * Added a "Replaces: samba (<= 1.9.18p10-7)" to the samba-common - section in debian/control (as suggested by Steve Haslam - <araqnid@debian.org>) to fix the problems that appear when upgrading - from the Samba package in Slink. Please test this as I am completely - unable to do so. This should fix bug #39818 (Upgrading Samba from the - Slink version). - * Removed the hacks to the autoconf stuff that I added to 2.0.4b-2 in - order to have defined several socket options when compiling with - Linux 2.2.x kernel headers - the fix is now upstream. - * Finally!!! smbmount was re-written (thanks Tridge :-) to use a command - line syntax similar to the one used by the old smbmount (for 2.0.x - kernels). This means that the wrapper script is no longer necessary - so I removed it. In its place there is a simple wrapper script that - calls smbmount-2.0.x or smbmount-2.2.x depending on the kernel that is - running. - * Because of the wedding, the Honey Moon, and our move to Pittsburgh, - I can't work on fixing other bugs in this release. - - -- Eloy A. Paris <peloy@debian.org> Tue, 27 Jul 1999 02:18:51 -0400 - -samba (2.0.4b-3) unstable; urgency=low - - * Stupid mistake: I forgot to add /usr/bin/smbumount to debian/smbfs.files - and because of this /usr/bin/smbumount was part of the samba package - instead of part of the smbfs package. - - -- Eloy A. Paris <peloy@debian.org> Thu, 1 Jul 1999 01:51:24 -0400 - -samba (2.0.4b-2) unstable; urgency=low - - * Dark (and archive maintainers): please remove from Potato the smbfsx - binary package and also the old source package for smbfs. smbfs and - smbfsx have been merged starting with this version. - * Merged the old smbfs package with Samba. Now there is only one package - for the smbfs utilities and is called "smbfs". The package smbfsx - does not exist any more and this new smbfs package must be used - for both 2.0.x and > 2.1.x kernels. - * A wrapper script was added to handle the syntax change in smbmount - in the new smbfs utilities (required for kernels > 2.1.70). The - home page for this script is http://www.wittsend.com/mhw/smbmount.html. - Please _note_ that this will change (for good) in Samba 2.0.5 :-) - * Added debian/smbumount.sh. It's another wrapper that calls smbumount-2.2.x - or smbumount-2.0.x depending on the kernel currently running. - * Not using -t for savelog in cron.weekly script. - * Recompiled without libreadlineg-dev (Samba does not seem to be using - it so unnecessary dependencies are produced). - * glibc2.1 build. - * Removed smbpasswd.8 man page from the debian/ directory because it is - now being provided upstream. - * Got rid of the ugly hack I put in source/lib/util_sock.c to have - IPTOS_LOWDELAY and IPTOS_THROUGHPUT defined. Now I patched the - autoconf stuff to #include <netinet/ip.h>. I've sent the patch to - Jeremy Allison so we have this upstream. - - -- Eloy A. Paris <peloy@debian.org> Mon, 28 Jun 1999 17:47:19 -0400 - -samba (2.0.4b-1) unstable; urgency=low - - * New upstream release. This release fixes the following Debian bugs: - #33838 (Amanda/ Samba 2.0.2 and backing up large filesystems) and - #33867 (Amanda 2.4.1 and Samba 2.0.2 and large filesystems). Jeremy - Allison released Samba 2.0.4 and found out that there were a couple - of minor bugs so he released 2.0.4a. Then he found out about more - serious bugs and released 2.0.4b. I have built this package several - times between yesterday and today because of this. Now I am releasing - the Debian packages for Samba with what I believe will be the latest - release the Samba Team will make at least in the next 4 days (Jeremy - is taking a short vacation). - * Still compiling against glibc2.0 (sorry about that :-) - * Hacked source/smbwrapper/smbsh.c to fix the problem - of smbsh not finding the shared library smbwrapper.so. It looks - now in /usr/lib/samba/ for this file. This fixes #32971, #32989, - #33278, #34911 and #36317. - * Made smbfsx depend on samba-common because smbfsx uses /etc/samba/smb.conf - and /etc/samba/codepages/. This fixes #33128 (smbmount complains about - missing /etc/smb.conf). - * Package swat does not depend on httpd anymore (there's no need to). - This fixes #35795 (swat requires httpd). - * Renamed smbmount-2.1.x and smbumount-2.1.x to smbmount-2.2.x and - smbumount-2.2.x. Same applies to the man pages. - * Changed minor type in smbmount's man page (changed "\"" by "\'"). This - fixes #34070 (wrong quotes in manpage). - * Used Fabrizio Polacco's <fpolacco@icenet.fi> procedure to create the - Debian package for Samba. This closes #35781 (samba has no pristine - source). - * Changes to /etc/cron.weely/samba: rotate /var/log/{nmb,smb}.old only - if the size of either is different than 0. Also, added comments at the - beginning of this script to explain how rotation of log files works in - Samba. Thanks to ujr@physik.phy.tu-dresden.de (Ulf Jaenicke-Roessler) - for the suggestions. This closes #37490 (cron.weekly script rotates not - used [sn]mb.old files). As I side effect, this should also close - #31462 (still trouble with /etc/cron.weekly/samba). - * Check for old /etc/pam.d/samba file which is not provided by this version - of the Debian Samba package but was provided in older versions. If this - file exists we delete it. We check for this in the postinst. This closes - #37356 (samba put stuff in pam.d that pam complains about) and #34312 - (libpam0g: questions during upgrade). - * Make sure the mode of /etc/samba/smbpasswd is set to 600. This is done - in the postinst script. This closes #35730 (Security problem with - /etc/samba/smbpasswd when upgrading from samba 1.9.18p8-2 to 2.0.3-1). - * I have just checked and it looks like #28748 (smbfsx doesn't "return ") - has been fixed. This might have been fixed since a long time ago. - * Long long standing bug #18488 (smbclient: internal tar is broken) is - closed in this release of Samba. The bug might have been closed for a - long long time, but I did not check for this before. - * Temporary fix to the annoying "Unknown socket option IPTOS_LOWDELAY" - message. This fixes #33698 (socket option IPTOS_LOWDELAY no longer works), - #34148 (warnings from smbd) and #35333 (samba warnings). - - -- Eloy A. Paris <peloy@debian.org> Thu, 20 May 1999 00:35:57 -0400 - -samba (2.0.3-1) unstable; urgency=low - - * New upstream version. - * Removed the convert_smbpasswd.pl program I created and put in - /usr/doc/samba/ because there's a convert_smbpasswd script in the - upstream sources that does the same thing. I modified the postinst - script to use this script instead of the one I created. - - -- Eloy A. Paris <peloy@debian.org> Sun, 28 Feb 1999 01:35:37 -0400 - -samba (2.0.2-2) unstable; urgency=low - - * Updated the README.Debian file. - * Updated the description of the samba package in the control file. - * The binaries smbmnt and smbumount-2.1.x in the smbfsx package are now - installed setuid root as they should be. This was done by doing a - a "chmod u+s" for each binary in debian/rules and by creating the - file debian/smbfsx.suid. - * Minor patch to source/client/smbumount.c to allow normal users - to umount what they have mounted (problem was a kernel vs. libc6 - size mismatch). I sent the patch upstream. - * Created debian/smbwrapper.dirs so the directory /usr/lib/samba/ is - created. - * Modified debian/rules to move smbwrapper.so from debian/tmp/usr/bin/ to - debian/smbwrapper/usr/lib/samba/. - * Hacked source/smbwrapper/smbsh.c to fix the problem - of smbsh not finding the shared library smbwrapper.so. - - -- Eloy A. Paris <peloy@debian.org> Thu, 11 Feb 1999 18:11:34 -0400 - -samba (2.0.2-1) unstable; urgency=low - - * New upstream version. - - -- Eloy A. Paris <peloy@debian.org> Thu, 11 Feb 1999 01:35:51 -0400 - -samba (2.0.1-1) unstable; urgency=low - - * New upstream version. - - -- Eloy A. Paris <peloy@debian.org> Sat, 6 Feb 1999 06:51:18 -0400 - -samba (2.0.0final-4) unstable; urgency=low - - * The samba postinst made an unwarranted assumption that the file - /etc/samba/smbpasswd exists. If the file did not exist (which is - perfectly valid) the postinst will fail. This fixes #32953. - - -- Eloy A. Paris <peloy@debian.org> Fri, 5 Feb 1999 23:32:46 -0400 - -samba (2.0.0final-3) unstable; urgency=low - - * Added to debian/control a "Depends: ${shlibs:Depends}" line for the - samba-common package so dependencies for this package are set - correctly (thanks to Dark for pointing this out). - - -- Eloy A. Paris <peloy@debian.org> Thu, 4 Feb 1999 09:45:21 -0400 - -samba (2.0.0final-2) unstable; urgency=low - - * Finally!!! The first upload to unstable. Sorry for the delay folks - but I have been quite busy lately :-) Another reason for the delay - is that I wanted to ease the migration from Samba 1.9.18p10 and - before to Samba 2.0.0. I changed the location of the config. files - from /etc/ to /etc/samba/ and this made things a little bit harder. - * This package needs 2.2 kernel headers to compile (well, this is - true for the smbfsx package, all others compile fine with 2.0 kernel - headers). - * Created a preinst script for the samba package to take care of the - location migration of smb.conf (from /etc/ to /etc/samba/). The - preinst script also takes care of moving /etc/smbpasswd to its new - location (/etc/samba/). - * Created postinst and postrm scripts to add/remove an entry for swat - in /etc/inetd.conf. - * I had forgotten to install the sambaconfig script so I changed - debian/rules to install this script. - * Added a postrm script for the samba package (I had forgotten to add - this script to the new Samba packages after the migration from 1.9.18 - to 2.0.0). - * Created a small Perl script that is called from the samba postinst - to convert the smbpasswd from the old format used in version prior - to 2.0.0 to the new one used in 2.0.0 and beyond. - * The upgrade process should be automatically now. Please let me know - of any problems you encounter. - - -- Eloy A. Paris <peloy@debian.org> Sat, 23 Jan 1999 09:34:10 -0400 - -samba (2.0.0final-1) experimental; urgency=low - - * Finally!!! Samba 2.0.0 is here! I am not uploading to unstable - because I still have to work out the migration from the old - samba packages to the new ones. I also need to work more on the - new swat package. - - -- Eloy A. Paris <peloy@debian.org> Thu, 14 Jan 1999 22:40:02 -0400 - -samba (2.0.0beta5-1) experimental; urgency=low - - * New upstream version. - - -- Eloy A. Paris <peloy@debian.org> Tue, 5 Jan 1999 00:37:57 -0400 - -samba (2.0.0beta4-1) experimental; urgency=low - - * New upstream version. - - -- Eloy A. Paris <peloy@debian.org> Wed, 23 Dec 1998 18:37:45 -0400 - -samba (2.0.0beta3-1) experimental; urgency=low - - * New upstream version. - * I have just realized that the documentation patches (for man pages) - that I used for the 1.9.18 release are not longer necessary because - there was a major re-write of all the Samba documentation that added - the missing bits of information. So, I have just removed these minor - patches. - - -- Eloy A. Paris <peloy@debian.org> Tue, 8 Dec 1998 12:00:30 -0400 - -samba (2.0.0beta2-1) experimental; urgency=low - - * New upstream version. - * This new version fixes the potential security problem that - was posted to debian-private (using the "message command" parameter - to execute arbitrary commands from messages sent from LinPopUp). - * Changed /etc/init.d/samba to use one of the variables stored in - /etc/samba/debian_config to know how Samba is being run (from inetd or - as daemons) instead of grepping /etc/inetd.conf which may not exist - if the user is running xinetd (this fixes bug #29687 - assumes using - vanilla inetd) - - -- Eloy A. Paris <peloy@debian.org> Mon, 23 Nov 1998 23:32:03 -0400 - -samba (2.0.0beta1-1) experimental; urgency=low - - * First beta release of the samba-2.0.0 code. Before the beta I was - working with sources downloaded directly from the CVS server. This - package goes into experimental and I plan to release the new - samba to unstable as soon as it gets out of beta. - * Created several packages out of the Samba sources. They are: - samba (nmbd and smbd daemons + related programs), smbclient (FTP - like command line utility to retrieve files from SMB servers), - swat (Samba Web Administration Tool), samba-common (common files - used by samba, smbclient and swat), smbfsx (smbfs utilities for - kernels >= 2.1.70), smbwrapper and samba-doc (Samba documentation). - * Refreshed debian/samba-doc.docs so recently added docs. are - installed in the samba-doc package. New additions include man - pages in the /usr/doc/samba-doc/htmldocs/ directory. - * Deleted Debian specific nmblookup(1) man page as it is now upstream. - * Added smbtorture to smbclient package. - * Moved rpcclient from the samba package to the smbclient package. - * The Samba daemons (nmbd and smbd) now create a PID file so I changed - all calls to start-stop-daemon to use the PID file. - * Fixed debian/rules to install mksmbpasswd (fixes #27655). - * Modified /etc/init.d/samba so nmbd is started without the -a (append - to the log file instead of overwrite) switch. The new behavior of - nmbd is to NOT overwrite log files, so the -a switch can be deleted - safely. - * Moved from debstd to debhelper. - - -- Eloy A. Paris <peloy@debian.org> Thu, 1 Oct 1998 08:37:41 -0400 - -samba (1.9.18p10-5) frozen unstable; urgency=high - - * Oppsss!!! While fixing bug #26884 I introduced a bug even worse than - the one I was trying to fix: in /etc/init.d/samba I got rid of the test - that tells us whether the Samba daemons are running from inetd or as - standalone daemons. I corrected the problem by editing again - /etc/init.d/samba to uncomment the test. - * Wishlist bug #28298 (typos in samba) was fixed. - * Wishlist bug #28309 (typos in smb.conf) was fixed. - - -- Eloy A. Paris <peloy@debian.org> Wed, 28 Oct 1998 09:11:47 -0400 - -samba (1.9.18p10-4) unstable; urgency=low - - * Minor patch to debian/rules to delete *substvars instead of only - substvars when doing a "debian/rules clean" (thanks to Daniel Jacobowitz - <dmj@andrew.cmu.edu> for this). - * Small patch to source/shmem_sysv.c that eases compilation under - glibc-2.1 (thanks to Daniel <dmj@andrew.cmu.edu> for this). - - -- Eloy A. Paris <peloy@debian.org> Thu, 17 Sep 1998 15:33:49 -0400 - -samba (1.9.18p10-3) unstable; urgency=low - - * Patched smbclient again to fix minor formatting problem introduced - by Magosanyi Arpad's smbclient patch. - - -- Eloy A. Paris <peloy@debian.org> Thu, 3 Sep 1998 11:03:23 -0400 - -samba (1.9.18p10-2) unstable; urgency=low - - * Sync'ed include files for the smbfs utilities with the ones in - kernel 2.1.119. - * Added to the /usr/doc/samba/examples/ directory a new script called - wins2dns (courtesy of Jason Gunthorpe <jgg@deltatee.com>) that - generates BIND sonze files for hosts in the WINS database. - * Patched smbclient to include enhancements by Magosanyi Arpad - <mag@bunuel.tii.matav.hu> that make scripting easier. - - -- Eloy A. Paris <peloy@debian.org> Fri, 28 Aug 1998 13:34:54 -0400 - -samba (1.9.18p10-1) stable unstable; urgency=low - - * New upstream version (see /usr/doc/samba/WHATSNEW.txt for a - description of what has changed). I built a 1.9.18p9-1 but I - never released it because an obscure bug was found just a couple - of days before the official release, so the Samba Team stopped - the rollover of 1.9.18p9. - * Updated documentation (new files were added to the docs/ directory - that were not installed in /usr/doc/samba/). - * Fixed long standing bug #7695 (smb.conf's man page doesn't document - 'printing=lprng') - I made a couple of changes to the man page to - include references to lprng. - * Fixes bug #24930 (samba needs to suggest psmisc?). I don't think it - is necessary to make samba suggest psmisc just because the postinst - script mentions to call killall. So, I removed all references to - "killall" in the scripts. - * Fixes bug #25999 (Samba does not by default work with unix password - sync): I added the "passwd program" and "passwd chat" parameters to - the sample smb.conf to reflect the Debian environment. - - -- Eloy A. Paris <peloy@debian.org> Fri, 21 Aug 1998 08:59:18 -0400 - -samba (1.9.18p9-1) unstable; urgency=low - - * New upstream version (see /usr/doc/samba/WHATSNEW.txt for a - description of what has changed). - * Removed Jeremy Allison's patch applied to 1.9.18p8-2 because it is - now part of the new upstream version. - * Corrected small typo in addtosmbpass' man page (fixes #25629). - - -- Eloy A. Paris <peloy@debian.org> Tue, 11 Aug 1998 08:53:08 -0400 - -samba (1.9.18p8-2) frozen unstable; urgency=medium - - * Applied patch received from Jeremy Allison (Samba Team) that fixes - "grave" bug #23903 (samba maps username before authenicating with - NT password server). - * Added a "sleep 2" between "start-stop-daemon --stop" and - "start-stop-daemon --start" in /etc/init.d/samba so when this script - is called with the "restart" parameter the Samba daemons are restarted - properly. This fixes bug #24211 (init.d script doesn't restart). - * Sent start-stop-daemon output in /etc/init.d/samba to /dev/null to - avoid annoying warning messages. - * Added perfomance tune parameters to sample /etc/smb.conf (SO_SNDBUF=4096 - and SO_RCVBUF=4096 to "socket options" in /etc/smb.conf). I can't - find who sent this suggestion to me. If you are listening, drop me a - note and I'll put your name here :-) - - -- Eloy A. Paris <peloy@debian.org> Mon, 29 Jun 1998 08:45:01 -0400 - -samba (1.9.18p8-1) frozen unstable; urgency=low - - * New upstream release that fixes _lots_ of "ugly" bugs. The list of - fixed bugs is too long to include here (see /usr/doc/samba/WHATSNEW.txt). - * Fixed postinst to quote arguments to if [ arg .. ] constructs - (fixes #22881). - * Applied Jeremy Allison's patch (posted to the samba-ntdom mailing - list) that solves a problem with username maps (the Samba Team did - not catch this problem before final 1.9.18p8). - * Made /etc/init.d/samba to print out a warning when Samba is running - from inetd and the user runs /etc/init.d/samba to start|stop|restart - Samba (there's no point on doing this because inetd will start the - daemons again when there is traffic on UDP port 137-139). - - -- Eloy A. Paris <peloy@debian.org> Sat, 13 Jun 1998 00:18:25 -0400 - -samba (1.9.18p7-4) frozen unstable; urgency=medium - - * Fixes the serious problem of having the WINS name server - database getting deleted at boot time. That happened because the - WINS database was being stored under /var/lock/samba/ and all files - under /var/lock/ are deleted at boot time. The place where the WINS - database is stored was moved to /var/samba/. - - -- Eloy A. Paris <peloy@debian.org> Mon, 18 May 1998 20:24:29 -0400 - -samba (1.9.18p7-3) stable; urgency=high - - * Libc5 version for Bo (stable) that fixes the recently reported - security hole. - - -- Eloy A. Paris <peloy@debian.org> Mon, 18 May 1998 20:19:33 -0400 - -samba (1.9.18p7-2) frozen unstable; urgency=low - - * Added patches from the non-mantainer upload that make us able - to compile Samba on Alpha systems. This fixes bug #22379. - - -- Eloy A. Paris <peloy@debian.org> Wed, 13 May 1998 20:38:51 -0400 - -samba (1.9.18p7-1) frozen unstable; urgency=low - - * New upstream release (just bug fixes, no new functionality). - - -- Eloy A. Paris <peloy@debian.org> Wed, 13 May 1998 11:47:32 -0400 - -samba (1.9.18p6-2) frozen unstable; urgency=low - - * Uploaded to frozen (I forgot to upload last version to frozen - so it got installed only in unstable). - - -- Eloy A. Paris <peloy@debian.org> Tue, 12 May 1998 18:10:17 -0400 - -samba (1.9.18p6-1.1) unstable; urgency=low - - * non-maintainer upload for Alpha - * patch needed for source/quota.c (_syscall4() confusion) - - -- Paul Slootman <paul@debian.org> Tue, 12 May 1998 20:39:13 +0200 - -samba (1.9.18p6-1) unstable; urgency=low - - * New upstream release that fixes a possible buffer overflow. - This security hole was reported on BugTraq by Drago. The - previous Debian version (1.9.18p5-1) was not released because - 1.9.18p5 and 1.9.18p6 were released very closely. - - -- Eloy A. Paris <peloy@debian.org> Mon, 11 May 1998 20:28:33 -0400 - -samba (1.9.18p5-1) unstable; urgency=low - - * New upstream release (no new funcionality, just bug fixes - see - /usr/doc/samba/WHATSNEW.txt.gz). - * Backed off Debian patches that were added upstream. - - -- Eloy A. Paris <peloy@debian.org> Mon, 11 May 1998 08:43:53 -0400 - -samba (1.9.18p4-2) frozen unstable; urgency=low - - * Patched smbclient(1) man page to not reference the unsopported - -A parameter (fixes #6863). - * Changes to start nmbd with the -a option (in /etc/init.d/samba - and in the entry added to /etc/inetd.conf). - * Fixed typo in sample smb.conf (fixes #21484). - * Fixed yet another typo in sample smb.conf (fixes #21447). - - -- Eloy A. Paris <peloy@debian.org> Fri, 17 Apr 1998 22:19:23 -0400 - -samba (1.9.18p4-1) frozen unstable; urgency=low - - * New upstream version that fixes several bugs. - * New scheme for keeping track of Debian specific configuration. - This new scheme fixes bug #18624 (Samba always asks the user about - configuration options). New scheme stores Debian specific - configuration information in /etc/samba/debian_config. - * Changes to /usr/sbin/sambaconfig, prerm and postinst to support the - new configuration scheme. - * Moved required kernel 2.1.x include files inside the source tree - so I don't have to do very nasty things like creating crazy - symlinks in /usr/include to make this package compile. This - allows non-root users to build the package and fixes bug - #20104. - * Fixed address of the FSF in /usr/doc/samba/copyright (problem - reported by lintian). - * The /etc/init.d/samba script now supports the force-reload - argument, as required by the policy (problem reported by lintian). - * Added a "rm /etc/cron.weekly/samba" at the end of the postinst. - * Now the samba package can be installed even if no nmbd or smbd processes - are running. This fixes the following bugs: #8917, #9334, #10268, - #10411, #11146 and #13387. - * Provides the original README in /usr/doc/samba. This fixes bug #9693. - * Added a --no-reload option to sambaconfig to not reload Samba - after configuration. - * Created man pages for sambaconfig(8), addtosmbpass(8), - mksmbpasswd(8) and nmblookup(1). - * Corrected small typo in sample /etc/smb.conf. - * Added two new parameters to /etc/smb.conf: "preserver case" and - "short preserve case". - * "rm -Rf /var/lock/samba" in postrm when package is being purged. - * Patched upstream source (nmbd.c) to not overwrite log files when - nmbd is called with the -a parameter (fixes #17704: nmbd ignores - -a option). - * /etc/init.d/samba now starts the nmbd daemon with the -a parameter - to not overwrite log files. - - -- Eloy A. Paris <peloy@debian.org> Mon, 23 Mar 1998 21:22:03 -0400 - -samba (1.9.18p3-1) unstable; urgency=low - - * New upstream version. - * Oppsss!!! I really screwed it up (actually, debstd did). - 1.9.18p2-2 still contained man pages (smbmount and smbumount) part - of other packages. This version does have this corrected. If not, - I no longer deserve to be a Debian developer! So, this version - fixes bug #18438 and some of the bugs I claimed to fix in - 1.9.18p2-2. Oh, by the way, I fixed the problem by running debstd - with -m in debian/rules (man pages are installed by "make install" - so it's a bad idea to re-install man pages with debstd). - - -- Eloy A. Paris <peloy@debian.org> Mon, 23 Feb 1998 17:32:42 -0400 - -samba (1.9.18p2-2) unstable; urgency=low - - * Fixes bugs #18017, #17999, #17961, #17932: old 1.9.18p2-1 provided - a man page for smbmount, which conflicts with package smbfs. This - was solved by creating a multi-binary package that produces - package samba and new package smbfsx. - * Fixes bug #18000 (typo in postinst). - * Fixes bug #17958 (postinst asks obsolete question). Actually, - the question is still asked, but only if Samba is run as daemons. - * Created a multi-binary package from the Samba sources: package - samba and new package smbfsx which provides SMB mount utilities - for kernels > 2.1.70. - - -- Eloy A. Paris <peloy@debian.org> Mon, 9 Feb 1998 19:47:05 -0400 - -samba (1.9.18p2-1) unstable; urgency=low - - * New upstream version. - * Removed /etc/cron.weekly/samba because Samba does not handle well - rotation of log files (if the log file is rotated Samba will - continue to log to the rotated file, instead of the just created - one). In any case, Samba will rotate log files after an specific - file size. - - -- Eloy A. Paris <peloy@debian.org> Tue, 27 Jan 1998 22:34:27 -0400 - -samba (1.9.18p1-2) unstable; urgency=low - - * Created a multi-binary package out of the Samba sources to provide - packages samba and smbfsx (userland utilities to work with - smbfs with kernels > 2.1.x. - - -- Eloy A. Paris <peloy@debian.org> Sat, 17 Jan 1998 09:23:48 -0400 - -samba (1.9.18p1-1) unstable; urgency=low - - * New upstream version. - * Created /etc/cron.daily/samba to save a copy of /etc/smbpasswd in - /var/backups/smbpasswd.bak. - - -- Eloy A. Paris <peloy@debian.org> Wed, 14 Jan 1998 13:40:56 -0400 - -samba (1.9.18alpha14-1) unstable; urgency=low - - * New upstream version. - * Added a note to the postinst script telling the user that he/she - needs to run smbpasswd manually after creating a new /etc/smbpasswd - from /etc/passwd. - - -- Eloy A. Paris <peloy@debian.org> Tue, 23 Dec 1997 23:44:37 -0400 - -samba (1.9.18alpha13-1) unstable; urgency=low - - * New upstream version. - - -- Eloy A. Paris <peloy@debian.org> Tue, 16 Dec 1997 13:02:32 -0400 - -samba (1.9.18alpha12-1) unstable; urgency=low - - * New upstream version. - * Conflicts with the sambades package because the new Samba 1.9.18 - series do not depend on the DES libraries to support encrypted - passwords. - * Added parameter "encrypt passwords = yes" to /etc/smb.conf. - * Compiled with support for quotas in disk_free(). - * Home directories are now exported read only by default. - * Re-worked debian/rules. - * Re-worked sample smb.conf. - - -- Eloy A. Paris <peloy@debian.org> Thu, 4 Dec 1997 22:50:34 -0400 - -samba (1.9.17p4-1) unstable; urgency=low - - * New upstream version. - * Made /etc/smb.conf readable by everybody because some Samba utilities - will fail otherwise when run by non-root users. - * Dropped PAM support while the PAM libraries are ported to libc6. - - -- Eloy A. Paris <peloy@debian.org> Tue, 21 Oct 1997 18:08:49 -0400 - -samba (1.9.17p3-1) unstable; urgency=low - - * New upstream version. - * Made /etc/smb.conf readable only by root as suggested by smbd's man page. - - -- Eloy A. Paris <peloy@debian.org> Wed, 15 Oct 1997 09:21:25 -0400 - -samba (1.9.17p2-2) unstable; urgency=low - - * Running Samba as daemons instead of from inetd. - * Removing netbios entries in /etc/inetd.conf. - - -- Eloy A. Paris <peloy@debian.org> Thu, 9 Oct 1997 23:37:25 -0400 - -samba (1.9.17p2-1) unstable; urgency=low - - * New upstream version that fixes a serious security hole. - * Removed Debian patches added in 1.9.17-1 and 1.9.17p1-1 because - these patches are now part of the upstream release. - - -- Eloy A. Paris <peloy@debian.org> Sun, 28 Sep 1997 22:54:33 -0400 - -samba (1.9.17p1-1) unstable; urgency=low - - * New upstream version. - * Defined symbol _LINUX_C_LIB_VERSION_MAJOR as 6 in includes.h to shut up - compiler warnings. - * Included rpcsvc/ypclnt.h in includes.h to shut up compiler warnings. - * Included crypt.h to have function prototype for crypt(). - * Included netinet/tcp.h to have some socket options included. - * Included netinet/ip.h to have some socket options included. - * Linking with libcrypt (LIBM='... -lcrypt'). Without including this - library smbd generates a seg. fault when authenticating users (?). - - -- Eloy A. Paris <debian.org> Wed, 10 Sep 1997 22:09:18 -0400 - -samba (1.9.17-1) unstable; urgency=low - - * New upstream version (called the "Browse Fix Release") - * Added the option --oknodo to the start-stop-daemon invocation in prerm - script. This was because the prerm was failing because start-stop-daemon - was returning an error code if no nmbd or smbd daemons were found - to kill. - * The function yp_get_default_domain(), referenced in three source - files was part of libc5 but with libc6 (glibc2) it has been moved - to libnss_nis. Since the linker was unable to find the function - I had to add LIBSM='-lnss_nis' to debian/rules. - * Added -DNO_ASMSIGNALH and -DGLIBC2 to FLAGSM in debian/rules - because compiling was failing because of conflicts with glibc2. - * Patched source/includes.h to include termios.h if GLIBC2 is defined. - - -- Eloy A. Paris <peloy@debian.org> Wed, 27 Aug 1997 08:39:32 -0400 - -samba (1.9.17alpha5-1) unstable; urgency=low - - * New upstream version. - - -- Eloy A. Paris <peloy@debian.org> Thu, 14 Aug 1997 18:05:02 -0400 - -samba (1.9.16p11-3) unstable; urgency=low - - * Fixed accidental omission of /etc/pam.d/samba. - - -- Klee Dienes <klee@debian.org> Sat, 15 Mar 1997 22:31:26 -0500 - -samba (1.9.16p11-2) unstable; urgency=low - - * Recompiled against newer PAM libraries. - * Added /etc/pam.d/samba. - - -- Klee Dienes <klee@debian.org> Sat, 8 Mar 1997 01:16:28 -0500 - -samba (1.9.16p11-1) unstable; urgency=low - - * New upstream release. - * Added PAM support. - - -- Klee Dienes <klee@debian.org> Tue, 25 Feb 1997 18:00:12 -0500 - -samba (1.9.16p9-2) unstable; urgency=low - - * minor packaging changes - - -- Klee Dienes <klee@sauron.sedona.com> Sun, 3 Nov 1996 11:45:37 -0700 - -samba (1.9.16p9-1) unstable; urgency=low - - * upgraded to new upstream version - - -- Klee Dienes <klee@sauron.sedona.com> Sat, 26 Oct 1996 21:38:20 -0700 - -1.9.16alpha10-1: - 960714 - * Removed Package_Revision from control file. - * Removed -m486 compiler option. - * Added Architecture, Section and Priority fields to control file. - * Upgraded to latest upstream version. - * Uses update-inetd now. - * Added shadow passwords support. - * Fixed Bug#1946: nmbd won't browse - -1.9.15p4-1: - 951128 - * Upgraded to latest upstream version. - * Fixed many bugs. - * Adds Master Browsing support. - * Converted to ELF. - * Fixed bug #1825 - nmbd is now killed when removing samba. - -1.9.14-1: - 950926 Andrew Howell <andrew@it.com.au> - * Upgraded to latest version. - * Fixed Bug #1139 - samba won't print - -1.9.14alpha5-1: - * Fixes killing of inetd problem in debian.postint and debian.postrm - -1.9.14alpha5-0: - 950704 Andrew Howell <andrew@it.com.au> - * Taken over samba package from Bruce Perens. - * Upgraded to newest version of samba. - -1.9.02-1: - 9-January-1994 Bruce Perens <Bruce@Pixar.com> - * Added Debian GNU/Linux package maintenance system files, and - configured for Debian systems. - -Local variables: -mode: debian-changelog -add-log-mailing-address: "peloy@debian.org" -End: diff --git a/packaging/Debian/unstable/config.cache b/packaging/Debian/unstable/config.cache deleted file mode 100644 index c0a70a5b19b..00000000000 --- a/packaging/Debian/unstable/config.cache +++ /dev/null @@ -1,231 +0,0 @@ -# -# 22 August 2001 Steve Langasek <vorlon@debian.org> -# -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs. It is not useful on other systems. -# If it contains results you don't want to keep, you may remove or edit it. -# -# By default, configure uses ./config.cache as the cache file, -# creating it if it does not exist already. You can give configure -# the --cache-file=FILE option to use a different cache file; that is -# what configure does when it calls configure scripts in -# subdirectories, so they share the cache. -# Giving --cache-file=/dev/null disables caching, for debugging configure. -# config.status only pays attention to the cache file if you give it the -# --recheck option to rerun configure. -# -# -# This config.cache file contains a list of acceptable autoconf -# values which can be used in compiling Samba for Debian woody/sid. -# -# Autoconf sorts options alphabetically in its output. This file -# groups options logically. - - -# Load any architecture-specific settings -if [ -n "$DEB_HOST_GNU_TYPE" \ - -a -f ../debian/config.cache.${DEB_HOST_GNU_TYPE} ]; then - . ../debian/config.cache.${DEB_HOST_GNU_TYPE} -fi - - -# This is at the top because it's most in need of regular tweaking. -# These are options which are supported on 2.4 kernels, but not on 2.2 -# kernels. - -samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=${samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=no} -samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=${samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=no} -samba_cv_HAVE_KERNEL_SHARE_MODES=${samba_cv_HAVE_KERNEL_SHARE_MODES=no} - - -# These are present in 2.2 kernels, but not in 2.0... - -samba_cv_have_setresuid=${samba_cv_have_setresuid=yes} -samba_cv_have_setresgid=${samba_cv_have_setresgid=yes} -samba_cv_USE_SETRESUID=${samba_cv_USE_SETRESUID=yes} - - -# POSIX ACL support not present in Linux 2.2; not allowed in the -# Debian packages, even if present on the build machine. - -ac_cv_header_sys_acl_h=${ac_cv_header_sys_acl_h=no} - - -# Various basic libc/compiler stuff that it's blindingly obvious that -# Linux supports (now watch me get bitten for saying that) - -ac_cv_c_const=${ac_cv_c_const=yes} -ac_cv_c_inline=${ac_cv_c_inline=inline} -samba_cv_volatile=${samba_cv_volatile=yes} -ac_cv_dirent_d_off=${ac_cv_dirent_d_off=yes} -ac_cv_func_bzero=${ac_cv_func_bzero=yes} -ac_cv_func_chmod=${ac_cv_func_chmod=yes} -ac_cv_func_chown=${ac_cv_func_chown=yes} -ac_cv_func_chroot=${ac_cv_func_chroot=yes} -ac_cv_func_connect=${ac_cv_func_connect=yes} -ac_cv_func_dup2=${ac_cv_func_dup2=yes} -ac_cv_func_execl=${ac_cv_func_execl=yes} -ac_cv_func_fchmod=${ac_cv_func_fchmod=yes} -ac_cv_func_fchown=${ac_cv_func_fchown=yes} -ac_cv_func_fstat=${ac_cv_func_fstat=yes} -ac_cv_func_fsync=${ac_cv_func_fsync=yes} -ac_cv_func_ftruncate=${ac_cv_func_ftruncate=yes} -ac_cv_func_getcwd=${ac_cv_func_getcwd=yes} -ac_cv_func_getgrent=${ac_cv_func_getgrent=yes} -ac_cv_func_getgrnam=${ac_cv_func_getgrnam=yes} -ac_cv_func_getspnam=${ac_cv_func_getspnam=yes} -ac_cv_func_glob=${ac_cv_func_glob=yes} -ac_cv_func_grantpt=${ac_cv_func_grantpt=yes} -ac_cv_func_initgroups=${ac_cv_func_initgroups=yes} -ac_cv_func_llseek=${ac_cv_func_llseek=yes} -ac_cv_func_memcmp_clean=${ac_cv_func_memcmp_clean=yes} -ac_cv_func_memmove=${ac_cv_func_memmove=yes} -ac_cv_func_memset=${ac_cv_func_memset=yes} -ac_cv_func_mktime=${ac_cv_func_mktime=yes} -ac_cv_func_pipe=${ac_cv_func_pipe=yes} -ac_cv_func_poll=${ac_cv_func_poll=yes} -ac_cv_func_pread=${ac_cv_func_pread=yes} -ac_cv_func_pwrite=${ac_cv_func_pwrite=yes} -ac_cv_func_rand=${ac_cv_func_rand=yes} -ac_cv_func_random=${ac_cv_func_random=yes} -ac_cv_func_readlink=${ac_cv_func_readlink=yes} -ac_cv_func_rename=${ac_cv_func_rename=yes} -ac_cv_func_select=${ac_cv_func_select=yes} -ac_cv_func_setenv=${ac_cv_func_setenv=yes} -ac_cv_func_setgroups=${ac_cv_func_setgroups=yes} -ac_cv_func_setsid=${ac_cv_func_setsid=yes} -ac_cv_func_sigaction=${ac_cv_func_sigaction=yes} -ac_cv_func_sigblock=${ac_cv_func_sigblock=yes} -ac_cv_func_sigprocmask=${ac_cv_func_sigprocmask=yes} -ac_cv_func_snprintf=${ac_cv_func_snprintf=yes} -ac_cv_func_srand=${ac_cv_func_srand=yes} -ac_cv_func_srandom=${ac_cv_func_srandom=yes} -ac_cv_func_strcasecmp=${ac_cv_func_strcasecmp=yes} -ac_cv_func_strchr=${ac_cv_func_strchr=yes} -ac_cv_func_strdup=${ac_cv_func_strdup=yes} -ac_cv_func_strerror=${ac_cv_func_strerror=yes} -ac_cv_func_strftime=${ac_cv_func_strftime=yes} -ac_cv_func_strpbrk=${ac_cv_func_strpbrk=yes} -ac_cv_func_strtoul=${ac_cv_func_strtoul=yes} -ac_cv_func_symlink=${ac_cv_func_symlink=yes} -ac_cv_func_usleep=${ac_cv_func_usleep=yes} -ac_cv_func_utime=${ac_cv_func_utime=yes} -ac_cv_func_utimes=${ac_cv_func_utimes=yes} -ac_cv_func_vsnprintf=${ac_cv_func_vsnprintf=yes} -ac_cv_func_waitpid=${ac_cv_func_waitpid=yes} -ac_cv_type_ino_t=${ac_cv_type_ino_t=yes} -ac_cv_type_mode_t=${ac_cv_type_mode_t=yes} -ac_cv_type_pid_t=${ac_cv_type_pid_t=yes} -ac_cv_type_size_t=${ac_cv_type_size_t=yes} -ac_cv_type_uid_t=${ac_cv_type_uid_t=yes} -samba_cv_socklen_t=${samba_cv_socklen_t=yes} - -# Yes, we know Linux supports fcntl locking. Just ignore -# any errors caused by building on an NFS mount. -samba_cv_HAVE_FCNTL_LOCK=${samba_cv_HAVE_FCNTL_LOCK=yes} - - -# smbwrapper doesn't work because the glibc maintainers don't want -# to support transparent userland VFS. We might as well preempt -# any checks for shadowed symbols that are only useful for smbwrapper. - -ac_cv_func___acl=${ac_cv_func___acl=no} -ac_cv_func__acl=${ac_cv_func__acl=no} -ac_cv_func___chdir=${ac_cv_func___chdir=no} -ac_cv_func__chdir=${ac_cv_func__chdir=no} -ac_cv_func___close=${ac_cv_func___close=no} -ac_cv_func__close=${ac_cv_func__close=no} -ac_cv_func___closedir=${ac_cv_func___closedir=no} -ac_cv_func__closedir=${ac_cv_func__closedir=no} -ac_cv_func___dup=${ac_cv_func___dup=no} -ac_cv_func__dup=${ac_cv_func__dup=no} -ac_cv_func___dup2=${ac_cv_func___dup2=no} -ac_cv_func__dup2=${ac_cv_func__dup2=no} -ac_cv_func___facl=${ac_cv_func___facl=no} -ac_cv_func__facl=${ac_cv_func__facl=no} -ac_cv_func___fchdir=${ac_cv_func___fchdir=no} -ac_cv_func__fchdir=${ac_cv_func__fchdir=no} -ac_cv_func___fcntl=${ac_cv_func___fcntl=no} -ac_cv_func__fcntl=${ac_cv_func__fcntl=no} -ac_cv_func___fork=${ac_cv_func___fork=no} -ac_cv_func__fork=${ac_cv_func__fork=no} -ac_cv_func___fstat=${ac_cv_func___fstat=no} -ac_cv_func__fstat=${ac_cv_func__fstat=no} -ac_cv_func___fstat64=${ac_cv_func___fstat64=no} -ac_cv_func__fstat64=${ac_cv_func__fstat64=no} -ac_cv_func___fxstat=${ac_cv_func___fxstat=no} -ac_cv_func___getcwd=${ac_cv_func___getcwd=no} -ac_cv_func__getcwd=${ac_cv_func__getcwd=no} -ac_cv_func___getdents=${ac_cv_func___getdents=no} -ac_cv_func__getdents=${ac_cv_func__getdents=no} -ac_cv_func___llseek=${ac_cv_func___llseek=no} -ac_cv_func___sys_llseek=${ac_cv_func___sys_llseek=no} -ac_cv_func__llseek=${ac_cv_func__llseek=no} -ac_cv_func___lseek=${ac_cv_func___lseek=no} -ac_cv_func__lseek=${ac_cv_func__lseek=no} -ac_cv_func___lstat=${ac_cv_func___lstat=no} -ac_cv_func__lstat=${ac_cv_func__lstat=no} -ac_cv_func___lstat64=${ac_cv_func___lstat64=no} -ac_cv_func__lstat64=${ac_cv_func__lstat64=no} -ac_cv_func___lxstat=${ac_cv_func___lxstat=no} -ac_cv_func___open=${ac_cv_func___open=no} -ac_cv_func__open=${ac_cv_func__open=no} -ac_cv_func___open64=${ac_cv_func___open64=no} -ac_cv_func__open64=${ac_cv_func__open64=no} -ac_cv_func___opendir=${ac_cv_func___opendir=no} -ac_cv_func__opendir=${ac_cv_func__opendir=no} -ac_cv_func___pread=${ac_cv_func___pread=no} -ac_cv_func__pread=${ac_cv_func__pread=no} -ac_cv_func___pread64=${ac_cv_func___pread64=no} -ac_cv_func__pread64=${ac_cv_func__pread64=no} -ac_cv_func___pwrite=${ac_cv_func___pwrite=no} -ac_cv_func__pwrite=${ac_cv_func__pwrite=no} -ac_cv_func___pwrite64=${ac_cv_func___pwrite64=no} -ac_cv_func__pwrite64=${ac_cv_func__pwrite64=no} -ac_cv_func___read=${ac_cv_func___read=no} -ac_cv_func__read=${ac_cv_func__read=no} -ac_cv_func___readdir=${ac_cv_func___readdir=no} -ac_cv_func__readdir=${ac_cv_func__readdir=no} -ac_cv_func___readdir64=${ac_cv_func___readdir64=no} -ac_cv_func__readdir64=${ac_cv_func__readdir64=no} -ac_cv_func___seekdir=${ac_cv_func___seekdir=no} -ac_cv_func__seekdir=${ac_cv_func__seekdir=no} -ac_cv_func___stat=${ac_cv_func___stat=no} -ac_cv_func__stat=${ac_cv_func__stat=no} -ac_cv_func___stat64=${ac_cv_func___stat64=no} -ac_cv_func__stat64=${ac_cv_func__stat64=no} -ac_cv_func___telldir=${ac_cv_func___telldir=no} -ac_cv_func__telldir=${ac_cv_func__telldir=no} -ac_cv_func___write=${ac_cv_func___write=no} -ac_cv_func__write=${ac_cv_func__write=no} -ac_cv_func___xstat=${ac_cv_func___xstat=no} - - - -# Miscellaneous stuff that isn't, and shouldn't be, available -# in Debian. Those interested in building debs for other systems may -# need to remove some of these defines. - -ac_cv_func_bigcrypt=${ac_cv_func_bigcrypt=no} -ac_cv_func_crypt16=${ac_cv_func_crypt16=no} -ac_cv_func_getauthuid=${ac_cv_func_getauthuid=no} -ac_cv_func_getprpwnam=${ac_cv_func_getprpwnam=no} -ac_cv_func_getpwanam=${ac_cv_func_getpwanam=no} -ac_cv_func_putprpwnam=${ac_cv_func_putprpwnam=no} -ac_cv_func_rdchk=${ac_cv_func_rdchk=no} -ac_cv_func_set_auth_parameters=${ac_cv_func_set_auth_parameters=no} -ac_cv_func_setgidx=${ac_cv_func_setgidx=no} -ac_cv_func_setluid=${ac_cv_func_setluid=no} -ac_cv_func_setpriv=${ac_cv_func_setpriv=no} -ac_cv_func_setuidx=${ac_cv_func_setuidx=no} -ac_cv_lib_sec_bigcrypt=${ac_cv_lib_sec_bigcrypt=no} -ac_cv_lib_sec_getprpwnam=${ac_cv_lib_sec_getprpwnam=no} -ac_cv_lib_sec_getspnam=${ac_cv_lib_sec_getspnam=no} -ac_cv_lib_sec_putprpwnam=${ac_cv_lib_sec_putprpwnam=no} -ac_cv_lib_sec_set_auth_parameters=${ac_cv_lib_sec_set_auth_parameters=no} -ac_cv_lib_security_bigcrypt=${ac_cv_lib_security_bigcrypt=no} -ac_cv_lib_security_getprpwnam=${ac_cv_lib_security_getprpwnam=no} -ac_cv_lib_security_getspnam=${ac_cv_lib_security_getspnam=no} -ac_cv_lib_security_putprpwnam=${ac_cv_lib_security_putprpwnam=no} -ac_cv_lib_security_set_auth_parameters=${ac_cv_lib_security_set_auth_parameters=no} diff --git a/packaging/Debian/unstable/config.cache.alpha-linux b/packaging/Debian/unstable/config.cache.alpha-linux deleted file mode 100644 index 6d171920263..00000000000 --- a/packaging/Debian/unstable/config.cache.alpha-linux +++ /dev/null @@ -1,12 +0,0 @@ -# 22 Aug 2001 Steve Langasek <vorlon@debian.org> - -# This file contains autoconf settings specific to the alpha-linux -# platform that should be preloaded when building for this architecture. - - -# Linux 2.2 on Alpha doesn't have a functional setresgid() call, but -# Linux 2.4 does. Ensure that packages compiled for woody remain -# compatible with 2.2 kernels, even if the build machine is running 2.4. -samba_cv_have_setresgid=${samba_cv_have_setresgid=no} -samba_cv_USE_SETRESUID=${samba_cv_USE_SETRESUID=no} -samba_cv_USE_SETREUID=${samba_cv_USE_SETREUID=yes} diff --git a/packaging/Debian/unstable/config.cache.sparc-linux b/packaging/Debian/unstable/config.cache.sparc-linux deleted file mode 100644 index a2a21b1d3ad..00000000000 --- a/packaging/Debian/unstable/config.cache.sparc-linux +++ /dev/null @@ -1,13 +0,0 @@ -# 24 Spe 2001 Steve Langasek <vorlon@debian.org> - -# This file contains autoconf settings specific to the sparc-linux -# platform that should be preloaded when building for this architecture. - - -# Linux 2.2 on Sparc doesn't have setresgid() or setresuid(), but -# Linux 2.4 does. Ensure that packages compiled for woody remain -# compatible with 2.2 kernels, even if the build machine is running 2.4. -samba_cv_have_setresuid=${samba_cv_have_setresuid=no} -samba_cv_have_setresgid=${samba_cv_have_setresgid=no} -samba_cv_USE_SETRESUID=${samba_cv_USE_SETRESUID=no} -samba_cv_USE_SETREUID=${samba_cv_USE_SETREUID=yes} diff --git a/packaging/Debian/unstable/control b/packaging/Debian/unstable/control deleted file mode 100644 index 24356161b1b..00000000000 --- a/packaging/Debian/unstable/control +++ /dev/null @@ -1,121 +0,0 @@ -Source: samba -Section: net -Priority: optional -Maintainer: Eloy A. Paris <peloy@debian.org> -Build-Depends: debhelper (>=2.0.103), libpam0g-dev, libreadline4-dev, libcupsys2-dev -Standards-Version: 3.1.1 - -Package: samba -Architecture: any -Depends: samba-common (= ${Source-Version}), netbase, logrotate, ${shlibs:Depends} -Replaces: samba-common (<= 2.0.5a-2) -Suggests: samba-doc -Description: A LanManager like file and printer server for Unix. - The Samba software suite is a collection of programs that - implements the SMB protocol for unix systems, allowing you to serve - files and printers to Windows, NT, OS/2 and DOS clients. This protocol - is sometimes also referred to as the LanManager or Netbios protocol. - . - This package contains all the components necessary to turn your - Debian GNU/Linux box into a powerful file and printer server. - . - As of Samba 2.0.6-1, the Samba Debian packages consist of the following: - . - samba - A LanManager like file and printer server for Unix. - samba-common - Samba common files used by both the server and the client. - smbclient - A LanManager like simple client for Unix. - swat - Samba Web Administration Tool - samba-doc - Samba documentation. - smbfs - Mount and umount commands for the smbfs (kernels 2.0.x and above). - -Package: samba-common -Architecture: any -Depends: libpam-modules, ${shlibs:Depends} -Replaces: samba (<= 2.0.5a-2) -Description: Samba common files used by both the server and the client. - The Samba software suite is a collection of programs that - implements the SMB protocol for unix systems, allowing you to serve - files and printers to Windows, NT, OS/2 and DOS clients. This protocol - is sometimes also referred to as the LanManager or Netbios protocol. - . - This package contains the common files that are used by both the server - (provided in the samba package) and the client (provided in the smbclient - package). - -Package: smbclient -Architecture: any -Depends: samba-common (= ${Source-Version}), ${shlibs:Depends} -Provides: samba-client -Suggests: smbfs -Description: A LanManager like simple client for Unix. - The Samba software suite is a collection of programs that - implements the SMB protocol for unix systems, allowing you to serve - files and printers to Windows, NT, OS/2 and DOS clients. This protocol - is sometimes also referred to as the LanManager or Netbios protocol. - . - This package contains some client components of the Samba suite. In - particular it includes the command line utilities smbclient, smbtar, - and smbspool. If you want to mount shares exported from Microsoft - Windows machines or a Samba server you must install the smbfs package. - -Package: swat -Architecture: any -Depends: samba (= ${Source-Version}), ${shlibs:Depends} -Recommends: samba-doc -Description: Samba Web Administration Tool - The Samba software suite is a collection of programs that - implements the SMB protocol for unix systems, allowing you to serve - files and printers to Windows, NT, OS/2 and DOS clients. This protocol - is sometimes also referred to as the LanManager or Netbios protocol. - . - This package contains the components of the Samba suite that are needed - for Web administration of the Samba server. - -Package: samba-doc -Section: doc -Architecture: all -Description: Samba documentation. - The Samba software suite is a collection of programs that - implements the SMB protocol for unix systems, allowing you to serve - files and printers to Windows, NT, OS/2 and DOS clients. This protocol - is sometimes also referred to as the LanManager or Netbios protocol. - . - This package contains all the documentation that comes in the original - tarball. - -Package: smbfs -Section: otherosfs -Priority: optional -Architecture: any -Depends: netbase (>= 2.02), samba-common (= ${Source-Version}), ${shlibs:Depends} -Suggests: smbclient -Replaces: smbfsx -Conflicts: smbfsx, suidmanager (<< 0.50) -Description: mount and umount commands for the smbfs (for kernels >= than 2.2.x) - Smbfs is a filesystem which understands the SMB protocol. - This is the protocol Windows for Workgroups, Windows NT or - Lan Manager use to talk to each other. It was inspired by - samba, the program by Andrew Tridgell that turns any unix - site into a file server for DOS or Windows clients. - . - If you want to use command-line utilites like smbclient, smbtar - and/or smbspool just need to install the smbclient package. - . - Starting with the Debian Samba packages version 2.2.0-1, the old smbfs - utilities for 2.0.x have been removed. There are no wrapper scripts - that call a specific smbmount/smbmount depending on the kernel version. - If you are using a 2.0.x kernel please upgrade or use the latest Samba - 2.0.7 Debian package. - -Package: libpam-smbpass -Section: admin -Priority: extra -Architecture: any -Depends: ${shlibs:Depends} -Suggests: samba -Description: pluggable authentication module for SMB password database - This is a stackable PAM module that allows a system administrator to easily - migrate to using encrypted passwords for Samba and to keep smb passwords in - sync with unix passwords. Unlike other solutions, it does this without - requiring users to change their existing passwords or login to Samba using - cleartext passwords. diff --git a/packaging/Debian/unstable/control.smbwrapper b/packaging/Debian/unstable/control.smbwrapper deleted file mode 100644 index 70444ca5f58..00000000000 --- a/packaging/Debian/unstable/control.smbwrapper +++ /dev/null @@ -1,111 +0,0 @@ -Source: samba -Section: net -Priority: optional -Maintainer: Eloy A. Paris <peloy@debian.org> -Standards-Version: 2.4.0.0 - -Package: samba -Architecture: any -Depends: samba-common (= ${Source-Version}), ${shlibs:Depends} -Replaces: samba-common (<= 2.0.5a-2) -Suggests: samba-doc -Description: A LanManager like file and printer server for Unix. - The Samba software suite is a collection of programs that - implements the SMB protocol for unix systems, allowing you to serve - files and printers to Windows, NT, OS/2 and DOS clients. This protocol - is sometimes also referred to as the LanManager or Netbios protocol. - . - This package contains all the components necessary to turn your - Debian GNU/Linux box into a powerful file and printer server. - . - As of Samba 2.0.0, the Samba Debian packages consist of the following: - . - samba - A LanManager like file and printer server for Unix. - samba-common - Samba common files used by both the server and the client. - smbclient - A LanManager like simple client for Unix. - swat - Samba Web Administration Tool - samba-doc - Samba documentation. - smbfsx - Mount and umount commands for the smbfs and kernels > 2.1.70. - smbwrapper - A shared library that provides SMB client services - -Package: samba-common -Architecture: any -Depends: ${shlibs:Depends} -Replaces: samba (<= 2.0.5a-2) -Description: Samba common files used by both the server and the client. - The Samba software suite is a collection of programs that - implements the SMB protocol for unix systems, allowing you to serve - files and printers to Windows, NT, OS/2 and DOS clients. This protocol - is sometimes also referred to as the LanManager or Netbios protocol. - . - This package contains the common files that are used by both the server - (provided in the samba package) and the client (provided in the smbclient - package). - -Package: smbclient -Architecture: any -Depends: samba-common (= ${Source-Version}), ${shlibs:Depends} -Description: A LanManager like simple client for Unix. - The Samba software suite is a collection of programs that - implements the SMB protocol for unix systems, allowing you to serve - files and printers to Windows, NT, OS/2 and DOS clients. This protocol - is sometimes also referred to as the LanManager or Netbios protocol. - . - This package contains the client components of the Samba suite. - -Package: swat -Architecture: any -Depends: samba, ${shlibs:Depends} -Description: Samba Web Administration Tool - The Samba software suite is a collection of programs that - implements the SMB protocol for unix systems, allowing you to serve - files and printers to Windows, NT, OS/2 and DOS clients. This protocol - is sometimes also referred to as the LanManager or Netbios protocol. - . - This package contains the components of the Samba suite that are needed - for Web administration fo the Samba server. - -Package: samba-doc -Architecture: all -Description: Samba documentation. - The Samba software suite is a collection of programs that - implements the SMB protocol for unix systems, allowing you to serve - files and printers to Windows, NT, OS/2 and DOS clients. This protocol - is sometimes also referred to as the LanManager or Netbios protocol. - . - This package contains all the documentation that comes in the original - tarball. - -Package: smbfs -Section: otherosfs -Priority: optional -Architecture: any -Depends: netbase (>= 2.02), samba-common (= ${Source-Version}), ${shlibs:Depends} -Replaces: smbfsx -Conflicts: smbfsx -Description: Mount and umount commands for the smbfs (2.0.x and 2.1.x kernels) - Smbfs is a filesystem which understands the SMB protocol. - This is the protocol Windows for Workgroups, Windows NT or - Lan Manager use to talk to each other. It was inspired by - samba, the program by Andrew Tridgell that turns any unix - site into a file server for DOS or Windows clients. - . - Starting with the Debian Samba packages version 2.0.4b-2, the old smbfs - utilities for 2.0.x and the new smbfs utilities for 2.2.x kernels have been - merged in a single package called smbfs. A wrapper script called smbmount.sh - identifies the version of the kernel running and calls the correct binary. - -Package: smbwrapper -Section: otherosfs -Priority: optional -Architecture: any -Depends: ${shlibs:Depends} -Description: A shared library that provides SMB client services - The Samba software suite is a collection of programs that - implements the SMB protocol for unix systems, allowing you to serve - files and printers to Windows, NT, OS/2 and DOS clients. This protocol - is sometimes also referred to as the LanManager or Netbios protocol. - . - This package contains prelodable shared library that provides SMB client - services for existing executables. Using this you can simulate a smb - filesystem. diff --git a/packaging/Debian/unstable/copyright b/packaging/Debian/unstable/copyright deleted file mode 100644 index 95bac89a540..00000000000 --- a/packaging/Debian/unstable/copyright +++ /dev/null @@ -1,36 +0,0 @@ -This is the Debian Linux prepackaged version of the Samba SMB -(LAN-Manager) server. Samba was written by Andrew Tridgell -<Andrew.Tridgell@anu.edu.au> and many others. - -This package was put together by Eloy Paris <peloy@debian.org> -based on previous work by Klee Dienes <klee@debian.org>, -Andrew Howell <andrew@it.com.au> and Bruce Perens <bruce@pixar.com> -from sources found at <URL:ftp://samba.anu.edu.au/pub/samba>. - -As of early in the samba-2.0.0alpha series, the Samba package for Debian -was split into the following packages: - -- samba (the Samba server) -- smbclient (a LAN Manager client - like the ftp program) -- swat (Samba Web Administration Tool) -- smbfs (smbfs userland utilities for kernels > 2.0.x) -- samba-doc (Samba documentation). - -Copyright: - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; version 2 dated June, 1991. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA - -On Debian GNU/Linux systems, the complete text of the GNU General -Public License can be found in `/usr/share/common-licenses/GPL'. diff --git a/packaging/Debian/unstable/cron.daily b/packaging/Debian/unstable/cron.daily deleted file mode 100644 index 42fc98d8f6d..00000000000 --- a/packaging/Debian/unstable/cron.daily +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh -# -# cron script to save a backup copy of /etc/samba/smbpasswd in /var/backups. -# -# Written by Eloy A. Paris <peloy@debian.org> for the Debian project. -# - -BAK=/var/backups - -umask 022 -if cd $BAK; then - # Make sure /etc/samba/smbpasswd exists - if [ -f /etc/samba/smbpasswd ]; then - cmp -s smbpasswd.bak /etc/samba/smbpasswd || cp -p /etc/samba/smbpasswd smbpasswd.bak - fi -fi diff --git a/packaging/Debian/unstable/docs b/packaging/Debian/unstable/docs deleted file mode 100644 index 187fdd34058..00000000000 --- a/packaging/Debian/unstable/docs +++ /dev/null @@ -1,3 +0,0 @@ -README -Roadmap -WHATSNEW.txt diff --git a/packaging/Debian/unstable/init.d b/packaging/Debian/unstable/init.d deleted file mode 100644 index 8ac2e97148f..00000000000 --- a/packaging/Debian/unstable/init.d +++ /dev/null @@ -1,94 +0,0 @@ -#!/bin/sh -# -# Start/stops the Samba daemons (nmbd and smbd). -# - -PATH=/sbin:/bin:/usr/sbin:/usr/bin -DEBIAN_CONFIG=/etc/samba/debian_config - -NMBDPID=/var/state/samba/nmbd.pid -SMBDPID=/var/state/samba/smbd.pid - -# clear conflicting settings from the environment -unset TMPDIR - -# Sanity check: see if Samba has been configured on this system. -if [ ! -f $DEBIAN_CONFIG ]; then - echo "The file $DEBIAN_CONFIG does not exist! There is something wrong" - echo "with the installation of Samba on this system. Please re-install" - echo "Samba. I can't continue!!!" - exit 1 -fi - -# Read current Samba configuration -. $DEBIAN_CONFIG - -# the Samba daemons. - -# If Samba is running from inetd then there is nothing to do -if [ "$run_mode" = "from_inetd" ]; then - # Commented out to close bug #26884 (startup message is rather long). I - # have yet to think how to let the user know that if he/she is running - # Samba from inetd, he can't just "/etc/init.d/samba stop" to stop - # the Samba daemons. -# echo "Warning: Samba is not running as daemons. Daemons not restarted/stopped." -# echo "Daemons will start automatically by inetd (if you wanted to start Samba)." -# echo "If you want to stop Samba, get the PID's of all nmbd and smbd processes" -# echo "and send them a SIGTERM signal but keep in mind that inetd could restart them." - exit 0 -fi - -# See if the daemons are there -test -x /usr/sbin/nmbd -a -x /usr/sbin/smbd || exit 0 - -case "$1" in - start) - echo -n "Starting Samba daemons:" - - echo -n " nmbd" - start-stop-daemon --start --quiet --exec /usr/sbin/nmbd -- -D - - echo -n " smbd" - start-stop-daemon --start --quiet --exec /usr/sbin/smbd -- -D - - echo "." - ;; - stop) - echo -n "Stopping Samba daemons:" - - echo -n " nmbd" - start-stop-daemon --stop --quiet --pidfile $NMBDPID - - echo -n " smbd" - start-stop-daemon --stop --quiet --pidfile $SMBDPID - - echo "." - ;; - reload) - echo -n "Reloading /etc/samba/smb.conf (smbd only)" - start-stop-daemon --stop --signal HUP --pidfile $SMBDPID - - echo "." - ;; - restart|force-reload) - echo -n "Restarting Samba daemons:" - - echo -n " nmbd" - start-stop-daemon --stop --quiet --pidfile $NMBDPID - sleep 2 - start-stop-daemon --start --quiet --exec /usr/sbin/nmbd -- -D - - echo -n " smbd" - start-stop-daemon --stop --quiet --pidfile $SMBDPID - sleep 2 - start-stop-daemon --start --quiet --exec /usr/sbin/smbd -- -D - - echo "." - ;; - *) - echo "Usage: /etc/init.d/samba {start|stop|reload|restart|force-reload}" - exit 1 - ;; -esac - -exit 0 diff --git a/packaging/Debian/unstable/libpam-smbpass.files b/packaging/Debian/unstable/libpam-smbpass.files deleted file mode 100644 index 4263df5c0f0..00000000000 --- a/packaging/Debian/unstable/libpam-smbpass.files +++ /dev/null @@ -1 +0,0 @@ -lib/security/pam_smbpass.so diff --git a/packaging/Debian/unstable/mksmbpasswd.8 b/packaging/Debian/unstable/mksmbpasswd.8 deleted file mode 100644 index 0a500102e8a..00000000000 --- a/packaging/Debian/unstable/mksmbpasswd.8 +++ /dev/null @@ -1,28 +0,0 @@ -.TH MKSMBPASSWD 8 12-Apr-1998 -.SH NAME -mksmbpasswd \- formats a /etc/passwd entry for a smbpasswd file -.SH SYNOPSIS -mksmbpasswd cat /etc/passwd | /usr/sbin/mksmbpasswd > /etc/samba/smbpasswd -.SH DESCRIPTION -.B mksmbpasswd -should be used only once, the first time Samba is installed. The idea -is to ease accounts creation by transferring all user accounts from -/etc/passwd to /etc/samba/smbpasswd. -.PP -Please note that passwords are not transferred automatically from -/etc/passwd to the new /etc/samba/smbpasswd file. After running -.B mksmbpasswd -all accounts are disabled so the system administrator must run -smbpasswd for each account that needs to be enable. -.SH FILES -.TP -/etc/passwd -System wide accounts file -.TP -/etc/samba/smbpasswd -Encrypted passwords file for the Samba daemons -.SH SEE ALSO -samba(7), nmbd(8), smbd(8) -.SH AUTHOR -Eloy A. Paris <peloy@debian.org> (man page based on sendmailconfig's man page -by Robert Leslie <rob@mars.org>) diff --git a/packaging/Debian/unstable/mksmbpasswd.awk b/packaging/Debian/unstable/mksmbpasswd.awk deleted file mode 100644 index a7b41a725d3..00000000000 --- a/packaging/Debian/unstable/mksmbpasswd.awk +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/awk -f -BEGIN {FS=":" - printf("#\n# SMB password file.\n#\n") - } -{ printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U ]:LCT-00000000:%s\n", $1, $3, $5) } diff --git a/packaging/Debian/unstable/rules b/packaging/Debian/unstable/rules deleted file mode 100644 index a2c37510b32..00000000000 --- a/packaging/Debian/unstable/rules +++ /dev/null @@ -1,229 +0,0 @@ -#!/usr/bin/make -f -# -# Important modifications (introduction of a saved config.cache to -# solve build problems) we introduced in Samba 2.2.1a-5. These -# modification were made by Steve Langasek <vorlon@netexpress.net>. -# - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -# This is the debhelper compatability version to use. -export DH_COMPAT=2 - -# This has to be exported to make some magic below work. -export DH_OPTIONS - -# Set the host and build architectures for use with config.cache loading, -# cross-building, etc. -DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) - -export DEB_HOST_GNU_TYPE -export DEB_BUILD_GNU_TYPE - -BVARS = SMBLOGFILE=/var/log/smb NMBLOGFILE=/var/log/nmb - -DESTDIR=`pwd`/debian/samba -SWATDIR=`pwd`/debian/swat -SAMBABOOK=`pwd`/debian/swat - -IVARS = BASEDIR=$(DESTDIR)/usr \ - BINDIR=$(DESTDIR)/usr/bin \ - SBINDIR=$(DESTDIR)/usr/sbin \ - MANDIR=$(DESTDIR)/usr/share/man \ - LIBDIR=$(DESTDIR)/etc/samba \ - VARDIR=$(DESTDIR)/var/state/samba \ - SWATDIR=$(SWATDIR)/usr/share/samba/swat \ - SAMBABOOK=$(SAMBABOOK)/usr/share/samba/swat/using_samba \ - CODEPAGEDIR=$(DESTDIR)/usr/share/samba/codepages - -configure: configure-stamp -configure-stamp: - dh_testdir - - # Add here commands to configure the package. -# > -# > Does the --with-fhs option work in configure? I tried it with -# > alpha3, but everything was stored in /usr/local. Is that correct? -# > ... -# -# Yes - the default prefix is still /usr/local; --with-fhs just -# changes the default paths for the config, etc. files to match -# the GNU/FHS specs. To get a complete FHS directory spec, use: -# -# ./configure --with-fhs --prefix=/usr --sysconfdir=/etc \ -# --localstatedir=/var - - if [ -f debian/config.cache ]; then \ - cp -f debian/config.cache source/config.cache; \ - fi - -# [ -f source/Makefile ] || (cd source && ./configure --with-fhs --prefix=/usr --exec-prefix=/usr --with-netatalk --with-smbmount --with-pam --with-syslog --with-sambabook --with-utmp) - [ -f source/Makefile ] || (cd source && ./configure --host=$(DEB_HOST_GNU_TYPE)-gnu --build=$(DEB_BUILD_GNU_TYPE)-gnu --with-fhs --prefix=/usr --sysconfdir=/etc --with-privatedir=/etc/samba --with-lockdir=/var/state/samba --localstatedir=/var --with-netatalk --with-smbmount --with-pam --with-syslog --with-sambabook --with-utmp --with-readline --with-pam_smbpass) - - touch configure-stamp - -build: configure-stamp build-stamp -build-stamp: - dh_testdir - - # Compile the Samba package first -# $(MAKE) -C source $(BVARS) all smbtorture rpctorture debug2html - $(MAKE) -C source all smbtorture - - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - # Clean first the Samba package -# -$(MAKE) -C source realclean -# -$(MAKE) -C source clean - -$(MAKE) -C source distclean - rm -f source/bin/rpctorture - rm -f source/bin/smbtorture - rm -f source/bin/debug2html - - dh_clean - -install: DH_OPTIONS= -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Add here commands to install the package into debian/tmp. - $(MAKE) -C source install $(IVARS) - - # Install other stuff not installed by "make install" - install -m 0755 debian/mksmbpasswd.awk $(DESTDIR)/usr/sbin/mksmbpasswd - install -m 0755 source/bin/smbtorture $(DESTDIR)/usr/bin/ - install -m 0755 debian/sambaconfig $(DESTDIR)/usr/sbin/ - install -m 0755 source/bin/pam_smbpass.so $(DESTDIR)/lib/security/ - - # Create the symlink that will allow us to do "mount -t smbfs ...". - # Create also a symlink that will allow "mount -t smb ..." to - # work too. The symlink is created in $(DESTDIR)/sbin/ but - # will be moved by dh_movefiles to the smbfs package later on. - ln -s /usr/bin/smbmount $(DESTDIR)/sbin/mount.smbfs - ln -s /usr/bin/smbmount $(DESTDIR)/sbin/mount.smb - - # For CUPS to support printing to samba printers, it's necessary - # to make the following symlink (according to - # Erich Schubert <debian@vitavonni.de> in #109509): - ln -s /usr/bin/smbspool $(DESTDIR)/usr/lib/cups/backend/smb - - # To avoid duplication of a large number of files, the swat package - # does not contain the "Using Samba" book nor the HTML docs. - # Instead, these are provided by the samba-doc package and - # are accessed through symlinks provided in the swat package. - # Here we create the symlink for the book, and the symlinks - # for the HTML files are created by the script installswat.sh. - ln -s ../../../doc/samba-doc/htmldocs/using_samba $(SAMBABOOK)/usr/share/samba/swat/using_samba - - # Install man pages for files without man pages in the upstream sources - install -m 0644 debian/sambaconfig.8 $(DESTDIR)/usr/share/man/man8/sambaconfig.8 - install -m 0644 debian/mksmbpasswd.8 $(DESTDIR)/usr/share/man/man8/mksmbpasswd.8 - - # Delete unwanted stuff leftover from "make install" - - # smbrun is not longer needed by smbd, so delete its man page - rm $(DESTDIR)/usr/share/man/man1/smbrun.1 - - # The smbwrapper package is not being generated anymore, so we must - # delete the related man pages. - rm $(DESTDIR)/usr/share/man/man1/smbsh.1 - - # These files are not part of the main samba package, move to where they - # belong... - #mv $(DESTDIR)/usr/bin/smbwrapper.so debian/smbwrapper/usr/share/samba/ - - # Install samba-common's conffiles - they'll get moved later to their - # correct place by dh_movefiles. - cp debian/smb.conf $(DESTDIR)/etc/samba/ - cp debian/samba.pamd $(DESTDIR)/etc/pam.d/samba - - dh_movefiles --sourcedir=debian/samba/ - - # Remove empty directories that will never be used. - rmdir $(DESTDIR)/sbin - -# Build architecture-independent files here. -# Pass -i to all debhelper commands in this target to reduce clutter. -binary-indep: DH_OPTIONS=-i -binary-indep: build install - # Need this version of debhelper for DH_OPTIONS to work. - dh_testversion 1.1.17 - dh_testdir - dh_testroot -# dh_installdebconf - dh_installdocs -A docs/textdocs/DIAGNOSIS.txt debian/README.build - dh_installexamples -# dh_installmenu -# dh_installemacsen -# dh_installpam -# dh_installinit -# dh_installcron -# dh_installmanpages -# dh_installinfo -# dh_undocumented - dh_installchangelogs - dh_link - dh_compress - dh_fixperms - dh_installdeb -# dh_perl - dh_gencontrol - dh_md5sums - dh_builddeb - -# Build architecture-dependent files here. -# Pass -a to all debhelper commands in this target to reduce clutter. -binary-arch: DH_OPTIONS=-a -binary-arch: build install - # Need this version of debhelper for DH_OPTIONS to work. - dh_testversion 1.1.17 - dh_testdir - dh_testroot -# dh_installdebconf - dh_installdocs -A docs/textdocs/DIAGNOSIS.txt debian/README.build - dh_installexamples -# dh_installmenu - dh_installlogrotate -# dh_installemacsen -# dh_installpam - dh_installinit - dh_installcron -# dh_installmanpages -# dh_installinfo - dh_undocumented - dh_installchangelogs - dh_strip - dh_link - dh_compress - dh_fixperms - - # You may want to make some executables suid here. - # The smbmnt, smbmount and smbumount binaries must be setuid-root. - chmod u+s debian/smbfs/usr/bin/smbmnt - chmod u+s debian/smbfs/usr/bin/smbmount - chmod u+s debian/smbfs/usr/bin/smbumount - - # Set some reasonable default perms for the samba logdir. - chmod 0750 $(DESTDIR)/var/log/samba/ - chown root.adm $(DESTDIR)/var/log/samba/ - - dh_installdeb -# dh_makeshlibs -# dh_perl - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/packaging/Debian/unstable/rules.old b/packaging/Debian/unstable/rules.old deleted file mode 100644 index ac322185a9d..00000000000 --- a/packaging/Debian/unstable/rules.old +++ /dev/null @@ -1,194 +0,0 @@ -#!/usr/bin/make -f -# Made with the iad of dh_make, by Craig Small -# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. -# Also some stuff taken from debmake scripts, by Cristopt Lameter. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -BVARS = BASEDIR=/usr \ - LIBDIR=/etc/samba \ - SMB_PASSWD_FILE=/etc/samba/smbpasswd \ - SMBLOGFILE=/var/log/smb NMBLOGFILE=/var/log/nmb \ - LOCKDIR=/var/samba \ - SWATDIR=/usr/share/samba/swat - -DESTDIR=`pwd`/debian/tmp -SWATDIR=`pwd`/debian/swat -SAMBABOOK=`pwd`/debian/swat - -IVARS = BASEDIR=$(DESTDIR)/usr \ - BINDIR=$(DESTDIR)/usr/bin \ - SBINDIR=$(DESTDIR)/usr/sbin \ - MANDIR=$(DESTDIR)/usr/share/man \ - LIBDIR=$(DESTDIR)/etc/samba \ - VARDIR=$(DESTDIR)/var/samba \ - SWATDIR=$(SWATDIR)/usr/share/samba/swat \ - SAMBABOOK=$(SAMBABOOK)/usr/share/samba/swat/using_samba - -build: build-stamp -build-stamp: - dh_testdir - - # Compile the Samba package first - [ -f source/Makefile ] || (cd source && ./configure --prefix=/usr --exec-prefix=/usr --with-netatalk --with-smbmount --with-pam --with-syslog --with-sambabook --with-utmp) - $(MAKE) -C source $(BVARS) all smbtorture rpctorture debug2html - - # Now compile the old smbfs package - $(MAKE) -C source/smbfs-2.0.x - - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp install-stamp - - # Clean first the Samba package -# -$(MAKE) -C source realclean - -$(MAKE) -C source distclean -# -$(MAKE) -C source clean - rm -f source/bin/{rpctorture,smbtorture,debug2html} - - # Now clean the old smbfs-2.0.x package - -$(MAKE) -C source/smbfs-2.0.x clean - - dh_clean - -install: install-stamp -install-stamp: build-stamp - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Add here commands to install the package into debian/tmp. - $(MAKE) -C source install $(IVARS) - - # Install other stuff not installed by "make install" - install -m 0755 source/script/mksmbpasswd.sh $(DESTDIR)/usr/sbin/mksmbpasswd - install -m 0755 source/bin/smbtorture $(DESTDIR)/usr/bin/ - install -m 0755 debian/sambaconfig $(DESTDIR)/usr/sbin/ - - # Create the symlink that will allow us to do "mount -t smbfs ...". - # Create also a symlink that will allow "mount -t smb ..." to - # work too. The symlink is created in $(DESTDIR)/sbin/ but - # will be moved by dh_movefiles to the smbfs package later on. - ln -s /usr/bin/smbmount $(DESTDIR)/sbin/mount.smbfs - ln -s /usr/bin/smbmount $(DESTDIR)/sbin/mount.smb - - # To avoid duplication of a large number of files, the swat package - # does not contain the "Using Samba" book nor the HTML docs. - # Instead, these are provided by the samba-doc package and - # are accessed through symlinks provided in the swat package. - # Here we create the symlink for the book, and the symlinks - # for the HTML files are created by the script installswat.sh. - ln -s /usr/share/doc/samba-doc/htmldocs/using_samba $(SAMBABOOK)/usr/share/samba/swat/using_samba - - # Install man pages for files without man pages in the upstream dist. - install -m 0644 debian/sambaconfig.8 $(DESTDIR)/usr/share/man/man8/sambaconfig.8 - install -m 0644 debian/addtosmbpass.8 $(DESTDIR)/usr/share/man/man8/addtosmbpass.8 - install -m 0644 debian/mksmbpasswd.8 $(DESTDIR)/usr/share/man/man8/mksmbpasswd.8 - - # Delete unwanted stuff leftover from "make install" - - # smbrun is not longer needed by smbd, so delete its man page - rm $(DESTDIR)/usr/share/man/man1/smbrun.1 - - # The smbwrapper package is not being generated anymore, so we must - # delete the related man pages. - rm $(DESTDIR)/usr/share/man/man1/smbsh.1 - - # We need to rename the SMB mount utilities so they don't have the same - # names as the files in the smbfs package. - mv $(DESTDIR)/usr/bin/smbmount $(DESTDIR)/usr/bin/smbmount-2.2.x - mv $(DESTDIR)/usr/bin/smbumount $(DESTDIR)/usr/bin/smbumount-2.2.x - mv $(DESTDIR)/usr/share/man/man8/smbmount.8 $(DESTDIR)/usr/share/man/man8/smbmount-2.2.x.8 - mv $(DESTDIR)/usr/share/man/man8/smbumount.8 $(DESTDIR)/usr/share/man/man8/smbumount-2.2.x.8 - - # These files are not part of the main samba package, move to where they - # belong... - #mv $(DESTDIR)/usr/bin/smbwrapper.so debian/smbwrapper/usr/share/samba/ - - # The smbmnt, smbmount-2.2.x and smbumount-2.2.x binaries must - # be setuid-root. - chmod u+s $(DESTDIR)/usr/bin/smbmnt $(DESTDIR)/usr/bin/smbmount-2.2.x $(DESTDIR)/usr/bin/smbumount-2.2.x - - # Install samba-common's conffiles - cp debian/smb.conf $(DESTDIR)/etc/samba/ - cp debian/samba.pamd $(DESTDIR)/etc/pam.d/samba - - # OK, now it's time to install the smbfs-2.0.2 files - $(MAKE) -C source/smbfs-2.0.x install $(IVARS) - - # Rename the old smbfs utilities to more convenient names - mv $(DESTDIR)/usr/bin/smbmount $(DESTDIR)/usr/bin/smbmount-2.0.x - mv $(DESTDIR)/usr/bin/smbumount $(DESTDIR)/usr/bin/smbumount-2.0.x - mv $(DESTDIR)/usr/share/man/man8/smbmount.8 $(DESTDIR)/usr/share/man/man8/smbmount-2.0.x.8 - mv $(DESTDIR)/usr/share/man/man8/smbumount.8 $(DESTDIR)/usr/share/man/man8/smbumount-2.0.x.8 - - # Now install the smbmount and smbumount wrappers and its man pages - install debian/smbmount.sh $(DESTDIR)/usr/bin/smbmount - install debian/smbumount.sh $(DESTDIR)/usr/bin/smbumount - install -m 0644 debian/smbmount.8 $(DESTDIR)/usr/share/man/man8/smbmount.8 - install -m 0644 debian/smbumount.8 $(DESTDIR)/usr/share/man/man8/smbumount.8 - - # Install some docs. that go in "unusual" places - cp README-smbmount debian/smbfs/usr/share/doc/smbfs/2.2.x/ - cp source/smbfs-2.0.x/{FAQ,README,smbfs-2.0.2.lsm,Changes} debian/smbfs/usr/share/doc/smbfs/2.0.x/ - - dh_movefiles - touch install-stamp - -# Build architecture-independent files here. -binary-indep: build install -# dh_testversion - dh_testdir -i - dh_testroot -i - dh_installdocs -i -A docs/textdocs/DIAGNOSIS.txt - dh_installexamples -i -# dh_installmenu -i -# dh_installemacsen -i -# dh_installinit -i -# dh_installcron -i -# dh_installmanpages -i - dh_undocumented - dh_installchangelogs -i - dh_compress -i -# dh_suidregister -i - dh_fixperms -i - dh_installdeb -i - dh_gencontrol -i - dh_md5sums -i - dh_builddeb -i - -# Build architecture-dependent files here. -binary-arch: build install -# dh_testversion - dh_testdir -a - dh_testroot -a - dh_installdocs -a -A docs/textdocs/DIAGNOSIS.txt -A debian/README.linux - dh_installexamples -a -# dh_installmenu -a -# dh_installemacsen -a - dh_installinit -a - dh_installcron -a -# dh_installmanpages -a - dh_undocumented - dh_installchangelogs -a - dh_strip -a - dh_compress -a - dh_suidregister -a - dh_fixperms -a - dh_installdeb -a - dh_shlibdeps -a - dh_gencontrol -a -# dh_makeshlibs -a - dh_md5sums -a - dh_builddeb -a - -source diff: - @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary diff --git a/packaging/Debian/unstable/rules.smbwrapper b/packaging/Debian/unstable/rules.smbwrapper deleted file mode 100644 index e3c72ee47c4..00000000000 --- a/packaging/Debian/unstable/rules.smbwrapper +++ /dev/null @@ -1,172 +0,0 @@ -#!/usr/bin/make -f -# Made with the iad of dh_make, by Craig Small -# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. -# Also some stuff taken from debmake scripts, by Cristopt Lameter. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -BVARS = BASEDIR=/usr \ - LIBDIR=/etc/samba \ - SMB_PASSWD_FILE=/etc/samba/smbpasswd \ - SMBLOGFILE=/var/log/smb NMBLOGFILE=/var/log/nmb \ - LOCKDIR=/var/samba \ - SWATDIR=/usr/share/samba/swat - -DESTDIR=`pwd`/debian/tmp -SWATDIR=`pwd`/debian/swat - -IVARS = BASEDIR=$(DESTDIR)/usr \ - BINDIR=$(DESTDIR)/usr/bin \ - SBINDIR=$(DESTDIR)/usr/sbin \ - MANDIR=$(DESTDIR)/usr/share/man \ - LIBDIR=$(DESTDIR)/etc/samba \ - VARDIR=$(DESTDIR)/var/samba \ - SWATDIR=$(SWATDIR)/usr/share/samba/swat - -build: build-stamp -build-stamp: - dh_testdir - - # Compile the Samba package first - [ -f source/Makefile ] || (cd source && ./configure --prefix=/usr --exec-prefix=/usr --with-netatalk --with-smbmount --with-smbwrapper) - $(MAKE) -C source $(BVARS) all smbtorture rpctorture debug2html - - # Now compile the old smbfs package - $(MAKE) -C source/smbfs-2.0.x - - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp install-stamp - - # Clean first the Samba package -# -$(MAKE) -C source realclean - -$(MAKE) -C source distclean -# -$(MAKE) -C source clean - rm -f source/bin/{rpctorture,smbtorture,debug2html} - - # Now clean the old smbfs-2.0.x package - -$(MAKE) -C source/smbfs-2.0.x clean - - dh_clean - -install: install-stamp -install-stamp: build-stamp - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Add here commands to install the package into debian/tmp. - $(MAKE) -C source install $(IVARS) - - # Install other stuff not installed by "make install" - install -m 0755 source/script/mksmbpasswd.sh $(DESTDIR)/usr/sbin/mksmbpasswd - install -m 0755 source/bin/smbtorture $(DESTDIR)/usr/bin/ - install -m 0755 debian/sambaconfig $(DESTDIR)/usr/sbin/ - install -m 0755 source/smbadduser $(DESTDIR)/usr/sbin/ - - # Install man pages for files without man pages in the upstream dist. - install -m 0644 debian/sambaconfig.8 $(DESTDIR)/usr/share/man/man8/sambaconfig.8 - install -m 0644 debian/addtosmbpass.8 $(DESTDIR)/usr/share/man/man8/addtosmbpass.8 - install -m 0644 debian/mksmbpasswd.8 $(DESTDIR)/usr/share/man/man8/mksmbpasswd.8 - - # Delete unwanted stuff leftover from "make install" - - # smbrun is not longer needed by smbd, so delete its man page - rm $(DESTDIR)/usr/share/man/man1/smbrun.1 - - # We need to rename the SMB mount utilities so they don't have the same - # names as the files in the smbfs package. - mv $(DESTDIR)/usr/bin/smbmount $(DESTDIR)/usr/bin/smbmount-2.2.x - mv $(DESTDIR)/usr/bin/smbumount $(DESTDIR)/usr/bin/smbumount-2.2.x - mv $(DESTDIR)/usr/share/man/man8/smbmount.8 $(DESTDIR)/usr/share/man/man8/smbmount-2.2.x.8 - mv $(DESTDIR)/usr/share/man/man8/smbumount.8 $(DESTDIR)/usr/share/man/man8/smbumount-2.2.x.8 - - # These files are not part of the main samba package, move to where they - # belong... - mv $(DESTDIR)/usr/bin/smbwrapper.so debian/smbwrapper/usr/share/samba/ - - # The smbmnt, smbmount-2.2.x and smbumount-2.2.x binaries must - # be setuid-root. - chmod u+s $(DESTDIR)/usr/bin/smbmnt $(DESTDIR)/usr/bin/smbmount-2.2.x $(DESTDIR)/usr/bin/smbumount-2.2.x - - # Install samba-common's conffiles - cp debian/smb.conf $(DESTDIR)/etc/samba/ - - - # OK, now it's time to install the smbfs-2.0.2 files - $(MAKE) -C source/smbfs-2.0.x install $(IVARS) - - # Rename the old smbfs utilities to more convenient names - mv $(DESTDIR)/usr/bin/smbmount $(DESTDIR)/usr/bin/smbmount-2.0.x - mv $(DESTDIR)/usr/bin/smbumount $(DESTDIR)/usr/bin/smbumount-2.0.x - mv $(DESTDIR)/usr/share/man/man8/smbmount.8 $(DESTDIR)/usr/share/man/man8/smbmount-2.0.x.8 - mv $(DESTDIR)/usr/share/man/man8/smbumount.8 $(DESTDIR)/usr/share/man/man8/smbumount-2.0.x.8 - - # Now install the smbmount and smbumount wrappers - install debian/smbmount.sh $(DESTDIR)/usr/bin/smbmount - install debian/smbumount.sh $(DESTDIR)/usr/bin/smbumount - - # Install some docs. that go in "unusual" places - cp README-smbmount debian/smbfs/usr/share/doc/smbfs/2.2.x/ - cp source/smbfs-2.0.x/{FAQ,README,smbfs-2.0.2.lsm,Changes} debian/smbfs/usr/share/doc/smbfs/2.0.x/ - - dh_movefiles - touch install-stamp - -# Build architecture-independent files here. -binary-indep: build install -# dh_testversion - dh_testdir -i - dh_testroot -i - dh_installdocs -i -A docs/textdocs/DIAGNOSIS.txt - dh_installexamples -i -# dh_installmenu -i -# dh_installemacsen -i -# dh_installinit -i -# dh_installcron -i -# dh_installmanpages -i - dh_undocumented - dh_installchangelogs -i - dh_compress -i -# dh_suidregister -i - dh_fixperms -i - dh_installdeb -i - dh_gencontrol -i - dh_md5sums -i - dh_builddeb -i - -# Build architecture-dependent files here. -binary-arch: build install -# dh_testversion - dh_testdir -a - dh_testroot -a - dh_installdocs -a -A docs/textdocs/DIAGNOSIS.txt - dh_installexamples -a -# dh_installmenu -a -# dh_installemacsen -a - dh_installinit -a - dh_installcron -a -# dh_installmanpages -a - dh_undocumented - dh_installchangelogs -a - dh_strip -a - dh_compress -a - dh_suidregister -a - dh_fixperms -a - dh_installdeb -a - dh_shlibdeps -a - dh_gencontrol -a -# dh_makeshlibs -a - dh_md5sums -a - dh_builddeb -a - -source diff: - @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary diff --git a/packaging/Debian/unstable/samba-common.conffiles b/packaging/Debian/unstable/samba-common.conffiles deleted file mode 100644 index b5703025dde..00000000000 --- a/packaging/Debian/unstable/samba-common.conffiles +++ /dev/null @@ -1,2 +0,0 @@ -/etc/samba/smb.conf -/etc/pam.d/samba diff --git a/packaging/Debian/unstable/samba-common.files b/packaging/Debian/unstable/samba-common.files deleted file mode 100644 index 94f2e25f6a6..00000000000 --- a/packaging/Debian/unstable/samba-common.files +++ /dev/null @@ -1,7 +0,0 @@ -etc/samba/ -usr/bin/nmblookup -usr/bin/smbpasswd -etc/pam.d/ -usr/share/man/man1/nmblookup.1 -usr/share/man/man8/smbpasswd.8 -usr/share/samba/codepages/ diff --git a/packaging/Debian/unstable/samba-common.postrm b/packaging/Debian/unstable/samba-common.postrm deleted file mode 100644 index 2cd832b33d2..00000000000 --- a/packaging/Debian/unstable/samba-common.postrm +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -if [ "$1" = purge ]; then - # Remove any files left in /etc/samba/ - rm -Rf /etc/samba/ -fi diff --git a/packaging/Debian/unstable/samba-doc.docs b/packaging/Debian/unstable/samba-doc.docs deleted file mode 100644 index 5ecd34993ee..00000000000 --- a/packaging/Debian/unstable/samba-doc.docs +++ /dev/null @@ -1,9 +0,0 @@ -README -docs/NT4_PlainPassword.reg -docs/THANKS -docs/Win95_PlainPassword.reg -docs/announce -docs/history -docs/textdocs/ -docs/faq/ -docs/htmldocs/ diff --git a/packaging/Debian/unstable/samba-doc.examples b/packaging/Debian/unstable/samba-doc.examples deleted file mode 100644 index 6a78432b28c..00000000000 --- a/packaging/Debian/unstable/samba-doc.examples +++ /dev/null @@ -1,3 +0,0 @@ -examples/ -debian/wins2dns.awk -source/smbadduser diff --git a/packaging/Debian/unstable/samba.conffiles b/packaging/Debian/unstable/samba.conffiles deleted file mode 100644 index 03f64414b06..00000000000 --- a/packaging/Debian/unstable/samba.conffiles +++ /dev/null @@ -1,2 +0,0 @@ -/etc/cron.daily/samba -/etc/init.d/samba diff --git a/packaging/Debian/unstable/samba.dirs b/packaging/Debian/unstable/samba.dirs deleted file mode 100644 index 237603750a1..00000000000 --- a/packaging/Debian/unstable/samba.dirs +++ /dev/null @@ -1,11 +0,0 @@ -sbin -usr/bin -usr/sbin -var/log/samba -var/state/samba -etc/samba -etc/pam.d -usr/share -usr/share/samba -lib/security -usr/lib/cups/backend diff --git a/packaging/Debian/unstable/samba.logrotate b/packaging/Debian/unstable/samba.logrotate deleted file mode 100644 index 9e96312986c..00000000000 --- a/packaging/Debian/unstable/samba.logrotate +++ /dev/null @@ -1,15 +0,0 @@ -/var/log/samba/log.smbd { - weekly - missingok - rotate 7 - compress - notifempty -} - -/var/log/samba/log.nmbd { - weekly - missingok - rotate 7 - compress - notifempty -} diff --git a/packaging/Debian/unstable/samba.pamd b/packaging/Debian/unstable/samba.pamd deleted file mode 100644 index 1a5a14c7089..00000000000 --- a/packaging/Debian/unstable/samba.pamd +++ /dev/null @@ -1,5 +0,0 @@ -auth required pam_unix.so nullok -account required pam_unix.so -session required pam_unix.so -password required pam_unix.so - diff --git a/packaging/Debian/unstable/samba.postinst b/packaging/Debian/unstable/samba.postinst deleted file mode 100644 index 3d5dd0cf93b..00000000000 --- a/packaging/Debian/unstable/samba.postinst +++ /dev/null @@ -1,218 +0,0 @@ -#!/bin/sh -# -# Post-installation script for the Samba package for Debian GNU/Linux -# -# Written by Eloy A. Paris <peloy@debian.org> for the Debian project. -# -# The prerm script (run before the postinst) disables Samba in /etc/inetd.conf -# and stops both nmbd and smbd. So, when this script is run we -# know that neither nmbd nor smbd can start. -# - -case "$1" in - configure) - # continue below - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - exit 0 - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 0 - ;; -esac - -# Take care of the /usr/doc/ to /usr/shar/doc/ migration. -if [ -d /usr/doc -a ! -e /usr/doc/samba -a -d /usr/share/doc/samba ]; then - ln -sf ../share/doc/samba /usr/doc/samba -fi - -# Starting with Samba 2.0.7-4 the location of the WINS database, the browse -# database and other important run-time files are stored in -# /var/state/samba/ rather than in /var/samba/. The following -# code takes care of moving the files in the old directory to -# the new directory. -if [ -d /var/samba/ ]; then - mv /var/samba/* /var/state/samba/ - rmdir /var/samba/ -fi - -# Define some constants... -DEBIAN_CONFIG=/etc/samba/debian_config -CONFIG_VERSION=1 - -# Now some variables... -samba_configured=no - - -if [ -f $DEBIAN_CONFIG ]; then - . $DEBIAN_CONFIG - if [ "$config_version" -ge "$CONFIG_VERSION" ]; then - samba_configured=yes - fi -fi - -# If Samba is configured we don't want to pester the user with -# configuration questions, just tell him that he can reconfigure -# Samba at any time by running /usr/sbin/sambaconfig. -if [ "$samba_configured" = "no" ]; then - # Samba is not configured, go and ask the user the information needed - # to configure it, and configure it! - - # Create Debian specific configuration file - echo "config_version=$CONFIG_VERSION" > $DEBIAN_CONFIG - - # We always run /etc/init.d/samba, even if we run Samba from inetd. - # This script file takes care of handling the conflict of running - # from inetd or as daemons. - update-rc.d samba defaults >/dev/null - - # We want to add these entries to inetd.conf commented out. Otherwise - # UDP traffic could make inetd to start nmbd or smbd right during - # the configuration stage. - update-inetd --add "#<off># netbios-ssn stream tcp nowait root /usr/sbin/tcpd /usr/sbin/smbd" - update-inetd --add "#<off># netbios-ns dgram udp wait root /usr/sbin/tcpd /usr/sbin/nmbd -a" - - echo "" - echo Samba Configuration - echo ------------------- - echo "The Samba server may be run either as a daemon at startup, or it may be" - echo "run from the inetd meta-daemon upon request. If run as a daemon, the" - echo "server will always be ready, so starting sessions will be faster. If run" - echo "from the inetd meta-daemon some memory will be saved and utilities such" - echo "as the tcpd TCP-wrapper may be used for extra security. If you don't" - echo "know what to do, running from inetd is a safe choice." - echo "" - echo "Run Samba as daemons or from inetd?" - echo -n "Press 'D' to run as daemons or 'I' to run from inetd: [I] " - - read mode - test -n "$mode" || mode="I" - - case "$mode" in - [Dd]*) - echo "Samba will run as daemons. Run sambaconfig to reconfigure" - update-inetd --disable netbios-ssn - update-inetd --disable netbios-ns - echo "run_mode=as_daemons" >> $DEBIAN_CONFIG - ;; - - *) - echo "Samba will run from inetd. Run sambaconfig to reconfigure" - update-inetd --enable netbios-ssn - update-inetd --enable netbios-ns - echo "run_mode=from_inetd" >> $DEBIAN_CONFIG - ;; - esac - - if [ ! -f /etc/samba/smbpasswd ]; then - echo "" - echo "If you are going to use encrypted passwords you need to have a" - echo "separate password file for this (the format is different from " - echo "/etc/passwd). Right now you don't have an /etc/samba/smbpasswd file." - echo "Do you want to generate this new file from your existing" - echo -n "/etc/passwd file? [y/N] " - - read yn - test -n "$yn" || yn="N" - - if [ $yn = y -o $yn = Y ]; then - cat /etc/passwd | /usr/sbin/mksmbpasswd > /etc/samba/smbpasswd - chmod 600 /etc/samba/smbpasswd - echo "" - echo "/etc/samba/smbpasswd now has the same user names as /etc/passwd. However," - echo "you need to run smbpasswd manually to set the password for each user." - echo "" - echo "smbpasswd_created=yes" >> $DEBIAN_CONFIG - else - echo "smbpasswd_created=no" >> $DEBIAN_CONFIG - fi - fi - - echo "" - - # Start Samba: nothing wrong will happen if Samba is running from inetd - # and /etc/init.d/samba is run. However, to simplify things, we - # do not run /etc/init.d/samba if we're running from inetd. - - if [ $mode = d -o $mode = D ]; then - echo -n "Samba will run as daemons - start Samba now? [Y/n] " - read yn - test -n "$yn" || yn="Y" - - case "$yn" in - [Nn]*) - echo "Not started; to start later, do: /etc/init.d/samba start" - echo -n "Press [ENTER] " - read line - ;; - - *) - /etc/init.d/samba start - ;; - esac - else - echo "Since you are running Samba from inetd, the daemons will start" - echo "automatically by inetd when there is traffic on the NetBIOS" - echo "ports." - echo -n "Press [ENTER] " - read line - fi -else # if (samba_configured) ... - # We are here because Samba was already configured... - - # At this point the NetBIOS daemons are disabled in /etc/inetd.conf. - # This is a consequence of what we did in the prerm. If Samba was - # configured to run from inetd we need to enable the entries in - # /etc/inetd.conf. - - # Read current Samba configuration - . $DEBIAN_CONFIG - - if [ "$run_mode" = "from_inetd" ]; then - update-inetd --enable netbios-ssn - update-inetd --enable netbios-ns - fi - - echo "" - echo "Samba was already installed and configured so I skipped the " - echo "configuration questions. You can run the script /usr/sbin/sambaconfig" - echo "at any time to reconfigure Samba. See sambaconfig(8) for more" - echo "details. I will not even ask you if you want to restart Samba," - echo "I will just do it!" - echo "" - - /etc/init.d/samba start -fi # if (samba_configured) ... - -if test "$1" = configure && dpkg --compare-versions "$2" lt 2.0.0final-2 && [ -f /etc/samba/smbpasswd ]; then - - cat << EOF - -*** IMPORTANT *** - -The format of the smbpasswd file (which is used only if you are using -encrypted passwords) is different in Samba 2.0.0 and above. I will -covert it to the new format. - -EOF - - mv /etc/samba/smbpasswd /etc/samba/smbpasswd.old - cat /etc/samba/smbpasswd.old | /usr/bin/convert_smbpasswd \ - > /etc/samba/smbpasswd 2> /dev/null -fi - -# This check is a safety net: the /etc/samba/smbpasswd file must have -# permissions 600. -if [ -f /etc/samba/smbpasswd ]; then - chmod 600 /etc/samba/smbpasswd -fi - -# Do the same check for /var/backup/smbpasswd.bak, just in case. -if [ -f /var/backups/smbpasswd.bak ]; then - chmod 600 /var/backups/smbpasswd.bak -fi - -exit 0 diff --git a/packaging/Debian/unstable/samba.postrm b/packaging/Debian/unstable/samba.postrm deleted file mode 100644 index 73b2f0d0a1f..00000000000 --- a/packaging/Debian/unstable/samba.postrm +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -if [ "$1" = purge ]; then - update-rc.d samba remove >/dev/null - - # Remove WINS.DAT, BROWSE.DAT and lock information file - rm -Rf /var/samba/ - - # Remove any files in the old and obsolete /var/lock/samba directory - rm -Rf /var/lock/samba/ - - # Remove files left in /etc/samba/ - rm -Rf /etc/samba/debian_config - rm -Rf /etc/samba/MACHINE.SID - - # Remove log files - rm -f /var/log/[ns]mb* - - # Remove NetBIOS entries from /etc/inetd.conf - update-inetd --remove netbios-ssn - update-inetd --remove netbios-ns -else - # Not purging, do not remove NetBIOS entries from /etc/inetd.conf - update-inetd --disable netbios-ssn - update-inetd --disable netbios-ns -fi diff --git a/packaging/Debian/unstable/samba.preinst b/packaging/Debian/unstable/samba.preinst deleted file mode 100644 index 6ebefb8fb1b..00000000000 --- a/packaging/Debian/unstable/samba.preinst +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh -# -# The purpose of the preinst script for the samba package is to help -# the migration of the conffiles smb.conf and smbpasswd from their -# old location (/etc/) to their new location (/etc/samba/). -# -# Thanks to Ben Pfaff <pfaffben@pilot.msu.edu> for sharing on debian-devel -# his ideas about how to move conffiles to new locations. -# - -# First see if a smb.conf file currently exists. -test -f /etc/smb.conf || exit 0 - -# Now see if a smb.conf file exists in the new location. -test -e /etc/samba/smb.conf && exit 0 - -# -# Move smb.conf conffile from its old location (/etc/) to its new one -# (/etc/samba). -# -# If conffile exists in old location AND conffile does not exist on new -# location then... -# -if [ -f /etc/smb.conf -a ! -e /etc/samba/smb.conf ]; then - # The new location for the conffile should not exist yet, so we create the - # dir. - mkdir -p /etc/samba - - # Finally, move the conffile to its new location. - mv /etc/smb.conf /etc/samba/smb.conf -fi - -# -# Move smbpasswd conffile from its old location (/etc/) to its new one -# (/etc/samba). -# -# If conffile exists in old location AND conffile does not exist on new -# location then... -# -if [ -f /etc/smbpasswd -a ! -e /etc/samba/smbpasswd ]; then - # The new location for the conffile should not exist yet, so we create the - # dir. - mkdir -p /etc/samba - - # Finally, move the conffile to its new location. - mv /etc/smbpasswd /etc/samba/smbpasswd -fi diff --git a/packaging/Debian/unstable/samba.prerm b/packaging/Debian/unstable/samba.prerm deleted file mode 100644 index acd6d087b5c..00000000000 --- a/packaging/Debian/unstable/samba.prerm +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh -# -# Pre-removal script for the Samba package for Debian GNU/Linux. -# -# Written by Eloy A. Paris for the Debian project. -# - -DEBIAN_CONFIG=/etc/samba/debian_config - -NMBDPID=/var/state/samba/nmbd.pid -SMBDPID=/var/state/samba/smbd.pid - -# The most important thing the prerm script must do is to stop the Samba -# daemons (nmbd and smbd). Note that this can be tricky since Samba -# can be running from the inetd meta-daemon or as daemons (it's a -# user choice). - -# Before we stop Samba we need to know how it is running (from inetd -# or as daemons). We could source in the debian_config file but it -# is safer to grep /etc/inetd.conf. -if grep -q '^netbios-ns' /etc/inetd.conf; then - # Samba is running from inetd. We need to disable the Samba daemons - # in /etc/inetd.conf before we stop the daemons. Otherwise traffic - # in the NetBIOS ports will make inetd start them again. - # - # Note: user preferences regarding the mode he/she wants Samba to - # be run (inetd or daemons) will be lost next. In the postinst - # we depend on the information present in the debian_config - # file to restore everything back to the way it was. - update-inetd --disable netbios-ssn - update-inetd --disable netbios-ns - - # Now it is safe to stop the daemons... - - # I have just recalled that old versions of nmbd and smbd did not store - # their PID's in /var/samba/state/ (or whatever directory - # was used for this purpose in configure), so I can't use - # --pidfile in start-stop-daemon to stop nmbd or smbd. I - # will handle this by testing first whether the PID file exists. - if [ -f $NMBDPID ]; then - start-stop-daemon --stop --oknodo --user root --name nmbd --quiet --pidfile $NMBDPID - else - start-stop-daemon --stop --oknodo --user root --name nmbd --quiet - fi - - # nmbd must be dead by now, now it's smbd's turn - if [ -f $SMBDPID ]; then - start-stop-daemon --stop --oknodo --user root --name smbd --quiet --pidfile $SMBDPID - else - start-stop-daemon --stop --oknodo --user root --name smbd --quiet - fi -elif [ -x /etc/init.d/samba ]; then # Old Samba packages didn't have a - # /etc/init.d/samba so we better - # check first. - # Samba is running as daemons. No problem here, just stop Samba... - /etc/init.d/samba stop -fi - -if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/samba ]; then - rm -f /usr/doc/samba -fi - -# Make sure there are no nmbd or smbd daemons running (security check) -# (as you see this code is commented out - so far I haven't had the need -# to do this sanity check - peloy, Aug. 23, 1998) -#ps -ax | grep nmbd -#if [ $? ... ]; then -# killall -9 nmbd -#fi - -#ps -ax | grep smbd -#if [ $? ... ]; then -# killall -9 smbd -#fi diff --git a/packaging/Debian/unstable/sambaconfig b/packaging/Debian/unstable/sambaconfig deleted file mode 100644 index 0d35a519670..00000000000 --- a/packaging/Debian/unstable/sambaconfig +++ /dev/null @@ -1,130 +0,0 @@ -#!/bin/sh -# -# Written by Eloy A. Paris <peloy@debian.org> for Debian GNU/Linux. -# - -PATH="/usr/sbin:/usr/bin:/sbin:/bin" -DEBIAN_CONFIG=/etc/samba/debian_config - -NMBDPID=/var/state/samba/nmbd.pid -SMBDPID=/var/state/samba/smbd.pid - -if [ ! -f $DEBIAN_CONFIG ]; then - echo "The file $DEBIAN_CONFIG does not exist! There is something wrong" - echo "with the installation of Samba on this system. Please re-install" - echo "Samba." - exit 1 -fi - -# Read current Samba configuration -. $DEBIAN_CONFIG - -reload=1 - -while [ $# -gt 0 ] -do - case "$1" in - --run-from-inetd) - run_from_inetd=1 - shift - ;; - - --run-as-daemons) - run_from_inetd=0 - shift - ;; - --no-reload) - reload=0 - shift - ;; - - *) - echo "Usage: $0 [--run-from-inetd|--run-as-daemons] [no-reload]" >&2 - exit 1 - ;; - esac -done - -# Make sure there are no Samba daemons (nmbd or smbd) running -# - -if [ "$run_mode" = "from_inetd" ]; then - # Samba is running from inetd - need to disable inetd before - # killing the daemons. - update-inetd --disable netbios-ssn - update-inetd --disable netbios-ns - start-stop-daemon --stop --oknodo --user root --name nmbd --quiet --pidfile $NMBDPID - start-stop-daemon --stop --oknodo --user root --name smbd --quiet --pidfile $SMBDPID -else - # Samba is running as daemons - /etc/init.d/samba stop -fi - -if [ "x$run_from_inetd" = "x" ] -then - echo "Run Samba as daemons or from inetd?" - echo -n "Press 'D' for to run as daemons or 'I' to run from inetd: [I] " - - read mode - test -n "$mode" || mode="I" - - case "$mode" in - [Dd]*) - run_from_inetd=0 - ;; - - *) - run_from_inetd=1 - ;; - esac -fi - -if [ "$run_from_inetd" = 1 ]; then - echo "Samba will run from inetd. Run sambaconfig to reconfigure." - echo "" - update-inetd --enable netbios-ssn - update-inetd --enable netbios-ns - run_mode="from_inetd" -else - echo "Samba will run as daemons. Run sambaconfig to reconfigure." - echo "" - update-inetd --disable netbios-ssn - update-inetd --disable netbios-ns - run_mode="as_daemons" -fi - -# Rebuild Debian configuration file (only thing that could have -# changed so far is the variable called "run_mode". - -# Start the Samba daemons (take care of whether the user used the --no-reload -# option and how Samba is running: from inetd or as daemons) -echo "config_version=$config_version" > $DEBIAN_CONFIG -echo "run_mode=$run_mode" >> $DEBIAN_CONFIG -echo "smbpasswd_created=$smbpasswd_created" >> $DEBIAN_CONFIG - -if [ "$reload" = 0 ]; then - echo "Samba will not start (--no-reload parameter provided). Please note" - echo "that if you configured Samba to run from inetd, the Samba daemons" - echo "will start automatically when there is traffic in the NetBIOS ports" -elif [ "$run_from_inetd" = 1 ]; then - echo "The --no-reload parameter was not provided so I assume you want" - echo "to have the Samba daemons started. Since you are running from inetd" - echo "the Samba daemosn will start automatically when there is traffic" - echo "in the NetBIOS ports." -else - echo -n "The --no-reload parameter was not provided, start Samba now? [Y/n] " - read yn - test -n "$yn" || yn="Y" - - case "$yn" in - [Nn]*) - echo "Not started; to start later, do: /etc/init.d/samba start" - echo -n "Press [ENTER] " - read line - ;; - - *) - /etc/init.d/samba start - ;; - esac -fi diff --git a/packaging/Debian/unstable/sambaconfig.8 b/packaging/Debian/unstable/sambaconfig.8 deleted file mode 100644 index 2a0aaa9aa31..00000000000 --- a/packaging/Debian/unstable/sambaconfig.8 +++ /dev/null @@ -1,40 +0,0 @@ -.TH SAMBACONFIG 8 06-Apr-1998 -.SH NAME -sambaconfig \- configure Samba for Debian systems -.SH SYNOPSIS -sambaconfig [--run-from-inetd|--run-as-daemons] [--no-reload] -.SH DESCRIPTION -.B sambaconfig -is used to simplify the configuration of samba(8) for use on Debian -systems. -.PP -You may run this program to (re)configure samba for your Debian system -at any time. -.PP -Normally -.B sambaconfig -will ask if you want to reload the Samba daemons after making changes to its -configuration. The --no-reload option will avoid this question. Note -that if Samba is running from inetd and --no-reload is not supplied no -questions is asked because Samba will start automatically from inetd -when there is traffic on the NetBIOS ports. -.SH FILES -.TP -/etc/inetd.conf -If the lines that start the NetBIOS daemons nmbd and smbd are -commented out then Samba will start as daemons from /etc/init.d/start -.TP -/etc/init.d/samba -Script that will start/stop/restart Samba when running as daemons -.TP -/etc/samba/smbpasswd -Encrypted passwords file for the Samba daemons -.TP -/etc/samba/debian_config -Debian specific configuration information, it holds the mode in which -Samba is running (from inetd or as daemons). -.SH SEE ALSO -samba(7), nmbd(8), smbd(8) -.SH AUTHOR -Eloy A. Paris <peloy@debian.org> (man page based on sendmailconfig's man page -by Robert Leslie <rob@mars.org>) diff --git a/packaging/Debian/unstable/smb.conf b/packaging/Debian/unstable/smb.conf deleted file mode 100644 index 14cc20f49c4..00000000000 --- a/packaging/Debian/unstable/smb.conf +++ /dev/null @@ -1,147 +0,0 @@ -; -; /etc/samba/smb.conf -; -; Sample configuration file for the Samba suite for Debian GNU/Linux -; -; Please see the manual page for smb.conf for detailed description of -; every parameter. -; - -[global] - printing = bsd - printcap name = /etc/printcap - load printers = yes - guest account = nobody - invalid users = root - -; "security = user" is always a good idea. This will require a Unix account -; in this server for every user accessing the server. - security = user - -; Change this for the workgroup your Samba server will part of - workgroup = WORKGROUP - - server string = %h server (Samba %v) - -; If you want Samba to log though syslog only then set the following -; parameter to 'yes'. Please note that logging through syslog in -; Samba is still experimental. - syslog only = no - -; We want Samba to log a minimum amount of information to syslog. Everything -; should go to /var/log/{smb,nmb} instead. If you want to log through -; syslog you should set the following parameter to something higher. - syslog = 0; - -; This socket options really speed up Samba under Linux, according to my -; own tests. - socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096 - -; Passwords are encrypted by default. This way the latest Windows 95 and NT -; clients can connect to the Samba server with no problems. - encrypt passwords = yes - -; It's always a good idea to use a WINS server. If you want this server -; to be the WINS server for your network change the following parameter -; to "yes". Otherwise leave it as "no" and specify your WINS server -; below (note: only one Samba server can be the WINS server). -; Read BROWSING.txt for more details. - wins support = no - -; If this server is not the WINS server then specify who is it and uncomment -; next line. -; wins server = 172.16.0.10 - -; Please read BROWSING.txt and set the next four parameters according -; to your network setup. There is no valid default so they are commented -; out. -; os level = 0 -; domain master = no -; local master = no -; preferred master = no - -; What naming service and in what order should we use to resolve host names -; to IP addresses - name resolve order = lmhosts host wins bcast - -; This will prevent nmbd to search for NetBIOS names through DNS. - dns proxy = no - -; Name mangling options - - preserve case = yes - short preserve case = yes - -; This boolean parameter controlls whether Samba attempts to sync. the Unix -; password with the SMB password when the encrypted SMB password in the -; /etc/samba/smbpasswd file is changed. - unix password sync = false - -; For Unix password sync. to work on a Debian GNU/Linux system, the following -; parameters must be set (thanks to Augustin Luton -; <aluton@hybrigenics.fr> for sending the correct chat script for -; the passwd program in Debian Potato). - passwd program = /usr/bin/passwd %u - passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . - -; The following parameter is useful only if you have the linpopup package -; installed. The samba maintainer and the linpopup maintainer are -; working to ease installation and configuration of linpopup and samba. -; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' & - -; The default maximum log file size is 5 MBytes. That's too big so this -; next parameter sets it to 1 MByte. Currently, Samba rotates log -; files (/var/log/{smb,nmb} in Debian) when these files reach 1000 KBytes. -; A better solution would be to have Samba rotate the log file upon -; reception of a signal, but for now on, we have to live with this. - max log size = 1000 - - obey pam restrictions = yes - -[homes] - comment = Home Directories - browseable = no - -; By default, the home directories are exported read only. Change next -; parameter to "no" if you want to be able to write to them. - read only = yes - -; File creation mask is set to 0700 for security reasons. If you want to -; create files with group=rw permissions, set next parameter to 0775. - create mask = 0700 - -; Directory creation mask is set to 0700 for security reasons. If you want to -; create dirs. with group=rw permissions, set next parameter to 0775. - directory mask = 0700 - -[printers] - comment = All Printers - browseable = no - path = /tmp - printable = yes - public = no - writable = no - create mode = 0700 - -; A sample share for sharing your CD-ROM with others. -;[cdrom] -; comment = Samba server's CD-ROM -; writable = no -; locking = no -; path = /cdrom -; public = yes -; -; The next two parameters show how to auto-mount a CD-ROM when the -; cdrom share is accesed. For this to work /etc/fstab must contain -; an entry like this: -; -; /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0 -; -; The CD-ROM gets unmounted automatically after the connection to the -; -; If you don't want to use auto-mounting/unmounting make sure the CD -; is mounted on /cdrom -; -; preexec = /bin/mount /cdrom -; postexec = /bin/umount /cdrom - diff --git a/packaging/Debian/unstable/smbclient.files b/packaging/Debian/unstable/smbclient.files deleted file mode 100644 index f6ea8e14598..00000000000 --- a/packaging/Debian/unstable/smbclient.files +++ /dev/null @@ -1,9 +0,0 @@ -usr/bin/smbclient -usr/bin/smbtar -usr/bin/rpcclient -usr/bin/smbtorture -usr/bin/smbspool -usr/share/man/man1/smbclient.1 -usr/share/man/man1/smbtar.1 -usr/share/man/man8/smbspool.8 -usr/lib/cups/backend/smb diff --git a/packaging/Debian/unstable/smbfs.files b/packaging/Debian/unstable/smbfs.files deleted file mode 100644 index 77eb091880f..00000000000 --- a/packaging/Debian/unstable/smbfs.files +++ /dev/null @@ -1,8 +0,0 @@ -sbin/mount.smbfs -sbin/mount.smb -usr/bin/smbmount -usr/bin/smbumount -usr/bin/smbmnt -usr/share/man/man8/smbmount.8 -usr/share/man/man8/smbumount.8 -usr/share/man/man8/smbmnt.8 diff --git a/packaging/Debian/unstable/smbfs.suid b/packaging/Debian/unstable/smbfs.suid deleted file mode 100644 index 9569087fff3..00000000000 --- a/packaging/Debian/unstable/smbfs.suid +++ /dev/null @@ -1,5 +0,0 @@ -usr/bin/smbmnt -usr/bin/smbmount-2.2.x -usr/bin/smbumount-2.2.x -usr/bin/smbmount-2.0.x -usr/bin/smbumount-2.0.x diff --git a/packaging/Debian/unstable/smbwrapper.dirs b/packaging/Debian/unstable/smbwrapper.dirs deleted file mode 100644 index fd727bddf05..00000000000 --- a/packaging/Debian/unstable/smbwrapper.dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/bin -usr/share/samba diff --git a/packaging/Debian/unstable/smbwrapper.docs b/packaging/Debian/unstable/smbwrapper.docs deleted file mode 100644 index 2924e78734a..00000000000 --- a/packaging/Debian/unstable/smbwrapper.docs +++ /dev/null @@ -1,2 +0,0 @@ -source/smbwrapper/README -source/smbwrapper/PORTING diff --git a/packaging/Debian/unstable/smbwrapper.files b/packaging/Debian/unstable/smbwrapper.files deleted file mode 100644 index 08edbead6e6..00000000000 --- a/packaging/Debian/unstable/smbwrapper.files +++ /dev/null @@ -1 +0,0 @@ -usr/bin/smbsh diff --git a/packaging/Debian/unstable/smbwrapper.substvars b/packaging/Debian/unstable/smbwrapper.substvars deleted file mode 100644 index 2089e515d1b..00000000000 --- a/packaging/Debian/unstable/smbwrapper.substvars +++ /dev/null @@ -1 +0,0 @@ -shlibs:Depends=libc6 (>= 2.1) diff --git a/packaging/Debian/unstable/swat.dirs b/packaging/Debian/unstable/swat.dirs deleted file mode 100644 index d5df7df4b8e..00000000000 --- a/packaging/Debian/unstable/swat.dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/sbin -usr/share/samba/swat diff --git a/packaging/Debian/unstable/swat.docs b/packaging/Debian/unstable/swat.docs deleted file mode 100644 index afbfcf0c612..00000000000 --- a/packaging/Debian/unstable/swat.docs +++ /dev/null @@ -1 +0,0 @@ -swat/README diff --git a/packaging/Debian/unstable/swat.files b/packaging/Debian/unstable/swat.files deleted file mode 100644 index 6fed39111be..00000000000 --- a/packaging/Debian/unstable/swat.files +++ /dev/null @@ -1,2 +0,0 @@ -usr/sbin/swat -usr/share/man/man8/swat.8 diff --git a/packaging/Debian/unstable/swat.postinst b/packaging/Debian/unstable/swat.postinst deleted file mode 100644 index c5ab4890441..00000000000 --- a/packaging/Debian/unstable/swat.postinst +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -PATH=/sbin:/bin:/usr/sbin:/usr/bin - -case "$1" in - configure) - ;; - abort-upgrade|abort-remove|abort-deconfigure) - exit 0 - ;; - *) - echo "$0: Unknown action \"$1\"" - exit 0 - ;; -esac - -# Set up swat, turned off by default. -update-inetd --group OTHER --add \ - '#<off># swat\t\tstream\ttcp\tnowait.400\troot\t/usr/sbin/tcpd\t/usr/sbin/swat' - -if [ -d /usr/doc -a ! -e /usr/doc/swat -a -d /usr/share/doc/swat ]; then - ln -sf ../share/doc/swat /usr/doc/swat -fi diff --git a/packaging/Debian/unstable/swat.postrm b/packaging/Debian/unstable/swat.postrm deleted file mode 100644 index e203d2855ff..00000000000 --- a/packaging/Debian/unstable/swat.postrm +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -case "$1" in - purge) - update-inetd --remove '/usr/sbin/swat$' - exit 0 - ;; - remove) - ;; - upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - ;; - *) - echo "$0: unknown action \"$1\"" - exit 0 - ;; -esac - -exit 0 - diff --git a/packaging/Debian/unstable/wins2dns.awk b/packaging/Debian/unstable/wins2dns.awk deleted file mode 100644 index 176868a115d..00000000000 --- a/packaging/Debian/unstable/wins2dns.awk +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/awk -f -# -# Date: Wed, 26 Aug 1998 10:37:39 -0600 (MDT) -# From: Jason Gunthorpe <jgg@deltatee.com> -# To: samba@packages.debian.org -# Subject: Nifty samba script -# -# Here is a really nifty script I just wrote for samba, it takes the wins -# database in /var/samba/wins and writes out two dns files for it. In this -# way network wide wins clients can get into the dns for use by unix -# machines. -# -# Perhaps this could be included in /usr/doc/examples or somesuch. -# - -BEGIN { - FS="#|\""; -FORWARD="/tmp/wins.hosts" -REVERSE="/tmp/wins.rev" -DOMAIN="ven.ra.rockwell.com" -} -$3 == "00" { - split($4,a," " ); - split(a[2],b,"."); - while (sub(" ","-",$2)); - $2=tolower($2); - if (b[1] == "255") - next; - if (length($2) >= 8) - print $2"\ta\t"a[2] > FORWARD - else - print $2"\t\ta\t"a[2] > FORWARD - print b[4]"."b[3]"\t\tptr\t"$2"."DOMAIN"." > REVERSE -} -END { - system("echo killall -HUP named"); -} - |