| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
by moving Policy to public again (and therefore after SrcList)
|
|
|
|
| |
- SetCandidateVer for all pseudo packages
- SetReInstall for the "all" package of a pseudo package
|
| |
|
|
|
| |
- doesn't include it in the library for now as it is too volatile
|
|
|
|
|
| |
one for PackageSet and refactor the existing VersionSet methods
to simplify that.
|
|\ |
|
| |
| |
| |
| | |
- make pkgPolicy public again, libapt-pkg-perl (and probably
others) get unhappy without that
|
| |
| |
| |
| |
| | |
- untouched packages are never missing
* apt-pkg/packagemanager.cc:
- packages that are not touched doesn't need to be unpacked
|
|/
|
|
| |
- get the candidate either from an already built depcache
or use the policy which is a bit faster than depcache generation
|
|
|
|
| |
the call completely
|
| |
|
| |
|
|
|
| |
- move the gpg codecopy to a new method and use it also in methods/gpgv.cc
|
|
|
|
| |
- get the candidate right for a not-installed pseudo package if
his non-pseudo friend is installed
|
|
|
|
| |
them and gcc-4.5 does the right thing (TM) with and without them
|
|\ |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
branch to prevent replay attacks better, thanks to Thomas Viehmann
for the initial patch! (Closes: #499897)
* doc/apt.conf.5.xml:
- document the new Valid-Until related options
* apt-pkg/contrib/strutl.cc:
- split StrToTime() into HTTP1.1 and FTP date parser methods and
use strptime() instead of some self-made scanf mangling
- use the portable timegm shown in his manpage instead of a strange
looking code copycat from wget
* ftparchive/writer.cc:
- add ValidTime option to generate a Valid-Until header in Release file
|
| | | |
|
| | | |
|
| | |
| | |
| | | |
looking code copycat from wget
|
| | |
| | |
| | |
| | |
| | | |
provides a setting in the configuration prefer the date which is
earlier.
|
| | |
| | |
| | |
| | | |
method and allow for better translations of the error messages
|
| | |
| | |
| | |
| | | |
- split StrToTime() into HTTP1.1 and FTP date parser methods and
use strptime() instead of some selfmade scanf mangling
|
| | |
| | |
| | |
| | |
| | | |
- backport forgotten Valid-Until patch from the obsolete experimental
branch to prevent replay attacks better, thanks to Thomas Viehmann
for the initial patch! (Closes: #499897)
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- switch {,Install-}Size to unsigned long long
- deal with long long, not with int to remove 2GB Limit (LP: #250909)
- deprecate AddSize with Multiplier as it is unused and switch to
boolean instead to handle the sizes more gracefully.
- switch i{Download,Usr}Size from double to (un)signed long long
* cmdline/apt-get.cc:
- use unsigned long long instead of double to store values it gets
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- switch i{Download,Usr}Size from double to (un)signed long long
The biggest reason is that this saves a lot of float point operations
we do in AddSizes() on integers. The only reason i see that this was
a double is that it was 64bit long and can therefore store bigger
values than int/long, but with the availablity of (un)signed long long
we are now also at 64bit and can store sizes more than 8 Exabytes big -
by the time this will be a limit the C/C++ Standard will have bigger types,
hopefully.
|
| | | |
| | | |
| | | | |
boolean instead to handle the sizes more gracefully.
|
| | |/
| | |
| | |
| | |
| | | |
- switch {,Install-}Size to unsigned long long
* apt-pkg/depcache.cc:
- deal with long long, not with int to remove 2GB Limit (LP: #250909)
|
| | |
| | |
| | |
| | | |
packages on the commandline into groups based on modifiers
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
application to be really generic.
|
| | |
| | |
| | |
| | | |
the existing methods a bit to reuse them easier intern
|
| | | |
|
| | |
| | |
| | |
| | | |
- split Open() into submethods to be able to build only parts
- make the OpProgress optional in the Cache buildprocess
|
| | |
| | |
| | | |
- add simple wrapper around std::set for cache structures
|
| | | |
|
| | |
| | |
| | | |
- get the best matching arch package from a group with FindPreferredPkg
|
| | |
| | |
| | | |
- fix segfault in SaveInConfig caused by writing over char[] sizes
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | | |
- add a simple wrapper around std::set for packages with it
|
| | |
| | |
| | | |
- correct "Dangerous iterator usage." pointed out by cppcheck
|
| | |
| | |
| | | |
- let pkgCache::Iterator inherent std::iterator
|
| | |
| | |
| | |
| | |
| | | |
- add a constant Exists check for MetaKeys
* apt-pkg/acquire-item.cc:
- do not try PDiff if it is not listed in the Meta file
|
| | |
| | |
| | | |
- remove duplicate architectures in getArchitectures()
|
| | | |
|
| | |
| | |
| | |
| | | |
- do the autoremove mark process also for required packages to handle
these illegally depending on lower priority packages (Closes: #583517)
|