+Fri Mar 2 17:29:02 CET 2001 Wichert Akkerman <wakkerma@debian.org>
+
+ * The Copenhagen Commit
+ * ChangeLog: undo file corruption (ugh)
+ * utils/start-stop-daemon.8: fix typo
+ * configure.in: use AC_C_INLINE instead of our own test
+ * lib/nfmalloc, include/dpkg-db.h: remove HAVE_INLINE tests, use extern
+ inline directly
+ * lib/varbuf.c: add inline keyowrd to varbufaddc
+ * optlib/Makefile.in: undo earlier patch and build libopt.a again
+ * lib/Makefile.in: use libopt.a again, and a rule to build it
+ * Makefile.in: build optlib before lib
+ * Makefile.conf.in: add RANLIB
+ * dselect/method.h, dselect/methlist.cc, dselect/method.cc,
+ dselect/methparse.cc: rename struct option to dselect_option to prevent
+ conflict with getopt.h
+ * main/help.c: rework do_script a bit to compile without errors
+ * scripts/dpkg-gencontrol.1: add -n option to specify filename
+ * scripts/dpkg-source.1:
+ + document -n option for dpkg-gencontrol
+ + fix confusing wording for dpkg-buildpackage -uc option
+ + fix layout error for dpkg-distaddfile section
+ + it's DEADJOE, not DEAD_JOEY
+ * scripts/dpkg-architecture.pl:
+ + apply cleanup patch from Julian Gilbey
+ + modify gcc regexp to recognize gcc versions like 2.96-ia64-000717
+ * scripts/dpkg-checkbuilddeps.pl, scripts/dpkg-checkbuilddeps.1: new
+ script from Joey Hess to check build dependencies
+ * THANKS: Add Joey Hess
+ * scripts/dpkg-parsechangelog.pl:
+ + support reading changelog from stdin
+ + remove Linux reference
+ * scripts/dpkg-statoverride.pl: exit with exitcode 1 if we do --list but
+ don't output anything, and use exitcode 2 if we try to remove a
+ non-exiting override (unless --force is given).
+ * scripts/dpkg-statoverride.8: document new exitcode for --list
+ * main/main.c, main/dpkg.8: remove --smallmem and --largemem references
+ * scripts/dpkg-buildpackage.sh:
+ + don't bother to specify architecture settings on commandlines since
+ we put them in the environment already
+ + remove debsign support, it's useless and debsign can't handle it
+ + use DEB_BUILD_ARCH to get build architecture, not DEB_HOST_ARCH
+ + remove Linux reference
+ * scripts/dpkg-scanpackages.pl: mark last argument as optional in
+ usage info
+ * scripts/dpkg-scanpackages.8, scripts/dpkg-name.1,
+ scripts/dpkg-shlibdeps.pl, scripts/dpkg-source.pl, scripts/822-date.1,
+ scripts/cl-debian.pl, scripts/cleanup-info.pl, scripts/dpkg-genchanges.pl,
+ scripts/dpkg-distaddfile.pl, scripts/dpkg-source.1,
+ scripts/dpkg-divert.pl, scripts/install-info.pl, scripts/install-info.8,
+ scripts/dpkg-gencontrol.pl, scripts/update-alternatives.pl,
+ scripts/update-rc.d.8: remove Linux references
+
+Sun Feb 25 20:26:03 CET 2001 Wichert Akkerman <wakkerma@debian.org>
+
+ * version-nr: update to 1.9.0
+
Sun Feb 25 19:17:53 CET 2001 Wichert Akkerman <wakkerma@debian.org>
* debian/changelog: merged additions from v1.8 branch
* scripts/dpkg-genchanges.pl: also upload full source if version is *-0.1
* doc/ja/dpkg.8: updated with patch from Hiroshi KISE <fuyuneko@ryukyu.ne.jp>
-Tue Jan 11 18:32:52 CET 2000 Wichert Akkerman <wakkerma@d\81Þ\ 5\0\82Þ\ 5\0\83Þ\ 5\0\84Þ\ 5\0\85Þ\ 5\0\86Þ\ 5\0\87Þ\ 5\0\88Þ\ 5\0\89Þ\ 5\0\8aÞ\ 5\0\8bÞ\ 5\0\8cÞ\ 5\0\8dÞ\ 5\0\8eÞ\ 5\0\8fÞ\ 5\0\90Þ\ 5\0\91Þ\ 5\0\92Þ\ 5\0\93Þ\ 5\0\94Þ\ 5\0\95Þ\ 5\0\96Þ\ 5\0\97Þ\ 5\0\98Þ\ 5\0\99Þ\ 5\0\9aÞ\ 5\0\9bÞ\ 5\0\9cÞ\ 5\0\9dÞ\ 5\0\9eÞ\ 5\0\9fÞ\ 5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\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0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0of manpages
+Tue Jan 11 18:32:52 CET 2000 Wichert Akkerman <wakkerma@debian.org>
+
+ * configure.in: Fix include in test for alphasort
+ * Makefile.in: add intl to subdirectory-list
+ * dpkg-deb/Makefile.in: set top_builddir
+ * dselect/Makefile.in: set top_builddir
+ * main/Makefile.in: set top_builddir
+ * lib/compat.c: add really simple snprintf (doesn't do range-checking)
+ * lib/compat.c: add sys_siglist
+ * configure.in: add tests for snprintf and sys_siglist
+ * include/dpkg.h.in: don't include sys/sysinfo.h, filesdb.c is the only
+ thing that needs it and it has its own include.
+
+Tue Jan 11 02:02:00 CET 2000 Wichert Akkerman <wakkerma@debian.org>
+
+ * dselect/baselist.cc: don't specify SA_INTERRUPT, since it's
+ not portable and the default behaviour
+ * main/enquiry.c: include sys/termios.h (needed on Solaris)
+ * lib/lock.c: use EACCESS instead of EWOULDBLOCK
+ * dselect/main.cc: fix help for -D
+ * dselect/main.cc: try to lock admindir instead of using readwrite
+ * dselect/method.cc: switch to using fcntl for lock since that is more
+ portable, and revamp lockingcode to reduce code duplication
+
+Mon Jan 10 20:55:45 CET 2000 Wichert Akkerman <wakkerma@debian.org>
+
+ * Update Swedish and Russian translation
+
+Sun Jan 9 16:11:39 CET 2000 Wichert Akkerman <wakkerma@debian.org>
+
+ * Merge patches from Josip Rodin:
+ + various text and manpage updates
+ + dselect/method.cc: don't abort if locking fails but give a
+ warning
+ + THANKS: fix various small errors
+
+Sun Jan 9 01:40:23 CET 2000 Wichert Akkerman <wakkerma@debian.org>
+
+ * scripts/cl-debian.pl: Allow space between `#' and the bugnumber in the
+ changelog scripts
+ * scripts/start-stop-daemon.c: test for __sparc__ instead
+ * scripts/Makefile.in: add optlib to CFLAGS
+ * utils/start-stop-daemon.c: add option to chroot first, patch from Marco d'Itri
+ * utils/start-stop-daemon.8: document chroot option
+ * dselect/pkgtop.cc: use waddnstr to print package description instead of waddch
+
+Fri Jan 7 18:24:45 CET 2000 Wichert Akkerman <wakkerma@debian.org>
+
+ * dselect/method.cc: pass admindir to dpkg
+ * dselect/Makefile.in: fix rule to build helpmessages
+ * dselect/curkeys.h: use curses.h instead of ncurses.h, since someone
+ decided to play nasty and just remove that
+ * scripts/: remove dpkg-safelist
+ * dpkg-deb/build.c: remove dpkg-safelist calls
+ * main/enquiry.c: redo formula to get fieldwidths for packages
+
+Wed Jan 5 17:09:45 CET 2000 Wichert Akkerman <wakkerma@debian.org>
+
+ * Merge patch from Tom Lees <tom@lpsg.demon.co.uk>:
+ + scripts/dpkg-buildpackage.sh: support debsign
+ * scripts/update-alternatives.8: fix wrong order of parameters
+ in ACTION section
+ * Updated Polish translation
+
+Sun Dec 26 01:31:08 CET 1999 Wichert Akkerman <wakkerma@debian.org>
+
+ * Update copyright for Swedish translation to SPI instead of Debian
+
+Sat Dec 25 04:04:48 CET 1999 Wichert Akkerman <wakkerma@debian.org>
+
+ * dselect/pkgtop.cc: use waddnstr instead of waddch so we don't strip
+ the 8th bit of characters
+ * Replace `Debian Linux' with `Debian GNU/Linux' in some more places
+ * Update Spanish translation
+ * main/enquire.c: always use a minimum width of 80 in list1package
+ * debian/rules: install dpkg-safefilelist
+
+Sat Dec 25 02:50:31 CET 1999 Wichert Akkerman <wakkerma@debian.org>
+
+ * Oops, forgot to add scripts/dpkg-safefilelist.{1,pl}
+ * debian/control: remove double empty line
+ * dpkg-deb/main.c: Fix help-message
+
+Fri Dec 24 17:34:30 CET 1999 Wichert Akkerman <wakkerma@debian.org>
+
+ * version-nr: update to 1.6.5
+ * doc/Makefile.in: install THANKS
+ * TODO: remove items that have been done
+ * lib/showcright.c: exit(0) after showing the copyright since
+ we don't exec cat anymore
+ * Patch from David Huggins-Daines <dhd@eradicator.org>:
+ + main/configure.c: add NULL to execlp() parameters; this fixes the random
+ segfaults when showing the conffile-diff
+
+Fri Dec 24 15:35:29 CET 1999 Wichert Akkerman <wakkerma@debian.org>
+
+ * debian/control: add Build-Depends
+ * THANKS: new file which lists everyone who contributed to the code
+ * Change `Debian Linux' to `Debian GNU/Linux' in a couple of manpages
* main/enquiry.c: modify list1package to use the full width of the tty
* main/main.c: fix wrong call to fputs
* Merge patches from Adam Heath:
ChangeLog begins Thu Aug 25 11:46:27 1994 for dpkg 0.93.5.
-Local variables:
-mode: debian-changelog
-End:
PERL = @PERL@
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
LN = @LN_S@
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+SED = @SED@
+RM = @RM@
+
WARN_ALL = @WARN_ALL@
WARN_WRITESTRINGS = @WARN_WRITESTRINGS@
CC = @CC@
CFLAGS = @CFLAGS@ @CWARNS@
-INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-SED = @SED@
-RM = @RM@
CXX = @CXX@
CXXFLAGS = @CXXFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
+RANLIB = @RANLIB@
+
DEFS = @DEFS@ -D_GNU_SOURCE
INCLUDE_CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) -I$(srcdir) -I../include -I.. -I. -I$(top_srcdir)/optlib
include Makefile.conf
-SUBDIRS = include lib optlib intl dpkg-deb split scripts utils main \
+SUBDIRS = include optlib lib intl dpkg-deb split scripts utils main \
utils @DSELECTDIR@ po methods doc
all: version.h all-recursive
Jim Pick <jim@jimpick.com>
Jim Van Zandt <jrv@vanzandt.mv.com>
Joel Klecker <jk@espy.org>
+Joey Hess <joeyh@debian.org>
Josip Rodin <jrodin@jagor.srce.hr>
Juan Cespedes <cespedes@debian.org>
Juergen Menden <menden@morgana.camelot.de>
AC_VPRINTF
AC_C_CONST
AC_C_BIGENDIAN
+AC_C_INLINE
AC_CHECK_SIZEOF(unsigned long)
AC_CHECK_SIZEOF(unsigned int)
AC_CHECK_TYPE(ptrdiff_t,int)
dpkg (1.9.0) unstable; urgency=low
+ * The Copenhagen release
+ * Things should mostly work OpenBSD 2.8 as well now
* Removed all --smallmem code, as smallmem and largemem now actually
use about the same amount of memory, and largemem is faster. Both
--largemem and --smallmem are now obselete options, and will print
- a warning if used.
- * Update German translation, Closes: Bug#80529
+ a warning if used. Closes: Bug#84905
+ * Update German translation, Closes: Bug#80529,#87581
* Update French translation, Closes: Bug#65284,#87238
* Add French manpages, courtesy of Philippe Batailler
* Ingore vim swapfiles in dpkg-source, Closes: Bug#81630
* Minor script changes, Closes: Bug#87485
* Stop dpkg-genchanges from complaining about missing packages
when doing a source-only build. Closes: Bug#87571
- * Make dpkg-architecture -s export all variables instead of only
- the first
+ * Various dpkg-architecture cleanups. Closes: Bug#87505
+ * Modify dpkg-architecture to handle gcc versions containing letters.
+ Closes: Bug#83083
* dpkg-buildpackage updates: Closes: Bug#87572
+ make -C work properly
+ fix test for gpg secret keyring
+ improve source messages
+ skip signing pause when building unsigned packages
+ test for invalid signinterface. Closes: Bug#87579
+ + remove debsign support, it's useless and doesn't work
+ + Use correct architecture when naming .changes file. Closes: Bug#88015
* Fix wording in dpkg-statoverride manpage for --add. Closes: Bug#85080
+ * Fix typo in start-stop-daemon manpage. Closes: Bug#88225
+ * Add dpkg-checkbuilddeps to check if build dependencies are satisfied
+ and modify dpkg-buildpackage to call it if wanted. Closes: Bug#86453
+ * dpkg-parsechangelog can read a changelog from stdin now. Closes: Bug#80142
+ * Fix confusing wording for dpkg-buildpackage -uc option in manpage.
+ Closes: Bug#83468
+ * dpkg-statoverride now exits with exitcode 1 if we do a --list but don't
+ output anything. Closes: Bug#84328
+ * Remove Linux reference from all scripts, they should run fine on
+ other OSes as well.
+ * Mark last argument in dpkg-scanpackages usage info as optional.
+ Closes: Bug#86658
+ * Fix formatting error in dpkg-source.1. Closes: Bug#82723
-- Wichert Akkerman <wakkerma@debian.org> UNRELEASED
+ varbufprintf (used for some error messages) vsnprintf return value
assumption changed to correspond to reality rather than glibc-doc.
+ Don't read available-info when not needed (slightly improved from
- dpkg-iwj: don't read for listfiles either :)
+ dpkg-iwj: don't read for listfiles either :)
+ Cleanup --assert-* code
+ Assume largemem on systems without sysinfo(2).
+ modify preexec-script for easier script execution
Section: devel
Priority: important
Architecture: all
-Depends: perl5, cpio (>= 2.4.2-2), patch (>= 2.2-1), make, binutils
+Depends: perl5, perl-modules, cpio (>= 2.4.2-2), patch (>= 2.2-1), make, binutils
Recommends: c-compiler
Suggests: gnupg, debian-keyring
Conflicts: dpkgname
set -e ; for i in dpkg-name dpkg-source dpkg-genchanges dpkg-gencontrol \
dpkg-shlibdeps dpkg-buildpackage dpkg-distaddfile 822-date \
dpkg-scanpackages dpkg-scansources dpkg-architecture \
- dpkg-parsechangelog ; do \
+ dpkg-parsechangelog dpkg-checkbuilddeps ; do \
mv $(TMP)/usr/bin/$$i $(TMP_DPKG_DEV)/usr/bin/ ; \
done
set -e ; for i in "" ja sv ; do \
install -d -m 755 -o root -g root $(TMP_DPKG_DEV)/usr/share/man/$$i/man1 ; \
for m in dpkg-name.1 dpkg-source.1 822-date.1 dpkg-architecture.1 \
dpkg-buildpackage.1 dpkg-distaddfile.1 dpkg-genchanges.1 \
- dpkg-gencontrol.1 dpkg-parsechangelog.1 dpkg-shlibdeps.1 ; do \
+ dpkg-gencontrol.1 dpkg-parsechangelog.1 dpkg-shlibdeps.1 \
+ dpkg-checkbuilddeps.1 ; do \
if [ -e $(TMP)/usr/share/man/$$i/man1/$$m ] ; then \
mv $(TMP)/usr/share/man/$$i/man1/$$m $(TMP_DPKG_DEV)/usr/share/man/$$i/man1/$$m ; \
fi ; \
if (debug)
fprintf(debug,"methodlist[%p]::methodlist()\n",this);
- table= new struct option*[noptions];
+ table= new struct dselect_option*[noptions];
- struct option *opt, **ip;
+ struct dselect_option *opt, **ip;
for (opt=options, ip=table, nitems=0; opt; opt=opt->next, nitems++) {
if (opt == coption) { assert(newcursor==-1); newcursor= nitems; }
*ip++= opt;
static enum urqresult ensureoptions(void) {
const char *const *ccpp;
- option *newoptions;
+ dselect_option *newoptions;
int nread;
if (!options) {
char *name, *path, *pathinmeth;
};
-struct option {
- option *next;
+struct dselect_option {
+ dselect_option *next;
method *meth;
char index[OPTIONINDEXMAXLEN];
char *name, *summary;
int name_column, description_column;
// Table of methods
- struct option **table;
+ struct dselect_option **table;
// Misc.
char searchstring[50];
};
extern int noptions;
-extern struct option *options, *coption;
+extern struct dselect_option *options, *coption;
extern struct method *methods;
-extern void readmethods(const char *pathbase, option **optionspp, int *nread);
+extern void readmethods(const char *pathbase, dselect_option **optionspp, int *nread);
extern void getcurrentopt();
extern void writecurrentopt();
#include "bindings.h"
int noptions=0;
-struct option *options=0, *coption=0;
+struct dselect_option *options=0, *coption=0;
struct method *methods=0;
static void badmethod(const char *pathname, const char *why) NONRETURNING;
badmethod(pathname,why);
}
-void readmethods(const char *pathbase, option **optionspp, int *nread) {
+void readmethods(const char *pathbase, dselect_option **optionspp, int *nread) {
static const char *const methodprograms[]= {
METHODSETUPSCRIPT, METHODUPDATESCRIPT, METHODINSTALLSCRIPT, 0
};
struct dirent *dent;
struct varbuf vb;
method *meth;
- option *opt, **optinsert;
+ dselect_option *opt, **optinsert;
struct stat stab;
baselen= strlen(pathbase);
while ((c= fgetc(names)) != EOF) {
if (isspace(c)) continue;
- opt= new option;
+ opt= new dselect_option;
opt->meth= meth;
vb.reset();
do {
int admindirlen;
char *p;
method *meth;
- option *opt;
+ dselect_option *opt;
if (!methoptfile) {
admindirlen= strlen(admindir);
#endif
};
-#if HAVE_INLINE
-inline extern void varbufaddc(struct varbuf *v, int c) {
- if (v->used >= v->size) varbufextend(v);
- v->buf[v->used++]= c;
-}
-#endif
+inline extern void varbufaddc(struct varbuf *v, int c);
#ifdef __cplusplus
inline void varbuf::operator()(int c) { varbufaddc(this,c); }
const struct versionrevision *b);
/*** from nfmalloc.c ***/
-#ifdef HAVE_INLINE
extern inline void *nfmalloc(size_t);
-#else
-extern void *nfmalloc(size_t);
-#endif
char *nfstrsave(const char*);
char *nfstrnsave(const char*, int);
void nffreeall(void);
.PHONY: all
all:: libdpkg.a
-
-libdpkg.a: $(OBJECTS) ../optlib/*.o
+
+../optlib/libopt.a:
+ set -e ; cd ../optlib ; $(MAKE) libopt.a
+
+libdpkg.a: $(OBJECTS) ../optlib/libopt.a
$(AR) r $@ $^
$(RANLIB) $@
obstack_chunk_size(&db_obs) = CHUNK_SIZE;
}
-#ifdef HAVE_INLINE
inline void *nfmalloc(size_t size)
-#else
-void *nfmalloc(size_t size)
-#endif
{
OBSTACK_INIT;
return obstack_alloc(&db_obs, size);
#include <dpkg.h>
#include <dpkg-db.h>
-void varbufaddc(struct varbuf *v, int c) {
+inline void varbufaddc(struct varbuf *v, int c) {
if (v->used >= v->size) varbufextend(v);
v->buf[v->used++]= c;
}
Ignore dependency-checking for specified packages (actually, checking is
performed, but only warnings about conflicts are given, nothing else).
.TP
-\fB--largemem\fP | \fB--smallmem\fP
-Tells \fBdpkg\fP whether to preserve memory (e.g. with less than 24 MB
-of RAM) or consume as much as needed(the default).
-.TP
\fB--new\fP | \fB--old\fP
Select new or old binary package format. This is a \fBdpkg-deb\fP(1)
option.
.TP
.B DPKG_NO_TSTP
Define this to something if you prefer \fBdpkg\fP starting a new
-shell rather than suspending \fBdpkg\fP, while doing a shell escape.
+shell rather than suspending itself, while doing a shell escape.
.TP
.B SHELL
The program \fBdpkg\fP will execute while starting a new shell.
c1= m_fork();
if (!c1) {
+ char **narglist;
+ for (r=0; arglist[r]; r++) ;
+ narglist=nfmalloc(r*sizeof(char*));
+ for (r=1; arglist[r]; r++)
+ narglist[r]= arglist[r];
scriptexec= preexecscript(scriptpath,arglist);
- arglist[0]=scriptexec;
+ narglist[0]= (char*)scriptexec;
execv(scriptexec,arglist);
ohshite(desc,name);
}
-E|--skip-same-version Skip packages whose same version is installed\n\
-G|--refuse-downgrade Skip packages with earlier version than installed\n\
-B|--auto-deconfigure Install even if it would break some other package\n\
- --largemem | --smallmem Optimise for large (>4Mb) or small (<4Mb) RAM use\n\
--no-act Just say what we would do - don't do it\n\
-D|--debug=<octal> Enable debugging - see -Dhelp or --debug=help\n\
--status-fd <n> Send status change updates to file descriptor <n>\n\
SOURCES = getopt.c getopt1.c long-options.c closeout.c obstack.c
OBJECTS = $(patsubst %.c, %.o, $(SOURCES))
-GENFILES = $(OBJECTS)
+GENFILES = $(OBJECTS) libopt.a
.PHONY: all
-all:: $(OBJECTS)
+all:: libopt.a
+libopt.a: $(OBJECTS)
+ $(AR) r $@ $^
+
.PHONY: install
install:: all
.\" Hey, Emacs! This is an -*- nroff -*- source file.
.\" Authors: Ian Jackson
-.TH 822\-DATE 1 "14th August 1996" "Debian Project" "Debian GNU/Linux manual"
+.TH 822\-DATE 1 "14th August 1996" "Debian Project" "dpkg utilities"
.SH NAME
822\-date \- Print date and time in RFC822 format
.SH SYNOPSIS
BIN_SCRIPTS = dpkg-name dpkg-source dpkg-genchanges \
dpkg-gencontrol dpkg-shlibdeps dpkg-buildpackage \
dpkg-parsechangelog dpkg-distaddfile 822-date \
- dpkg-scanpackages dpkg-scansources dpkg-architecture
+ dpkg-scanpackages dpkg-scansources \
+ dpkg-architecture dpkg-checkbuilddeps
SBIN_SCRIPTS = update-rc.d update-alternatives install-info \
dpkg-divert dpkg-statoverride cleanup-info
MAN1PAGES = dpkg-name.1 dpkg-source.1 822-date.1 \
- dpkg-architecture.1
+ dpkg-architecture.1 dpkg-checkbuilddeps.1
MAN8PAGES = update-rc.d.8 update-alternatives.8 install-info.8 \
cleanup-info.8 dpkg-scanpackages.8 dpkg-scansources.8 \
dpkg-divert.8 dpkg-statoverride.8
sub usageversion {
print STDERR
-"Debian GNU/Linux parsechangelog/dpkg $version. Copyright (C) 1996
+"Debian parsechangelog/dpkg $version. Copyright (C) 1996
Ian Jackson. This is free software; see the GNU General Public Licence
version 2 or later for copying conditions. There is NO warranty.
my $version = '1.1.6'; # This line modified by Makefile
sub version {
print STDERR <<END;
-Debian GNU/Linux cleanup-info $version. Copyright (C)1996 Kim-Minh Kaplan.
+Debian cleanup-info $version. Copyright (C)1996 Kim-Minh Kaplan.
This is free software; see the GNU General Public Licence
version 2 or later for copying conditions. There is NO warranty.
END
# Default host: Current gcc.
$gcc = `\${CC:-gcc} --print-libgcc-file-name`;
-$gcc =~ s!^.*gcc-lib/(.*)/(?:egcs-)?\d+(?:.\d+)*/libgcc.*$!$1!s;
-if ($gcc eq '') {
- &warn ("Couldn't determine gcc system type, falling back to default (native compilation)");
+if {$?>>8) {
+ &warn("Couldn't determine gcc system type, falling back to default (native compilation)");
+ $gcc = '';
} else {
+ $gcc =~ s!^.*gcc-lib/([^/]*)/(?:egcs-)?\d+(?:[.\da-z]*)/libgcc.*$!$1!s;
+ if (defined $1 and $! ne '') {
+ $gcc = $1;
+ } else {
+ &warn("Couldn't determine gcc system type, falling back to default (native compilation)");
+ $gcc = '';
+ }
+}
+
+if ($gcc ne '') {
@list = &gnu_to_debian($gcc);
if (!defined(@list)) {
&warn ("Unknown gcc system type $gcc, falling back to default (native compilation)"),
$gcc=$archtable{$list[0]};
$deb_host_arch = $list[0];
$deb_host_gnu_type = $gcc;
- $deb_host_gnu_cpu = $gcc;
- $deb_host_gnu_system = $gcc;
- $deb_host_gnu_cpu =~ s/-.*$//;
- $deb_host_gnu_system =~ s/^.*-//;
+ ($deb_host_gnu_system = $gcc) =~ s/^.*-//;
+ ($deb_host_gnu_cpu = $gcc ) =~ s/-.*$//;
}
}
if (!defined($deb_host_arch)) {
#$gcc =~ s!^.*gcc-lib/(.*)/\d+(?:.\d+)*/libgcc.*$!$1!s;
&warn("Specified GNU system type $deb_host_gnu_type does not match gcc system type $gcc.") if ($gcc ne '') && ($gcc ne $deb_host_gnu_type);
-undef @env;
+%env = ();
if (!$force) {
$deb_build_arch = $ENV{DEB_BUILD_ARCH} if (exists $ENV{DEB_BUILD_ARCH});
$deb_build_gnu_cpu = $ENV{DEB_BUILD_GNU_CPU} if (exists $ENV{DEB_BUILD_GNU_CPU});
$deb_host_gnu_type = $ENV{DEB_HOST_GNU_TYPE} if (exists $ENV{DEB_HOST_GNU_TYPE});
}
-push @env, "DEB_BUILD_ARCH=$deb_build_arch";
-push @env, "DEB_BUILD_GNU_CPU=$deb_build_gnu_cpu";
-push @env, "DEB_BUILD_GNU_SYSTEM=$deb_build_gnu_system";
-push @env, "DEB_BUILD_GNU_TYPE=$deb_build_gnu_type";
-push @env, "DEB_HOST_ARCH=$deb_host_arch";
-push @env, "DEB_HOST_GNU_CPU=$deb_host_gnu_cpu";
-push @env, "DEB_HOST_GNU_SYSTEM=$deb_host_gnu_system";
-push @env, "DEB_HOST_GNU_TYPE=$deb_host_gnu_type";
+@ordered = qw(DEB_BUILD_ARCH DEB_BUILD_GNU_CPU
+ DEB_BUILD_GNU_SYSTEM DEB_BUILD_GNU_TYPE
+ DEB_HOST_ARCH DEB_HOST_GNU_CPU
+ DEB_HOST_GNU_SYSTEM DEB_HOST_GNU_TYPE);
+
+$env{'DEB_BUILD_ARCH'}=$deb_build_arch;
+$env{'DEB_BUILD_GNU_CPU'}=$deb_build_gnu_cpu;
+$env{'DEB_BUILD_GNU_SYSTEM'}=$deb_build_gnu_system;
+$env{'DEB_BUILD_GNU_TYPE'}=$deb_build_gnu_type;
+$env{'DEB_HOST_ARCH'}=$deb_host_arch;
+$env{'DEB_HOST_GNU_CPU'}=$deb_host_gnu_cpu;
+$env{'DEB_HOST_GNU_SYSTEM'}=$deb_host_gnu_system;
+$env{'DEB_HOST_GNU_TYPE'}=$deb_host_gnu_type;
if ($action eq 'l') {
- print join("\n",@env)."\n";
+ foreach $k (@ordered) {
+ print "$k=$env{$k}\n";
+ }
} elsif ($action eq 's') {
- print "export ".join("\n",@env)."\n" if ($#env != 0);
- print "export ".join("\nexport ",@env)."\n" if ($#enf != 0);
+ foreach $k (@ordered) {
+ print "$k=$env{$k}; ";
+ }
+ print "export ".join(" ",@ordered)."\n";
} elsif ($action eq 'u') {
- print "unset DEB_BUILD_ARCH DEB_BUILD_GNU_CPU DEB_BUILD_GNU_SYSTEM DEB_BUILD_GNU_TYPE DEB_HOST_ARCH DEB_HOST_GNU_CPU DEB_HOST_GNU_SYSTEM DEB_HOST_GNU_TYPE\n";
+ print "unset ".join(" ",@ordered)."\n";
} elsif ($action eq 'c') {
- foreach $_ (@env) {
- m/^(.*)=(.*)$/;
- $ENV{$1}=$2;
- }
+ @ENV{keys %env} = values %env;
exec @ARGV;
} elsif ($action eq 'q') {
- undef %env;
- foreach $_ (@env) {
- m/^(.*)=(.*)$/;
- $env{$1}=$2;
- }
if (exists $env{$req_variable_to_print}) {
print "$env{$req_variable_to_print}\n"; # works because -q implies -f !
+ print "$env{$req_variable_to_print}\n";
} else {
die "$req_variable_to_print is not a supported variable name";
}
If you have questions about the usage of the make variables in your rules
files, or about cross compilation support in your packages, please email me.
-The addresse is Marcus Brinkmann <brinkmd@debian.org>.
+The address is Marcus Brinkmann <brinkmd@debian.org>.
progname="`basename \"$0\"`"
usageversion () {
cat >&2 <<END
-Debian GNU/Linux dpkg-buildpackage $version.
+Debian dpkg-buildpackage $version.
Copyright (C) 1996 Ian Jackson.
Copyright (C) 2000 Wichert Akkerman
This is free software; see the GNU General Public Licence version 2
Usage: dpkg-buildpackage [options]
Options: -r<gain-root-command>
-p<sign-command>
+ -d do not check build dependencies and conflicts
+ -D check build dependencies and conflicts
-k<keyid> the key to use for signing
-sgpg the sign-command is called like GPG
-spgp the sign-command is called like PGP
- -sdebsign the sign-command works like debsign
-us unsigned source
-uc unsigned changes
-a<arch> Debian architecture we build for
signsource='withecho signfile'
signchanges='withecho signfile'
cleansource=false
+checkbuilddep=true
+checkbuilddep_args=''
binarytarget=binary
sourcestyle=''
version=''
-r*) rootcommand="$value" ;;
-p*) signcommand="$value" ;;
-k*) signkey="$value" ;;
+ -d) checkbuilddep=false ;;
+ -D) checkbuilddep=true ;;
-sgpg) forcesigninterface=gpg ;;
-spgp) forcesigninterface=pgp ;;
- -sdebsign) forcesigninterface=debsign ;;
-us) signsource=: ;;
-uc) signchanges=: ;;
-ap) usepause="true";;
-nc) noclean=true; if [ -z "$binaryonly" ]; then binaryonly=-b; fi ;;
-b) binaryonly=-b; [ "$sourceonly" ] && \
{ echo >&2 "$progname: cannot combine $1 and -S" ; exit 2 ; } ;;
- -B) binaryonly=-B; binarytarget=binary-arch; [ "$sourceonly" ] && \
+ -B) binaryonly=-B; checkbuilddep_args=-B; binarytarget=binary-arch; [ "$sourceonly" ] && \
{ echo >&2 "$progname: cannot combine $1 and -S" ; exit 2 ; } ;;
- -S) sourceonly=-S; [ "$binaryonly" ] && \
+ -S) sourceonly=-S; checkbuilddep=false; [ "$binaryonly" ] && \
{ echo >&2 "$progname: cannot combine $binaryonly and $1" ; exit 2 ; } ;;
-v*) since="$value" ;;
-m*) maint="$value" ;;
signinterface=$signcommand
fi
-if [ "$signinterface" != "gpg" -a "$signinterface" != "pgp" -a \
- "$signitnerface" != "debsign" ] ; \
+if [ "$signinterface" != "gpg" -a "$signinterface" != "pgp" ] ; then
echo >&2 "$progname: invalid sign interface specified"
exit 1
fi
-if test "$signinterface" = "debsign"; then
- signsource=:
-fi
-
mustsetvar () {
if [ "x$2" = x ]; then
echo >&2 "$progname: unable to determine $3" ; \
mustsetvar version "`dpkg-parsechangelog | sed -n 's/^Version: //p'`" "source version"
if [ -n "$maint" ]; then maintainer="$maint";
else mustsetvar maintainer "`dpkg-parsechangelog | sed -n 's/^Maintainer: //p'`" "source maintainer"; fi
-eval `dpkg-architecture -a${arch} -t${targetgnusystem} -s`
-archlist=`dpkg-architecture -a${targetarch} -t${targetgnusystem} -f 2> /dev/null`
+eval `dpkg-architecture -a${arch} -t${targetgnusystem} -s -f`
+env
+exit 0
if [ x$sourceonly = x ]; then
- mustsetvar arch "`dpkg-architecture -a${targetarch} -t${targetgnusystem} -qDEB_HOST_ARCH`" "build architecture"
+ mustsetvar arch "`dpkg-architecture -a${targetarch} -t${targetgnusystem} -qDEB_BUILD_ARCH`" "build architecture"
else
arch=source
fi
(cat "../$1" ; echo "") | \
$signcommand --local-user "${signkey:-$maintainer}" --clearsign --armor \
--textmode > "../$1.asc"
- elif test "$signinterface" = "debsign"; then
- if test x$signkey != x; then
- $signcommand -k"$signkey" ../$1
- else
- $signcommand ../$1
- fi
- return
else
$signcommand -u "${signkey:-$maintainer}" +clearsig=on -fast <"../$1" \
>"../$1.asc"
"$@"
}
+if [ "$checkbuilddep" = "true" ]; then
+ if ! dpkg-checkbuilddeps $checkbuilddep_args; then
+ echo >&2 "$progname: Build dependancies/conflicts unsatisfied; aborting."
+ echo >&2 "$progname: (Use -d flag to override.)"
+ exit 3
+ fi
+fi
+
set -- $binaryonly $sourceonly $sourcestyle
if [ -n "$maint" ]; then set -- "$@" "-m$maint" ; fi
if [ -n "$changedby" ]; then set -- "$@" "-e$changedby" ; fi
if [ -n "$desc" ]; then set -- "$@" "-C$desc" ; fi
if [ x$noclean != xtrue ]; then
- withecho $rootcommand debian/rules clean $archlist
+ withecho $rootcommand debian/rules clean
fi
if [ x$binaryonly = x ]; then
cd ..; withecho dpkg-source $diffignore -b "$dirn"; cd "$dirn"
fi
if [ x$sourceonly = x ]; then
- withecho debian/rules build $archlist
- withecho $rootcommand debian/rules $binarytarget $archlist
+ withecho debian/rules build
+ withecho $rootcommand debian/rules $binarytarget
fi
if [ "$usepause" = "true" -a "signchanges" != ":" ] && [ "x$binaryonly" = x -o "x$signchanges" != x ] ; then
echo Press the return key to start signing process
$signchanges "$pva.changes"
if $cleansource; then
- withecho $rootcommand debian/rules clean $archlist
+ withecho $rootcommand debian/rules clean
fi
echo "dpkg-buildpackage: $srcmsg"
sub usageversion {
print STDERR
-"Debian GNU/Linux dpkg-distaddfile $version. Copyright (C) 1996
+"Debian dpkg-distaddfile $version. Copyright (C) 1996
Ian Jackson. This is free software; see the GNU General Public Licence
version 2 or later for copying conditions. There is NO warranty.
$admindir= "/var/lib/dpkg"; # This line modified by Makefile
sub showversion {
- print("Debian GNU/Linux dpkg-divert $version.\n") || &quit("failed to write version: $!");
+ print("Debian dpkg-divert $version.\n") || &quit("failed to write version: $!");
}
sub usage {
sub usageversion {
print STDERR
-"Debian GNU/Linux dpkg-genchanges $version.
+"Debian dpkg-genchanges $version.
Copyright (C) 1996 Ian Jackson.
-Copyright (C) 2000 Wichert Akkerman.
+Copyright (C) 2000,2001 Wichert Akkerman.
This is free software; see the GNU General Public Licence version 2 or later
for copying conditions. There is NO warranty.
sub usageversion {
print STDERR
-"Debian GNU/Linux dpkg-gencontrol $version.
+"Debian dpkg-gencontrol $version.
Copyright (C) 1996 Ian Jackson.
Copyright (C) 2000 Wichert Akkerman.
This is free software; see the GNU General Public Licence version 2 or later
-v<forceversion> set version of binary package
-f<fileslistfile> write files here instead of debian/files
-P<packagebuilddir> temporary build dir instead of debian/tmp
+ -n<filename> assume the package filename will be <filename>
-O write to stdout, not .../DEBIAN/control
-is include section field
-ip include priority field
$substvar{$1}= $';
} elsif (m/^-T/) {
$varlistfile= $';
+ } elsif (m/^-n/) {
+ $forcefilename= $';
} elsif (m/^-h$/) {
&usageversion; exit(0);
} else {
}
$sversion=$f{'Version'};
$sversion =~ s/^\d+://;
-print(Y &substvars(sprintf("%s_%s_%s.deb %s %s\n",
- $oppackage,$sversion,$f{'Architecture'},
+$forcefilename=sprintf("%s_%s_%s.deb", $oppackage,$sversion,$f{'Architecture'})
+ unless ($forcefilename);
+print(Y &substvars(sprintf("%s %s %s\n", $forcefilename,
&spfileslistvalue('Section'), &spfileslistvalue('Priority'))))
|| &syserr("write new entry to new files list file");
close(Y) || &syserr("close new files list file");
.\" This is free software; see the GNU General Public Licence version 2
.\" or later for copying conditions. There is NO warranty.
.\" Time-stamp: <96/05/03 14:00:06 root>
-.TH dpkg-name 1 "May 1996" "Debian Project" "Debian GNU/Linux"
+.TH dpkg-name 1 "May 1996" "Debian Project" "dpkg utilities"
.SH NAME
dpkg\-name \- rename Debian packages to full package names
.SH SYNOPSIS
.B "\-l, \-\-license"
Print copyright information and (a reference to GNU) license
information and exit successfully.
-.SH BUGS?
-Successfully tested on
-.B Debian GNU/Linux
-systems only. Some packages don't follow the name structure
+.SH BUGS
+Some packages don't follow the name structure
<package>_<version>_<architecture>.deb. Packages renamed by dpkg-name
will follow this structure. Generally this will have no impact on how
packages are installed by dselect/dpkg, but other installation tools
#!/usr/bin/perl
-$dpkglibdir= ".";
+$dpkglibdir= "/usr/lib/dpkg";
$version= '1.3.0'; # This line modified by Makefile
$format='debian';
sub usageversion {
print STDERR
-"Debian GNU/Linux dpkg-source $version. Copyright (C) 1996
-Ian Jackson. This is free software; see the GNU General Public Licence
+"Debian dpkg-source $version.
+Copyright (C) 1996 Ian Jackson.
+Copyright (C) 2001 Wichert Akkerman
+This is free software; see the GNU General Public Licence
version 2 or later for copying conditions. There is NO warranty.
Usage: dpkg-parsechangelog [<option> ...]
@ARGV && &usageerr("$progname takes no non-option arguments");
$changelogfile= "./$changelogfile" if $changelogfile =~ m/^\s/;
-if (!$force) {
+if (not $force and $changelogfile ne "-") {
open(STDIN,"< $changelogfile") ||
&error("cannot open $changelogfile to find format: $!");
open(P,"tail -40 |") || die "cannot fork: $!\n";
close(P); $? && &subprocerr("tail of $changelogfile");
}
+
for $pd (@parserpath) {
$pa= "$pd/$format";
if (!stat("$pa")) {
defined($pf) || &error("format $pa unknown");
-open(STDIN,"< $changelogfile") || die "cannot open $changelogfile: $!\n";
+if ($changelogfile ne "-") {
+ open(STDIN,"< $changelogfile") || die "cannot open $changelogfile: $!\n";
+}
exec($pf,@ap); die "cannot exec format parser: $!\n";
+
.\" You should have received a copy of the GNU General Public
.\" License along with dpkg; if not, write to the Free Software
.\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-.TH DPKG-SCANPACKAGES 8 "1996-07-08" "Debian GNU/Linux"
+.TH DPKG-SCANPACKAGES 8 "1996-07-08" "Debian project" "dpkg utilities"
.SH NAME
dpkg-scanpackages \- create Packages files
.
$i=100; grep($pri{$_}=$i--,@fieldpri);
$#ARGV == 1 || $#ARGV == 2
- or die "Usage: dpkg-scanpackages binarypath overridefile pathprefix > Packages\n";
+ or die "Usage: dpkg-scanpackages binarypath overridefile [pathprefix] > Packages\n";
($binarydir, $override, $pathprefix) = @ARGV;
-d $binarydir or die "Binary dir $binarydir not found\n";
-e $override or die "Override file $override not found\n";
sub usageversion {
print STDERR
-"Debian GNU/Linux dpkg-shlibdeps $version.
+"Debian dpkg-shlibdeps $version.
Copyright (C) 1996 Ian Jackson.
Copyright (C) 2000 Wichert Akkerman.
This is free software; see the GNU General Public Licence version 2 or
.\" Hey, Emacs! This is an -*- nroff -*- source file.
.\" Authors: Ian Jackson
-.TH DPKG\-SOURCE 1 "Januari 2000" "Debian Project" "Debian GNU/Linux manual"
+.TH DPKG\-SOURCE 1 "Januari 2000" "Debian Project" "dpkg utilities"
.SH NAME
dpkg\-source, dpkg\-gencontrol, dpkg\-shlibdeps, dpkg\-genchanges,
dpkg\-buildpackage, dpkg\-distaddfile, dpkg\-parsechangelog
generated by a find command.) \fB-i\fR by itself enables the option,
with a default that will filter out CVS, RCS and libtool .deps
subdirectories, and all files within them, as well as ~ suffixed
-backup files and DEAD_JOE's.
+backup files and DEADJOEs.
This is very helpful in cutting out extraneous files that get included
in the .diff.gz, (eg: "debian/BUGS_TODO/*" or "debian/RCS/*,v"). For
option may be omitted; otherwise it is essential to select which
binary package's information to generate.
.TP
+.BI -n filename
+Assume the filename of the package will be
+.I filename
+instead of the normal package_version_arch.deb filename.
+.TP
.BR -is ", " -ip ", " -isp
Include the
.BR Section " and " Priority
after the package has been built.
.TP
.BR -us ", " -uc
-Do not sign the source package or the changelog, respectively.
+Do not sign the source package or the .changes file, respectively.
.TP
.BI -a architecture
Specify the Debian architecture we build for. The architecture of the
.TP
.B -i[<regexp>]
Passed unchanged to
-.B dpkg-source
+.BR dpkg-source .
+.TP
+.B -D
+Check build dependancies and conflicts; abort if unsatisfied.
.TP
+.B -d
+Do not check build dependancies and conflicts.
.SH DPKG-DISTADDFILE ARGUMENTS
.B dpkg-distaddfile
does not take any non-common options. It takes three non-option
sub usageversion {
print STDERR
-"Debian GNU/Linux dpkg-source $version. Copyright (C) 1996
+"Debian dpkg-source $version. Copyright (C) 1996
Ian Jackson and Klee Dienes. This is free software; see the GNU
General Public Licence version 2 or later for copying conditions.
There is NO warranty.
.TP
.I --list [<glob-pattern>]
List all overrides. If a glob pattern is specified restrict the output
-to overrides which match the glob.
+to overrides which match the glob. If there are no overrides or none
+match the glob \fBdpkg-statoverride\fR will exit with an exitcode of 1.
.TP
.I --force
Force an action, even if a sanity check would otherwise prohibit it.
}
$dowrite=0;
+$exitcode=0;
&badusage("no mode specified") unless $mode;
&ReadOverrides;
$file=$ARGV[0];
if (not defined $owner{$file}) {
print STDERR "No override present.\n";
- exit(0);
+ exit(0) if ($doforce);
+ exit(2);
}
delete $owner{$file};
delete $group{$file};
push(@list,"^$_\$");
}
$pat= join('|',@list);
+ $exitcode=1;
for $file (keys %owner) {
next unless ($file =~ m/$pat/o);
+ $exitcode=0;
print "$owner{$file} $group{$file} $mode{$file} $file\n";
}
}
&WriteOverrides if ($dowrite);
-exit(0);
+exit($exitcode);
sub ReadOverrides {
open(SO,"$admindir/statoverride") || &quit("cannot open statoverride: $!");
.\"
.\" This is free software; see the GNU General Public Licence version 2
.\" or later for copying conditions. There is NO warranty.
-.TH INSTALL-INFO 8 "29th November 1995" "Debian Project" "Debian GNU/Linux"
+.TH INSTALL-INFO 8 "29th November 1995" "Debian Project" "dpkg utilities"
.SH NAME
install\-info \- create or update entry in Info directory
.SH SYNOPSIS
$version= '0.93.42.2'; # This line modified by Makefile
sub version {
print STDERR <<END;
-Debian GNU/Linux install-info $version. Copyright (C) 1994,1995
+Debian install-info $version. Copyright (C) 1994,1995
Ian Jackson. This is free software; see the GNU General Public Licence
version 2 or later for copying conditions. There is NO warranty.
END
$version= '0.93.80'; # This line modified by Makefile
sub usageversion {
print(STDERR <<END)
-Debian GNU/Linux update-alternatives $version. Copyright (C) 1995
-Ian Jackson. This is free software; see the GNU General Public Licence
+Debian update-alternatives $version.
+Copyright (C) 1995 Ian Jackson.
+Copyright (C) 2000 Wichert Akkerman
+This is free software; see the GNU General Public Licence
version 2 or later for copying conditions. There is NO warranty.
Usage: update-alternatives --install <link> <name> <path> <priority>
.\" Hey, Emacs! This is an -*- nroff -*- source file.
.\" Authors: Ian Jackson
-.TH UPDATE\-RC.D 8 "2 March 1998" "Debian Project" "Debian/GNU Linux"
+.TH UPDATE\-RC.D 8 "2 March 1998" "Debian Project" "dpkg utilities"
.SH NAME
update\-rc.d \- install and remove System-V style init script links
.SH SYNOPSIS
not be removed when stopping the program.
.B NOTE:
This feature may not work in all cases. Most notably when the program
-being executed forks from it's main process. Because of this it is usually
+being executed forks from its main process. Because of this it is usually
only useful when combined with the
.B --background
option.