r21125: Tridge, please check this closely if this relaxed notify test is
[Samba/ekacnet.git] / packaging / debian / README
blobfb4f88e63e92de43549ecd864db301bc68bdc2f7
1 The Debian packaging for Samba 4 is maintained in the SVN 
2 repository of the Debian Samba packaging team. 
4 (parts of this file are from their README.building)
6 To build:
8 : Check out the official Debian packaging:
10   svn co svn://svn.debian.org/pkg-samba/branches/samba4 samba4/debian
12 : Samba is not a native Debian package, so you will need to create
13 : an .orig.tar.gz tarball. Do something along the lines of:
15   VER=$( dpkg-parsechangelog -lsamba4/debian/changelog | sed -n 's/^Version: \(.*:\|\)//p' | sed 's/-[0-9.]\+$//' )
16   svn export samba4 samba-$VER
17   ( cd samba-$VER/source && ./autogen.sh )
18   ( cd samba-$VER/source && ./script/mkversion.sh VERSION include/version.h ../../samba4/source/ )
19   tar zcf samba_$VER.orig.tar.gz samba-$VER
21 : With the .orig.tar.gz in place, you can now also export the debian/
22 : directory:
24   svn export samba4/debian samba-$VER/debian
26 : Finally, build the package using whatever method you prefer:
28   cd samba-$VER
29   debuild