summaryrefslogtreecommitdiff
path: root/packaging/Debian/README
diff options
context:
space:
mode:
authorEloy Paris <peloy@samba.org>2004-02-05 17:30:56 +0000
committerEloy Paris <peloy@samba.org>2004-02-05 17:30:56 +0000
commit4f27b0129850f1bdba21d6eff8f154eb1288ee2a (patch)
treef759155f8c1173993566fba9edc7163ee23f6256 /packaging/Debian/README
parentda371e74bb3299fbf951a6b1f373daff7a2c6018 (diff)
downloadsamba-4f27b0129850f1bdba21d6eff8f154eb1288ee2a.tar.gz
samba-4f27b0129850f1bdba21d6eff8f154eb1288ee2a.tar.bz2
samba-4f27b0129850f1bdba21d6eff8f154eb1288ee2a.zip
Updating the Debian packaging stuff in packaging/Debian/. This hadn't
been updated since the 3.0.0 release so it was broken for 3.0.1 and later. It's nice that now the Makefile supports a $DESTDIR for "make install" :-) (This used to be commit 40c6bf1498785850789fca3d28ea4e7ceaa296ce)
Diffstat (limited to 'packaging/Debian/README')
-rw-r--r--packaging/Debian/README27
1 files changed, 13 insertions, 14 deletions
diff --git a/packaging/Debian/README b/packaging/Debian/README
index 95c75d5fc5..8efe8164c8 100644
--- a/packaging/Debian/README
+++ b/packaging/Debian/README
@@ -4,11 +4,11 @@ Building Samba Packages for Debian GNU/Linux
Building Debian packages is not as hard as some people might think.
The following instructions will allow you to build your own Samba
Debian packages. These instructions and the files in packaging/Debian/
-are current as of Samba 3.0.0, and allow you to build Debian packages
-for Debian unstable (so you need some development packages available
-only in Debian unstable.) If you are using something newer than 3.0.0
-you might want to try to follow the instructions to see if patches
-apply cleanly. If some patches don't apply cleanly please e-mail
+should be current as of Samba 3.0.2, and allow you to build Debian
+packages for Debian unstable (so you need some development packages
+available only in Debian unstable.) If you are using something newer
+than 3.0.2 you might want to try to follow the instructions to see if
+patches apply cleanly. If some patches don't apply cleanly please e-mail
samba@packages.debian.org since we might have fixed patches that we have
not yet integrated into upstream Samba.
@@ -33,7 +33,7 @@ to the normal Debian development packages -- dpkg-dev, libc6-dev,
devscripts, etc.):
autoconf
- debhelper
+ debhelper (>= 4.1.13)
libpam0g-dev
libreadline4-dev
libcupsys2-dev
@@ -54,20 +54,19 @@ devscripts, etc.):
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-3.0.0rc2".
-2) cp -a packaging/Debian/debian/ debian
+1) cd samba[-<version>]. For example, "cd samba-3.0.2".
+2) cp -a packaging/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
- a symlink.
+ a symlink. If you are running a recent Debian distribution you don't
+ have to copy the directory and you can use a symlink instead:
+ "ln -s packaging/Debian/debian/ ."
3) dch -i (this is completely optional - only do it if you understand
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 3.0.0beta3, the version number should something like
- 3.0.0beta3-0.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.
+ for Samba 3.0.2, the version number should something like 3.0.2-0.1.
+4) Run 'fakeroot debian/rules binary'.
5) That's it. Your new packages should be in ../. Install with dpkg.
Please e-mail samba@packages.debian.org with comments, questions or