ava1ar / customizepkg

A tool for Arch Linux package manager pacman to modify PKGBUILD automatically
GNU General Public License v3.0
49 stars 14 forks source link

New grep version crashes customizepkg #25

Closed bartoszek closed 8 years ago

bartoszek commented 8 years ago

New grep 2.24.1 throws error about insecure usage of $ and ^ in perl type regexp when '-z' is enebled. This is a fix around pcre mishandling those type of patterns grep commit Fix: remove '-z' flag (multi-line fields rarely if ever appears in PKGBUILD )

stevenhoneyman commented 8 years ago

Tell that to qemu... https://projects.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/qemu

stevenhoneyman commented 8 years ago

(I'm not disagreeing that this is a problem, but this needs a real fix, not just a workaround that breaks packages)

ava1ar commented 8 years ago

I reverted the multiline change, so customizepkg works now (but not for multiline fields). Multiline support isue discussed here: https://github.com/ava1ar/customizepkg/issues/19