1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/packaging/Debian
Gerald Carter c8bc0fa4a7 merge from 2.2
(This used to be commit 473a89cde2)
2002-02-02 15:44:37 +00:00
..
debian merge from 2.2 2002-02-02 15:44:37 +00:00
README merge from 2.2 2002-02-02 15:44:37 +00:00

Building Samba Packages for Debian GNU/Linux
--------------------------------------------

If you want to build Samba packages for Debian and you just want to use
upstream sources, i.e. you don't want to wait for us to put official
packages out, or you want packages for a Debian version for which we
don't provide deb's, or you don't want to use official packages, or
you want to add --this-cool-switch to configure, or whatever, follow
these instructions:

0) Make sure you have the following packages installed:
   debhelper
   libpam0g-dev
   libreadline4-dev
   libcupsys2-dev
   + the minimum Debian development stuff (dpkg-dev, libc6-dev, etc.)
   Note: libcupsys2-dev is not available for Potato. It's safe
   to not install it if you don't need CUPS support.
1) cd samba[-<version>]
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
  a symlink.
3) dch -i
  - Edit the changelog and make sure the version is right. For example,
  for Samba 2.2.3, the version number should be 2.2.3-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.)
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.
5) That's it. Your new packages should be in ../. Install with dpkg.

Please e-mail samba@packages.debian.org with comments, question or
usggestions. Please talk to us and not to the Samba Team. They have
better things to do and know nothing about the Debian packaging system.

Eloy A. Paris <peloy@debian.org>
Steve Langasek <vorlon@debian.org>

Sat Feb  2 00:44:42 CET 2002