summaryrefslogtreecommitdiff
path: root/apt-pkg/versionmatch.cc
AgeCommit message (Collapse)AuthorFilesLines
2010-09-02check for length of Data to avoid the validness ofDavid Kalnischkies1-1/+1
Pin: origin " (no error displayed). We already know in this method that Data is at least one char long, so we avoid the length counting as long as the string doesn't start with "
2010-08-30* apt-pkg/versionmatch.cc:David Kalnischkies1-3/+6
- let the pin origin actually work as advertised in the manpage which means "" are optional and pinning a local archive does work - even if it is a non-flat archive (Closes: #594435)
2010-06-28Also free regular expressions.Julian Andres Klode1-0/+1
2010-06-28Use _error->Warning() instead of writing to std::cerr.Julian Andres Klode1-1/+1
2010-06-28Remove debugging stuff, this was not meant to be here.Julian Andres Klode1-1/+0
2010-06-28Also support regular expressions and glob() patterns in "Pin: version".Julian Andres Klode1-0/+2
2010-06-28* apt-pkg/versionmatch.cc:Julian Andres Klode1-12/+46
- Support matching pins by regular expressions or glob() like patterns, regular expressions have to be put between to slashes; for example, /.*/.
2009-12-23merge Goswin Brederlow "support download of index files for different archs"David Kalnischkies1-1/+7
patch which includes the following big changes: - Declare the unused [vendor] field in sources.list as option field, e.g. deb [arch=amd64,i386 lang=en_GB have=fun] http://example.org - When fetching index files download them for all APT::Architectures (overrideable with the options field above) - Allow all architectures of APT::Architectures to be in the Cache - Add the architecture to status and progress informations - Add b= (Binary architecture) to policy This commit doesn't incude the "pin-hack" as the Group structure will take care of this (and does it already to some extend).
2009-05-07[apt-pkg] allow also codenames for specifying a releaseDavid Kalnischkies1-13/+24
* MatchType::Release checks first for archive than for codename equality * new n= option in apt_preference to be able to pin based on a codeName
2008-10-11Fix another compilation warning in apt-pkg/versionmatch.ccLuca Bruno1-1/+1
2007-06-08* remove all the remaining #pragma implementationMichael Vogt1-3/+0
2004-09-20Fix segfault when handling /etc/apt/preferences.Arch Librarian1-3/+7
Author: doogie Date: 2003-05-19 17:58:26 GMT Fix segfault when handling /etc/apt/preferences.
2004-09-20Fix origin pins for file:// uris.Arch Librarian1-6/+4
Author: doogie Date: 2003-04-24 03:16:58 GMT Fix origin pins for file:// uris.
2004-09-20Fix some unlikely segfaultsArch Librarian1-2/+2
Author: jgg Date: 2002-11-06 06:43:14 GMT Fix some unlikely segfaults
2004-09-20Fixed errant prefix matchingArch Librarian1-3/+5
Author: jgg Date: 2001-06-10 01:57:45 GMT Fixed errant prefix matching
2004-09-20Fixed matching all releasesArch Librarian1-1/+9
Author: jgg Date: 2001-05-29 03:07:12 GMT Fixed matching all releases
2004-09-20G++3 fixes from RandolphArch Librarian1-6/+6
Author: jgg Date: 2001-05-22 06:20:06 GMT G++3 fixes from Randolph
2004-09-20'apt-cache policy' preferences debug tool.Arch Librarian1-4/+4
Author: jgg Date: 2001-04-29 05:13:51 GMT 'apt-cache policy' preferences debug tool.
2004-09-20Join with aliencodeArch Librarian1-0/+210
Author: jgg Date: 2001-02-20 07:03:16 GMT Join with aliencode