summaryrefslogtreecommitdiff
path: root/includes/lenny/common/doc/source-unpack.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-12-20 11:18:45 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:05:40 +0100
commit1ec7ddaa62e53173b4e1d2982f2bc0a3c8993fa7 (patch)
tree0c7974e616b2637fc0d30efa0ac2dd3f0a4ee842 /includes/lenny/common/doc/source-unpack.txt
parentd391837f66a5722d17d49e785cd9528b1696e92c (diff)
downloadvyos-live-build-1ec7ddaa62e53173b4e1d2982f2bc0a3c8993fa7.tar.gz
vyos-live-build-1ec7ddaa62e53173b4e1d2982f2bc0a3c8993fa7.zip
Updating cd includes.
Diffstat (limited to 'includes/lenny/common/doc/source-unpack.txt')
-rw-r--r--includes/lenny/common/doc/source-unpack.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/includes/lenny/common/doc/source-unpack.txt b/includes/lenny/common/doc/source-unpack.txt
new file mode 100644
index 000000000..151b7337d
--- /dev/null
+++ b/includes/lenny/common/doc/source-unpack.txt
@@ -0,0 +1,33 @@
+ HOW TO UNPACK A DEBIAN SOURCE PACKAGE
+
+There are two kinds of Debian source packages: old ones and new ones.
+
+A. Old ones look like this:
+ hello-1.3-4.tar.gz
+ hello-1.3-4.diff.gz
+ You unpack them by untarring the .tar.gz. There is NO need to apply
+ the diff.
+
+B. New ones look like this:
+ hello_1.3-11.dsc
+ hello_1.3-11.diff.gz
+ hello_1.3-11.orig.tar.gz - note the `.orig' part
+ Here you MUST use dpkg-source or apply the diff manually - see below.
+
+ If you have `dpkg-source' you should put the files in the same
+ directory and type `dpkg-source -x <whatever>.dsc'.
+
+ If you do not you can extract the Debian source as follows:
+ 1. untar P_V.orig.tar.gz.
+ 2. rename the resulting P-V.orig directory to P-V. If some other
+ directory results, rename *it* to P-V.
+ 3. mkdir P-V/debian.
+ 4. apply the diff with patch -p0.
+ 5. do `chmod +x P-V/debian/rules'
+ (where P is the package name and V the version.)
+
+C. There are some packages where the Debian source is the upstream
+ source. In this case there will be no .diff.gz and you can just use
+ the .tar.gz. If a .dsc is provided you can use `dpkg-source -x'.
+
+ -- Ian Jackson <ijackson@gnu.ai.mit.edu> Sat, 31 Aug 1996