summaryrefslogtreecommitdiff
path: root/src/filters.c
AgeCommit message (Collapse)AuthorFilesLines
2018-08-30libdpkg: Move db-fsys code from src to lib/dpkgGuillem Jover1-1/+1
This will prepare the ground for external programs to start using libdpkg to access the dpkg fsys database via a proper API, instead of messing with the on-disk layout in so many improper ways.
2014-05-28libdpkg: Uppercase tar related enum valuesGuillem Jover1-3/+3
2013-12-07Use https:// URLs instead of http:// when possibleGuillem Jover1-1/+1
2013-08-11dpkg: Remove extra newline from path filter debug outputGuillem Jover1-1/+1
The debug() function automatically appends a newline, no need to duplicate it.
2012-10-05dpkg: Ignore trailing filter subpattern slashes on reinclusion comparisonGuillem Jover1-0/+4
The code was not matching directories on subpatterns due to trailing slashes, which was causing unpack failures as the containing subdirectories were not being unpacked and as such, they were subsequently missing from the file system. While unpacking a «/usr/share/locale/de/LC_MESSAGES/foo.mo» file, for example, something like the following options would trigger this problem: --path-exclude=/usr/share/locale/* --path-include=/usr/share/locale/de/* Closes: #688416
2012-10-05dpkg: Fix filter subpattern debug format stringGuillem Jover1-1/+1
Use a string precision instead of a field width, which was causing the output to be just blanks with the length of the subpattern.
2010-07-29libdpkg: Rename TarInfo to tar_entryGuillem Jover1-1/+1
2010-07-29libdpkg: Rename and lower-case TarInfo membersGuillem Jover1-9/+9
2010-07-29libdpkg: Rename and namespace TarFileType to tar_filetypeGuillem Jover1-1/+2
2010-07-11dpkg: Rename the remove variable to skip to not shadow remove(3)Guillem Jover1-5/+5
2010-06-07dpkg: Add two new dpkg options --path-exclude and --path-includeGuillem Jover1-0/+128
This provides support for filtering paths on package installation. This allows embedded systems to skip /usr/share/doc, manpages, etc. dpkg does not lose track of excluded paths during filtering, and they get checked for file conflicts as usual, so filters are not a way to avoid file conflict situations. Closes: #68788, #68861, #497304, #525567, #583902 Based-on-patch-by: Tollef Fog Heen <tfheen@err.no> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com> Signed-off-by: Guillem Jover <guillem@debian.org>