]>
git.saurik.com Git - apt.git/log
Raphael Geissert [Mon, 14 May 2012 16:27:37 +0000 (18:27 +0200)]
* methods/mirror.cc:
- generate an equal sign also for the first arch (Closes: #669142)
David Kalnischkies [Mon, 14 May 2012 16:07:34 +0000 (18:07 +0200)]
adapt manual testcase to check redirects of dists/, too
Raphael Geissert [Mon, 14 May 2012 16:07:01 +0000 (18:07 +0200)]
* apt-pkg/acquire*.cc:
- handle redirections in the worker with the right method instead of
in the method the redirection occured in (Closes: #668111)
* methods/http.cc:
- forbid redirects to change protocol
David Kalnischkies [Mon, 14 May 2012 14:53:43 +0000 (16:53 +0200)]
* apt-pkg/acquire-methods.cc:
- factor out into private Dequeue() to fix access to deleted pointer
David Kalnischkies [Mon, 14 May 2012 13:16:26 +0000 (15:16 +0200)]
* debian/control:
- move doxygen and debiandoc-sgml to Build-Depends-Indep as docs
are no longer build in the same target as the manpages
David Kalnischkies [Mon, 14 May 2012 12:39:15 +0000 (14:39 +0200)]
- separate manpages from the rest of the doc building
- make apt and apt-utils packages depend on manpages instead of full doc
David Kalnischkies [Fri, 11 May 2012 22:43:51 +0000 (00:43 +0200)]
* debian/rules:
- apt-utils packages manpages, so it should depend on build-doc
David Kalnischkies [Fri, 11 May 2012 22:40:36 +0000 (00:40 +0200)]
* prepare-release:
- apt-inst version isn't apt versions, so don't override variable
David Kalnischkies [Fri, 11 May 2012 22:36:44 +0000 (00:36 +0200)]
* Makefile, buildlib/*.mak:
- reshuffle dependencies so that parallel building seems to work
David Kalnischkies [Fri, 11 May 2012 22:11:07 +0000 (00:11 +0200)]
* apt-pkg/pkgcachegen.cc:
- make IsDuplicatedDescription static so that it is really private
as we don't need a symbol for it as it is not in a header
Michael Vogt [Fri, 11 May 2012 17:08:14 +0000 (19:08 +0200)]
releasing version 0.9.3
Michael Vogt [Fri, 11 May 2012 15:15:52 +0000 (17:15 +0200)]
merged from david
Michael Vogt [Fri, 11 May 2012 14:21:05 +0000 (16:21 +0200)]
merged from david
David Kalnischkies [Fri, 11 May 2012 04:49:19 +0000 (06:49 +0200)]
add a manually runable library action to help in maintaining the symbols files
David Kalnischkies [Thu, 10 May 2012 18:41:00 +0000 (20:41 +0200)]
* apt-inst/deb/debfile.h:
- readd 'md5.h' to the uncleaned header includes to make qapt build
against us again unchanged to unblock transition (Closes: #669163)
David Kalnischkies [Thu, 10 May 2012 18:40:47 +0000 (20:40 +0200)]
* apt-pkg/algorithms.cc:
- factor out of ListUpdate a AcquireUpdate to be able to provide your
own pkgAcquire fetcher to the wrapper
David Kalnischkies [Thu, 10 May 2012 16:47:51 +0000 (18:47 +0200)]
add a small wrapper to call gdb in the framework setting
David Kalnischkies [Thu, 10 May 2012 01:09:18 +0000 (03:09 +0200)]
ensure that d is set before accessing it
David Kalnischkies [Wed, 9 May 2012 23:54:32 +0000 (01:54 +0200)]
fix calling style of FileFd (no functional change)
David Kalnischkies [Wed, 9 May 2012 23:54:21 +0000 (01:54 +0200)]
ensure that in error conditions the Fail flag is set
David Kalnischkies [Wed, 9 May 2012 22:15:52 +0000 (00:15 +0200)]
we don't need zlib (anymore) in rred so don't include it
David Kalnischkies [Wed, 9 May 2012 22:14:50 +0000 (00:14 +0200)]
collect zombie (de)compressor processes on reopen
David Kalnischkies [Wed, 9 May 2012 20:05:18 +0000 (22:05 +0200)]
ensure that we do init d only once and especially not with its own
content as this causes some "interesting" hickups resulting in segfaults
as it seems (Closes: #554387, #670979)
David Kalnischkies [Wed, 9 May 2012 19:44:11 +0000 (21:44 +0200)]
* apt-pkg/aptconfiguration.cc:
- use NULL instead of "" for no (un)compress parameters
David Kalnischkies [Wed, 9 May 2012 17:16:39 +0000 (19:16 +0200)]
* apt-pkg/contrib/fileutl.cc:
- check that the fd which are closed are valid
YOSHINO Yoshihito [Mon, 7 May 2012 19:16:25 +0000 (21:16 +0200)]
* apt-pkg/acquire-worker.cc:
- revert the use of FileFd::Write in OutFdReady as we don't want error
reports about EAGAIN here as we retry later. Thanks to YOSHINO Yoshihito
for the report. (Closes: #671721)
David Kalnischkies [Sat, 5 May 2012 13:37:31 +0000 (15:37 +0200)]
ensure that apti18n.h is included last as advertised (Closes: #671623)
David Kalnischkies [Sat, 5 May 2012 00:06:49 +0000 (02:06 +0200)]
check if we work on a valid description in IsDuplicateDescription as
we end up working on dangling pointers otherwise which segfaults on
s390x and ppc64 (Closes: #669427)
David Kalnischkies [Wed, 2 May 2012 21:13:26 +0000 (23:13 +0200)]
add a simple test for HashSumValue classes
David Kalnischkies [Wed, 2 May 2012 20:31:49 +0000 (22:31 +0200)]
* apt-pkg/deb/deblistparser.cc:
- check length and containing chars for a given description md5sum
David Kalnischkies [Wed, 2 May 2012 20:00:02 +0000 (22:00 +0200)]
* apt-pkg/pkgcachegen.cc:
- check if NewDescription allocation has failed and error out accordingly
David Kalnischkies [Wed, 2 May 2012 17:20:56 +0000 (19:20 +0200)]
* debian/libapt-inst1.5.symbols:
- use the correct library name the symbols header
Michael Vogt [Wed, 25 Apr 2012 15:02:24 +0000 (17:02 +0200)]
merged from donkult
David Kalnischkies [Mon, 23 Apr 2012 20:03:23 +0000 (22:03 +0200)]
provider is only a possible solution if the provides has the right
version (or none as we have no versioned provides in debian) and not
if the version of the provider matches
David Kalnischkies [Mon, 23 Apr 2012 17:33:32 +0000 (19:33 +0200)]
/dev/null is a special absolute path as it has no subdirectories
David Kalnischkies [Mon, 23 Apr 2012 17:11:11 +0000 (19:11 +0200)]
normalize a bit by replacing // and /./ with / in FindFile
David Kalnischkies [Mon, 23 Apr 2012 16:24:19 +0000 (18:24 +0200)]
* edsp/edspsystem.cc:
- check with RealFileExists for scenario file as otherwise a directory
like one provided with RootDir triggers the usage of EDSP
David Kalnischkies [Mon, 23 Apr 2012 15:46:11 +0000 (17:46 +0200)]
* apt-pkg/depcache.cc:
- clearly separate 'positive' and 'negative' dependencies and
their upgrade-resolution tries in MarkInstall and especially don't
treat Conflicts differently compared to Breaks here
David Kalnischkies [Sun, 22 Apr 2012 11:01:37 +0000 (13:01 +0200)]
* apt-pkg/cdrom.cc:
- use Dump() to generate the configuration output
David Kalnischkies [Sun, 22 Apr 2012 10:29:24 +0000 (12:29 +0200)]
* cmdline/apt-config.cc:
- make it possible to limit dump to a subtree
- implement --empty and --format option for dump
David Kalnischkies [Sun, 22 Apr 2012 10:28:54 +0000 (12:28 +0200)]
* apt-pkg/acquire-worker.cc:
- use Dump() to generate the configuration message for sending
David Kalnischkies [Sun, 22 Apr 2012 10:28:10 +0000 (12:28 +0200)]
* apt-pkg/contrib/configuration.cc:
- add a more versatile Dump() method
David Kalnischkies [Sat, 21 Apr 2012 16:26:49 +0000 (18:26 +0200)]
* apt-pkg/contrib/strutl.cc:
- remove the message size limit from ioprintf and strprintf
Michael Vogt [Fri, 20 Apr 2012 12:30:39 +0000 (14:30 +0200)]
releasing version 0.9.2
Michael Vogt [Fri, 20 Apr 2012 09:11:21 +0000 (11:11 +0200)]
merged from bzr+ssh://bazaar.launchpad.net/~donkult/apt/sid/
David Kalnischkies [Fri, 20 Apr 2012 09:05:35 +0000 (11:05 +0200)]
fix a bug uncovered by the previous commit which checks if a Compressor
preference given by the Order setting is really available before adding
it as possible CompressionType.
Michael Vogt [Fri, 20 Apr 2012 08:37:04 +0000 (10:37 +0200)]
merged from lp:~donkult/apt/sid
David Kalnischkies [Fri, 20 Apr 2012 08:13:17 +0000 (10:13 +0200)]
* apt-pkg/cacheset.cc:
- actually return to the fallback modifier if we have detected we
should for packagenames which look like modifiers (Closes: #669591)
David Kalnischkies [Fri, 20 Apr 2012 07:53:24 +0000 (09:53 +0200)]
* apt-pkg/contrib/sha2_internal.cc:
- do not use the input data directly but memcpy it instead as
it could be unaligned as in the http-transport which causes
a sigbus error on sparc (Closes: #669061)
David Kalnischkies [Fri, 20 Apr 2012 07:52:17 +0000 (09:52 +0200)]
* apt-pkg/aptconfiguration.cc:
- if the compressor is not installed, but we link against it's
library accept it as a CompressionType (Closes: #669328)
Michael Vogt [Fri, 20 Apr 2012 07:18:26 +0000 (09:18 +0200)]
merge from the lp:~mvo/apt/mvo branch
Michael Vogt [Fri, 20 Apr 2012 07:12:56 +0000 (09:12 +0200)]
cherry pick r1975 from lp:~ubuntu-core-dev/apt/ubuntu
David Kalnischkies [Thu, 19 Apr 2012 20:41:25 +0000 (22:41 +0200)]
add a very simple testcase for the lp#985852 fix in the previous commit
Malcolm Scott [Thu, 19 Apr 2012 20:38:30 +0000 (22:38 +0200)]
* apt-pkg/packagemanager.cc:
- iterate over all pre-depends or-group member instead of looping
endlessly over the first member in SmartUnpack (LP: #985852)
David Kalnischkies [Thu, 19 Apr 2012 13:53:27 +0000 (15:53 +0200)]
update the changelog with a Closes tag for the newly reported all apt
essential issue
David Kalnischkies [Thu, 19 Apr 2012 09:05:41 +0000 (11:05 +0200)]
* apt-pkg/contrib/fileutl.cc:
- redirect stderr from compressors to /dev/null
Michael Vogt [Thu, 19 Apr 2012 08:54:44 +0000 (10:54 +0200)]
* apt-inst/contrib/extracttar.cc:
- ensure that in StartGzip the InFd is set to "AutoClose" to ensure
that the pipe is closed when InFd is closed. This fixes a Fd leak
(LP: #985452)
David Kalnischkies [Thu, 19 Apr 2012 08:29:02 +0000 (10:29 +0200)]
ignore the order used for the 'apt' package as long as it is valid either way
David Kalnischkies [Wed, 18 Apr 2012 16:13:30 +0000 (18:13 +0200)]
* apt-pkg/deb/deblistparser.cc:
- only treat the native apt as essential by default
David Kalnischkies [Tue, 17 Apr 2012 21:47:35 +0000 (23:47 +0200)]
newer gcc versions seems to have no problem with that, but while working
with g++-4.1 it complains about this so lets be extra clear
David Kalnischkies [Tue, 17 Apr 2012 21:45:52 +0000 (23:45 +0200)]
ensure that not --assert-multi-arch supporting dpkg's do not generate
output in the testcases by redirecting to /dev/null
Michael Vogt [Tue, 17 Apr 2012 07:56:44 +0000 (09:56 +0200)]
releasing version 0.9.1
Michael Vogt [Tue, 17 Apr 2012 07:55:54 +0000 (09:55 +0200)]
doc/* i18n refresh
Michael Vogt [Tue, 17 Apr 2012 07:18:34 +0000 (09:18 +0200)]
merged from lp:~donkult/apt/sid
David Kalnischkies [Mon, 16 Apr 2012 21:55:39 +0000 (23:55 +0200)]
* apt-pkg/packagemanager.cc:
- init counter in SmartConfigure so that the loop-breaker isn't
triggered at random… (Closes: #669060)
David Kalnischkies [Mon, 16 Apr 2012 21:55:21 +0000 (23:55 +0200)]
* cmdline/apt-get.cc:
- if pkgCacheFile::Generate is disabled in 'update' don't
remove the caches (and don't try to open them)
Michael Vogt [Mon, 16 Apr 2012 17:24:07 +0000 (19:24 +0200)]
merge from the expermental2 branch
Michael Vogt [Mon, 16 Apr 2012 17:05:31 +0000 (19:05 +0200)]
releasing version 0.9.0
Michael Vogt [Thu, 12 Apr 2012 13:14:57 +0000 (15:14 +0200)]
releasing version 0.9.0~exp1
Michael Vogt [Thu, 12 Apr 2012 13:13:53 +0000 (15:13 +0200)]
(semi)automatic translations update
Michael Vogt [Thu, 12 Apr 2012 13:13:08 +0000 (15:13 +0200)]
apt-pkg/packagemanager.cc: tweak MaxLoopCount to 500 and improve the error message
Michael Vogt [Thu, 12 Apr 2012 10:23:57 +0000 (12:23 +0200)]
merged r1972 from lp:~paolorotolo/apt/fix-for-967393
Michael Vogt [Thu, 12 Apr 2012 10:18:43 +0000 (12:18 +0200)]
merged r1970 lp:~vorlon/apt/lp.968828
Michael Vogt [Wed, 11 Apr 2012 16:12:50 +0000 (18:12 +0200)]
prepare new experimtnal upload
Michael Vogt [Wed, 11 Apr 2012 15:45:36 +0000 (17:45 +0200)]
merged from donkults experimental branch
David Kalnischkies [Wed, 11 Apr 2012 11:25:28 +0000 (13:25 +0200)]
use a static FileFd::Write overload to reduce duplication of write()-retry code
David Kalnischkies [Wed, 11 Apr 2012 10:36:32 +0000 (12:36 +0200)]
fix the remaining lzma calls with xz --format=lzma in the testcases
David Kalnischkies [Wed, 11 Apr 2012 10:12:24 +0000 (12:12 +0200)]
* cmdline/apt-get.cc:
- print list of autoremoves in alphabetical order (Closes: #639008)
David Kalnischkies [Wed, 11 Apr 2012 09:57:48 +0000 (11:57 +0200)]
use xz-utils in the testcases instead of lzma and ensure that we really
ignore the presents (or absence) of lzma if we decided to use xz
Michael Vogt [Wed, 11 Apr 2012 08:21:05 +0000 (10:21 +0200)]
* debian/control:
- suggest xz-lzma instead of lzma
bubulle@debian.org [Fri, 6 Apr 2012 18:09:13 +0000 (20:09 +0200)]
Drop hardcoded "en.html" suffix in apt-secure manpage.
Thanks to David Prevot.
David Kalnischkies [Thu, 5 Apr 2012 19:37:57 +0000 (21:37 +0200)]
suggest xz-utils instead of bzip2 and lzma
David Kalnischkies [Thu, 5 Apr 2012 18:51:36 +0000 (20:51 +0200)]
- add libbz2-dev as new build-dependency
- remove the libz-dev alternative from zlib1g-dev build-dependency
- do the same for bz2 builtin if available
* apt-pkg/contrib/fileutl.cc:
- use libz2 library for (de)compression instead of the bzip2 binary as
the first is a dependency of dpkg and the later just priority:optional
so we gain 'easier' access to bz2-compressed Translation files this way
David Kalnischkies [Thu, 5 Apr 2012 17:02:08 +0000 (19:02 +0200)]
if we have zlib builtin insert add a dummy gzip compressor for FileFD
David Kalnischkies [Thu, 5 Apr 2012 16:51:06 +0000 (18:51 +0200)]
* methods/bzip2.cc:
- remove it as the functionality for all compressors can be
provided by gzip.cc now with the usage of FileFD
David Kalnischkies [Thu, 5 Apr 2012 16:49:13 +0000 (18:49 +0200)]
* apt-pkg/aptconfiguration.cc:
- if present, prefer xz binary over lzma
David Kalnischkies [Thu, 5 Apr 2012 13:18:03 +0000 (15:18 +0200)]
detect zlib correctly. We still don't allow to build without it to remain
compatible with users accessing it directly, but this prepares for a drop
of this strict requirement in the future
David Kalnischkies [Thu, 5 Apr 2012 12:54:45 +0000 (14:54 +0200)]
db2 isn't used for ages now, so complain about missing libdb instead
Bogdan Purcareata [Thu, 5 Apr 2012 10:03:37 +0000 (12:03 +0200)]
* cmdline/apt-get.cc:
- distinguish information about 'apt-get autoremove' based on the
number of auto-removed packages both before and after the list
of packages (Closes: #665833)
David Kalnischkies [Thu, 5 Apr 2012 09:54:36 +0000 (11:54 +0200)]
* doc/*:
- move the command synopsis out of each manpage into apt-verbatim.ent
as they are a hell to translate and just single out the parameters
which can be translated to apt.ent
David Kalnischkies [Wed, 4 Apr 2012 21:04:57 +0000 (23:04 +0200)]
apt-verbatim.ent is an INCLUDE file as well
Bogdan Purcareata [Wed, 4 Apr 2012 20:43:53 +0000 (22:43 +0200)]
[ Bogdan Purcareata ]
* doc/apt-get.8.xml:
- add 'download' to the usage line (Closes: #649340)
bubulle@debian.org [Tue, 3 Apr 2012 19:39:06 +0000 (21:39 +0200)]
Replace "argument" by "paramètre" in French translation.
Merci, les Titeps!
bubulle@debian.org [Tue, 27 Mar 2012 18:32:10 +0000 (20:32 +0200)]
Fix typo in apt-get(8). Closes: #664833
Michael Vogt [Tue, 27 Mar 2012 13:14:38 +0000 (15:14 +0200)]
* apt-pkg/deb/dpkgpm.cc:
- do not crash if (*I).Pkg is NULL (LP: #939867)
David Kalnischkies [Thu, 22 Mar 2012 21:18:05 +0000 (22:18 +0100)]
make these retry_write methods static so that they don't end up as symbols
David Kalnischkies [Thu, 22 Mar 2012 18:29:53 +0000 (19:29 +0100)]
* debian/rules:
- do not sed in configure.in to set the version-number
* prepare-release:
- add as a small script to lazy check and prepare releases
David Kalnischkies [Thu, 22 Mar 2012 16:34:41 +0000 (17:34 +0100)]
merge with debian-sid (some version screw going on here)
David Kalnischkies [Thu, 22 Mar 2012 12:42:59 +0000 (13:42 +0100)]
use the variables as the rest of the tests to avoid escapes in the output
David Kalnischkies [Thu, 22 Mar 2012 12:09:22 +0000 (13:09 +0100)]
* apt-inst/database.{cc,h}, apt-inst/deb/dpkgdb.{cc,h}:
- drop instead of fix as it is only needed if you want to reimplement dpkg
and comes straight from the beginning of last decade (Closes: #663372)
* apt-inst/deb/debfile.cc:
- {Extract,Merge}Control() is another instance of "lets reimplement dpkg"
so shot of this code before someone ends up using this…