Package: libcupt-perl Version: 1.5.13 Severity: wishlist I just want to let you know that the next version of APT handles regular expressions and matches using fnmatch() anywhere in the Pin: field where a string comparison was done previously.
A regular expression is surrounded by two forward slashes, and a fnmatch() expression has no special things, it replaces the old string match directly. This allows stuff like: Pin: release o=/deb.*/ Pin: version *5* Pin: origin local* Pin: origin /^local.*/ Pin: origin /^$/ (equal to origin "") Regular expressions are not anchored, meaning they match anywhere in the string. APT currently uses POSIX Extended Regular Expressions, for cupt, I think perl regex makes more sense. You can also extend the concept to the Package: and Sources: fields. APT2 can do this, and it looks like: Package: /regex/, fnmatch-pattern I did not find an easy way to add this Package/Source matching to APT at the moment, but it may come. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (350, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libcupt-perl depends on: ii liblist-moreutils-perl 0.25~02-1 Perl module with additional list f ii libparse-recdescent-perl 1.965001+dfsg-1 Perl module to create and use recu ii libterm-size-perl 0.2-4+b1 Perl extension for retrieving term ii liburi-perl 1.54-1 module to manipulate and access UR ii libwww-curl-perl 4.11-1 Perl bindings to libcurl ii perl [libdigest-sha-perl 5.10.1-13 Larry Wall's Practical Extraction Versions of packages libcupt-perl recommends: ii bzip2 1.0.5-4 high-quality block-sorting file co ii gpgv 1.4.10-4 GNU privacy guard - signature veri ii liblocale-gettext-perl 1.05-6 Using libc functions for internati Versions of packages libcupt-perl suggests: ii cupt 1.5.13 alternative front-end for dpkg -- pn debdelta <none> (no description available) ii dpkg-dev 1.15.7.2 Debian package development tools pn dpkg-repack <none> (no description available) ii lzma 4.43-14 Compression method of 7z format in -- no debconf information -- Julian Andres Klode - Debian Developer, Ubuntu Member See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
pgpc6wWaA5q7y.pgp
Description: PGP signature