[pacman-dev] [PATCH v2 1/2] libmakepkg: add lint_config to validate SRCEXT/PKGEXT

Allan McRae allan at archlinux.org
Tue May 28 01:15:27 UTC 2019

On 23/5/19 12:39 am, Eli Schwartz wrote:
> These variables must begin with .src.tar / .pkg.tar respectively, so
> fail early if those expectations are not matched. This prevents makepkg
> from creating e.g. package files literally named "./pacman-5.1.3-1-x86_64"
> which are actually uncompressed tarballs.
> Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
> ---
> v2: tweaked the error message a bit


While reviewing this I noticed our --with-pkg-ext configure flag lets
anything through...


More information about the pacman-dev mailing list