summaryrefslogtreecommitdiff
path: root/packaging/debian/README
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-11-07 14:06:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:25:16 -0500
commitddc938245609beb5f1b3cdecabf67e06c1d42d0a (patch)
tree1622622f8b9e53451e6b29fc92707d502e6ca376 /packaging/debian/README
parentead66ffddf215a697533880b1958bd2f2903572f (diff)
downloadsamba-ddc938245609beb5f1b3cdecabf67e06c1d42d0a.tar.gz
samba-ddc938245609beb5f1b3cdecabf67e06c1d42d0a.tar.bz2
samba-ddc938245609beb5f1b3cdecabf67e06c1d42d0a.zip
r19619: Add pointer to (up-to-date) packaging from the Debian Samba packaging repository.
(This used to be commit 75162a873c7116eb0b0c8b70c8d335e5069e51be)
Diffstat (limited to 'packaging/debian/README')
-rw-r--r--packaging/debian/README30
1 files changed, 30 insertions, 0 deletions
diff --git a/packaging/debian/README b/packaging/debian/README
new file mode 100644
index 0000000000..fb4f88e63e
--- /dev/null
+++ b/packaging/debian/README
@@ -0,0 +1,30 @@
+The Debian packaging for Samba 4 is maintained in the SVN
+repository of the Debian Samba packaging team.
+
+(parts of this file are from their README.building)
+
+To build:
+
+: 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
+