]> git.saurik.com Git - apt.git/log
apt.git
10 years agoFix incorrect comparison between signed/unsigned
Michael Vogt [Thu, 23 Oct 2014 18:32:01 +0000 (14:32 -0400)] 
Fix incorrect comparison between signed/unsigned

Git-Dch: ignore

10 years agoUse sysconf(_SC_ARG_MAX) to find the size of Dpkg::MaxArgBytes
Michael Vogt [Thu, 23 Oct 2014 18:19:32 +0000 (14:19 -0400)] 
Use sysconf(_SC_ARG_MAX) to find the size of Dpkg::MaxArgBytes

Instead of hardcoding Dpkg::MaxArgBytes find out about it using
the sysconf(_SC_ARG_MAX) call.

10 years agodoc/examples/configure-index: make "Dpkg::Max{Arg,ArgBytes} match reality
Michael Vogt [Wed, 22 Oct 2014 21:54:08 +0000 (17:54 -0400)] 
doc/examples/configure-index: make "Dpkg::Max{Arg,ArgBytes} match reality

Git-Dch: ignore

10 years agoreleasing package apt version 1.0.9.3 1.0.9.3
Michael Vogt [Wed, 15 Oct 2014 17:55:49 +0000 (19:55 +0200)] 
releasing package apt version 1.0.9.3

10 years agodon't cleanup cdrom files in apt-get update
David Kalnischkies [Wed, 15 Oct 2014 13:56:53 +0000 (15:56 +0200)] 
don't cleanup cdrom files in apt-get update

Regression from merging 801745284905e7962aa77a9f37a6b4e7fcdc19d0 and
b0f4b486e6850c5f98520ccf19da71d0ed748ae4. While fine by itself, merged
the part fixing the filename is skipped if a cdrom source is
encountered, so that our list-cleanup removes what seems to be orphaned
files.

Closes: 765458
10 years agoUpdate Status field values handling
Guillem Jover [Mon, 1 Sep 2014 14:09:48 +0000 (16:09 +0200)] 
Update Status field values handling

Remove long obsolete (hold, hold-reinstreq, removal-failed) or just
wrong (post-inst-failed vs postinst-failed) values, that have been
autoconverted by dpkg at run-time to their new equivalents, so there
should not be any such instance in any recent system (removal-failed
since dpkg 1.1.4 in Apr 1996, hold and hold-reinstreq since dpkg
1.2.0 in May 1996). dpkg even stopped doing the mapping in 1.15.4
and 1.15.8 respectively.

At the same time sort the list in the same order as they appear in
the dpkg code.

10 years agomethods/rsh.cc: replace strcat with std::string
Michael Vogt [Wed, 8 Oct 2014 09:35:48 +0000 (11:35 +0200)] 
methods/rsh.cc: replace strcat with std::string

Instead of using strcat use a C++ std::string to avoid overflowing
this buffer. Thanks to David Garfield

Closes: #76442
10 years agoadd CVE-2014-7206 to 1.0.9.2
Michael Vogt [Wed, 8 Oct 2014 09:12:45 +0000 (11:12 +0200)] 
add CVE-2014-7206 to 1.0.9.2

10 years agoimplement the updated build profile spec
josch [Tue, 19 Aug 2014 08:29:29 +0000 (10:29 +0200)] 
implement the updated build profile spec

10 years agoreleasing package apt version 1.0.9.2 1.0.9.2
Michael Vogt [Thu, 2 Oct 2014 20:07:25 +0000 (22:07 +0200)] 
releasing package apt version 1.0.9.2

10 years agoapt-get: Create the temporary downloaded changelog inside tmpdir
Guillem Jover [Thu, 2 Oct 2014 15:48:13 +0000 (17:48 +0200)] 
apt-get: Create the temporary downloaded changelog inside tmpdir

The code is creating a secure temporary directory, but then creates
the changelog alongside the tmpdir in the same base directory. This
defeats the secure tmpdir creation, making the filename predictable.

Inject a '/' between the tmpdir and the changelog filename.

10 years agodebian/rules: add hardening=+all
Michael Vogt [Wed, 1 Oct 2014 06:22:26 +0000 (08:22 +0200)] 
debian/rules: add hardening=+all

Because of dpkg-buildflags we already get most of the hardening
features, +all adds -fPIE and ld -z now

Thanks: Simon Ruderich, Markus Waldeck

10 years agoSet STRIP_FROM_PATH for doxygen
Trần Ngọc Quân [Sun, 28 Sep 2014 08:33:19 +0000 (15:33 +0700)] 
Set STRIP_FROM_PATH for doxygen

Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
10 years agoMerge remote-tracking branch 'donkult/feature/generalize-gzipindex' into debian/sid
Michael Vogt [Fri, 26 Sep 2014 16:09:32 +0000 (18:09 +0200)] 
Merge remote-tracking branch 'donkult/feature/generalize-gzipindex' into debian/sid

10 years agorewrite compressed indexes test to check with all compressors
David Kalnischkies [Thu, 25 Sep 2014 09:52:41 +0000 (11:52 +0200)] 
rewrite compressed indexes test to check with all compressors

Git-Dch: Ignore

10 years agoEnsure that iTFRewritePackageOrder is "MD5sum" to match apt-ftparchive
Michael Vogt [Sun, 21 Sep 2014 19:40:10 +0000 (21:40 +0200)] 
Ensure that iTFRewritePackageOrder is "MD5sum" to match apt-ftparchive

The iTFRewritePackageOrder is used in indexcopy to copy and normalize
cdrom Packages files. This change will ensure that there is no
"normalization" that changes MD5sum -> MD5Sum which alters the hash
of the Packages file on disk (oh the irony).

10 years agoFix regression for cdrom: sources from latest security update
Michael Vogt [Sun, 21 Sep 2014 19:23:04 +0000 (21:23 +0200)] 
Fix regression for cdrom: sources from latest security update

Skip a reverify for cdrom: sources. The reverify step is actually
harmful here because the apt-cdrom add code uses the indexcopy.cc
which will "normalize" the Packages file from the cdrom when it
writes it to the local disk. This leads to changing the "MD5sum"
field (notice the lower case "s") on the cdrom Packages file to
a "MD5Sum" field on the local file in /var/lib/apt/lists. Which
of course alters the hash and makes apt fail to reverify the file.

10 years agogeneralize Acquire::GzipIndex
Michael Vogt [Sun, 21 Sep 2014 08:18:03 +0000 (10:18 +0200)] 
generalize Acquire::GzipIndex

10 years agorelax grep to support newer curl output format
David Kalnischkies [Fri, 19 Sep 2014 22:12:13 +0000 (00:12 +0200)] 
relax grep to support newer curl output format

Git-Dch: Ignore

10 years agodisable timestamps in the footer of docs by doxygen
Jérémy Bobbio [Fri, 19 Sep 2014 21:03:55 +0000 (23:03 +0200)] 
disable timestamps in the footer of docs by doxygen

The default being 'yes', but this spoils the effort of reproducible
builds for no real gain. (https://wiki.debian.org/ReproducibleBuilds)

10 years agoGerman program translation update
Holger Wansing [Fri, 19 Sep 2014 20:32:14 +0000 (22:32 +0200)] 
German program translation update

Closes: 762223
10 years agoFix regression when copy: is used for a relative path
Michael Vogt [Fri, 19 Sep 2014 14:41:55 +0000 (16:41 +0200)] 
Fix regression when copy: is used for a relative path

When we do a ReverifyAfterIMS() we use the copy: method to
verify the hashes again. If the user uses -o Dir=./something/relative
this fails because we use the URI class in copy.cc that strips
away the leading relative part. By not using URI this is fixed.

Closes: #762160
10 years agotest/integration/test-apt-update-file: improve test
Michael Vogt [Fri, 19 Sep 2014 14:41:50 +0000 (16:41 +0200)] 
test/integration/test-apt-update-file: improve test

10 years ago./pre-release pre-export
Michael Vogt [Thu, 18 Sep 2014 05:59:01 +0000 (07:59 +0200)] 
./pre-release pre-export

10 years agoreleasing package apt version 1.0.9.1 1.0.9.1
Michael Vogt [Wed, 17 Sep 2014 20:05:51 +0000 (22:05 +0200)] 
releasing package apt version 1.0.9.1

10 years agoMerge remote-tracking branch 'vnwildman/debian/sid' into debian/sid
Michael Vogt [Wed, 17 Sep 2014 20:04:30 +0000 (22:04 +0200)] 
Merge remote-tracking branch 'vnwildman/debian/sid' into debian/sid

10 years agoimprove test for commit daff4a
Michael Vogt [Wed, 17 Sep 2014 15:48:27 +0000 (17:48 +0200)] 
improve test for commit daff4a

10 years agoFix regression for file:/// uris from CVE-2014-0487
Michael Vogt [Wed, 17 Sep 2014 12:57:05 +0000 (14:57 +0200)] 
Fix regression for file:/// uris from CVE-2014-0487

Do not run ReverifyAfterIMS() for local file URIs as this will
causes apt to mess around in the file:/// uri space. This is
wrong in itself, but it will also cause a incorrect verification
failure when the archive and the lists directory are on different
partitions as rename().

10 years agoprepare 1.0.9.1
Michael Vogt [Tue, 16 Sep 2014 18:53:35 +0000 (20:53 +0200)] 
prepare 1.0.9.1

10 years agomerge previous upload
Michael Vogt [Tue, 16 Sep 2014 18:51:19 +0000 (20:51 +0200)] 
merge previous upload

10 years agoSECURITY UPDATE for CVE-2014-{0488,0487,0489}
Michael Vogt [Tue, 16 Sep 2014 18:23:43 +0000 (20:23 +0200)] 
SECURITY UPDATE for CVE-2014-{0488,0487,0489}

incorrect invalidating of unauthenticated data (CVE-2014-0488)
incorect verification of 304 reply (CVE-2014-0487)
incorrect verification of Acquire::Gzip indexes (CVE-2014-0489)

10 years agoadd a 'coverage' command to generate reports
David Kalnischkies [Sun, 14 Sep 2014 20:48:01 +0000 (22:48 +0200)] 
add a 'coverage' command to generate reports

Builds, runs and generates everything needed to have a coverage report
at the end for apt. The report isn't perfect as most childs apt forks do
not have a regular exit and so data is never written for them, which
results in e.g. most methods to have zero coverage reported.

Git-Dch: Ignore

10 years agoTurkish program translation update
Mert Dirik [Sun, 14 Sep 2014 21:04:03 +0000 (23:04 +0200)] 
Turkish program translation update

Closes: 761394
10 years agoUpdated German documentation translation
Chris Leick [Sun, 14 Sep 2014 12:48:10 +0000 (14:48 +0200)] 
Updated German documentation translation

10 years agol10n: vi.po (636t): Update program translation
Trần Ngọc Quân [Fri, 12 Sep 2014 07:13:36 +0000 (14:13 +0700)] 
l10n: vi.po (636t): Update program translation

Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
10 years agoAllow override of Proxy-Auto-Detect by the users configuration
Michael Vogt [Fri, 12 Sep 2014 09:44:11 +0000 (11:44 +0200)] 
Allow override of Proxy-Auto-Detect by the users configuration

Only run the Proxy-Auto-Detect code if there is not already
a host specific configuration.

Closes: 759264
10 years agoprepare 1.0.8 1.0.8
Michael Vogt [Tue, 9 Sep 2014 18:10:41 +0000 (20:10 +0200)] 
prepare 1.0.8

10 years agodebian/gbp.conf: use export-dir
Michael Vogt [Tue, 9 Sep 2014 18:50:34 +0000 (20:50 +0200)] 
debian/gbp.conf: use export-dir

10 years agodon't call pager in non-terminals for changelog
David Kalnischkies [Tue, 9 Sep 2014 11:52:32 +0000 (13:52 +0200)] 
don't call pager in non-terminals for changelog

Most pagers are nice and default to running non-interactively if they
aren't connected to a terminal and we relied on that. On ci.debian.net
the configured pager is printing a header out of nowhere though, so if
we are printing to a non-terminal we call "cat" instead.

In the rework we also "remove" the dependency on sensible-utils in sofar
as we call some alternatives if calling the utils fail.

This seems to be the last problem preventing a "PASS" status on
ci.debian.net, so we close the associated bugreport.

Closes: 755040
10 years agorework PTY magic to fix stair-stepping on kfreebsd
David Kalnischkies [Mon, 8 Sep 2014 19:05:11 +0000 (21:05 +0200)] 
rework PTY magic to fix stair-stepping on kfreebsd

A pty slave we have got from openpty can only be used for one dpkg
child, if we give it to a second child on kfreebsd setting TIOCSCTTY
fails causing the output to be stair-stepped from now on.

By switching the code to creating a master and opening a new slave in
the child for each child we can fix this glitch, so that at least the
master remains stable.

Closes: 759684
10 years agofix progress report for upgrade and reinstall
David Kalnischkies [Mon, 8 Sep 2014 15:14:17 +0000 (17:14 +0200)] 
fix progress report for upgrade and reinstall

APT treats upgrades like installs and dpkg is very similar in this, but
prints still a slightly different processing message indicating that it
is really an upgrade which we hadn't parsed so far, but this wasn't
really visible as we quickly moved on to a 'known' state.

More problematic was the reinstall case as apt hadn't recognized this
for the package name detection, so that reinstalls had no progress since
we introduced MultiArch.

10 years agofix and non-silent fail dpkg-overwrite error test
David Kalnischkies [Sun, 7 Sep 2014 20:08:01 +0000 (22:08 +0200)] 
fix and non-silent fail dpkg-overwrite error test

Commit cbcdd3ee9d86379d1b3a44e41ae8b17dc23111d0 removes the space at the
end of the debfile name dpkg send to us and we previously had included
in the pmerror message we printed on the statusfd.

Git-Dch: Ignore

10 years agostrip everything spacey in APT::String::Strip
David Kalnischkies [Sun, 7 Sep 2014 19:27:57 +0000 (21:27 +0200)] 
strip everything spacey in APT::String::Strip

Git-Dch: Ignore

10 years agodetect terminal output with 'test -t' in tests
David Kalnischkies [Sun, 7 Sep 2014 17:30:33 +0000 (19:30 +0200)] 
detect terminal output with 'test -t' in tests

Instead of trying to inspect /proc and the fds inside we use "test -t 1"
instead as this is available and working on kfreebsd as well – not that
something breaks if we wouldn't, but we like color.

Git-Dch: Ignore

10 years agodo use an 'unknown' arch-specification in test
David Kalnischkies [Sun, 7 Sep 2014 17:28:21 +0000 (19:28 +0200)] 
do use an 'unknown' arch-specification in test

Using 'kfreebsd' here makes the test fail on a kfreebsd system
(obviously), so we just use something totally madeup in the hope that
this is less like to conflict in the future.

Git-Dch: Ignore

10 years agomake GetLocalitySortedVersionSet more generic
David Kalnischkies [Tue, 2 Sep 2014 16:20:49 +0000 (18:20 +0200)] 
make GetLocalitySortedVersionSet more generic

No reason in and of by itself at the moment, but prepares for the goal
of having 'apt search' and 'apt-cache search' using the same code now
that they at least support the same stuff. The 'apt' code is just a
multitude slower at the moment…

Git-Dch: Ignore

10 years agoimplement --full in apt search
David Kalnischkies [Tue, 2 Sep 2014 12:32:48 +0000 (14:32 +0200)] 
implement --full in apt search

10 years agouse a format string in ListSingleVersion
David Kalnischkies [Mon, 1 Sep 2014 19:43:15 +0000 (21:43 +0200)] 
use a format string in ListSingleVersion

The method already deals with a format string, but had an else path
doing a hardcoded format as well. This is changed now to use the same
code for both - the format in the second case is still fixed though.

Git-Dch: Ignore

10 years agoskip version if we already have this package as search-result
David Kalnischkies [Mon, 1 Sep 2014 17:09:40 +0000 (19:09 +0200)] 
skip version if we already have this package as search-result

Git-Dch: Ignore

10 years agosupport regular expressions in 'apt search'
David Kalnischkies [Sat, 30 Aug 2014 09:29:45 +0000 (11:29 +0200)] 
support regular expressions in 'apt search'

apt-cache search supported this since ever and in the code for apt was a
fixme indicating this should be added here as well, so here we go.

10 years agoImprove Debug::Acquire::http debug output
Michael Vogt [Fri, 5 Sep 2014 14:24:32 +0000 (16:24 +0200)] 
Improve Debug::Acquire::http debug output

Prefix all answers with the URL that the answer is for. This
helps when debugging and pipeline is enabled.

10 years agoEnsure we have a Policy in CacheFile.BuildDepCache()
Michael Vogt [Fri, 5 Sep 2014 10:50:15 +0000 (12:50 +0200)] 
Ensure we have a Policy in CacheFile.BuildDepCache()

This partly reverts d059cc2 and fixes bug #753297 in a more
general way by ensuring that CacheFile.BuildDepCache() builds
a pkgPolicy if there isn't one already.

10 years agoFix incorrect upgradable listing in "apt list" (thanks to Michael Musenbrock)
Michael Vogt [Fri, 5 Sep 2014 10:03:28 +0000 (12:03 +0200)] 
Fix incorrect upgradable listing in "apt list" (thanks to Michael Musenbrock)

The "apt list" command was using only the pkgDepCache but not the
pkgPolicy to figure out if a package is upgradable. This lead to
incorrect display of upgradable package when the user used the
policy to pin-down packages. Thanks to Michael Musenbrock for the
initial patch.

Closes: #753297
10 years agotest/integration/test-ubuntu-bug-346386-apt-get-update-paywall: use downloadfile()
Michael Vogt [Wed, 3 Sep 2014 14:54:16 +0000 (16:54 +0200)] 
test/integration/test-ubuntu-bug-346386-apt-get-update-paywall: use downloadfile()

10 years agoRun autopkgtest tests with "env -i" to avoid pollution from the host env
Michael Vogt [Tue, 2 Sep 2014 15:30:45 +0000 (17:30 +0200)] 
Run autopkgtest tests with "env -i" to avoid pollution from the host env

Closes: #759655
10 years agoMake Packages & Sources generation optional, during Generate call
Dimitri John Ledkov [Fri, 18 Jul 2014 15:06:34 +0000 (16:06 +0100)] 
Make Packages & Sources generation optional, during Generate call

refactor a bit, extract code out of Generate() into
DoGenerate{PackagesAndSources,Contents}, add new
APT::FTPArchive::ContentsOnly option to allow skipping the generation
of Package/Source files (if they are generated e.g. by some db outside
of apt-ftparchives control)

10 years agoUse heap to allocate PatternMatch to avoid potential stack overflow
Michael Vogt [Tue, 2 Sep 2014 15:06:52 +0000 (17:06 +0200)] 
Use heap to allocate PatternMatch to avoid potential stack overflow

When apt-cache search with many args (> 130) is given the allocation
of PatternMatch on the stack may fail resulting in a segmentation
fault. By using the heap the max size is much bigger and we also
get a bad_alloc expection instead of a segfault (which we can catch
*if* this ever becomes a pratical problem). No test for the crash
as its not reproducable with the MALLOC_ settings in framework.

Closes: 759612
10 years ago* apt-pkg/deb/dpkgpm.cc:
Michael Vogt [Tue, 2 Sep 2014 15:24:24 +0000 (17:24 +0200)] 
* apt-pkg/deb/dpkgpm.cc:
    - update string matching for dpkg I/O errors. (LP: #1363257)
    - properly parse the dpkg status line so that package name is properly set
      and an apport report is created. Thanks to Anders Kaseorg for the patch.
      (LP: #1353171)

10 years agoAdd testcase for apt list --all-versions
Michael Vogt [Tue, 2 Sep 2014 14:36:32 +0000 (16:36 +0200)] 
Add testcase for apt list --all-versions

Dch-Ignore: true

10 years agoAvoid yielding blank lines with APT::Cmd::use-format=true
Andreas Oberritter [Tue, 2 Sep 2014 14:34:05 +0000 (16:34 +0200)] 
Avoid yielding blank lines with APT::Cmd::use-format=true

10 years agoMake Proxy-Auto-Detect check for each host
Michael Vogt [Tue, 2 Sep 2014 13:50:19 +0000 (15:50 +0200)] 
Make Proxy-Auto-Detect check for each host

When doing Acquire::http{,s}::Proxy-Auto-Detect, run the auto-detect
command for each host instead of only once. This should make using
"proxy" from libproxy-tools feasible which can then be used for PAC
style or other proxy configurations.

Closes: #759264
10 years agoinitialize iPolicyBrokenCount in DepCache::Update
Warren He [Fri, 29 Aug 2014 09:15:30 +0000 (11:15 +0200)] 
initialize iPolicyBrokenCount in DepCache::Update

All other counters are correctly initialized here, expect this one. The
practical effect is low as in apt we usually just do "!= 0" checks, but
only correct counters are good counters.

Closes: 758397
10 years agoPortuguese manpages translation update
Américo Monteiro [Fri, 29 Aug 2014 09:07:23 +0000 (11:07 +0200)] 
Portuguese manpages translation update

Closes: 759608
10 years agoThe following command otherwise yields many blank lines:
Andreas Oberritter [Thu, 28 Aug 2014 22:04:20 +0000 (15:04 -0700)] 
The following command otherwise yields many blank lines:
apt list -o APT::Cmd::use-format=true -o APT::Cmd::format=\${Package}

And even worse when adding "-o APT::Cmd::All-Versions=true".

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
10 years agoGerman program translation update
Holger Wansing [Thu, 28 Aug 2014 16:16:02 +0000 (18:16 +0200)] 
German program translation update

Closes: 758837
10 years agoreleasing 1.0.7 1.0.7
Michael Vogt [Thu, 28 Aug 2014 00:24:03 +0000 (00:24 +0000)] 
releasing 1.0.7

10 years agoprepare 1.0.7
Michael Vogt [Thu, 28 Aug 2014 00:14:51 +0000 (17:14 -0700)] 
prepare 1.0.7

10 years agosupport versioned provides as implemented by dpkg
David Kalnischkies [Sat, 16 Aug 2014 14:33:46 +0000 (16:33 +0200)] 
support versioned provides as implemented by dpkg

APT supported versioned provides for a long while in an attempt to get
it working with rpm. While this support is old, we can be relatively
sure that it works as versioned provides are used internally to make
Multi-Arch:foreign work.

Previous versions of apt will print a warning indicating that the
versioned provides is ignored, so that something which "Provides: foo (=
2)" doesn't provide anything.

Note that dpkg does allow only a equals-relation in the provides line
as anything else is deemed too complex. apt doesn't support anything
else either and such a support would require potentially big changes.

Closes: 758153
10 years agoadd dpkg::source-options for dpkg-source invocation
David Kalnischkies [Sat, 16 Aug 2014 11:29:10 +0000 (13:29 +0200)] 
add dpkg::source-options for dpkg-source invocation

dpkg-source can be told to enforce signature checks with
--require-valid-signature, but while this isn't feasible as default for
Debian itself at the moment, a local admin should be able to use it.

This commit also fixes the size limit on the construction of the command
being called for dpkg-source and dpkg-buildpackage.

Closes: 757534
10 years agoCzech program translation update
Miroslav Kure [Fri, 15 Aug 2014 17:42:41 +0000 (19:42 +0200)] 
Czech program translation update

Closes: 758208
10 years agoTurkish program translation update
Mert Dirik [Fri, 15 Aug 2014 17:37:39 +0000 (19:37 +0200)] 
Turkish program translation update

Closes: 756710
10 years agorewrite and extend new README file
David Kalnischkies [Sat, 19 Jul 2014 11:30:48 +0000 (13:30 +0200)] 
rewrite and extend new README file

Reuse description from the package descriptions and add various
subsection describing useful debug options and general information.

Git-Dch: Ignore

10 years agoremove obsolete documentation bits
David Kalnischkies [Sat, 19 Jul 2014 11:30:08 +0000 (13:30 +0200)] 
remove obsolete documentation bits

Git-Dch: Ignore

10 years agoensure that all docs use all entities files
David Kalnischkies [Fri, 18 Jul 2014 14:42:40 +0000 (16:42 +0200)] 
ensure that all docs use all entities files

Not all are needed for all files at the moment, but the new docbook
building hadn't available some of the entities it used as the files
weren't correctly copied around in all cases and having the same across
the bord makes working with all of them a little easier.

Git-Dch: Ignore

10 years agoparse debian/tests/control for test dependencies
David Kalnischkies [Fri, 18 Jul 2014 10:28:21 +0000 (12:28 +0200)] 
parse debian/tests/control for test dependencies

Our integration tests need some additional dependencies to run and
function correctly, but while multiple places run them, there is no need
to also specify the these dependencies in multiple places.

Git-Dch: Ignore

10 years agoFix debListParser to accept "no" as a value for the Multi-Arch field
Julian Andres Klode [Sun, 24 Aug 2014 16:43:07 +0000 (18:43 +0200)] 
Fix debListParser to accept "no" as a value for the Multi-Arch field

Seems this was missed somehow.

Closes: #759099
10 years agodoc/po/pt.po: updated, thanks to Américo Monteir
Michael Vogt [Tue, 29 Jul 2014 16:07:44 +0000 (18:07 +0200)] 
doc/po/pt.po: updated, thanks to Américo Monteir

Closes: #756200
10 years agodoc/apt.8.xml: fix typo, thanks to Jakub Wilk
Michael Vogt [Tue, 29 Jul 2014 15:54:03 +0000 (17:54 +0200)] 
doc/apt.8.xml: fix typo, thanks to Jakub Wilk

Closes: #756056
10 years agoFix SmartConfigure to ignore ordering of packages that are already valid
Michael Vogt [Tue, 29 Jul 2014 13:01:13 +0000 (15:01 +0200)] 
Fix SmartConfigure to ignore ordering of packages that are already valid

With the change of SmartConfigure() in git commit 42d51f the ordering
code was trying to re-order dependencies, even when at this point in
time this was not needed. Now it will first check all targets of the
given dependency and only if there is not a good one try to reorder
and unpack/configure as needed.

Closes: LP: #1347721
10 years agol10n: vi.po (636t): Update one new string
Trần Ngọc Quân [Thu, 24 Jul 2014 08:03:45 +0000 (15:03 +0700)] 
l10n: vi.po (636t): Update one new string

Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
10 years agoapt-pkg/acquire-item.cc: make pkgAcqDiffIndex more uniform
Michael Vogt [Thu, 17 Jul 2014 07:59:55 +0000 (09:59 +0200)] 
apt-pkg/acquire-item.cc: make pkgAcqDiffIndex more uniform

10 years agoUse @builddeps@ in the debian/tests/control file
Michael Vogt [Thu, 17 Jul 2014 07:59:01 +0000 (09:59 +0200)] 
Use @builddeps@ in the debian/tests/control file

10 years agoUpdate Japanese documentation translation
victory [Wed, 16 Jul 2014 12:17:09 +0000 (14:17 +0200)] 
Update Japanese documentation translation

Closes: #754817
10 years agoStringToBool: only act if the entire string is consumed by strtol()
Michael Vogt [Wed, 16 Jul 2014 11:57:50 +0000 (13:57 +0200)] 
StringToBool: only act if the entire string is consumed by strtol()

StringToBool uses strtol() internally to check if the argument is
a number. This function stops when it does not find any more numbers.
So a string like "0ad" (which is a valid packagename) is interpreted
as a "0". The code now checks that the entire string is consumed
not just a part of it. Thanks to Johannes Schauer for raising this
issue.

10 years agoMerge remote-tracking branch 'mvo/feature/README' into debian/sid
Michael Vogt [Thu, 10 Jul 2014 18:53:20 +0000 (20:53 +0200)] 
Merge remote-tracking branch 'mvo/feature/README' into debian/sid

10 years agoadd REAMDE.md
Michael Vogt [Thu, 10 Jul 2014 15:46:26 +0000 (17:46 +0200)] 
add REAMDE.md

10 years agoreleasing package apt version 1.0.6 1.0.6
Michael Vogt [Thu, 10 Jul 2014 09:46:56 +0000 (11:46 +0200)] 
releasing package apt version 1.0.6

10 years agoprepare 1.0.6
Michael Vogt [Thu, 10 Jul 2014 08:52:34 +0000 (10:52 +0200)] 
prepare 1.0.6

10 years agoOnly show packages as upgradable if the have a CandidateVer != 0
Michael Vogt [Tue, 8 Jul 2014 14:06:56 +0000 (16:06 +0200)] 
Only show packages as upgradable if the have a CandidateVer != 0

Closes: #753297
10 years agodoc: Unfuzzy DocBook translations
Guillem Jover [Wed, 2 Jul 2014 00:38:27 +0000 (02:38 +0200)] 
doc: Unfuzzy DocBook translations

10 years agodoc: Convert from DebianDoc SGML to DocBook XML
Guillem Jover [Wed, 2 Jul 2014 00:22:32 +0000 (02:22 +0200)] 
doc: Convert from DebianDoc SGML to DocBook XML

10 years agobuild: Convert from DebianDoc SGML to DocBook XML
Guillem Jover [Wed, 2 Jul 2014 02:10:37 +0000 (04:10 +0200)] 
build: Convert from DebianDoc SGML to DocBook XML

10 years agobuild: Set the XSL parameter through the command line instead of sed
Guillem Jover [Wed, 2 Jul 2014 23:56:52 +0000 (01:56 +0200)] 
build: Set the XSL parameter through the command line instead of sed

Use the xsltproc --stringparam option instead of replacing it inside the
file.

10 years agopo: Fix format specifier order in translation
Guillem Jover [Thu, 3 Jul 2014 22:54:15 +0000 (00:54 +0200)] 
po: Fix format specifier order in translation

10 years agopo: Fix encoding issues
Guillem Jover [Fri, 4 Jul 2014 06:14:07 +0000 (08:14 +0200)] 
po: Fix encoding issues

Remove trailing CR characters, and fix Content-Transfer-Encoding field
value.

10 years agopo: Fix or add missing email addresses
Guillem Jover [Fri, 4 Jul 2014 06:11:06 +0000 (08:11 +0200)] 
po: Fix or add missing email addresses

Fill Report-Msgid-Bugs-To field, remove spurious email line junk and
make Last-Translator and Language-Team fields contain valid emails.

10 years agopo: Fix Plural-Forms fields
Guillem Jover [Fri, 4 Jul 2014 06:09:16 +0000 (08:09 +0200)] 
po: Fix Plural-Forms fields

10 years agopo: Fill Project-Id-Version with correct project id and version
Guillem Jover [Fri, 4 Jul 2014 06:03:31 +0000 (08:03 +0200)] 
po: Fill Project-Id-Version with correct project id and version

10 years agopo: Remove fuzzy from file msgid header
Guillem Jover [Wed, 2 Jul 2014 15:52:34 +0000 (17:52 +0200)] 
po: Remove fuzzy from file msgid header

10 years agopo: Fill or add missing Language field
Guillem Jover [Wed, 2 Jul 2014 15:52:34 +0000 (17:52 +0200)] 
po: Fill or add missing Language field