summaryrefslogtreecommitdiff
path: root/packaging/Debian/README
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Debian/README')
-rw-r--r--packaging/Debian/README25
1 files changed, 17 insertions, 8 deletions
diff --git a/packaging/Debian/README b/packaging/Debian/README
index 1bb68d633a5..764a0429392 100644
--- a/packaging/Debian/README
+++ b/packaging/Debian/README
@@ -27,19 +27,29 @@ these instructions:
to the normal Debian development packages -- dpkg-dev, libc6-dev,
devscripts, etc.):
+ autoconf
debhelper
libpam0g-dev
libreadline4-dev
libcupsys2-dev
- autoconf
+ libacl1-dev | acl-dev (>= 2.0.0)
+ libkrb5-dev
+ libldap2-dev
+ po-debconf
+ python-dev (>= 2.2)
- Notes about the packages required to build Samba Debian packages:
+ Notes regarding the packages required to build Samba Debian packages:
* The libcupsys2-dev is not available in Debian Potato (Debian 2.2).
- That's fine; the configure script won't detect CUPS support and the
- resulting binaries won't support CUPS.
+ That's fine; the configure script won't detect CUPS support and the
+ resulting binaries won't support CUPS.
+
+ * The list above is current as of samba-3.0.0beta1, but it can get
+ out of date. The best way to check what packages are required to
+ build the samba packages on Debian is to look for the Build-Depends:
+ field in the file debian/control.
-1) cd samba[-<version>]. For example, "cd samba-2.2.5".
+1) cd samba[-<version>]. For example, "cd samba-3.0.0beta1".
2) cp -a packaging/Debian/debian/ debian
It's important that you copy instead of symlink because the build
tools in Potato have a problem that prevents the build to work with
@@ -48,9 +58,8 @@ devscripts, etc.):
Debian version numbers! Don't complain later if you can't upgrade
to official versions of the Samba packages for Debian.)
- Edit the changelog and make sure the version is right. For example,
- for Samba 2.2.4, the version number should something like 2.2.4-0.1
- (use a number less than 1 like 0.1, 0.2, etc. so there is no conflict
- with future upgrades to the official Debian packages.)
+ for Samba 3.0.0beta1, the version number should something like
+ 3.0.0beta1-1.1.
4) Run 'debian/rules binary'.
- It is better that you prefix the above command with 'fakeroot'.
If you have problems you might try building as root.