summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/deblistparser.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* | merged lp:~mvo/apt/fix-inrelease5Michael Vogt2013-04-021-11/+1
|\ \ | |/ |/|
| * * apt-pkg/deb/debindexfile.cc,David Kalnischkies2013-03-181-11/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* | fix pkgProblemResolver::Scores, thanks to Paul Wise. Michael Vogt2013-01-081-6/+7
|/ | | Closes: #697577
* handle packages without a mandatory architecture (debian-policy ยง5.3)David Kalnischkies2012-09-091-4/+18
| | | | | by introducing a pseudo-architecture 'none' so that the small group of users with these packages can get right of them without introducing too much hassle for other users (Closes: #686346)
* * apt-pkg/deb/deblistparser.cc:David Kalnischkies2012-07-091-1/+2
| | | | - negative dependencies need to apply to all architectures, but those with a specific architecture only apply to this one
* do not dereference the storage for the unique strings as the pointer canDavid Kalnischkies2012-06-161-7/+9
| | | | | change at the time of writing the strings, so first store it temporary and then save the index in the (possibily new) pointer location
* * apt-pkg/deb/deblistparser.cc:David Kalnischkies2012-06-141-27/+5
| | | | | - use PackageArchitectureMatchesSpecification filter * apt-pkg/cachefilter.cc: - add PackageArchitectureMatchesSpecification (Closes: #672603)
* * deb/deblistparser.cc:David Kalnischkies2012-06-141-23/+30
| | | | - ensure that mixed positive/negative architecture wildcards are handled in the same way as dpkg handles them
* * apt-pkg/deb/deblistparser.cc:Thibaut Girka2012-06-111-3/+17
| | | | - add support for arch-specific qualifiers in dependencies
* * apt-pkg/deb/deblistparser.cc:David Kalnischkies2012-06-101-6/+5
| | | | | - set pkgCacheGen::Essential to "all" again (Closes: #675449) * apt-pkg/algorithms.cc: - force install only for one essential package out of a group
* * apt-pkg/deb/deblistparser.cc:David Kalnischkies2012-05-021-5/+12
| | | - check length and containing chars for a given description md5sum
* * apt-pkg/deb/deblistparser.cc:David Kalnischkies2012-04-181-2/+8
| | | - only treat the native apt as essential by default
* * apt-pkg/deb/deblistparser.cc:Julian Andres Klode2012-03-051-1/+1
| | | - Set the Essential flag on APT instead of only Important
* Allow the FileFd to use an external Compressor to uncompress a given fileDavid Kalnischkies2011-12-131-0/+1
| | | | | | | | | | | internally so that it is exported and can be used like a "normal" uncompressed file with FileFd This allows us to hide th zlib usage in the implementation and use gzip instead if we don't have zlib builtin (the same for other compressors). The code includes quiet a few FIXME's so while all tests are working it shouldn't be used just yet outside of libapt as it might break.
* * apt-pkg/deb/deblistparser.cc:David Kalnischkies2011-11-031-0/+3
| | | - M-A: foreign packages provide for other archs, too
* merge with my debian-sid branchDavid Kalnischkies2011-10-301-13/+8
|\
| * convert a few for-loop char finds to proper strchr and memchrDavid Kalnischkies2011-09-211-13/+8
| |
* | * apt-pkg/pkgcachegen.cc:David Kalnischkies2011-10-111-4/+1
| | | | | | - refactor MergeList by creating -Group, -Package and -Version specialist
* | merge with current debian apt/experimentalDavid Kalnischkies2011-10-051-12/+20
|\ \
| * \ * apt-pkg/contrib/configuration.cc:Michael Vogt2011-10-051-12/+20
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix double delete (LP: #848907) - ignore only the invalid regexp instead of all options * apt-pkg/acquire-item.h, apt-pkg/deb/debmetaindex.cc: - fix fetching language information by adding OptionalSubIndexTarget * methods/https.cc: - cleanup broken downloads properly * ftparchive/cachedb.cc: - fix buffersize in bytes2hex * apt-pkg/deb/deblistparser.cc: - fix crash when the dynamic mmap needs to be grown in LoadReleaseInfo (LP: #854090)
| | * | merged fix from donkultMichael Vogt2011-09-261-12/+20
| | | |
* | | | use forward declaration in headers if possible instead of includesDavid Kalnischkies2011-09-191-0/+1
| | | |
* | | | do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies2011-09-191-0/+2
|/ / /
* | | merge with debian/experimentalDavid Kalnischkies2011-09-131-9/+26
|\ \ \
| * \ \ merged from the debian-sid branchMichael Vogt2011-08-151-1/+1
| |\ \ \ | | |/ / | |/| / | | |/
| | * cppcheck complains about some possible speed improvements which could beDavid Kalnischkies2011-08-111-1/+1
| | | | | | | | | | | | | | | | | | done on the mirco-optimazation level, so lets fix them: (performance) Possible inefficient checking for emptiness. (performance) Prefer prefix ++/-- operators for non-primitive types.
| * | merged from debian-aptMichael Vogt2011-07-281-5/+19
| |\|
| | * merged from lp:~donkult/apt/sidMichael Vogt2011-07-281-5/+19
| | |\
| | | * * apt-pkg/deb/deblistparser.cc:David Kalnischkies2011-07-271-1/+5
| | |/ | | | | | | - do not assume that the last char on a line is a \n (Closes: #633350)
| * | * merged latest fixes from debian-sidMichael Vogt2011-07-281-3/+6
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * apt-pkg/contrib/sha1.cc: - fix illegally casts of on-stack buffer to a type requiring more alignment than it has resulting in segfaults on sparc (Closes: #634696) * apt-pkg/contrib/cdromutl.cc: - fix escape problem when looking for the mounted devices * apt-pkg/contrib/strutl.{h,cc}, test/libapt/strutil_test.cc: - add new DeEscapeString() similar to DeQuoteString but unescape character escapes like \0XX and \xXX (plus added test) * refresh po/* * cmdline/apt-get.cc: - fix missing download progress in apt-get download - do not require unused partial dirs in 'source' (Closes: #633510) - buildconflicts effect all architectures - implement MultiarchCross for build-dep and source (Closes: #632221) * cmdline/apt-key: - use a tmpfile instead of /etc/apt/secring.gpg (Closes: #632596) * debian/apt.postinst: - remove /etc/apt/secring.gpg if it is an empty file * doc/apt-cache.8.xml: - apply madison typofix from John Feuerstein, thanks! (Closes: #633455) * apt-pkg/policy.cc: - emit an error on unknown APT::Default-Release value (Closes: #407511) * apt-pkg/aptconfiguration.cc: - ensure that native architecture is if not specified otherwise the first architecture in the Architectures vector * apt-pkg/deb/deblistparser.cc: - Strip only :any and :native if MultiArch should be stripped as it is save to ignore them in non-MultiArch contexts but if the dependency is a specific architecture (and not the native) do not strip
| | * * apt-pkg/deb/deblistparser.cc:David Kalnischkies2011-07-251-3/+6
| | | | | | | | | | | | | | | - Strip only :any and :native if MultiArch should be stripped as it is save to ignore them in non-MultiArch contexts but if the dependency is a specific architecture (and not the native) do not strip
* | | reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies2011-09-131-0/+2
|/ /
* | merge lp:~mvo/apt/abi-breakMichael Vogt2011-06-291-8/+3
|\ \ | |/ |/|
| * * apt-pkg/pkgcache.h:David Kalnischkies2011-05-171-8/+3
| | | | | | | | - clean up mess with the "all" handling in MultiArch to fix LP: #733741 cleanly for everyone now
* | merged from lp:~mvo/apt/mvoMichael Vogt2011-06-281-1/+1
|\ \ | |/ |/|
| * * apt-pkg/deb/deblistparser.cc:Michael Vogt2011-06-091-1/+1
| | | | | | | | - include all known languages when building the apt cache (LP: #794907)
* | rename I to J to avoid redefining a variable (clang warning)David Kalnischkies2011-05-171-5/+5
|/
* * apt-pkg/deb/deblistparser.cc:Julian Andres Klode2011-04-141-1/+1
| | | - Handle no space before "[" in build-dependencies (LP: #72344)
* * apt-pkg/deb/deblistparser.cc:David Kalnischkies2011-03-281-12/+13
| | | - create foo:any provides for all architectures for an allowed package
* * apt-pkg/cacheiterator.h:David Kalnischkies2011-03-251-3/+11
| | | | | | - return "all" instead of native architecture without breaking the abi (too much) by extending enum instead of using bitflags (LP: #733741) With the next abi break that enum should be a char bitflag instead
* Remove the "pseudopackage" handling of Architecture: all packages forDavid Kalnischkies2011-03-081-55/+29
| | | | | | | | | Multi-Arch; instead, Arch: all packages only satisfy dependencies for the native arch, except where the Arch: all package is declared Multi-Arch: foreign. (Closes: #613584) This has the sideeffect that arch:all packages internally show up as coming from the native arch - so packages with the architecture "all" doesn't exist any longer in the pkgcache
* - try downloading clearsigned InRelease before trying Release.gpgDavid Kalnischkies2011-01-201-35/+79
| | | | * apt-pkg/deb/deblistparser.cc: - rewrite LoadReleaseInfo to cope with clearsigned Releasefiles
* * apt-pkg/deb/deblistparser.cc:Sebastian Andrzej Siewior2010-10-071-0/+1
| | | | | - support ArmHardFloat port in CompleteArch, thanks to Sebastian Andrzej Siewior for the patch!
* * apt-pkg/policy.cc:David Kalnischkies2010-09-141-0/+6
| | | | | | - support 100-pinning in Release file with ButAutomaticUpgrades as requested by the backports crew (Closes: #596097) * apt-pkg/deb/deblistparser.cc: - overrule NotAutomatic in case of ButAutomaticUpgrades
* * apt-pkg/deb/debmetaindex.cc:David Kalnischkies2010-07-111-1/+1
| | | - do not query each architecture for flat file archives
* use references instead of copies in the Cache generation methodsDavid Kalnischkies2010-07-081-8/+8
|
* merge with debian-experimental-maDavid Kalnischkies2010-07-051-1/+22
|\
| * deblistparser: Special-case *-armel, lpia and powerpcspe architectures.Julian Andres Klode2010-06-271-0/+6
| |
| * apt-pkg/deb/deblistparser.cc: Fix bug in architecture wildcard support.Julian Andres Klode2010-06-261-3/+10
| | | | | | | | | | | | Previously, linux-any was always matched, because the code simply appended linux- to the APT::Architecture value. Now, it does this only if the APT::Architecture value does not contain "-".
| * * apt-pkg/deb/deblistparser.cc:Julian Andres Klode2010-06-261-1/+9
| | | | | | - Handle architecture wildcards (Closes: #547724).