summaryrefslogtreecommitdiff
path: root/packaging4/debian
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-09-12 11:51:08 +0200
committerStefan Metzmacher <metze@samba.org>2008-09-12 11:51:08 +0200
commit1849b816eee557d0536fe047b40f741c718440a1 (patch)
treecfc3c443df9418f8e9d25d3e2c120072bddf26f2 /packaging4/debian
parent6820cda5989181285bee4bad5ee1781227b6261f (diff)
downloadsamba-1849b816eee557d0536fe047b40f741c718440a1.tar.gz
samba-1849b816eee557d0536fe047b40f741c718440a1.tar.bz2
samba-1849b816eee557d0536fe047b40f741c718440a1.zip
rename packaging => packaging4
metze (This used to be commit 42fffd1d1c7303afb4139734cdc0c909f81154b2)
Diffstat (limited to 'packaging4/debian')
-rw-r--r--packaging4/debian/README30
1 files changed, 30 insertions, 0 deletions
diff --git a/packaging4/debian/README b/packaging4/debian/README
new file mode 100644
index 0000000000..fb4f88e63e
--- /dev/null
+++ b/packaging4/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
+