Adam Heath [Mon, 15 Sep 2003 02:17:44 +0000 (02:17 +0000)]
* scripts/controllib.pl, scripts/dpkg-checkbuilddeps.pl: Moved dependency
parsing logic from dpkg-checkbuilddeps. The dpkg-checkbuilddeps parser
didn't support empty fields, while the controllib parser did.
* scripts/controllib.pl:
* Dependency fields are now parsed into a nested list structure.
* All dependency fields now support [arch] constructs. Those that don't
apply for the current host_arch are removed during parsing.
* Comment lines(those that start with '#') are ignored during parsing.
* Store the original field's casing with 'o:' prepended in %fi.
* scripts/dpkg-checkbuilddeps.pl: Because of the above controllib.pl
changes, this script is much simpler now.
* scripts/dpkg-gencontrol.pl:
* Use the original casing of field names when reporting unknown fields.
* scripts/dpkg-gencontrol.pl, scripts/controllib.pl: After opening files,
Adam Heath [Sun, 14 Sep 2003 21:54:41 +0000 (21:54 +0000)]
* scripts/update-alternatives.{pl,8}:
* Apply patch that provides --set and --remove-all commands.
* --all calls --config on all alternatives.
* scripts/update-alternatives.pl:
* Alter --config prompt, to be more clear, that one must 'press' enter to
accept the default.
* Fix some -w issues.
* Check whether the target path exists when removing.
Adam Heath [Sun, 14 Sep 2003 01:49:08 +0000 (01:49 +0000)]
* scripts/update-alternatives.8: Add --config to action section, and add
as EXAMPLES section.
* scripts/install-info.pl: install-info --version and --help now display
on stdout.
* main/dpkg{,-query}.8: Mention what -S will not find.
* main/dpkg.8: Mention that downgrading a package can have serious
consequences.
* scripts/dpkg-scanpackages.8: Include small note that other tools might
use the generated Packages file.
* scripts/dpkg-source.1: Fix some typos.
* dselect/dselect.8: dselect is not the only interface for installing
packages nowadays.
* utils/start-stop-daemon.8: Note that --nicelevel takes an argument.
* man/en/deb-control.8: Remove duplicate 'can'.
* scripts/dpkg-scansources.pl: Fix short description.
* main/dpkg.8: Move dpkg-query options to their own subsection, like
dpkg-deb.
* main/main.c, main/dpkg.8: Add --dry-run and --simulate as synonyms to
--no-act.
* scripts/dpkg-architecture.pl: Fix wrong reference to
DEB_BUILD_GNU_SYSTEM on --host
* man/en/deb-control.5: s/Usuaully/Usually/
* dselect/dselect.8: Removed reference in dselect(8) about recommends not
being handled well.
* scripts/dpkg-parsechangelog.pl: s/dpkg-source/dpkg-parsechangelog/ in
-h
* scripts/dpkg-source.1: Unhighlight "May be repeated multiple times."
* dpkg-deb/main.c: Make all actions in -h lower case.
* utils/start-stop-daemon.[c8]: Add -g|--group.
* main/dpkg.8: s/THANKS/THANKS.gz/
* main/dpkg.8: Mention running dselect, install after --set-selections.
* main/main.c: Remove disabled --command-fd from help.
Adam Heath [Thu, 5 Sep 2002 21:31:54 +0000 (21:31 +0000)]
Make the multiline regex have an upper bound, instead of being unbounded,
as newer perls have a larger stack frame, which cause them to segfault
quicker with larger inputs.
Adam Heath [Sun, 1 Sep 2002 04:47:03 +0000 (04:47 +0000)]
Don't call nffreeall, in any of the c/c++ programs. It appears dselect
slightly corrupts it's memory enough that it can't be freed without
segfaulting.
Adam Heath [Sat, 24 Aug 2002 20:43:08 +0000 (20:43 +0000)]
Previous install-infos(before 1.10) handled multiple dir file entries,
because they would copy the entire stanza unmodified. The newest version
does not do this, as it reformats the options, and thereby only takes the
first line. So, we now split all the lines from the stanza, and process
them all.
Adam Heath [Sat, 24 Aug 2002 19:22:33 +0000 (19:22 +0000)]
Fix segfault when --auto-deconfigure is given. This is causes because the
deconfigure list is allocated in an obstack, but then freed with normal
free().
Adam Heath [Fri, 12 Jul 2002 03:32:00 +0000 (03:32 +0000)]
If in --test mode, and --stop is given, increment n_killed, so that
start-stop-daemon returns the proper exit value. Thanks Thomas Morin
<thomas.morin@enst-bretagne.fr>.