Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#62171 - [imagemagick] Compile with "--without-gslib" option

Attached to Project: Arch Linux
Opened by Jake Kreiger (Magali75) - Thursday, 28 March 2019, 12:52 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 21 July 2019, 13:22 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No



Compiling ImageMagick with "--without-gslib" would mean that instead of using ghostscript libraries it will invoke "gs" executable to access ghostscript. This will allow to block ghostscript access in default config in easier way like:

<policy domain="delegate" rights="none" pattern="gs" />

instead of current rule:

<policy domain="coder" rights="none" pattern="{PS,PS2,PS3,EPS,PDF,XPS}" />

which has the downside of blocking PDF manipulation even when specific file doesn't contain any postscript content.

That will make default rules less invasive for users while keeping same amount of security (blocking ghostscript).

Additional info:
This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 21 July 2019, 13:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  imagemagick