]>
git.saurik.com Git - apt.git/log
Michael Vogt [Wed, 3 Apr 2013 12:19:34 +0000 (14:19 +0200)]
apt-pkg/contrib/gpgv.cc: fix InRelease check
Michael Vogt [Tue, 2 Apr 2013 13:20:16 +0000 (15:20 +0200)]
merged lp:~mvo/apt/fix-inrelease5
Michael Vogt [Tue, 2 Apr 2013 13:08:34 +0000 (15:08 +0200)]
po/{ca,cs,ru}.po: fix merge artifacts harder
Michael Vogt [Tue, 26 Mar 2013 13:54:31 +0000 (14:54 +0100)]
merge stuff from donkult
Michael Vogt [Mon, 25 Mar 2013 12:55:07 +0000 (13:55 +0100)]
* doc/apt.conf.5.xml:
- document Acquire::ForceIPv{4,6}
Michael Vogt [Mon, 25 Mar 2013 08:03:48 +0000 (09:03 +0100)]
* methods/connect.cc:
- use Errno() instead of strerror(), thanks to David Kalnischk
Michael Vogt [Mon, 25 Mar 2013 07:56:42 +0000 (08:56 +0100)]
merge patches from daniel to fix merge artifact and test failure
Michael Vogt [Mon, 25 Mar 2013 07:52:20 +0000 (08:52 +0100)]
merge patch from Daniel Hartwig
bubulle@debian.org [Sun, 24 Mar 2013 07:58:27 +0000 (08:58 +0100)]
* Update all PO files and apt-all.pot
* French translation completed (Christian Perrier)
bubulle@debian.org [Sun, 24 Mar 2013 07:54:14 +0000 (08:54 +0100)]
Update POT and PO files
Michael Vogt [Fri, 22 Mar 2013 21:10:02 +0000 (22:10 +0100)]
releasing version 0.9.7.9~exp1
Michael Vogt [Fri, 22 Mar 2013 20:53:30 +0000 (21:53 +0100)]
prepare upload
Michael Vogt [Fri, 22 Mar 2013 20:52:42 +0000 (21:52 +0100)]
merged lp:~mvo/apt/fix-tagfile-hash
Michael Vogt [Fri, 22 Mar 2013 20:49:22 +0000 (21:49 +0100)]
merged the debian-wheezy branch
Michael Vogt [Fri, 22 Mar 2013 20:46:53 +0000 (21:46 +0100)]
add new config options "Acquire::ForceIPv4" and
"Acquire::ForceIPv6" to allow focing one or the other
(closes: #611891)
bubulle@debian.org [Fri, 22 Mar 2013 06:17:05 +0000 (07:17 +0100)]
Turkish (Mert Dirik). Closes: #703526
Michael Vogt [Thu, 21 Mar 2013 15:18:58 +0000 (16:18 +0100)]
merge patch from Colin to fix error message from getaddrinfo() (#703603)
Michael Vogt [Wed, 20 Mar 2013 11:18:16 +0000 (12:18 +0100)]
apt-pkg/edsp.cc: do not use stderr in WriteSolution at all
Michael Vogt [Wed, 20 Mar 2013 11:17:05 +0000 (12:17 +0100)]
apt-pkg/edsp.cc: do not spam stderr in WriteSolution
David Kalnischkies [Tue, 19 Mar 2013 11:37:50 +0000 (12:37 +0100)]
support dash-escaped text in clearsigned files as implementations are
free to escape all lines (we have no lines in our files which need
to be escaped as these would be invalid fieldnames) and while ExecGPGV
would detect dash-escaped text as invalid (as its not expected in
messages with detached signatures) it would be possible to "comment"
lines in (signed) dsc files which are only parsed but not verified
David Kalnischkies [Tue, 19 Mar 2013 09:49:57 +0000 (10:49 +0100)]
use FileFd instead of int fds to tidy up the interface a bit
David Kalnischkies [Mon, 18 Mar 2013 21:57:08 +0000 (22:57 +0100)]
* apt-pkg/deb/debindexfile.cc,
apt-pkg/deb/deblistparser.cc:
- use OpenMaybeClearSignedFile to be free from detecting and
skipping clearsigning metadata in dsc and Release files
We can't write a "clean" file to disk as not all acquire methods copy
Release files before checking them (e.g. cdrom), so this reverts recombining,
but uses the method we use for dsc files also in the two places we
deal with Release files
David Kalnischkies [Mon, 18 Mar 2013 18:36:55 +0000 (19:36 +0100)]
- add method to open (maybe) clearsigned files transparently
* ftparchive/writer.cc:
- use OpenMaybeClearSignedFile to be free from detecting and
skipping clearsigning metadata in dsc files
David Kalnischkies [Mon, 18 Mar 2013 16:06:51 +0000 (17:06 +0100)]
rename testcase to mention CVE number, make the code more consistent with
the rest and add some more tests (by fixing commented ones)
Michael Vogt [Mon, 18 Mar 2013 12:52:43 +0000 (13:52 +0100)]
test/libapt/tagfile_test.cc: add missing "unistd.h" (thanks to Niels Thykier)
Michael Vogt [Mon, 18 Mar 2013 11:10:35 +0000 (12:10 +0100)]
fix pkgTagSection::Exists() and add test
Michael Vogt [Mon, 18 Mar 2013 10:46:20 +0000 (11:46 +0100)]
test/integration/framework: use EXIT_CODE to be consistent with the run-tests code
Michael Vogt [Mon, 18 Mar 2013 10:38:19 +0000 (11:38 +0100)]
report failures via exit and ensure we don't overflow
Michael Vogt [Mon, 18 Mar 2013 07:08:37 +0000 (08:08 +0100)]
* test/integration/framework:
- continue after test failure but preserve exit status
Michael Vogt [Sun, 17 Mar 2013 18:51:02 +0000 (19:51 +0100)]
* test/libapt/assert.h, test/libapt/run-tests:
- exit with status 1 on test failure
David Kalnischkies [Sat, 16 Mar 2013 11:40:43 +0000 (12:40 +0100)]
ensure that we fclose/unlink/free in the new gpg-code as soon as possible
Michael Vogt [Sat, 16 Mar 2013 09:08:28 +0000 (10:08 +0100)]
add testcase and update changelog
Michael Vogt [Sat, 16 Mar 2013 08:15:46 +0000 (09:15 +0100)]
merged from davids bundle
David Kalnischkies [Fri, 15 Mar 2013 17:53:53 +0000 (18:53 +0100)]
- if ExecGPGV deals with a clear-signed file it will split this file
into data and signatures, pass it to gpgv for verification and
recombines it after that in a known-good way without unsigned blocks
and whitespaces resulting usually in more or less the same file as
before, but later code can be sure about the format
* apt-pkg/deb/debmetaindex.cc:
- reenable InRelease by default
Michael Vogt [Fri, 15 Mar 2013 13:57:27 +0000 (14:57 +0100)]
split out a method to strip whitespaces only on the right side
David Kalnischkies [Fri, 15 Mar 2013 13:55:43 +0000 (14:55 +0100)]
* apt-pkg/acquire-item.cc:
- keep the last good InRelease file around just as we do it with
Release.gpg in case the new one we download isn't good for us
David Kalnischkies [Fri, 15 Mar 2013 13:49:05 +0000 (14:49 +0100)]
don't close stdout/stderr if it is also the statusfd
David Kalnischkies [Fri, 15 Mar 2013 13:29:46 +0000 (14:29 +0100)]
* apt-pkg/contrib/gpgv.cc:
- ExecGPGV is a method which should never return, so mark it as such
and fix the inconsistency of returning in error cases
David Kalnischkies [Fri, 15 Mar 2013 13:17:01 +0000 (14:17 +0100)]
* apt-pkg/indexcopy.cc:
- rename RunGPGV to ExecGPGV and move it to apt-pkg/contrib/gpgv.cc
Michael Vogt [Thu, 14 Mar 2013 13:26:43 +0000 (14:26 +0100)]
* SECURITY UPDATE: InRelease verification bypass
- CVE-2013-1051
* apt-pkg/deb/debmetaindex.cc,
test/integration/test-bug-595691-empty-and-broken-archive-files,
test/integration/test-releasefile-verification:
- disable InRelease downloading until the verification issue is
fixed, thanks to Ansgar Burchardt for finding the flaw
Michael Vogt [Fri, 1 Mar 2013 18:20:53 +0000 (19:20 +0100)]
releasing version 0.9.7.8~exp2
Michael Vogt [Fri, 1 Mar 2013 18:04:15 +0000 (19:04 +0100)]
merged lp:~mvo/apt/hash-order
Michael Vogt [Fri, 1 Mar 2013 17:50:59 +0000 (18:50 +0100)]
include two missing patches to really fix bug #696225, thanks to
Guillem Jover
Michael Vogt [Fri, 1 Mar 2013 13:55:19 +0000 (14:55 +0100)]
releasing version 0.9.7.8~exp1
Michael Vogt [Fri, 1 Mar 2013 11:48:07 +0000 (12:48 +0100)]
merged lp:~donkult/apt/sid
Michael Vogt [Fri, 1 Mar 2013 11:12:05 +0000 (12:12 +0100)]
add changelog
David Kalnischkies [Sun, 24 Feb 2013 15:20:43 +0000 (16:20 +0100)]
* apt-pkg/depcache.cc:
- prefer to install packages which have an already installed M-A:same
sibling while choosing providers (LP: #
1130419 )
bubulle@debian.org [Tue, 5 Feb 2013 06:00:04 +0000 (07:00 +0100)]
Japanese (Kenshi Muto). Closes: #699783
Michael Vogt [Thu, 24 Jan 2013 17:55:44 +0000 (18:55 +0100)]
* apt-pkg/indexrecords.cc:
- support '\r' in the Release file
Michael Vogt [Thu, 24 Jan 2013 17:52:25 +0000 (18:52 +0100)]
quote plus in filenames to work around a bug in the S3 server
(LP: #
1003633 )
Michael Vogt [Mon, 14 Jan 2013 05:31:51 +0000 (06:31 +0100)]
ensure sha512 is really used when available (thanks to Tyler Hicks )
Michael Vogt [Fri, 11 Jan 2013 08:51:00 +0000 (09:51 +0100)]
* methods/http.cc:
- quote spaces in filenames to ensure as the http method is also
(potentially) used for non deb,dsc content that may contain
spaces, thanks to Daniel Hartwig and Thomas Bushnell
(LP: #
1086997 )
Michael Vogt [Thu, 10 Jan 2013 15:54:13 +0000 (16:54 +0100)]
merged train fixes
Michael Vogt [Thu, 10 Jan 2013 15:46:06 +0000 (16:46 +0100)]
instead of cut, use % 32767
Michael Vogt [Wed, 9 Jan 2013 13:47:35 +0000 (14:47 +0100)]
add missing curl_easy_cleanup()
Michael Vogt [Wed, 9 Jan 2013 10:00:13 +0000 (11:00 +0100)]
* methods/https.cc:
- reuse connection in https, thanks to Thomas Bushnell, BSG for the
patch. LP: #
1087543 , Closes: #695359
Michael Vogt [Wed, 9 Jan 2013 07:25:14 +0000 (08:25 +0100)]
merge train fixes
Michael Vogt [Wed, 9 Jan 2013 07:24:42 +0000 (08:24 +0100)]
fix missing translated apt.8 manpages, thanks to Helge Kreutzmann
for the report. Closes: #696923
Michael Vogt [Wed, 9 Jan 2013 05:57:13 +0000 (06:57 +0100)]
* debian/apt.cron.daily:
- when reading from /dev/urandom, use less entropy and fix a rare
bug when the random number chksum is less than 1000.
Closes: #695285
Michael Vogt [Wed, 9 Jan 2013 05:33:56 +0000 (06:33 +0100)]
* apt-pkg/contrib/progress.cc:
- Make "..." translatable to fix inconsistencies in the output
of e.g. apt-get update. While this adds new translatable strings,
not having translations for them will not break anything.
Thanks to Guillem Jover. Closes: #696225
Michael Vogt [Tue, 8 Jan 2013 17:42:09 +0000 (18:42 +0100)]
add missing translated apt.8 manpages, thanks to Helge Kreutzmann.
Closes: #696923
Michael Vogt [Tue, 8 Jan 2013 17:26:58 +0000 (18:26 +0100)]
doc/po/it.po: fix small XML errors
Michael Vogt [Tue, 8 Jan 2013 16:56:32 +0000 (17:56 +0100)]
fix pkgProblemResolver::Scores, thanks to Paul Wise.
Closes: #697577
Michael Vogt [Tue, 8 Jan 2013 15:35:57 +0000 (16:35 +0100)]
fix pkgProblemResolver::Scores, thanks to Paul Wise.
Closes: #697577
bubulle@debian.org [Mon, 24 Dec 2012 06:02:36 +0000 (07:02 +0100)]
Italian translation update for manpages
Michael Vogt [Thu, 13 Dec 2012 09:01:52 +0000 (10:01 +0100)]
releasing version 0.9.7.7
Michael Vogt [Thu, 13 Dec 2012 08:25:15 +0000 (09:25 +0100)]
merged from lp:~donkult/apt/sid
Michael Vogt [Thu, 13 Dec 2012 08:02:04 +0000 (09:02 +0100)]
change permissions of /var/log/apt/term.log to 0640 (LP: #975199)
bubulle@debian.org [Sat, 8 Dec 2012 18:35:40 +0000 (19:35 +0100)]
Fix Plural forms in German, French, Japanese and Portuguese
translations. Thanks to Jakub Wilk for reporting these errors.
bubulle@debian.org [Tue, 20 Nov 2012 20:10:47 +0000 (21:10 +0100)]
Vietnamese (Trần Ngọc Quân). Closes: #693773
Jonathan Thomas [Sat, 10 Nov 2012 13:25:45 +0000 (14:25 +0100)]
* apt-pkg/algorithms.cc:
- fix package-pointer array memory leak in ResolveByKeepInternal()
David Kalnischkies [Fri, 9 Nov 2012 10:00:02 +0000 (11:00 +0100)]
* apt-pkg/algorithms.cc:
- ensure pkgProblemResolver calls MarkDelete without FromUser set
so that it can't overrule holds and the protection flag
David Kalnischkies [Fri, 9 Nov 2012 09:49:21 +0000 (10:49 +0100)]
* cmdline/apt-get.cc:
- do not call Mark{Install,Delete} from the autoremove code with
the FromUser bit set to avoid modifying the auto-installed bit
David Kalnischkies [Fri, 9 Nov 2012 09:47:30 +0000 (10:47 +0100)]
no mode changes should obviously be ok for pkgDepCache::IsModeChangeOk
David Kalnischkies [Fri, 9 Nov 2012 09:43:12 +0000 (10:43 +0100)]
* apt-pkg/depcache.cc:
- don't call MarkInstall with the FromUser flag set for packages
which are dependencies of APT::Never-MarkAuto-Sections matchers
Michael Vogt [Thu, 1 Nov 2012 09:30:49 +0000 (10:30 +0100)]
merged frm donkult
bubulle@debian.org [Sun, 28 Oct 2012 07:26:07 +0000 (08:26 +0100)]
Thai (Theppitak Karoonboonyanan). Closes: #691613
David Kalnischkies [Tue, 23 Oct 2012 23:30:19 +0000 (01:30 +0200)]
* apt-pkg/packagemanager.cc:
- do not do lock-step configuration for a M-A:same package if it isn't
unpacked yet in SmartConfigure and do not unpack a M-A:same package
again in SmartUnPack if we have already configured it (LP: #
1062503 )
David Kalnischkies [Sat, 20 Oct 2012 13:23:21 +0000 (15:23 +0200)]
adds a comment for Translators to the 'do as I say' prompt to
prevent problems like #691024 in new translations
bubulle@debian.org [Sat, 20 Oct 2012 12:48:07 +0000 (14:48 +0200)]
Drop a confusing non-breaking space. Closes: #691024
Jordi Mallach [Fri, 19 Oct 2012 12:10:37 +0000 (14:10 +0200)]
Catalan (Jordi Mallach)
Michael Vogt [Tue, 16 Oct 2012 16:29:59 +0000 (18:29 +0200)]
releasing version 0.9.7.6
Michael Vogt [Mon, 15 Oct 2012 14:00:44 +0000 (16:00 +0200)]
* apt-pkg/pkgcachegen.cc:
- Fix crash if the cache is remapped while writing a Provides version
(LP: #
1066445 ).
Michael Vogt [Mon, 15 Oct 2012 07:59:12 +0000 (09:59 +0200)]
merge from lp:~donkult/apt/sid
David Kalnischkies [Sat, 13 Oct 2012 16:56:23 +0000 (18:56 +0200)]
remove 256 char line limit by using getline() (POSIX.1-2008)
David Kalnischkies [Sat, 13 Oct 2012 15:25:07 +0000 (17:25 +0200)]
* apt-pkg/contrib/netrc.cc:
- remove the 64 char limit for login/password in internal usage
David Kalnischkies [Sat, 13 Oct 2012 11:21:13 +0000 (13:21 +0200)]
Add a Closes tag for the self-conflict fix:
ignore negative dependencies applying in the same group for M-A:same
packages on the real package name as self-conflicts (Closes: #688863)
David Kalnischkies [Sat, 13 Oct 2012 11:18:29 +0000 (13:18 +0200)]
* apt-pkg/policy.cc:
- match pins with(out) an architecture as we do on the commandline
(partly fixing #687255, b= support has to wait for jessie)
David Kalnischkies [Sat, 13 Oct 2012 10:14:44 +0000 (12:14 +0200)]
* apt-pkg/edsp.cc:
- include reinstall requests and already installed (= protected) packages
in the install-request for external resolvers (Closes: #689331)
David Kalnischkies [Sat, 13 Oct 2012 09:16:30 +0000 (11:16 +0200)]
write the native architecture as unique string into the cache header
as it is used for arch:all packages as a map to arch:native.
Otherwise arch comparisons later will see differences (Closes: #689323)
David Kalnischkies [Sat, 13 Oct 2012 07:59:54 +0000 (09:59 +0200)]
correct "3 missing" to "2 missing" remap registrations as the Version
handled in NewVersion is already registered
Michael Vogt [Fri, 12 Oct 2012 12:44:09 +0000 (14:44 +0200)]
merged lp:~mvo/apt/mvo
A. Bondarenko [Tue, 2 Oct 2012 09:08:50 +0000 (11:08 +0200)]
Ukrainian program translation update (A. Bondarenko)
Michael Vogt [Fri, 28 Sep 2012 12:50:38 +0000 (14:50 +0200)]
merged from lp:~donkult/apt/sid
David Kalnischkies [Wed, 26 Sep 2012 19:34:49 +0000 (21:34 +0200)]
* cmdline/apt-cache.cc:
- print versioned dependency relations in (r)depends if the option
APT::Cache::ShowVersion is true (default: false) as discussed in
#218995 to help debian-cd fixing #687949. Thanks to Sam Lidder
for initial patch and Steve McIntyre for nagging and testing!
David Kalnischkies [Wed, 19 Sep 2012 10:04:02 +0000 (12:04 +0200)]
* apt-pkg/pkgcache.cc:
- ignore negative dependencies applying in the same group for
M-A:same packages on the real package name as self-conflicts
David Kalnischkies [Wed, 19 Sep 2012 09:39:20 +0000 (11:39 +0200)]
add 3 missing remap registrations causing a segfault in case
we use the not remapped iterators after a move of the mmap again
David Kalnischkies [Wed, 19 Sep 2012 09:35:53 +0000 (11:35 +0200)]
* apt-pkg/pkgcachegen.cc:
- ensure that dependencies for packages:none are always generated
Michael Vogt [Tue, 11 Sep 2012 16:07:34 +0000 (18:07 +0200)]
releasing version 0.9.7.5
Michael Vogt [Tue, 11 Sep 2012 12:32:24 +0000 (14:32 +0200)]
merged from lp:~donkult/apt/sid