[Pkg-samba-maint] r1833 - in trunk/samba4: . debian debian/patches

ctrlsoft-guest at alioth.debian.org ctrlsoft-guest at alioth.debian.org
Fri Apr 18 16:13:32 UTC 2008


tags 348079 pending
thanks

Author: ctrlsoft-guest
Date: 2008-04-18 16:13:31 +0000 (Fri, 18 Apr 2008)
New Revision: 1833

Added:
   trunk/samba4/debian/
   trunk/samba4/debian/README.Debian
   trunk/samba4/debian/README.building
   trunk/samba4/debian/build-orig.sh
   trunk/samba4/debian/changelog
   trunk/samba4/debian/compat
   trunk/samba4/debian/control
   trunk/samba4/debian/control~
   trunk/samba4/debian/copyright
   trunk/samba4/debian/dirs
   trunk/samba4/debian/diversions
   trunk/samba4/debian/gdbcommands
   trunk/samba4/debian/libdcerpc-dev.install
   trunk/samba4/debian/libdcerpc0.install
   trunk/samba4/debian/libgensec-dev.install
   trunk/samba4/debian/libgensec0.install
   trunk/samba4/debian/libgensec0.postinst
   trunk/samba4/debian/libldb-samba4-0.install
   trunk/samba4/debian/libldb-samba4-0.lintian
   trunk/samba4/debian/libldb-samba4-dev.install
   trunk/samba4/debian/libndr-dev.install
   trunk/samba4/debian/libndr0.install
   trunk/samba4/debian/libparse-pidl-perl.install
   trunk/samba4/debian/libregistry-dev.install
   trunk/samba4/debian/libregistry0.install
   trunk/samba4/debian/libsamba-dev.install
   trunk/samba4/debian/libsamba-hostconfig-dev.install
   trunk/samba4/debian/libsamba-hostconfig0.install
   trunk/samba4/debian/libtorture-dev.install
   trunk/samba4/debian/libtorture0.install
   trunk/samba4/debian/panic-action
   trunk/samba4/debian/patches/
   trunk/samba4/debian/patches/series
   trunk/samba4/debian/provision.smb.conf.patch
   trunk/samba4/debian/registry-tools.install
   trunk/samba4/debian/rules
   trunk/samba4/debian/samba-ldb-tools.install
   trunk/samba4/debian/samba4-clients.install
   trunk/samba4/debian/samba4-common.config
   trunk/samba4/debian/samba4-common.dirs
   trunk/samba4/debian/samba4-common.files
   trunk/samba4/debian/samba4-common.install
   trunk/samba4/debian/samba4-common.postinst
   trunk/samba4/debian/samba4-common.postrm
   trunk/samba4/debian/samba4-common.templates
   trunk/samba4/debian/samba4-dev.install
   trunk/samba4/debian/samba4-testsuite.install
   trunk/samba4/debian/samba4-testsuite.lintian
   trunk/samba4/debian/samba4.config
   trunk/samba4/debian/samba4.dirs
   trunk/samba4/debian/samba4.init
   trunk/samba4/debian/samba4.install
   trunk/samba4/debian/samba4.postinst
   trunk/samba4/debian/samba4.postrm
   trunk/samba4/debian/samba4.templates
   trunk/samba4/debian/winbind4.install
   trunk/samba4/debian/winbind4.lintian
   trunk/samba4/debian/winregistry-tools.substvars
Log:
Import Samba 4 Debian package from git.

Added: trunk/samba4/debian/README.Debian
===================================================================
--- trunk/samba4/debian/README.Debian	                        (rev 0)
+++ trunk/samba4/debian/README.Debian	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,24 @@
+Samba 4 for Debian
+------------------
+
+Note that the current packages, as well as Samba 4, are _highly experimental_
+and definitely not finished yet. You do not want to use these in a production
+environment unless you're unusually brave, stupid or both.
+
+Administrator password
+----------------------
+
+If you let the Debian packages set up your Samba 4 domain for you, they will
+be set up by default with a random administrator password. If you want to
+change this, you'll need ldbedit from the ldb-tools package. Run
+
+  ldbedit -H /etc/samba/sam.ldb cn=administrator
+
+Somewhere in the LDIF, add a new line like this:
+
+  sambaPassword: PASSWORD
+
+where PASSWORD is the new administrator password. Save and quit, and the
+password is changed for you.
+
+  -- Steinar H. Gunderson <sesse at debian.org>,  Wed, 04 Jan 2006 02:07:52 +0100

Added: trunk/samba4/debian/README.building
===================================================================
--- trunk/samba4/debian/README.building	                        (rev 0)
+++ trunk/samba4/debian/README.building	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,56 @@
+Building the experimental Debian package for Samba 4.0
+======================================================
+
+  By Jelmer Vernooij, 20 May 2004.
+  Rewritten by Steinar H. Gunderson, 4 January 2006.
+
+1. If you want to use the upstream packaging
+============================================
+
+The upstream Samba 4 repository (see http://devel.samba.org/)
+contains a directory called packaging/debian/ which contains the
+framework for building Debian packages. This directory is synced
+with the official Debian packaging (see below) now and then, but
+might be outdated at any given time. It is, however, easier to use
+(due to svn-buildpackage oddities) than the official packaging.
+Go to packaging/, and run:
+
+  svn-buildpackage -rfakeroot
+
+2. If you want to use the official Debian packaging
+===================================================
+
+Unfortunately, this is somewhat more involved than using the
+upstream packaging. If anybody knows a better way of doing this,
+feel free to contact me (sesse at debian.org) :-)
+
+You should be able to cut-and-paste the entire tutorial into
+your shell in one go if you want it done automatically.
+
+: First check out the Samba 4 tree as usual:
+
+  svn co svn://svn.samba.org/samba/branches/SAMBA_4_0 samba4 
+
+: Then, check out the official Debian packaging:
+
+  svn co svn://svn.debian.org/pkg-samba/branches/samba4 samba4/debian
+
+: Samba is not a native Debian package, so you will need to create
+: an .orig.tar.gz tarball. Do something along the lines of:
+
+  VER=$( dpkg-parsechangelog -lsamba4/debian/changelog | sed -n 's/^Version: \(.*:\|\)//p' | sed 's/-[0-9.]\+$//' )
+  svn export samba4 samba-$VER
+  ( cd samba-$VER/source && ./autogen.sh )
+  ( cd samba-$VER/source && ./script/mkversion.sh VERSION include/version.h ../../samba4/source/ )
+  tar zcf samba_$VER.orig.tar.gz samba-$VER
+
+: With the .orig.tar.gz in place, you can now also export the debian/
+: directory:
+
+  svn export samba4/debian samba-$VER/debian
+
+: Finally, build the package using whatever method you prefer:
+
+  cd samba-$VER
+  debuild
+

Added: trunk/samba4/debian/build-orig.sh
===================================================================
--- trunk/samba4/debian/build-orig.sh	                        (rev 0)
+++ trunk/samba4/debian/build-orig.sh	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,17 @@
+#!/bin/sh
+# Build a source tarball for Samba 4
+
+samba_repos=svn://svn.samba.org/samba/
+version=$( dpkg-parsechangelog -l`dirname $0`/changelog | sed -n 's/^Version: \(.*:\|\)//p' | sed 's/-[0-9.]\+$//' )
+
+if echo $version | grep svn > /dev/null; then
+	# SVN Snapshot
+	revno=`echo $version | sed 's/^.\+~svn//'`
+	svn export -r$revno $samba_repos/branches/SAMBA_4_0 samba-$version
+else
+	# Release
+	svn export $samba_repos/tags/release-`echo $version | sed 's/\./-/g'` samba-$version
+fi
+
+cd samba-$version/source && ./autogen.sh && cd ../..
+tar cvz samba-$version > samba_$version.orig.tar.gz


Property changes on: trunk/samba4/debian/build-orig.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/samba4/debian/changelog
===================================================================
--- trunk/samba4/debian/changelog	                        (rev 0)
+++ trunk/samba4/debian/changelog	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,247 @@
+samba4 (4.0.0~alpha4~20080403-1) experimental; urgency=low
+
+  * Rename source package to samba4.
+
+ -- Jelmer Vernooij <jelmer at samba.org>  Mon, 28 Jan 2008 17:23:58 +0100
+
+samba (4.0.0~alpha3~20080120-1) experimental; urgency=low
+
+  * New upstream snapshot.
+
+ -- Jelmer Vernooij <jelmer at samba.org>  Sat, 19 Jan 2008 22:34:08 +0100
+
+samba (4.0.0~alpha2~svn26294-1) experimental; urgency=low
+
+  * New upstream snapshot.
+  * Set Vcs-Svn field.
+
+ -- Jelmer Vernooij <jelmer at samba.org>  Sat, 19 Jan 2008 22:32:28 +0100
+
+samba (4.0.0~~tp5-1) experimental; urgency=low
+
+  * New upstream release.
+  * Set homepage field.
+
+ -- Jelmer Vernooij <jelmer at samba.org>  Sun, 25 Nov 2007 16:28:02 +0000
+
+samba (4.0.0~~svn22819-1) experimental; urgency=low
+
+  * New upstream snapshot.
+
+ -- Jelmer Vernooij <jelmer at samba.org>  Wed, 09 May 2007 15:28:50 +0200
+
+samba (4.0.0~~svn19515-1) experimental; urgency=low
+
+  * Remove gtk, ldb and talloc packages: they now have their own upstream.
+
+ -- Jelmer Vernooij <jelmer at samba.org>  Wed, 09 May 2007 15:14:29 +0200
+
+samba (4.0.0~~svn19515-1) experimental; urgency=low
+
+  * New upstream versions (svn snapshots of r19515).
+
+ -- Jelmer Vernooij <jelmer at samba.org>  Mon, 30 Oct 2006 16:45:36 +0100
+
+samba (3.9.1+4.0.0tp2-1) experimental; urgency=low
+
+  * New upstream version (tech preview 2).
+
+  [ Jelmer Vernooij ]
+  * Remove setntacl utility (it doesn't do anything).
+  * Include oLschema2ldif.1 in the ldb-tools package.
+  * Enable shared library building.
+  * Put ldb, tdb, gtksamba, talloc and gensec libraries into seperate binary packages.
+  * Pass fewer options for paths to configure
+  * Adapt to new paths from upstream
+
+ -- Jelmer Vernooij <jelmer at samba.org>  Thu, 23 Mar 2006 01:13:32 +0100
+
+samba (3.9.1+4.0.0tp1-1) experimental; urgency=low
+
+  * New upstream version (tech preview 1).
+
+  [ Steinar H. Gunderson ]
+  * Forward-port panic-action script from the Samba 3 packaging.
+    * Patch the smb.conf provisioning template (only used by swat in the
+      Debian packaging) to use the panic-action script by default.
+    * Patch the samba-common postinst to generate smb.conf files with the
+      same setting.
+  * Include ntlm_auth.1 and smbd.8 man pages in the samba package.
+  * Make the samba dependency on samba-common versioned.
+  * Install /usr/bin/setntacl manually; the upstream install target doesn't
+    seem to do it anymore.
+  * Ask for the realm (and give it to the upgrade script) when upgrading from
+    Samba 3; it can't be easily autodetected. (Note that upgrade still seems
+    to be broken for now.)
+
+  [ Jelmer Vernooij ]
+  * Remove gwsam utility.
+  * Include gwcrontab.1 and gepdump.1 man pages in the samba-gtk-frontends
+    package.
+  * Remove ldbtest utility from ldb-tools package.
+
+ -- Steinar H. Gunderson <sesse at debian.org>  Tue, 24 Jan 2006 16:01:59 +0100
+
+samba (3.9.0+SVN12946-1) experimental; urgency=low
+
+  * New upstream version.
+    * Fix upgrades from Samba 3 giving too few parameters to provision().
+      (Closes: #348079)
+  * Add sections to binary packages to match the archive:
+    * libparse-pidl-perl: perl
+    * samba-dev: devel
+    * samba-gtk-frontends: x11
+  * Adjust our export procedure we get the Subversion revision number in
+    include/version.h (and thus in the build itself), and document how in
+    README.building.
+  * Remove "reload" option from the init script, since Samba 4 doesn't
+    understand SIGHUP yet.
+
+ -- Steinar H. Gunderson <sesse at debian.org>  Sun, 15 Jan 2006 13:43:43 +0100
+
+samba (3.9.0+SVN12856-1) experimental; urgency=low
+
+  * New upstream version.
+  * Move testparm from samba into samba-common.
+    * Make samba-common Architecture: any.
+    * Make samba-common replace/conflict samba (<= 3.9.0+SVN12739-1).
+  * Make samba-clients depend on samba-common.
+  * Make samba-common depend on debconf.
+  * Replace debconf dependencies with ${misc:Depends}, to automatically
+    get the debconf-2.0 alternative right.
+  * Include the newuser binary in samba-server package.
+  * Add missing Build-Depends on: libgnutls-dev, libreadline5-dev,
+    libpam0g-dev. All were causing silent build failures (ie. the package
+    was simply built without the features).
+  * Remove Build-Depends on libldap-dev.
+  * Include NEWS file.
+
+ -- Steinar H. Gunderson <sesse at debian.org>  Wed, 11 Jan 2006 22:08:32 +0100
+
+samba (3.9.0+SVN12739-1) experimental; urgency=low
+
+  * Move /usr/lib/samba/setup from samba-common to samba.
+    * Make samba replace samba-common (<= 3.9.0+SVN12726-1)
+  * Add a missing db_stop in samba.postinst, probably causing problems
+    starting the daemon in some cases.
+  * Add orphan files from /usr/bin (and relevant manpages) into their
+    correct packages:
+    * ldb-tools: ldbrename, ldbtest, oLschema2ldif.
+    * samba: ntlm_auth.
+    * samba-clients: getntacl.
+    * samba-gtk-frontends: gwcrontab.
+    * winregistry-tools: winreg.
+    * samba3dump and tdbtorture remain orphans.
+  * Add new executable /usr/bin/testparm to samba package.
+    * Add /var/lib/samba directory to samba package; it's needed by
+      testparm.
+  * Rewrite configuration/bootstrapping to be able to install the client
+    only and still get a usable smb.conf. The basic idea is:
+    * samba-common looks for an smb.conf. If there is none, it asks for
+      realm and domain and generates a skeleton smb.conf.
+    * If samba notices an upgrade from Samba 3, it asks whether the user
+      wants to upgrade. If not, it leaves everything alone (and broken).
+    * Otherwise, samba asks whether the user wants to set up a PDC. If yes,
+      it adds "server role = pdc" to smb.conf and provisions the server.
+  * Removed unused file samba.conffiles.
+  * Run dh_installdebconf on architecture-independent packages as well, now
+    that samba-common has a config script.
+  * Let samba-clients conflict/replace samba-common (<< 3.9.0), as they share
+    /usr/bin/net.
+
+ -- Steinar H. Gunderson <sesse at debian.org>  Fri,  6 Jan 2006 14:25:50 +0100
+
+samba (3.9.0+SVN12726-1) experimental; urgency=low
+
+  * First upload to Debian main.
+
+  * Package renaming to get more in line with Samba 3 packaging:
+    * Rename samba-server package to just samba, for consistency with the
+      Samba 3 packaging.
+      * Rename samba.samba.init to samba.init, now that the init script and the
+        server package are called the same.
+    * Rename samba-swat to swat, and add a dependency from swat to samba.
+
+  * debian/rules changes:
+    * Change SOURCEPATH to reflect that we now have the packaging in debian/,
+      not packaging/debian/. This will have to be reverted whenever upstream
+      syncs with us.
+    * Removed debmake comment, it's hardly relevant any more.
+    * Removed comment that there aren't any architecture-independent packages
+      (because there are).
+    * Remove redundant "package=samba" variable.
+    * Do "make pch ; make all" instead of "make proto ; -make pch ; make all";
+      some build system bug prevents us from just doing "make pch all", but
+      since we're more or less guaranteed a recent gcc version, the pch target
+      shouldn't fail, so we won't allow it to.
+    * Remove autogen.sh call from configure; it should be done in the
+      upstream tarball, not in maintainer scripts.
+
+  * debian/control changes:
+    * Copied Uploaders: line from Samba 3 packaging, adding myself.
+    * Rename samba-client package to samba-clients.
+    * Make samba-clients Replaces/Conflicts smbclient.
+    * Build-depend on docbook-xml, not just docbook-xsl -- the documentation
+      needs data from both to build.
+    * Move the samba binary package to the top, so it's the one receiving
+      the README.* files, among others.
+
+  * Maintainer script changes:
+    * Attempt to upgrade from Samba 3 if that's what the user tries to do.
+      * Copy upgrade script into /usr/lib/samba/setup.
+      * Check for upgrade from << 3.9.0 in config, and ask the user for upgrade
+        if relevant.
+      * Check for upgrade from << 3.9.0 in postinst, and upgrade if the user
+        wished to.
+    * Only provision in samba.postinst if we're doing a fresh install.
+    * Support purging properly in postrm, both for samba and samba-common
+      (adapted from the Samba 3 packaging).
+    * Don't ask about an administrator password -- just let the provisioning
+      scripts make up a random one.
+      * Updated README.Debian to show the user how to change the password.
+      * Make samba recommend ldb-tools.
+    * Install README.building along with all the other documentation.
+    * Don't try to ask about the "done" question, which we nuked in a previous
+      release.
+
+  * Updated debian/copyright.
+    * Added Samba copyright holders.
+    * Noted that talloc, ldb and tdb are under the LGPL.
+    * Added copyright holders and licensing for the packaging itself.
+
+  * Remove a few unused files in the packaging.
+  * Change debhelper compatibility level to 5.
+    * Update versioned depends accordingly.
+  * Don't give --pidfile to start-stop-daemon when stopping -- current
+    versions of Samba 4 won't die when the parent is killed.
+  * Updated README.debian somewhat, and renamed to use a capital D.
+  * Rewritten README.building, to reflect the magic that has to be done
+    with the package in another repository.
+  * Update po/POTFILES.in to reflect name change (from samba4-server ->
+    samba-server -> samba).
+
+ -- Steinar H. Gunderson <sesse at debian.org>  Thu,  5 Jan 2006 21:27:13 +0100
+
+samba (3.9.0+SVN12395-1) unstable; urgency=low
+
+  * New snapshot, drop 4 suffix
+
+ -- Jelmer Vernooij <jelmer at samba.org>  Tue, 20 Dec 2005 13:38:26 +0100
+
+samba4 (3.9.0+SVN12312-1) unstable; urgency=low
+
+  * New upstream snapshot.
+
+ -- Jelmer Vernooij <jelmer at samba.org>  Mon, 27 Jun 2005 11:25:57 +0200
+
+samba4 (3.9.0-SVN-build-6710-1) unstable; urgency=low
+
+  * Newer upstream version
+
+ -- Jelmer Vernooij <jelmer at samba.org>  Thu, 12 May 2005 14:04:05 +0200
+
+samba4 (3.9.0-SVN-build-655-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Jelmer Vernooij <jelmer at samba.org>  Thu, 13 May 2004 01:38:41 +0200

Added: trunk/samba4/debian/compat
===================================================================
--- trunk/samba4/debian/compat	                        (rev 0)
+++ trunk/samba4/debian/compat	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1 @@
+5

Added: trunk/samba4/debian/control
===================================================================
--- trunk/samba4/debian/control	                        (rev 0)
+++ trunk/samba4/debian/control	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,429 @@
+Source: samba4
+Section: net
+Priority: optional
+Maintainer: Samba Debian Maintainers <pkg-samba-maint at alioth.debian.org>
+Uploaders: Steve Langasek <vorlon at debian.org>, Christian Perrier <bubulle at debian.org>, Noèl Köthe <noel at debian.org>, Steinar H. Gunderson <sesse at debian.org>, Jelmer Vernooij <jelmer at samba.org>
+Homepage: http://www.samba.org/
+Standards-Version: 3.7.3
+Build-Depends: debhelper (>> 5.0.0), libparse-yapp-perl, perl, docbook-xsl, docbook-xml, xsltproc, po-debconf, libgnutls-dev, libreadline5-dev, libpam0g-dev, libblkid-dev, libattr1-dev, flex, bison, tdb-dev (>= 1.1.0), libtalloc-dev, libtalloc1, perl-modules
+Build-Conflicts: libldb-dev
+Vcs-Svn: svn://svn.debian.org/svn/pkg-samba/branches/samba4
+
+Package: samba4
+Architecture: any
+Recommends: ldb-tools
+Depends: ${shlibs:Depends}, ${misc:Depends}, samba4-common (=${binary:Version}), samba-ldb-tools
+Conflicts: samba-common
+Description: LanManager-like file and printer server for Unix (version 4)
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ This package contains smbd, the Samba file, print and domain server.
+
+Package: samba4-common
+Architecture: any
+Conflicts: samba
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Samba 4 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.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ This package contains the common files that are used by both the server
+ (provided in the samba package) and the client (provided in the samba-clients
+ package).
+
+Package: samba4-clients
+Architecture: any
+Depends: ${shlibs:Depends}, samba4-common (=${binary:Version})
+Conflicts: smbclient, samba-common
+Description: client utilities from Samba 4
+ 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.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. 
+ .
+ This package contains some client components of the Samba suite. In
+ particular it includes the command line utilities smbclient, net,
+ and some ACL tools.
+
+Package: samba4-testsuite
+Architecture: any
+Depends: ${shlibs:Depends}, samba4-common
+Description: test suite from Samba 4
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ This package contains programs for testing the reliability and speed 
+ of SMB servers, Samba in particular.
+ 
+Package: registry-tools
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: tools for viewing and manipulating the Windows registry 
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ This package contains tools for viewing and manipulating the binary
+ "registry" found on Windows machines, both locally and remote.
+
+Package: libparse-pidl-perl
+Architecture: any
+Depends: ${perl:Depends}
+Recommends: libdcerpc-dev
+Section: perl
+Description: IDL compiler written in Perl
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ This package contains the IDL (Interface Description Language) compiler pidl,
+ which takes in IDL files and can output C code for various uses. It is
+ primarily of interest to developers.
+
+Package: samba4-dev
+Architecture: any
+Depends: libparse-pidl-perl, libc6-dev, libldb-dev, tdb-dev (>= 1.1.0), libtalloc-dev
+Section: devel
+Description: tools for extending Samba
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ This package contains include files shared by the various Samba-based libraries.
+
+Package: samba-ldb-tools
+Section: utils
+Architecture: any
+Provides: ldb-tools
+Conflicts: ldb-tools
+Depends: ${shlibs:Depends}
+Description: LDAP-like embedded database - tools
+ ldb is a LDAP-like embedded database built on top of TDB.
+ .
+ What ldb does is provide a fast database with an LDAP-like API designed
+ to be used within an application. In some ways it can be seen as a
+ intermediate solution between key-value pair databases and a real LDAP
+ database.
+ .
+ This package contains bundled test and utility binaries built specifically
+ for Samba.
+
+Package: libldb-samba4-dev
+Section: libdevel
+Architecture: any
+Conflicts: libldb-dev
+Depends: ${shlibs:Depends}, pkg-config
+Description: LDAP-like embedded database - Samba 4 version
+ ldb is a LDAP-like embedded database built on top of TDB.
+ .
+ What ldb does is provide a fast database with an LDAP-like API designed
+ to be used within an application. In some ways it can be seen as a
+ intermediate solution between key-value pair databases and a real LDAP
+ database.
+ .
+ This package contains a build of the LDB library built specifically
+ for Samba 4.
+
+Package: libldb-samba4-0
+Section: libs
+Architecture: any
+Conflicts: libldb0
+Provides: libldb0
+Depends: ${shlibs:Depends}
+Description: LDAP-like embedded database - Samba 4 version
+ ldb is a LDAP-like embedded database built on top of TDB.
+ .
+ What ldb does is provide a fast database with an LDAP-like API designed
+ to be used within an application. In some ways it can be seen as a
+ intermediate solution between key-value pair databases and a real LDAP
+ database.
+ .
+ This package contains a build of the LDB library built specifically
+ for Samba 4.
+
+Package: libgensec0
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Generic Security Library
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ This library provides a generalized API for several security protocols. 
+
+Package: libgensec-dev
+Architecture: any
+Section: libdevel
+Depends: libgensec0 (=${binary:Version}), pkg-config
+Description: Generic Security Library
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ This library provides a generalized API for several security protocols. 
+ .
+ This package contains the files required for development.
+
+Package: libndr0
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: NDR marshalling library
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ This package contains the library for encoding and decoding data structures 
+ using the Network Data Representation format as used by DCE/RPC.
+
+Package: libndr-dev
+Architecture: any
+Section: libdevel
+Depends: libndr0 (=${binary:Version}), pkg-config
+Description: NDR marshalling library - development files
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ This package contains the library for encoding and decoding data structures 
+ using the Network Data Representation format as used by DCE/RPC.
+ .
+ This package contains the files required for development.
+
+Package: libdcerpc0
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: DCE/RPC client library
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ Client-side implementation of the DCE/RPC protocol. 
+ Support for the following transports is provided:
+  - ncacn_np
+  - ncacn_ip_tcp
+  - ncalrpc
+  - ncacn_sock_unix
+
+Package: libdcerpc-dev
+Architecture: any
+Section: libdevel
+Depends: libdcerpc0 (=${binary:Version}), libndr-dev, pkg-config
+Description: DCE/RPC library
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ Client-side implementation of the DCE/RPC protocol. 
+ Support for the following transports is provided:
+  - ncacn_np
+  - ncacn_ip_tcp
+  - ncalrpc
+  - ncacn_sock_unix
+ .
+ This package contains the files required for development.
+
+Package: libregistry0
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Registry library
+ The Samba registry library provides read and write access to Windows 
+ registries. At the moment the following formats are supported:
+  - The default Windows NT, 2000 and XP registry format (such as NTUSER.DAT 
+    files)
+  - Remote Windows and Samba registries over the the DCE/RPC protocol
+  - Samba native registry files (basically LDB files)
+ .
+ The library also contains support for applying and generating 
+ registry patch files.
+
+Package: libregistry-dev
+Architecture: any
+Section: libdevel
+Depends: libregistry0 (=${binary:Version}), libndr-dev, pkg-config
+Description: Registry library - development files
+ The Samba registry library provides read and write access to Windows 
+ registries. At the moment the following formats are supported:
+  - The default Windows NT, 2000 and XP registry format (such as NTUSER.DAT 
+    files)
+  - Remote Windows and Samba registries over the the DCE/RPC protocol
+  - Samba native registry files (basically LDB files)
+ .
+ The library also contains support for applying and generating 
+ registry patch files.
+ .
+ This package contains the files required for development.
+
+Package: winbind4
+Conflicts: winbind
+Architecture: any
+Depends: samba4 (=${binary:Version}), ${shlibs:Depends}
+Description: service to resolve user and group information from Windows NT servers
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ This package provides the winbindd daemon, which provides a
+ service for the Name Service Switch capability that is present
+ in most modern C libraries (like the GNU C Library - glibc.)
+ .
+ The service provided by winbindd is called `winbind' and
+ can be used to resolve user and group information from a
+ Windows NT server. The service can also provide authentication
+ services via an associated PAM module.
+
+Package: libsamba-hostconfig0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: Samba host configuration library
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ Library for accessing the Samba4 host-specific configuration files.
+
+Package: libsamba-hostconfig-dev
+Architecture: any
+Section: libdevel
+Depends: ${shlibs:Depends}, pkg-config
+Description: Samba host configuration library - development files
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ Library for accessing the Samba4 host-specific configuration files.
+ .
+ This package contains the development files.
+
+Package: libtorture0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: Library for running Samba 4 unit tests
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ Library for running Samba 4 unittests.
+
+Package: libtorture-dev
+Architecture: any
+Section: libdevel
+Depends: ${shlibs:Depends}, pkg-config
+Description: Library for running unit tests - development files
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ Library for running unittests.
+ .
+ This package contains the development files.

Added: trunk/samba4/debian/control~
===================================================================
--- trunk/samba4/debian/control~	                        (rev 0)
+++ trunk/samba4/debian/control~	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,343 @@
+Source: samba4
+Section: net
+Priority: optional
+Maintainer: Samba Debian Maintainers <pkg-samba-maint at alioth.debian.org>
+Uploaders: Steve Langasek <vorlon at debian.org>, Christian Perrier <bubulle at debian.org>, Noèl Köthe <noel at debian.org>, Steinar H. Gunderson <sesse at debian.org>, Jelmer Vernooij <jelmer at samba.org>
+Homepage: http://www.samba.org/
+Standards-Version: 3.7.3
+Build-Depends: debhelper (>> 5.0.0), libparse-yapp-perl, perl, docbook-xsl, docbook-xml, xsltproc, po-debconf, libgnutls-dev, libreadline5-dev, libpam0g-dev, libblkid-dev, libattr1-dev, flex, bison, tdb-dev (>= 1.1.0), libtalloc-dev, libtalloc1, perl-modules
+Build-Conflicts: libldb-dev
+Vcs-Svn: svn://svn.debian.org/svn/pkg-samba/branches/samba4
+
+Package: samba4
+Architecture: any
+Recommends: ldb-tools
+Depends: ${shlibs:Depends}, ${misc:Depends}, samba4-common (=${binary:Version}), samba-ldb-tools
+Conflicts: samba-common
+Description: LanManager-like file and printer server for Unix (version 4)
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ This package contains smbd, the Samba file, print and domain server.
+
+Package: samba4-common
+Architecture: any
+Conflicts: samba
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Samba 4 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.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ This package contains the common files that are used by both the server
+ (provided in the samba package) and the client (provided in the samba-clients
+ package).
+
+Package: samba4-clients
+Architecture: any
+Depends: ${shlibs:Depends}, samba4-common (=${binary:Version})
+Conflicts: smbclient, samba-common
+Description: client utilities from Samba 4
+ 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.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. 
+ .
+ This package contains some client components of the Samba suite. In
+ particular it includes the command line utilities smbclient, net,
+ and some ACL tools.
+
+Package: samba4-testsuite
+Architecture: any
+Depends: ${shlibs:Depends}, samba4-common
+Description: test suite from Samba 4
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ This package contains programs for testing the reliability and speed 
+ of SMB servers, Samba in particular.
+ 
+Package: registry-tools
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: tools for viewing and manipulating the Windows registry 
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ This package contains tools for viewing and manipulating the binary
+ "registry" found on Windows machines, both locally and remote.
+
+Package: libparse-pidl-perl
+Architecture: any
+Depends: ${perl:Depends}
+Recommends: libdcerpc-dev
+Section: perl
+Description: IDL compiler written in Perl
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ This package contains the IDL (Interface Description Language) compiler pidl,
+ which takes in IDL files and can output C code for various uses. It is
+ primarily of interest to developers.
+
+Package: samba4-dev
+Architecture: any
+Depends: libparse-pidl-perl, libc6-dev, libldb-dev, tdb-dev (>= 1.1.0), libtalloc-dev
+Section: devel
+Description: tools for extending Samba
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ This package contains include files shared by the various Samba-based libraries.
+
+Package: samba-ldb-tools
+Section: utils
+Architecture: any
+Provides: ldb-tools
+Conflicts: ldb-tools
+Depends: ${shlibs:Depends}
+Description: LDAP-like embedded database - tools
+ ldb is a LDAP-like embedded database built on top of TDB.
+ .
+ What ldb does is provide a fast database with an LDAP-like API designed
+ to be used within an application. In some ways it can be seen as a
+ intermediate solution between key-value pair databases and a real LDAP
+ database.
+ .
+ This package contains bundled test and utility binaries built specifically
+ for Samba.
+
+Package: libldb-samba4-dev
+Section: libdevel
+Architecture: any
+Conflicts: libldb-dev
+Depends: ${shlibs:Depends}, pkg-config
+Description: LDAP-like embedded database - Samba 4 version
+ ldb is a LDAP-like embedded database built on top of TDB.
+ .
+ What ldb does is provide a fast database with an LDAP-like API designed
+ to be used within an application. In some ways it can be seen as a
+ intermediate solution between key-value pair databases and a real LDAP
+ database.
+ .
+ This package contains a build of the LDB library built specifically
+ for Samba 4.
+
+Package: libldb-samba4-0
+Section: libs
+Architecture: any
+Conflicts: libldb0
+Provides: libldb0
+Depends: ${shlibs:Depends}
+Description: LDAP-like embedded database - Samba 4 version
+ ldb is a LDAP-like embedded database built on top of TDB.
+ .
+ What ldb does is provide a fast database with an LDAP-like API designed
+ to be used within an application. In some ways it can be seen as a
+ intermediate solution between key-value pair databases and a real LDAP
+ database.
+ .
+ This package contains a build of the LDB library built specifically
+ for Samba 4.
+
+Package: libgensec0
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Generic Security Library
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ This library provides a generalized API for several security protocols. 
+
+Package: libgensec-dev
+Architecture: any
+Section: libdevel
+Depends: libgensec0 (=${binary:Version}), pkg-config
+Description: Generic Security Library
+ 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, as well as
+ run as a domain controller for Active Directory.
+ .
+ These packages contain snapshot versions of Samba 4, the next-generation
+ version of Samba. These should be considered _experimental_, and should
+ not be used in production. In particular, no guarantees are made with
+ regard to upgrades between versions.
+ .
+ This library provides a generalized API for several security protocols. 
+ .
+ This package contains the files required for development.
+
+Package: libndr0
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: NDR marshalling library
+ Utility library for encoding and decoding data structures using the 
+ Network Data Representation format as used by DCE/RPC.
+
+Package: libndr-dev
+Architecture: any
+Section: libdevel
+Depends: libndr0 (=${binary:Version})
+Description: NDR marshalling library - development files
+ Utility library for encoding and decoding data structures using the 
+ Network Data Representation format as used by DCE/RPC.
+ .
+ This package contains the files required for development.
+
+Package: libdcerpc0
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: DCE/RPC client library
+ Client-side implementation of the DCE/RPC protocol. 
+ Support for the following transports is provided:
+ .
+  * ncacn_np
+  * ncacn_ip_tcp
+  * ncalrpc
+  * ncacn_sock_unix
+
+Package: libdcerpc-dev
+Architecture: any
+Section: libdevel
+Depends: libdcerpc0 (=${binary:Version}), libndr-dev
+Description: DCE/RPC library
+ Client-side implementation of the DCE/RPC protocol. 
+ Support for the following transports is provided:
+ .
+  * ncacn_np
+  * ncacn_ip_tcp
+  * ncalrpc
+  * ncacn_sock_unix
+ .
+ This package contains the files required for development.
+
+Package: libregistry0
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Registry library
+ The Samba registry library provides read and write access to Windows 
+ registries. At the moment the following formats are supported:
+ .
+  * The default Windows NT, 2000 and XP registry format (such as NTUSER.DAT 
+    files)
+  * Remote Windows and Samba registries over the the DCE/RPC protocol
+  * Samba native registry files (basically LDB files)
+ .
+ The library also contains support for applying and generating 
+ registry patch files.
+
+Package: libregistry-dev
+Architecture: any
+Section: libdevel
+Depends: libregistry0 (=${binary:Version}), libndr-dev
+Description: Registry library - development files
+ The Samba registry library provides read and write access to Windows 
+ registries. At the moment the following formats are supported:
+ .
+  * The default Windows NT, 2000 and XP registry format (such as NTUSER.DAT 
+    files)
+  * Remote Windows and Samba registries over the the DCE/RPC protocol
+  * Samba native registry files (basically LDB files)
+ .
+ The library also contains support for applying and generating 
+ registry patch files.
+ .
+ This package contains the files required for development.
+
+Package: winbind4
+Conflicts: winbind
+Architecture: any
+Depends: samba4 (=${binary:Version}), ${shlibs:Depends}
+Description: service to resolve user and group information from Windows NT servers
+ This package provides the winbindd daemon, which provides a
+ service for the Name Service Switch capability that is present
+ in most modern C libraries (like the GNU C Library - glibc.)
+ .
+ The service provided by winbindd is called `winbind' and
+ can be used to resolve user and group information from a
+ Windows NT server. The service can also provide authentication
+ services via an associated PAM module.
+
+Package: libsamba-hostconfig0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: Samba host configuration library
+ Library for accessing the Samba4 host-specific configuration files.
+
+Package: libsamba-hostconfig-dev
+Architecture: any
+Section: libdevel
+Depends: ${shlibs:Depends}
+Description: Samba host configuration library - development files
+ Library for accessing the Samba4 host-specific configuration files.
+ .
+ This package contains the development files.
+
+Package: libtorture0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: Library for running Samba 4 unit tests
+ Library for running Samba 4 unittests.
+
+Package: libtorture-dev
+Architecture: any
+Section: libdevel
+Depends: ${shlibs:Depends}
+Description: Library for running unit tests - development files
+ Library for running unittests.
+ .
+ This package contains the development files.

Added: trunk/samba4/debian/copyright
===================================================================
--- trunk/samba4/debian/copyright	                        (rev 0)
+++ trunk/samba4/debian/copyright	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,52 @@
+This package was debianized by Jelmer Vernooij jelmer at samba.org on
+Thu, 13 May 2004 01:38:41 +0200.
+
+It was downloaded from ftp://ftp.samba.org/
+
+Copyright for Samba itself:
+
+   Copyright Andrew Tridgell and the Samba Team 1992-2007
+   Heimdal Copyright (c) 1997-2005 Kungliga Tekniska Högskolan
+
+   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., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+Copyright for talloc, ldb and tdb:
+
+   Copyright Andrew Tridgell and the Samba Team 1992-2007
+   
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2 of the License, or (at your option) any later version.
+
+   This library 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
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
+Copyright for the Debian packaging:
+
+   Copyright Jelmer Vernooij 2005-2007.
+   Copyright Steinar H. Gunderson 2005-2006
+
+   The Debian packaging is licensed under the GNU LGPL, version 2.1.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL',
+and the complete text of the GNU Lesser General Public License can
+be found in `/usr/share/common-licenses/LGPL'.

Added: trunk/samba4/debian/dirs
===================================================================
--- trunk/samba4/debian/dirs	                        (rev 0)
+++ trunk/samba4/debian/dirs	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,4 @@
+usr/bin
+usr/sbin
+usr/share/man/man1
+usr/share/man/man7

Added: trunk/samba4/debian/diversions
===================================================================

Added: trunk/samba4/debian/gdbcommands
===================================================================
--- trunk/samba4/debian/gdbcommands	                        (rev 0)
+++ trunk/samba4/debian/gdbcommands	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,2 @@
+bt
+quit

Added: trunk/samba4/debian/libdcerpc-dev.install
===================================================================
--- trunk/samba4/debian/libdcerpc-dev.install	                        (rev 0)
+++ trunk/samba4/debian/libdcerpc-dev.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,15 @@
+usr/include/samba-4.0/gen_ndr/samr.h
+usr/include/samba-4.0/gen_ndr/ndr_samr_c.h
+usr/include/samba-4.0/gen_ndr/dcerpc.h
+usr/include/samba-4.0/gen_ndr/ndr_dcerpc.h
+usr/include/samba-4.0/dcerpc.h
+usr/include/samba-4.0/gen_ndr/ndr_svcctl_c.h
+usr/include/samba-4.0/gen_ndr/ndr_epmapper_c.h
+usr/include/samba-4.0/gen_ndr/ndr_atsvc_c.h
+usr/include/samba-4.0/gen_ndr/ndr_mgmt_c.h
+usr/lib/pkgconfig/dcerpc.pc
+usr/lib/libdcerpc.so
+usr/lib/pkgconfig/dcerpc_samr.pc
+usr/lib/libdcerpc_samr.so
+usr/lib/pkgconfig/dcerpc_atsvc.pc
+usr/lib/libdcerpc_atsvc.so

Added: trunk/samba4/debian/libdcerpc0.install
===================================================================
--- trunk/samba4/debian/libdcerpc0.install	                        (rev 0)
+++ trunk/samba4/debian/libdcerpc0.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,3 @@
+usr/lib/libdcerpc.so.*
+usr/lib/libdcerpc_samr.so.*
+usr/lib/libdcerpc_atsvc.so.*

Added: trunk/samba4/debian/libgensec-dev.install
===================================================================
--- trunk/samba4/debian/libgensec-dev.install	                        (rev 0)
+++ trunk/samba4/debian/libgensec-dev.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,3 @@
+usr/lib/pkgconfig/gensec.pc
+usr/lib/libgensec.so
+usr/include/samba-4.0/gensec.h

Added: trunk/samba4/debian/libgensec0.install
===================================================================
--- trunk/samba4/debian/libgensec0.install	                        (rev 0)
+++ trunk/samba4/debian/libgensec0.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,2 @@
+usr/lib/libgensec.so.0.*
+#usr/lib/samba/gensec/*.so

Added: trunk/samba4/debian/libgensec0.postinst
===================================================================
--- trunk/samba4/debian/libgensec0.postinst	                        (rev 0)
+++ trunk/samba4/debian/libgensec0.postinst	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,12 @@
+#!/bin/sh
+#
+# postinst script for libgensec0
+#
+# $Id$
+#
+
+if [ "$1" = "configure" ]; then
+	ldconfig
+fi
+
+#DEBHELPER#

Added: trunk/samba4/debian/libldb-samba4-0.install
===================================================================
--- trunk/samba4/debian/libldb-samba4-0.install	                        (rev 0)
+++ trunk/samba4/debian/libldb-samba4-0.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1 @@
+usr/lib/libldb.so.*

Added: trunk/samba4/debian/libldb-samba4-0.lintian
===================================================================
--- trunk/samba4/debian/libldb-samba4-0.lintian	                        (rev 0)
+++ trunk/samba4/debian/libldb-samba4-0.lintian	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,2 @@
+E: libldb-samba4-0: ldconfig-symlink-missing-for-shlib usr/lib/libldb.so.0 usr/lib/libldb.so.0.0.1 libldb.so.0
+W: libldb-samba4-0: package-name-doesnt-match-sonames libldb0

Added: trunk/samba4/debian/libldb-samba4-dev.install
===================================================================
--- trunk/samba4/debian/libldb-samba4-dev.install	                        (rev 0)
+++ trunk/samba4/debian/libldb-samba4-dev.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,5 @@
+usr/lib/libldb.so
+usr/lib/pkgconfig/ldb.pc
+usr/include/samba-4.0/ldb_errors.h
+usr/include/samba-4.0/ldb.h
+usr/share/man/man3/ldb.3

Added: trunk/samba4/debian/libndr-dev.install
===================================================================
--- trunk/samba4/debian/libndr-dev.install	                        (rev 0)
+++ trunk/samba4/debian/libndr-dev.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,3 @@
+usr/lib/libndr.so
+usr/lib/pkgconfig/ndr.pc
+usr/include/samba-4.0/ndr.h

Added: trunk/samba4/debian/libndr0.install
===================================================================
--- trunk/samba4/debian/libndr0.install	                        (rev 0)
+++ trunk/samba4/debian/libndr0.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1 @@
+usr/lib/libndr.so.*

Added: trunk/samba4/debian/libparse-pidl-perl.install
===================================================================
--- trunk/samba4/debian/libparse-pidl-perl.install	                        (rev 0)
+++ trunk/samba4/debian/libparse-pidl-perl.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,5 @@
+usr/bin/pidl
+usr/share/perl5/Parse/Pidl.pm
+usr/share/perl5/Parse/Pidl
+usr/share/man/man3/*.3pm
+usr/share/man/man1/pidl.1p

Added: trunk/samba4/debian/libregistry-dev.install
===================================================================
--- trunk/samba4/debian/libregistry-dev.install	                        (rev 0)
+++ trunk/samba4/debian/libregistry-dev.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,3 @@
+usr/include/samba-4.0/registry.h
+usr/lib/pkgconfig/registry.pc
+usr/lib/libregistry.so

Added: trunk/samba4/debian/libregistry0.install
===================================================================
--- trunk/samba4/debian/libregistry0.install	                        (rev 0)
+++ trunk/samba4/debian/libregistry0.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1 @@
+usr/lib/libregistry.so.*

Added: trunk/samba4/debian/libsamba-dev.install
===================================================================
--- trunk/samba4/debian/libsamba-dev.install	                        (rev 0)
+++ trunk/samba4/debian/libsamba-dev.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,47 @@
+usr/lib/libtorture.so
+usr/lib/pkgconfig/torture.pc
+usr/include/samba-4.0/gen_ndr/lsa.h
+usr/include/samba-4.0/gen_ndr/security.h
+usr/include/samba-4.0/gen_ndr/netlogon.h
+usr/include/samba-4.0/gen_ndr/misc.h
+usr/include/samba-4.0/gen_ndr/ndr_misc.h
+usr/include/samba-4.0/gen_ndr/ndr_samr.h
+usr/include/samba-4.0/gen_ndr/nbt.h
+usr/include/samba-4.0/events.h
+usr/include/samba-4.0/events_internal.h
+usr/include/samba-4.0/util.h
+usr/include/samba-4.0/dlinklist.h
+usr/include/samba-4.0/util/byteorder.h
+usr/include/samba-4.0/util/debug.h
+usr/include/samba-4.0/util/mutex.h
+usr/include/samba-4.0/util/data_blob.h
+usr/include/samba-4.0/util/time.h
+usr/include/samba-4.0/util/safe_string.h
+usr/include/samba-4.0/util/xfile.h
+usr/include/samba-4.0/dcerpc_server.h
+usr/include/samba-4.0/tdr.h
+usr/include/samba-4.0/credentials.h
+usr/include/samba-4.0/torture.h
+usr/include/samba-4.0/torture/ui.h
+usr/include/samba-4.0/ldap.h
+usr/include/samba-4.0/charset.h
+usr/include/samba-4.0/domain_credentials.h
+usr/include/samba-4.0/core/werror.h
+usr/include/samba-4.0/core/doserr.h
+usr/include/samba-4.0/core/ntstatus.h
+usr/include/samba-4.0/samba/popt.h
+usr/include/samba-4.0/samba/version.h
+usr/include/samba-4.0/tdb_wrap.h
+usr/include/samba-4.0/ldb_wrap.h
+usr/include/samba-4.0/gen_ndr/svcctl.h
+usr/include/samba-4.0/gen_ndr/ndr_svcctl.h
+usr/include/samba-4.0/gen_ndr/epmapper.h
+usr/include/samba-4.0/gen_ndr/ndr_epmapper.h
+usr/include/samba-4.0/gen_ndr/mgmt.h
+usr/include/samba-4.0/gen_ndr/ndr_mgmt.h
+usr/include/samba-4.0/gen_ndr/atsvc.h
+usr/include/samba-4.0/gen_ndr/ndr_atsvc.h
+usr/include/samba-4.0/util_ldb.h
+usr/include/samba-4.0/ldap_ndr.h
+usr/include/samba-4.0/util/attr.h
+usr/include/samba-4.0/core/error.h

Added: trunk/samba4/debian/libsamba-hostconfig-dev.install
===================================================================
--- trunk/samba4/debian/libsamba-hostconfig-dev.install	                        (rev 0)
+++ trunk/samba4/debian/libsamba-hostconfig-dev.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,4 @@
+usr/lib/libsamba-hostconfig.so
+usr/lib/pkgconfig/samba-hostconfig.pc
+usr/include/samba-4.0/param.h
+usr/include/samba-4.0/share.h

Added: trunk/samba4/debian/libsamba-hostconfig0.install
===================================================================
--- trunk/samba4/debian/libsamba-hostconfig0.install	                        (rev 0)
+++ trunk/samba4/debian/libsamba-hostconfig0.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1 @@
+usr/lib/libsamba-hostconfig.so.*

Added: trunk/samba4/debian/libtorture-dev.install
===================================================================
--- trunk/samba4/debian/libtorture-dev.install	                        (rev 0)
+++ trunk/samba4/debian/libtorture-dev.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,4 @@
+usr/lib/libtorture.so
+usr/lib/pkgconfig/torture.pc
+usr/include/samba-4.0/torture.h
+usr/include/samba-4.0/torture/ui.h

Added: trunk/samba4/debian/libtorture0.install
===================================================================
--- trunk/samba4/debian/libtorture0.install	                        (rev 0)
+++ trunk/samba4/debian/libtorture0.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1 @@
+usr/lib/libtorture.so.*

Added: trunk/samba4/debian/panic-action
===================================================================
--- trunk/samba4/debian/panic-action	                        (rev 0)
+++ trunk/samba4/debian/panic-action	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,51 @@
+#!/bin/sh
+
+# Redirect all output to our mail command
+(
+	# We must be given a pid to look at
+	if [ -z "$1" ]; then
+		echo "$0 called with no arguments."
+		exit 1
+	fi
+
+	if [ ! -d "/proc/$1" ]; then
+		echo "$0: No such process: $1"
+		exit 1
+	fi
+
+	# Find out what binary we're debugging
+	BINARYNAME=`readlink "/proc/$1/exe"`
+
+	# Generic header for our email
+	echo "The Samba 'panic action' script, $0,"
+	echo "was called for pid $1 ($BINARYNAME)."
+	echo
+
+	if [ -z "$BINARYNAME" ]; then
+		echo "This means there was a problem with the program, such as a segfault."
+		echo "However, the executable could not be found for process $1."
+		echo "It may have died unexpectedly, or you may not have permission to"
+		echo "debug the process."
+		exit 1
+	fi
+
+	# No debugger
+	if [ ! -x /usr/bin/gdb ]; then
+		echo "This means there was a problem with the program, such as a segfault."
+		echo "However, gdb was not found on your system, so the error could not be"
+		echo "debugged.  Please install the gdb package so that debugging information is"
+		echo "available the next time such a problem occurs."
+		exit 1
+	fi
+
+	echo "Below is a backtrace for this process generated with gdb, which shows"
+	echo "the state of the program at the time the error occurred. "
+	echo 
+	echo "If the problem persists, you are encouraged to first install the "
+	echo "samba-dbg package which contains the debugging symbols for samba "
+	echo "binaries. The, submit the provided information as a bug report to Debian.  For"
+	echo "information about the procedure for submitting bug reports , please see"
+	echo "http://www.debian.org/Bugs/Reporting or the reportbug(1) manpage."
+	echo
+	gdb -x /etc/samba/gdbcommands -batch "$BINARYNAME" "$1"
+) | mail -s "Segfault in Samba" root

Added: trunk/samba4/debian/patches/series
===================================================================

Added: trunk/samba4/debian/provision.smb.conf.patch
===================================================================
--- trunk/samba4/debian/provision.smb.conf.patch	                        (rev 0)
+++ trunk/samba4/debian/provision.smb.conf.patch	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,9 @@
+--- provision.smb.conf.orig	2006-01-06 04:02:34.000000000 +0100
++++ provision.smb.conf	2006-01-15 23:16:11.000000000 +0100
+@@ -3,5 +3,6 @@
+ 	workgroup	= ${DOMAIN}
+ 	realm		= ${REALM}
+ 	server role     = pdc
++	panic action    = /usr/share/samba/panic-action
+ 
+ 

Added: trunk/samba4/debian/registry-tools.install
===================================================================
--- trunk/samba4/debian/registry-tools.install	                        (rev 0)
+++ trunk/samba4/debian/registry-tools.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,8 @@
+usr/bin/regshell
+usr/bin/regpatch
+usr/bin/regdiff
+usr/bin/regtree
+usr/share/man/man1/regshell.1
+usr/share/man/man1/regpatch.1
+usr/share/man/man1/regdiff.1
+usr/share/man/man1/regtree.1

Added: trunk/samba4/debian/rules
===================================================================
--- trunk/samba4/debian/rules	                        (rev 0)
+++ trunk/samba4/debian/rules	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,104 @@
+#!/usr/bin/make -f
+# By Jelmer Vernooij <jelmer at samba.org>
+
+SOURCEPATH=./source
+
+# turn DEB_BUILD_OPTIONS='foo,bar' into DEB_BUILD_OPT_FOO and DEB_BUILD_OPT_BAR
+d_b_o:=$(shell echo "$$DEB_BUILD_OPTIONS"|sed 's/[^-[:alnum:]]/ /g'|tr a-z A-Z)
+$(foreach o, $(d_b_o), $(eval DEB_BUILD_OPT_$o := 1))
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	cd $(SOURCEPATH) && ./configure --with-fhs \
+		--prefix=/usr \
+		--mandir=/usr/share/man \
+		--with-pam \
+		--with-syslog \
+		--with-readline \
+		--with-ldap \
+		#--enable-dso
+	touch $@
+
+build: build-stamp
+build-stamp: configure
+	dh_testdir
+	$(MAKE) -C $(SOURCEPATH) all
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	dh_clean
+	$(RM) debian/tmp
+	[ ! -f source/mkconfig.mk ] || $(MAKE) -C $(SOURCEPATH) clean
+	$(RM) build-stamp configure-stamp
+
+binary-indep: build install
+	dh_installdocs -i
+	dh_installchangelogs -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdebconf -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+install: build
+	dh_installdirs
+	mkdir -p $(CURDIR)/debian/tmp/usr/share/man/man1
+	mkdir -p $(CURDIR)/debian/tmp/etc/samba
+	$(MAKE) -C $(SOURCEPATH) install DESTDIR=$(CURDIR)/debian/tmp
+	$(MAKE) -C $(SOURCEPATH) manpages installman DESTDIR=$(CURDIR)/debian/tmp
+	install -m 755 $(CURDIR)/debian/panic-action $(CURDIR)/debian/tmp/usr/share/samba
+	install -m 644 $(CURDIR)/debian/gdbcommands $(CURDIR)/debian/tmp/etc/samba
+	dh_testdir
+	dh_testroot
+	# Remove files created when running install more than once
+	find debian/tmp -name "*.old" | xargs rm -f
+	# Already provided by libparse-yapp-perl
+	rm -f $(CURDIR)/debian/tmp/usr/share/perl5/Parse/Yapp/Driver.pm
+	# Binaries not ready for installation
+	rm -f $(CURDIR)/debian/tmp/usr/bin/subunitrun
+	rm -f $(CURDIR)/debian/tmp/usr/bin/winreg
+	rm -f $(CURDIR)/debian/tmp/usr/bin/samba3dump
+	rm -f $(CURDIR)/debian/tmp/usr/bin/epdump.py
+	rm -f $(CURDIR)/debian/tmp/usr/bin/winreg.py
+	rm -f $(CURDIR)/debian/tmp/usr/bin/minschema.py
+	rm -f $(CURDIR)/debian/tmp/usr/bin/rpcclient
+	# No need to do development using nss_winbind
+	rm -f $(CURDIR)/debian/tmp/usr/lib/libnss_winbind.so
+	rm -f $(CURDIR)/debian/tmp/usr/lib/pkgconfig/nss_winbind.pc
+	dh_install --sourcedir=debian/tmp --list-missing --fail-missing
+
+binary-arch: build install
+	dh_installdocs -a debian/README.building NEWS
+	dh_installchangelogs -a
+	dh_strip -a
+	dh_perl -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_makeshlibs -a
+	dh_link -plibsamba0 usr/lib/libsamba-config.so.0.0.1 usr/lib/libsamba-config.so.0 \
+		usr/lib/libtorture.so.0.0.1 usr/lib/libtorture.so.0
+	dh_link -plibndr0 usr/lib/libndr.so.0.0.1 usr/lib/libndr.so.0
+	dh_link -plibregistry0 usr/lib/libregistry.so.0.0.1 usr/lib/libregistry.so.0
+	dh_link -plibdcerpc0 usr/lib/libdcerpc.so.0.0.1 usr/lib/libdcerpc.so.0 \
+						 usr/lib/libdcerpc_samr.so.0.0.1 usr/lib/libdcerpc_samr.so.0 \
+						 usr/lib/libdcerpc_atsvc.so.0.0.1 usr/lib/libdcerpc_atsvc.so.0
+	dh_link -plibgensec0 usr/lib/libgensec.so.0.0.1 usr/lib/libgensec.so.0
+	for pkg in libsamba0 winbind4; do \
+		install -m 0644 -D debian/$$pkg.lintian debian/$$pkg/usr/share/lintian/overrides/$$pkg || exit; \
+	done
+	dh_installinit -a 
+	dh_installdebconf -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-arch binary-indep 
+
+.PHONY: configure build install binary binary-arch binary-indep clean


Property changes on: trunk/samba4/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/samba4/debian/samba-ldb-tools.install
===================================================================
--- trunk/samba4/debian/samba-ldb-tools.install	                        (rev 0)
+++ trunk/samba4/debian/samba-ldb-tools.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,16 @@
+usr/bin/ad2oLschema
+usr/bin/oLschema2ldif
+usr/bin/ldbadd
+usr/bin/ldbdel
+usr/bin/ldbedit
+usr/bin/ldbmodify
+usr/bin/ldbrename
+usr/bin/ldbsearch
+usr/share/man/man1/ldbadd.1
+usr/share/man/man1/ldbdel.1
+usr/share/man/man1/ldbedit.1
+usr/share/man/man1/ldbmodify.1
+usr/share/man/man1/ldbrename.1
+usr/share/man/man1/ldbsearch.1
+usr/share/man/man1/ad2oLschema.1
+usr/share/man/man1/oLschema2ldif.1

Added: trunk/samba4/debian/samba4-clients.install
===================================================================
--- trunk/samba4/debian/samba4-clients.install	                        (rev 0)
+++ trunk/samba4/debian/samba4-clients.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,7 @@
+usr/bin/getntacl
+usr/bin/cifsdd
+usr/bin/net
+usr/bin/nmblookup
+usr/bin/setnttoken
+usr/bin/smbclient
+usr/share/man/man1/getntacl.1

Added: trunk/samba4/debian/samba4-common.config
===================================================================
--- trunk/samba4/debian/samba4-common.config	                        (rev 0)
+++ trunk/samba4/debian/samba4-common.config	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,20 @@
+#! /bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+db_title "Samba Server"
+
+#
+# See if we have an smb.conf. If not, we ask for realm and domain
+# so we can generate a new one.
+#
+if [ ! -f /etc/samba/smb.conf ]; then
+	db_input medium samba-common/realm || true
+	db_go || true
+
+	db_input medium samba-common/domain || true
+	db_go || true
+fi
+

Added: trunk/samba4/debian/samba4-common.dirs
===================================================================
--- trunk/samba4/debian/samba4-common.dirs	                        (rev 0)
+++ trunk/samba4/debian/samba4-common.dirs	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,5 @@
+etc/samba/tls
+usr/lib/samba
+usr/share/samba
+var/cache/samba
+var/run/samba

Added: trunk/samba4/debian/samba4-common.files
===================================================================

Added: trunk/samba4/debian/samba4-common.install
===================================================================
--- trunk/samba4/debian/samba4-common.install	                        (rev 0)
+++ trunk/samba4/debian/samba4-common.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,5 @@
+etc/samba/gdbcommands
+usr/bin/testparm
+usr/share/samba/*.dat
+usr/share/samba/js
+usr/share/samba/panic-action

Added: trunk/samba4/debian/samba4-common.postinst
===================================================================
--- trunk/samba4/debian/samba4-common.postinst	                        (rev 0)
+++ trunk/samba4/debian/samba4-common.postinst	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,32 @@
+#! /bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+if [ "$1" = "configure" ]; then
+	# Don't overwrite an existing smb.conf file.
+	if [ -f /etc/samba/smb.conf ]; then
+		exit
+	fi
+
+	db_get samba-common/realm || true
+	REALM="$RET"
+
+	db_get samba-common/domain || true
+	DOMAIN="$RET"
+
+	HOSTNAME=$( hostname -s )
+
+	if [ -n "$REALM" -a -n "$DOMAIN" ]; then
+		cat <<EOF >/etc/samba/smb.conf
+[globals]
+	netbios name    = $HOSTNAME
+	workgroup       = $DOMAIN
+	realm           = $REALM
+	panic action	= /usr/share/samba/panic-action
+EOF
+	fi
+fi
+
+#DEBHELPER#

Added: trunk/samba4/debian/samba4-common.postrm
===================================================================
--- trunk/samba4/debian/samba4-common.postrm	                        (rev 0)
+++ trunk/samba4/debian/samba4-common.postrm	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" = purge ]; then
+	# Remove any files left in /etc/samba/
+	rm -Rf /etc/samba/
+fi
+
+#DEBHELPER#

Added: trunk/samba4/debian/samba4-common.templates
===================================================================
--- trunk/samba4/debian/samba4-common.templates	                        (rev 0)
+++ trunk/samba4/debian/samba4-common.templates	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,12 @@
+Template: samba-common/realm
+Type: string
+_Description: Realm
+ The Kerberos realm your server will be in. In many cases, this will be
+ the same as your DNS domain name (ie. YOUR.REALM).
+
+Template: samba-common/domain
+Type: string
+_Description: Domain
+ The domain of your server. This is also known as the
+ "workgroup" of your server, and is typically a short name without any dots
+ (ie. DOMAIN).

Added: trunk/samba4/debian/samba4-dev.install
===================================================================

Added: trunk/samba4/debian/samba4-testsuite.install
===================================================================
--- trunk/samba4/debian/samba4-testsuite.install	                        (rev 0)
+++ trunk/samba4/debian/samba4-testsuite.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,11 @@
+usr/bin/smbtorture
+usr/bin/ndrdump
+usr/bin/gentest
+usr/bin/locktest
+usr/bin/masktest
+usr/lib/torture
+usr/share/man/man1/smbtorture.1
+usr/share/man/man1/ndrdump.1
+usr/share/man/man1/gentest.1
+usr/share/man/man1/locktest.1
+usr/share/man/man1/masktest.1

Added: trunk/samba4/debian/samba4-testsuite.lintian
===================================================================
--- trunk/samba4/debian/samba4-testsuite.lintian	                        (rev 0)
+++ trunk/samba4/debian/samba4-testsuite.lintian	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1 @@
+W: samba4-testsuite: package-contains-empty-directory usr/lib/torture/

Added: trunk/samba4/debian/samba4.config
===================================================================
--- trunk/samba4/debian/samba4.config	                        (rev 0)
+++ trunk/samba4/debian/samba4.config	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,40 @@
+#! /bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+db_title "Samba Server"
+
+if [ "$1" = "configure" ]; then
+	#
+	# Are we upgrading from Samba 3, and already have a configuration file?
+	# If so, the user might want to try the automatic upgrading.
+	#
+	if [ -n "$2" ] && dpkg --compare-versions "$2" lt "3.9.0"; then
+		if [ -f /etc/samba/smb.conf ]; then
+			db_input medium samba/upgrade-from-v3 || true
+			db_go || true
+
+			# The realm can't be easily autodetected from the Samba 3
+			# settings.
+			db_input medium samba-common/realm || true
+			db_go || true
+		fi
+	fi
+
+	#
+	# First-time installation, perhaps? If so, the user could want to
+	# set up Samba as a PDC, if the other parameters are in place.
+	#
+	db_get samba-common/realm || true
+	REALM="$RET"
+
+	db_get samba-common/domain || true
+	DOMAIN="$RET"
+
+	if [ -z "$2" -a -n "$REALM" -a -n "$DOMAIN" ]; then
+		db_input medium samba/setup-pdc || true
+		db_go || true
+	fi
+fi

Added: trunk/samba4/debian/samba4.dirs
===================================================================
--- trunk/samba4/debian/samba4.dirs	                        (rev 0)
+++ trunk/samba4/debian/samba4.dirs	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1 @@
+var/lib/samba

Added: trunk/samba4/debian/samba4.init
===================================================================
--- trunk/samba4/debian/samba4.init	                        (rev 0)
+++ trunk/samba4/debian/samba4.init	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,65 @@
+#! /bin/sh
+
+### BEGIN INIT INFO
+# Provides:          samba
+# Required-Start:    $network $local_fs $remote_fs
+# Required-Stop:     $network $local_fs $remote_fs
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: start Samba daemons (smbd)
+### END INIT INFO
+
+#
+# Start/stops the Samba daemon (smbd).
+# Adapted from the Samba 3 packages.
+#
+
+SMBDPID=/var/run/samba/smbd.pid
+
+# clear conflicting settings from the environment
+unset TMPDIR
+
+# See if the daemon and the config file are there
+test -x /usr/sbin/smbd -a -r /etc/samba/smb.conf || exit 0
+
+. /lib/lsb/init-functions
+
+case "$1" in
+	start)
+		log_daemon_msg "Starting Samba 4 daemon" "smbd"
+		
+		if ! start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/smbd -- -D; then
+			log_end_msg 1
+			exit 1
+		fi
+
+		log_end_msg 0
+		;;
+	stop)
+		log_daemon_msg "Stopping Samba 4 daemon" "smbd"
+
+		start-stop-daemon --stop --quiet --name smbd $SMBDPID
+		# Wait a little and remove stale PID file
+		sleep 1
+		if [ -f $SMBDPID ] && ! ps h `cat $SMBDPID` > /dev/null
+		then
+			# Stale PID file (smbd was succesfully stopped),
+			# remove it (should be removed by smbd itself IMHO.)
+			rm -f $SMBDPID
+		fi
+
+		log_end_msg 0
+
+		;;
+	restart|force-reload)
+		$0 stop
+		sleep 1
+		$0 start
+		;;
+	*)
+		echo "Usage: /etc/init.d/samba {start|stop|restart|force-reload}"
+		exit 1
+		;;
+esac
+
+exit 0

Added: trunk/samba4/debian/samba4.install
===================================================================
--- trunk/samba4/debian/samba4.install	                        (rev 0)
+++ trunk/samba4/debian/samba4.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,7 @@
+usr/sbin/smbd
+usr/bin/smbstatus
+usr/bin/smbscript
+usr/bin/nsstest
+usr/lib/samba
+usr/share/samba/setup
+usr/share/man/man8/smbd.8

Added: trunk/samba4/debian/samba4.postinst
===================================================================
--- trunk/samba4/debian/samba4.postinst	                        (rev 0)
+++ trunk/samba4/debian/samba4.postinst	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,44 @@
+#! /bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+if [ "$1" = "configure" ]; then
+	# See if we're upgrading from Samba 3
+	if [ ! -z "$2" ]; then
+		if dpkg --compare-versions "$2" lt "3.9.0"; then
+			db_get samba/upgrade-from-v3 || true
+			if [ "$RET" = "true" ]; then
+				db_get samba-common/realm || true
+				REALM="$RET"
+
+				mv /etc/samba/smb.conf /etc/samba/smb.conf.samba3
+				/usr/lib/samba/setup/upgrade --realm="$REALM" /var/lib/samba /etc/samba/smb.conf.samba3
+			fi
+		fi
+	else
+		db_get samba/setup-pdc || true
+
+		if [ "$RET" = "true" ]; then
+			# add "server role = pdc" to [globals]
+			if grep -q '^\[globals\]' /etc/samba/smb.conf; then
+				grep -v '^\s*server role\s*=' /etc/samba/smb.conf |
+					sed 's/\[globals\]/&\n\tserver role     = pdc/i' > /etc/samba/smb.conf.new
+				mv /etc/samba/smb.conf.new /etc/samba/smb.conf
+			fi
+
+			if [ -f /etc/samba/smb.conf ]; then
+				REALM=$( testparm --parameter-name=realm --suppress-prompt )
+				DOMAIN=$( testparm --parameter-name=workgroup --suppress-prompt )
+
+				/usr/lib/samba/setup/provision --realm="$REALM" --domain="$DOMAIN"
+			fi
+		fi
+	fi
+fi
+db_stop
+
+#DEBHELPER#
+
+exit 0

Added: trunk/samba4/debian/samba4.postrm
===================================================================
--- trunk/samba4/debian/samba4.postrm	                        (rev 0)
+++ trunk/samba4/debian/samba4.postrm	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,14 @@
+#! /bin/sh -e
+
+set -e
+
+if [ "$1" = purge ]; then
+
+	# Remove Samba's state files, both volatile and non-volatile
+	rm -Rf /var/run/samba/ /var/cache/samba/ /var/lib/samba
+
+	# Remove log files
+	rm -Rf /var/log/samba/
+fi
+
+#DEBHELPER#

Added: trunk/samba4/debian/samba4.templates
===================================================================
--- trunk/samba4/debian/samba4.templates	                        (rev 0)
+++ trunk/samba4/debian/samba4.templates	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,18 @@
+Template: samba/upgrade-from-v3
+Type: boolean
+Default: true
+_Description: Upgrade from Samba 3?
+ It is possible to migrate your existing configuration files from Samba 3 to
+ Samba 4. This is likely to fail for complex setups, but should provide a
+ good starting point for most existing installations.
+
+Template: samba/setup-pdc
+Type: boolean
+Default: false
+_Description: Set up Samba 4 as a PDC?
+ If you answer "no", Samba will be left unconfigured, and you will have to 
+ provision and make configuration files by hand.
+ .
+ Note that even if you answer "yes", you will need to set up DNS such that
+ it serves the data from the zone file in that directory before you can use
+ your Active Directory domain.

Added: trunk/samba4/debian/winbind4.install
===================================================================
--- trunk/samba4/debian/winbind4.install	                        (rev 0)
+++ trunk/samba4/debian/winbind4.install	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,4 @@
+usr/lib/libnss_winbind.so.*
+usr/bin/ntlm_auth
+usr/bin/wbinfo
+usr/share/man/man1/ntlm_auth.1

Added: trunk/samba4/debian/winbind4.lintian
===================================================================
--- trunk/samba4/debian/winbind4.lintian	                        (rev 0)
+++ trunk/samba4/debian/winbind4.lintian	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1,2 @@
+winbind4: no-shlibs-control-file lib/libnss_winbind.so.2
+winbind4: package-name-doesnt-match-sonames libnss-winbind2

Added: trunk/samba4/debian/winregistry-tools.substvars
===================================================================
--- trunk/samba4/debian/winregistry-tools.substvars	                        (rev 0)
+++ trunk/samba4/debian/winregistry-tools.substvars	2008-04-18 16:13:31 UTC (rev 1833)
@@ -0,0 +1 @@
+shlibs:Depends=libpopt0 (>= 1.10), libncurses5 (>= 5.6+20071006-3), libsasl2-2, libpam0g (>= 0.99.7.1), libc6 (>= 2.7-1), libgnutls13 (>=2.0.4-0), libreadline5 (>= 5.2), libtdb1, libtalloc1, libldb0




More information about the Pkg-samba-maint mailing list