Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#18988 - Allow to specify directory name in NoExtract option in pacman.conf
Attached to Project:
Pacman
Opened by Sergej Pupykin (sergej) - Wednesday, 07 April 2010, 16:40 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 13 November 2011, 19:46 GMT
Opened by Sergej Pupykin (sergej) - Wednesday, 07 April 2010, 16:40 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 13 November 2011, 19:46 GMT
|
DetailsHere is 2 (not perfect, probably even dirty, but they work) patches to compare file names by prefix.
So user can set NoExtract = usr/share/man to disable all man pages installing. |
This task depends upon
Closed by Dave Reisner (falconindy)
Sunday, 13 November 2011, 19:46 GMT
Reason for closing: Implemented
Additional comments about closing: see comments
Sunday, 13 November 2011, 19:46 GMT
Reason for closing: Implemented
Additional comments about closing: see comments
0001-NoExtract-by-directory-n...
For example :
IgnorePkg=usr/share/man/* will be converted at runtime in an array containing all the files...
It could even handle regular expression.
What do you think ?
!memcmp(path, file, path_len) && (path_len < file_len)
should be swapped
(path_len < file_len) && !memcmp(path, file, path_len)
to avoid crash. Or even split into different if operators.
http://projects.archlinux.org/pacman.git/commit/?id=902305f1633298ff0ef7cd2bfbed0e91aae91646