support DEB_BUILD_PROFILES and -P for build profiles
authorDavid Kalnischkies <david@kalnischkies.de>
Tue, 25 Feb 2014 13:26:18 +0000 (14:26 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Thu, 13 Mar 2014 12:58:44 +0000 (13:58 +0100)
commitce7f128c020e1347f91c6074238fc5da58c5df71
treed7ee2d69fd674597f61c170e415ffc4d1b7d6570
parent565ded7b65240b25ad8551789ac388c8ce72b1f4
support DEB_BUILD_PROFILES and -P for build profiles

Inspired by the rest of the patch in 661537, but abstract the
parsing of various ways of setting the build profiles more so it can
potentially be reused and all apt parts have the same behaviour.

Especially config options, cmdline options and environment will not be
combined as proposed as this isn't APTs usual behaviour and dpkg doesn't
do it either, so one overrides the other as it normally does.
apt-pkg/aptconfiguration.cc
apt-pkg/aptconfiguration.h
apt-pkg/deb/deblistparser.cc
apt-private/private-cmndline.cc
cmdline/apt-config.cc
cmdline/apt-get.cc
debian/control
doc/apt-get.8.xml
doc/apt.conf.5.xml
test/integration/framework
test/integration/test-bug-661537-build-profiles-support [new file with mode: 0755]