summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:53:37 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:53:37 +0000
commitfb0ee66e0bc8a2ae176d3b10da49fcf31c66b838 (patch)
tree4b93d061779d23f09b5976c0fd01e3031d5238a5 /doc
parent803fafcbaa2fe4e1c49249e589d50f892b1b2424 (diff)
Added compile and unpack support to apt-get
Author: jgg Date: 1999-04-19 06:03:09 GMT Added compile and unpack support to apt-get
Diffstat (limited to 'doc')
-rw-r--r--doc/apt-get.8.yo8
-rw-r--r--doc/apt.conf.5.yo7
-rw-r--r--doc/examples/apt.conf8
3 files changed, 20 insertions, 3 deletions
diff --git a/doc/apt-get.8.yo b/doc/apt-get.8.yo
index 3e6e64a49..62f80d754 100644
--- a/doc/apt-get.8.yo
+++ b/doc/apt-get.8.yo
@@ -89,7 +89,10 @@ find and download into the current directory the newest available version of
that source package. Source packages are tracked seperately from binary
packages via df(deb-src) type lines in the bf(/etc/apt/sources.list) file.
This probably will mean that you will not get the same source as the package
-you have installed or as you could install.
+you have installed or as you could install. If the --compile options is
+specified then the package will be compiled to a binary .deb using
+dpkg-buildpackage, if --download-only is specified then the source package
+will not be unpacked.
dit(bf(check))
bf(check) is a diagnostic tool; it updates the package cache and checks for
@@ -173,6 +176,9 @@ dit(bf(-u, --show-upgraded))
Show upgraded packages; Print out a list of all packages that are to be
upgraded. See bf(APT::Get::Show-Upgraded).
+dit(bf(-b, --compile, --build))
+Compile source packages after downloading them.
+
dit(bf(--ignore-hold))
Ignore package Holds; This causes bf(apt-get) to ignore a hold placed on
a package. This may be usefull in conjunction with bf(dist-upgrade) to
diff --git a/doc/apt.conf.5.yo b/doc/apt.conf.5.yo
index b089f9b0a..9e14b861c 100644
--- a/doc/apt.conf.5.yo
+++ b/doc/apt.conf.5.yo
@@ -150,7 +150,8 @@ gives the location of the sourcelist and bf(main) is the default configuration
file (setting has no effect)
Binary programs are pointed to by bf(Dir::Bin). bf(methods) specifies the
-location of the method handlers and bf(gzip), bf(dpkg), bf(apt-get), and
+location of the method handlers and bf(gzip), bf(dpkg), bf(apt-get),
+bf(dpkg-source), bf(dpkg-buildpackage) and
bf(apt-cache) specify the location of the respective programs.
manpagesection(APT in DSelect)
@@ -194,6 +195,10 @@ are invoked in order using /bin/sh, should any fail APT will abort.
dit(bf(Run-Directory))
APT chdirs to this directory before invoking dpkg, the default is /.
+dit(bf(Build-Options))
+These options are passed to dpkg-buildpackage when compiling packages,
+the default is to disable signing and produce all binaries.
+
enddit()
manpagesection(Debug Options)
diff --git a/doc/examples/apt.conf b/doc/examples/apt.conf
index 93426736a..a295e59ea 100644
--- a/doc/examples/apt.conf
+++ b/doc/examples/apt.conf
@@ -1,4 +1,4 @@
-// $Id: apt.conf,v 1.31 1999/04/11 21:23:10 jgg Exp $
+// $Id: apt.conf,v 1.32 1999/04/19 06:03:09 jgg Exp $
/* This file is an index of all APT configuration directives. It should
NOT actually be used as a real config file, though it is a completely
valid file.
@@ -32,6 +32,7 @@ APT
Show-Upgraded "false";
No-Upgrade "false";
Print-URIs "false";
+ Compile "false";
};
Cache
@@ -139,6 +140,8 @@ Dir
methods "/usr/lib/apt/methods/";
gzip "/bin/gzip";
dpkg "/usr/bin/dpkg";
+ dpkg-source "/usr/bin/dpkg-source";
+ dpkg-buildpackage "/usr/bin/dpkg-buildpackage"
apt-get "/usr/bin/apt-get";
apt-cache "/usr/bin/apt-cache";
};
@@ -164,6 +167,9 @@ DPkg
// Prevents daemons from getting cwd as something mountable (default)
Run-Directory "/";
+
+ // Build options for apt-get source --compile
+ Build-Options "-b -uc";
}
/* Options you can set to see some debugging text They corrispond to names