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#27430 - [makepkg] make compression configurable
Attached to Project:
Pacman
Opened by Christian Hesse (eworm) - Saturday, 03 December 2011, 14:47 GMT
Last edited by Allan McRae (Allan) - Friday, 09 March 2012, 05:36 GMT
Opened by Christian Hesse (eworm) - Saturday, 03 December 2011, 14:47 GMT
Last edited by Allan McRae (Allan) - Friday, 09 March 2012, 05:36 GMT
|
DetailsI would like to have an option to change compression parameters.
It could be a great benefit changing bz2 compression to pbzip2 or adding "-T 0" to latest xz from git for parallel compression. |
This task depends upon
Closed by Allan McRae (Allan)
Friday, 09 March 2012, 05:36 GMT
Reason for closing: Implemented
Additional comments about closing: http://projects.archlinux.org/pacman.git /commit/?id=09a93b2e
Friday, 09 March 2012, 05:36 GMT
Reason for closing: Implemented
Additional comments about closing: http://projects.archlinux.org/pacman.git /commit/?id=09a93b2e
makepkg-config-compress.diff
COMPRESSGZ=(gzip -c -f -n)
COMPRESSBZ2=(bzip2 -c -f)
COMPRESSXZ=(xz -c -z -)
COMPRESSZ=(compress -c -f)
http://mywiki.wooledge.org/BashFAQ/050
While there's no immediate need for it, I'd rather not leave ourselves open to mischief in the future should the need arise for... whatever..
...and the point of using arrays is lost if you do not properly quote the expansion
<snip>
*tar.gz) "${COMPRESSGZ[@]}" ;;
</snip>
BTW, what does the last dash for xz do? Standard output is enabled via -c.