[pacman-dev] [PATCH 2/4] makepkg: reject package data with newlines
Allan McRae
allan at archlinux.org
Fri Dec 2 05:14:23 UTC 2016
On 06/11/16 08:08, Andrew Gregory wrote:
> The PKGINFO format cannot handle values that contain newlines.
>
> Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
> ---
>
> Many package fields get processed in such a way that getting a newline into
> a .PKGINFO file is actually not all that easy. One way to do it is with
> PACKAGER (e.g. `PACKAGER=foo$'\n'bar makepkg`). Ideally there would be
> a lint_package check for this, but we don't currently have an easy way to loop
> through all package variables and this is the most reliable way to be sure that
> we check everything we write.
>
OK.
More information about the pacman-dev
mailing list