David Kalnischkies [Fri, 26 Jul 2013 18:37:34 +0000 (20:37 +0200)]
reenable automatic parallel build of APT
It works for a while now in manual tests, now lets see how it will
perform if enabled for all by default automatically.
David Kalnischkies [Fri, 26 Jul 2013 17:13:55 +0000 (19:13 +0200)]
implement debian/rules build-{arch,indep} as required by policy 3.9.4
David Kalnischkies [Fri, 26 Jul 2013 16:36:50 +0000 (18:36 +0200)]
correct management-typo in description found by lintian
David Kalnischkies [Fri, 26 Jul 2013 16:01:33 +0000 (18:01 +0200)]
add missing Turkish (tr) to po/LINGUAS
And while at it ensure that this can't happen again by letting the build
fail in case a po file is available but the language isn't mentioned in
the LINGUAS file (not even as a disabled language).
David Kalnischkies [Fri, 26 Jul 2013 12:38:18 +0000 (14:38 +0200)]
remove ALL_LINGUAS as it is overruled by po/LINGUAS
The list shows that it is ignored as some translations which are shipped
are not included here, so remove this source of possible confusion.
Git-Dch: Ignore
David Kalnischkies [Fri, 26 Jul 2013 12:12:29 +0000 (14:12 +0200)]
make autoconf happy by "mv configure.{in,ac}"
Git-Dch: Ignore
David Kalnischkies [Fri, 26 Jul 2013 10:20:50 +0000 (12:20 +0200)]
ensure that FileFd::Size returns 0 in error cases
David Kalnischkies [Fri, 26 Jul 2013 10:04:55 +0000 (12:04 +0200)]
proper cleanup varargs in _error (uncovered by Coverity)
Git-Dch: Ignore
David Kalnischkies [Fri, 26 Jul 2013 09:42:02 +0000 (11:42 +0200)]
use FileFd::Write instead of fwrite for errors
Using the static FileFd::Write method gives us error messages for free
so we use it here to avoid failing silently (with a fail silent error).
Git-Dch: Ignore
Michael Vogt [Fri, 26 Jul 2013 07:58:55 +0000 (09:58 +0200)]
update changelog for upload
David Kalnischkies [Fri, 26 Jul 2013 07:22:52 +0000 (09:22 +0200)]
request absolute URIs from proxies again (0.9.9.3 regession)
Commit
2b9c9b7f28b18f6ae3e422020e8934872b06c9f3 not only removes
keep-alive, but also changes the request URI send to proxies which are
required to be absolute URIs rather than the usual absolute paths.
Closes: 717891
David Kalnischkies [Thu, 25 Jul 2013 16:51:16 +0000 (18:51 +0200)]
pick up Translation-* even if only compressed available
On CD-ROMs Translation-* files are only in compressed form included in
the Release file. This used to work while we had no record of
Translation-* files in the Release file at all as APT would have just
guessed the (compressed) filename and accepted it (unchecked), but now
that it checks for the presents of entries and if it finds records it
expects the uncompressed to be verifiable.
This commit relaxes this requirement again to fix the regression.
We are still secure "enough" as we can validate the compressed file we have
downloaded, so we don't loose anything by not requiring a hashsum for
the uncompressed files to double-check them.
Closes: 717665
Michael Vogt [Thu, 25 Jul 2013 15:15:18 +0000 (17:15 +0200)]
skip all Description fields in apt-cache, not just first (Closes: 717254)
* skip all Description fields in apt-cache, not just first (Closes: 717254)
* fix 'apt-cache search' crash with missing description (Closes: 647590)
Michael Vogt [Thu, 25 Jul 2013 15:13:10 +0000 (17:13 +0200)]
Merge remote-tracking branch 'donkult/debian/sid' into debian/sid
Michael Vogt [Tue, 23 Jul 2013 18:09:05 +0000 (20:09 +0200)]
debian/apt.postinst:
* debian/apt.postinst:
- run /etc/kernel/postinst.d/apt-auto-removal once on upgrade
to ensure that the correct auto-removal list is generated
(closes: #717615)
Michael Vogt [Tue, 23 Jul 2013 17:55:14 +0000 (19:55 +0200)]
debian/apt.auto-removal.sh:
* debian/apt.auto-removal.sh:
- do not include debug symbol packages for the kernel in the
blacklist (closes: #717616)
David Kalnischkies [Thu, 18 Jul 2013 17:22:29 +0000 (19:22 +0200)]
fix 'apt-cache search' crash with missing description
Beside the earlier fixed 'apt-cache show', 'showpkg' and 'search' deal
with descriptions. 'showpkg' was fixed by fixing the cache generation
for 'show', but 'search' still segfaulted.
On the upside, it doesn't segfault any longer, on the downside, if a
package has no description at all (aka: not in the Packages file and not
in a Translation-* file) the package can't be found with 'search', even
if we search only by name. That is a shortcoming in the code, but fixing
it means rewriting it completely for dubious gain at best.
So this commit just skips packages without a description and is done.
Closes: 647590
David Kalnischkies [Thu, 18 Jul 2013 14:52:31 +0000 (16:52 +0200)]
skip all Description fields in apt-cache, not just first
Given a Packages file like:
[…]
Description: foo bar baz
moo moo moo
Multi-Arch: foreign
Description-md5:
97e204a9f4ad8c681dbd54ec7c505251
[…]
We have to display the Multi-Arch flag field as well as the fields
after the Description-md5, but not this field itself, as we already
have one printed alongside the Description we display.
Closes: 717254
Michael Vogt [Wed, 17 Jul 2013 14:18:05 +0000 (16:18 +0200)]
Merge remote-tracking branch 'geissert/proxy-keep-alive' into debian/sid
Michael Vogt [Wed, 17 Jul 2013 12:56:47 +0000 (14:56 +0200)]
fix if-clause to generate hook-info for 'rc' packages (Closes: 717006)
Michael Vogt [Wed, 17 Jul 2013 12:55:13 +0000 (14:55 +0200)]
Merge remote-tracking branch 'donkult/debian/sid' into debian/sid
David Kalnischkies [Tue, 16 Jul 2013 21:15:55 +0000 (23:15 +0200)]
fix if-clause to generate hook-info for 'rc' packages
The code incorrectly skips printing of current version information,
if the package has no current version (for APT, but for dpkg as it is
the case for packages which are removed but not purged) by using an
unintended "else if" rather than an "if".
Closes: 717006
Christian PERRIER [Tue, 16 Jul 2013 05:14:05 +0000 (07:14 +0200)]
Vietnamese updated by Tran Ngoc Quan. Closes: #717016
Raphael Geissert [Sun, 14 Jul 2013 16:38:03 +0000 (18:38 +0200)]
Do not send a connection: keep-alive, at all
Michael Vogt [Thu, 11 Jul 2013 18:44:52 +0000 (20:44 +0200)]
update changelog
David Kalnischkies [Wed, 10 Jul 2013 11:06:05 +0000 (13:06 +0200)]
prevent MarkInstall of unsynced Multi-Arch:same siblings
Multi-Arch: same packages can be co-installed, but need to have the same
version for all installed packages (aka "siblings"). Otherwise the
unsynced versions will fight against each other and the auto-install as
wel as the problem resolver will later have to decide between holding the
packages or to remove one of the siblings (usually a foreign) taking a
bunch of packages (like the entire foreign setup) with them.
The idea here is now to be more pro-active: MarkInstall will fail for
a package if the siblings aren't synced, so we don't allow a situation
in which a resolver has to decide if to hold or to remove-upgrade under
the assumption that the remove-upgrade decision is always wrong and
doesn't deserve to be explored (expect valid out-of-syncs of course).
Thats a pretty bold move to take for a library which is used by
different solvers so this check is done in IsInstallOk and can be
overridden if front-ends want to.
David Kalnischkies [Fri, 28 Jun 2013 18:42:18 +0000 (20:42 +0200)]
implement arch+= and arch-= for sources.list
Default is to acquire all architectures from APT::Architectures which
can be changed by arch=, but this isn't very flexible if you want
"mostly" the default as you have to hardcode the architectures then,
so arch-= and arch+= can be used to add/remove architectures from the
default set.
On a machine with 'amd64' and 'i386' configured the lines:
deb [arch+=armel] http://example.org/debian wheezy rocks
deb [arch-=amd64] http://example.org/debian jessie rocks
will result in the download of:
wheezy Packages for 'amd64', 'i386' and 'armel'
jessie Packages for 'i386'
David Kalnischkies [Wed, 26 Jun 2013 15:37:57 +0000 (17:37 +0200)]
Version 3 for DPkg::Pre-Install-Pkgs with MultiArch info
Adds on top of Version 2 to all displayed version numbers the
architecture as well as the MultiArch flag for consumption by the hooks.
Most of the time the architecture will be the same for both versions
displayed, but packages might change from "all" to "any" (or back)
between versions so we can't display the architecture for packages.
Pseudo-Format for Version 3:
<name> <version> <arch> <m-a-flag> <compare> <version> <arch> <m-a-flag>
Examples:
stuff - - none < 1 amd64 none **CONFIGURE**
libsame 1 i386 same < 2 i386 same **CONFIGURE**
stuff 2 i386 none > 1 i386 none **CONFIGURE**
libsame 2 i386 same > - - none **REMOVE**
toolkit 1 all foreign > - - none **REMOVE**
Closes: #712116
Michael Vogt [Thu, 11 Jul 2013 05:52:34 +0000 (07:52 +0200)]
debian/apt.auto-removal.sh: merge the remaining bits
Adam Conrad [Tue, 6 Nov 2012 22:54:31 +0000 (15:54 -0700)]
* Fix up two things in debian/apt.auto-removal.sh:
- Use exact matches with $-terminated regexes, so we don't get
confusion between similarly-named kernel flavours.
- Keep linux-backports-modules in sync with installed kernels.
Conflicts:
configure.in
debian/changelog
doc/apt-verbatim.ent
Michael Vogt [Mon, 5 Nov 2012 09:27:17 +0000 (10:27 +0100)]
get dpkg from apt-config as well and add robustness against missing/failing apt-config (for paranoia)
Conflicts:
debian/apt.auto-removal.sh
Steve Langasek [Sat, 3 Nov 2012 07:28:54 +0000 (08:28 +0100)]
Make sure we always have at least two kernels marked not for removal
Steve Langasek [Fri, 2 Nov 2012 23:39:19 +0000 (00:39 +0100)]
Michael Vogt [Wed, 10 Jul 2013 14:41:14 +0000 (16:41 +0200)]
apt-pkg/packagemanager.cc:
* apt-pkg/packagemanager.cc:
- increate APT::pkgPackageManager::MaxLoopCount to 5000
Michael Vogt [Fri, 5 Jul 2013 14:41:06 +0000 (16:41 +0200)]
debian/rules:
* debian/rules:
- call dh_clean in clean (closes: #714980)
Michael Vogt [Tue, 2 Jul 2013 06:58:43 +0000 (08:58 +0200)]
releasing version 0.9.9
Michael Vogt [Tue, 2 Jul 2013 06:45:03 +0000 (08:45 +0200)]
fix format string error
Michael Vogt [Tue, 2 Jul 2013 06:34:34 +0000 (08:34 +0200)]
update changelog
Michael Vogt [Tue, 2 Jul 2013 06:32:53 +0000 (08:32 +0200)]
Merge remote-tracking branch 'mvo/bugfix/bts-712433' into debian/sid
Michael Vogt [Tue, 2 Jul 2013 06:32:34 +0000 (08:32 +0200)]
Merge remote-tracking branch 'donkult/debian/sid' into debian/sid
Conflicts:
debian/changelog
Michael Vogt [Tue, 2 Jul 2013 06:27:56 +0000 (08:27 +0200)]
update changelog
Michael Vogt [Fri, 28 Jun 2013 05:37:55 +0000 (07:37 +0200)]
make starting debug output of pkgProblemResolver proper english
Michael Vogt [Thu, 27 Jun 2013 08:27:29 +0000 (10:27 +0200)]
use just one line for the debug output (thanks to donkult for the review)
Michael Vogt [Thu, 27 Jun 2013 05:26:39 +0000 (07:26 +0200)]
when doing MarkInstall() packages may also get removed, so show them in the debug output of Debug::pkgDepCache::AutoInstall=true
Michael Vogt [Thu, 27 Jun 2013 05:25:53 +0000 (07:25 +0200)]
show broken count when starting the resolver
Michael Vogt [Wed, 26 Jun 2013 05:38:02 +0000 (07:38 +0200)]
make update-po
Michael Vogt [Wed, 26 Jun 2013 05:35:16 +0000 (07:35 +0200)]
"mount path"->"mount point" and also make the warning a error when no CD-ROM is found
David Kalnischkies [Mon, 24 Jun 2013 14:34:38 +0000 (16:34 +0200)]
simple fork and pidfile aptwebserver
Forking only after being ready to accept clients avoids running races
with the tests which sometimes failed on the first 'apt-get update'
(or similar) with the previous background-start and hope for the best…
The commit fixes also some oversight output-order changes in regards to
Description-md5 and (I-M-S) race conditions in various tests.
Git-Dch: Ignore
Niels Thykier [Mon, 24 Jun 2013 11:22:54 +0000 (13:22 +0200)]
delete Memb on read-error in arfile
Git-Dch: Ignore
David Kalnischkies [Mon, 24 Jun 2013 10:51:29 +0000 (12:51 +0200)]
fix SHA2* cleanups to zero-out the complete context
GCC 4.8 is now clever enough to warn about:
contrib/sha2_internal.cc: In function ‘char* SHA256_End(SHA256_CTX*, char*)’:
contrib/sha2_internal.cc:656:31: warning: argument to ‘sizeof’ in ‘void*
memset(void*, int, size_t)’ call is the same expression as the destination;
did you mean to dereference it? [-Wsizeof-pointer-memaccess]
MEMSET_BZERO(context, sizeof(context));
So fix it as suggested. Its interesting though that the SHA2*
calculation as far as we need it works even without zeroing out.
Git-Dch: Ignore
David Kalnischkies [Mon, 24 Jun 2013 10:29:48 +0000 (12:29 +0200)]
do not modify DepIterator as we might check again
fixup for
42d51f333e8ef522fed02cdfc48663488d56c3a3
The for-loop iterating over the DepIterators which need configuration
can (and will be in 'complicated' situations) run multiple times, so we
can't just GlobOr on the DepIterator as it modifies it, so that the next
iteration over the list ends up checking another dependency leading us
into a 'Internal error, packages left unconfigured. foopkg' maybe or we
are 'lucky' and calculate a solution which might break down the line
Git-Dch: Ignore
Michael Vogt [Sat, 22 Jun 2013 08:03:24 +0000 (10:03 +0200)]
Improve the apt-cdrom output when no CD-ROM can be auto-detected
(closes: #712433)
David Kalnischkies [Thu, 20 Jun 2013 18:21:58 +0000 (20:21 +0200)]
fix syntax error in the configure-index
The file isn't supposed to be a valid config file, but it should
show valid syntax non-the-less.
Git-Dch: Ignore
David Kalnischkies [Mon, 17 Jun 2013 09:23:13 +0000 (11:23 +0200)]
trigger NODATA error for invalid InRelease files
With the selfgrown splitting we got the problem of not recovering
from networks which just reply with invalid data like those sending
us login pages to authenticate with the network (e.g. hotels) back.
The good thing about the InRelease file is that we know that it must
be clearsigned (a Release file might or might not have a detached sig)
so if we get a file but are unable to split it something is seriously
wrong, so there is not much point in trying further.
The Acquire system already looks out for a NODATA error from gpgv,
so this adds a new error message sent to the acquire system in case
the splitting we do now ourselves failed including this magic word.
Closes: #712486
David Kalnischkies [Sun, 16 Jun 2013 21:23:28 +0000 (23:23 +0200)]
tests: accept an explaination for msgfail
Git-Dch: Ignore
David Kalnischkies [Sat, 15 Jun 2013 21:58:12 +0000 (23:58 +0200)]
simple URI rewrite rules config for webserver
we have a test which required traditionally lighttpd to be executed
as it requires a webserver supporting some kind of URI rewriting.
Now with some lines of code our own webserver can do this and the
testcase can be enabled by default. This test hinted at the bug fixed
in the previous commit, so having more tests which can easily be run
is a good thing.
Git-Dch: Ignore
David Kalnischkies [Sat, 15 Jun 2013 21:47:07 +0000 (23:47 +0200)]
do not redownload unchanged InRelease files
Before we download the 'new' InRelease file the old file will be moved
out of the way with the name 'foobar_InRelease.reverify', so if no
partial file for the 'new' file exists take the modification time from
this reverify file, so that if we get an IMS hit for the InRelease file
we can move back the reverify file as new file rather than downloading
the 'new' file even though we already have it.
We do the same for Release files and this happened to work until the
reverify renaming was corrected for InRelease files.
David Kalnischkies [Sat, 15 Jun 2013 14:45:12 +0000 (16:45 +0200)]
add directory listing to the webserver
Git-Dch: Ignore
David Kalnischkies [Sat, 15 Jun 2013 13:45:22 +0000 (15:45 +0200)]
add a simple webserver for our testcases
APT needs to acquire data in a secure fashion over an inherently
unsecure way, known as the internet, while communicating with
unreliable partners, known as webservers and proxies.
For your integration tests we so far relied on 'normal' webservers,
but all of them have certain quirks and none is able to provide us
with all quirks which can be observed in the wild and we therefore
have to test with, so this webserver isn't trying to be fast, secure
or feature complete, but to provide all the quirks we need in a
consistent way.
This webserver also makes the APT project self-contained, as it is now
able to generate, serve as well as acquire package indexes. ;)
Git-Dch: Ignore
David Kalnischkies [Sat, 15 Jun 2013 08:35:04 +0000 (10:35 +0200)]
support \n and \r\n line endings in ReadMessages
David Kalnischkies [Sun, 16 Jun 2013 16:28:45 +0000 (18:28 +0200)]
try defaults if auto-detection failed in apt-cdrom
The default is to ask udev for location and mountpoints of CD-ROMs,
but the old way of specifying the mountpoint is still available and
is tried now in case udev doesn't find any CD-ROM.
It probably fails, too, but we get a bunch of error messages this
way and the user can get an idea of how to make his setup work even
if udev can't be convienced to return something useful.
Closes: #712433
David Kalnischkies [Sun, 16 Jun 2013 13:42:31 +0000 (15:42 +0200)]
handle missing "Description" in apt-cache show
do not blindly assume that all packages stanzas have a "Description:"
field in 'apt-cache show' as well as in the cache creation itself.
We instead assume now that if the stanza has a Description, it will not
be the first field as we look out for "\nDescription" to take care of
MD5sum as well as (maybe ignored) translated Descriptions embedded in
the package stanza.
Closes: #712435
David Kalnischkies [Thu, 13 Jun 2013 11:52:18 +0000 (13:52 +0200)]
fix file location for configure-index.gz in apt.conf(5)
Closes: #711921
David Kalnischkies [Sun, 9 Jun 2013 20:13:20 +0000 (22:13 +0200)]
tests: add an interactive 'test' with multiple cdroms
Can't be used as a test as is, but shows how to build multiple
CD-ROMs for tests and can be used to reproduce debbug #711456.
Git-Dch: Ignore
David Kalnischkies [Sun, 9 Jun 2013 16:58:34 +0000 (18:58 +0200)]
ensure state-dir exists before coyping cdrom files
We do the same in the acquire system which handles the 'normal'
downloads, so do it here as well even though its unlikely anyone
will ever notice (beside testcases of course …)
David Kalnischkies [Sun, 9 Jun 2013 16:33:48 +0000 (18:33 +0200)]
fail in CopyFile if the FileFds have error flag set
Testing for global PendingErrors in users of CopyFile is incorrect
in so far as unrelated errors will prevent us from copying perfectly
fine files and checking for the validity of the files is just better
in CopyFiles as it already checks if files are at least opened.
Add also a higher-level error message to the error stack if it fails.
David Kalnischkies [Fri, 31 May 2013 16:19:09 +0000 (18:19 +0200)]
stop building l10n if strings are unchanged
The buildsystem tried to build l10n for test applications which never
produced the output it expected causing it to try building it all the
time.
David Kalnischkies [Tue, 28 May 2013 16:48:28 +0000 (18:48 +0200)]
depend on libapt-pkg in the libapt-inst build process
fixing parallel build in the handcrafted buildsystem is a pain,
so its not enabled by default, but its works for me – sometimes
Git-Dch: Ignore
David Kalnischkies [Tue, 28 May 2013 16:17:55 +0000 (18:17 +0200)]
tests: add expected port for cve-2013-105 testcase
Git-Dch: Ignore
David Kalnischkies [Tue, 28 May 2013 16:08:32 +0000 (18:08 +0200)]
tests: trap-adding can be post- as well as prefix
For testcases it might sometimes be handy to add trap-actions
before the general cleanup, e.g. if it has set directories read-
only which rm doesn't want to remove even with --force applied
(its fine with files though)
Git-Dch: Ignore
David Kalnischkies [Sat, 25 May 2013 18:33:15 +0000 (20:33 +0200)]
OpenDescriptor should autoclose fd always on error
OpenInternDescriptor failures would cause additional errors to be
generated by double-closing an fd. Other errors (although these
are generated if the method is used incorrectly, so unlikely)
didn't close the fd aswell.
Closes: 704608
David Kalnischkies [Sat, 25 May 2013 18:27:33 +0000 (20:27 +0200)]
don't explicitly init ExtractTar InFd with invalid fd
The default constructor of the FileFd will kick in anyway,
which will know that the Fd is invalid while with this explicit
call it must be assumed that the fd is in fact valid, which
might generate errors in the future
David Kalnischkies [Sat, 25 May 2013 18:22:06 +0000 (20:22 +0200)]
set Fail flag in FileFd on all errors consistently
Previously some errors would set the Fail flag while some didn't
without a clear reason as all errors leave a bad FileFd behind,
so we use a helper now to ensure that all errors set the flag.
David Kalnischkies [Sat, 25 May 2013 18:18:15 +0000 (20:18 +0200)]
make the vprintf like _error->Insert public
Git-Dch: Ignore
David Kalnischkies [Sat, 25 May 2013 17:57:48 +0000 (19:57 +0200)]
fix support for multiple patterns in apt-cache search
Patterns can appear in the name as well as in the description,
they don't have to match all in the name/description only.
Closes: 691453
David Kalnischkies [Sat, 25 May 2013 17:47:28 +0000 (19:47 +0200)]
initialize the whole search array with zero
Git-Dch: Ignore
David Kalnischkies [Fri, 24 May 2013 08:20:38 +0000 (10:20 +0200)]
deprecate InstallProtect as a cpu-eating no-op
In the past packages were flagged "Protected" so that install/
remove markings where issued before the ProblemResolver.
Nowadays, the marking methods check if they are allowed to modify
the marking of a package instead, so that markings set by FromUser
calls are not overwritten anymore by automatic calls which elimates
the need for InstallProtect which just eats CPU now.
The method itself is left untouched for now in case frontend needs it
still for some wierd usecase, but they should be eliminated.
David Kalnischkies [Thu, 23 May 2013 10:14:56 +0000 (12:14 +0200)]
do unpacks before configures in SmartConfigure
Splits the big loop over dependencies in SmartConfigure which unpacks and
configures dependencies into two loops and reverse their order, so that all
dependencies which need to be unpacked are handled first and only after that
configures are issued for dependencies.
This is needed as otherwise the unpack of a (new) dependency will be issued
in between a configure call for two (or more) packages which form a loop,
which means the configure calls aren't part of the same dpkg call and
therefore dpkg bails out.
Such tight loops should really be avoided as they are usually wrong – and in
reality the dependencies in libreoffice were greatly simplified thanks to
Rene Engelhard so the problem is gone for the benefit of all.
Closes: 707578
David Kalnischkies [Tue, 21 May 2013 19:50:30 +0000 (21:50 +0200)]
try all providers in order if uninstallable in MarkInstall
David Kalnischkies [Tue, 21 May 2013 16:06:17 +0000 (18:06 +0200)]
fix priority sorting by prefering higher in MarkInstall
Used to work until a certain (here unnamed) person came along and used
the wrong operator causing low-priority packages to be sorted above
high-priority packages while choosing a provider in commit
2b5c35c7bb915dbd46fefd7c79f05364ba22f93b from Nov 2011
David Kalnischkies [Tue, 21 May 2013 15:10:21 +0000 (17:10 +0200)]
prefer Essentials over Removals in ordering score
Doing Removes early is good to have them out of the way, so they
don't break 'Inst' or 'Conf' chains, but scoring them above Essentials
means that we end up upgrading (many) less important packages before
we handle big stuff like libc6 or debconf which not only fails if those
less important packages have unannounced (strict) dependencies, but also
leads to having these packages unconfigured for a long time triggering
bugs in maintainer scripts for no good reason (#708831).
So this commits sets the default value for remove scores to 100, which
is below the one for essentials (200) and a lot lower than the previous
default value (500).
David Kalnischkies [Mon, 20 May 2013 22:05:14 +0000 (00:05 +0200)]
rewrite pkgOrderList::DepRemove to stop incorrect immediate setting
Some squeeze → wheezy upgrades indicate that DepRemove runs amok
in complicated setups as it wasn't correctly working with or-groups.
Completely rewritten the check is now moving from or-group to or-group
instead.
The behavior should be the same as the code before, but
(hopefully) with less bugs and more comments.
Closes: 645713
David Kalnischkies [Sun, 19 May 2013 16:53:19 +0000 (18:53 +0200)]
remove -ldl from cdrom and -lutil from apt-get linkage
Building src:apt shows:
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/apt/usr/lib/apt/methods/cdrom was not linked against libdl.so.2
(it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/apt/usr/bin/apt-get was not linked against libutil.so.1 (it uses
none of the library's symbols)
David Kalnischkies [Sun, 19 May 2013 13:49:24 +0000 (15:49 +0200)]
build the en manpages in subdirectory doc/en
Building manpages becames more consistent this way and
it is simpler to ignore build artefacts, too.
David Kalnischkies [Sun, 19 May 2013 09:39:44 +0000 (11:39 +0200)]
streamline .gitignore further
adding some comments, regrouping files and use some patterns to avoid
updating the ignore file for new translations or abi changes
Git-Dch: Ignore
Michael Vogt [Thu, 6 Jun 2013 17:25:59 +0000 (19:25 +0200)]
merged trunk
Michael Vogt [Thu, 6 Jun 2013 17:17:25 +0000 (19:17 +0200)]
Merge branch 'debian/sid' of https://github.com/ion1/apt into debian/sid
Michael Vogt [Thu, 6 Jun 2013 17:15:52 +0000 (19:15 +0200)]
prepare release
Michael Vogt [Thu, 6 Jun 2013 16:20:35 +0000 (18:20 +0200)]
Fix double free (closes: #711045)
* Fix double free (closes: #711045)
* Fix crash when the "mirror" method does not find any entry
(closes: #699303)
Michael Vogt [Thu, 6 Jun 2013 16:17:14 +0000 (18:17 +0200)]
fix double free (closes: #711045)
Johan Kiviniemi [Wed, 22 May 2013 18:14:33 +0000 (21:14 +0300)]
cmdline/apt-key: Accept nonexistent --keyring file with adv as well
Johan Kiviniemi [Wed, 22 May 2013 18:06:26 +0000 (21:06 +0300)]
cmdline/apt-key: Create new keyrings with mode 0644 instead of 0600
Michael Vogt [Thu, 16 May 2013 21:12:37 +0000 (23:12 +0200)]
* buildlib/apti18n.h.in:
- fix build failure when building without NLS (closes: #671587)
Michael Vogt [Thu, 16 May 2013 20:38:21 +0000 (22:38 +0200)]
debian/gbp.conf: add debian-tag key to ensure git-dch works
Julian Andres Klode [Thu, 16 May 2013 20:34:04 +0000 (22:34 +0200)]
Update changelog to include Vcs-* changes
Christian PERRIER [Thu, 16 May 2013 20:28:52 +0000 (22:28 +0200)]
French translation : typo fix. Closes: #677272
Guillem Jover [Thu, 16 May 2013 17:45:25 +0000 (19:45 +0200)]
Update Vcs fields
Use the canonical URLs. Rename Vcs-Bzr to Vcs-Git and use the more
efficient git protocol instead of http. Point Vcs-Browser to the
gitweb interface.
Michael Vogt [Thu, 16 May 2013 13:30:23 +0000 (15:30 +0200)]
add export-dir and debian-branch
Michael Vogt [Thu, 16 May 2013 13:02:24 +0000 (15:02 +0200)]
update .gitignore
Michael Vogt [Thu, 16 May 2013 12:58:56 +0000 (14:58 +0200)]
prepare upload