pacman/scripts/libmakepkg/lint_pkgbuild
Andrew Gregory 55a65aaf90 makepkg: restrict pkgname and pkgver to ascii
pkgname and pkgver are used as directory names within database files.
libarchive does not provide a reliable locale-independent method for
reading archive file names, causing errors when archive paths include
non-ascii characters.

This is a first step toward dealing with FS#49342, by hopefully reducing
the number of packages with non-ascii data in the wild before updating
libalpm to reject them outright.

See https://github.com/libarchive/libarchive/wiki/Filenames
and https://github.com/libarchive/libarchive/issues/587

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
2019-06-06 10:34:23 +10:00
..
arch.sh.in libmakepkg: disallow using 'any' with other arches 2019-01-16 11:23:17 +10:00
arch_specific.sh.in libmakepkg: lint disallowed architecture specific variables 2019-01-31 15:03:28 +10:00
backup.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
changelog.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
checkdepends.sh.in scripts: protect against unintended glob matching in [[ ]] RHS 2019-05-08 12:45:26 +10:00
conflicts.sh.in scripts: protect against unintended glob matching in [[ ]] RHS 2019-05-08 12:45:26 +10:00
depends.sh.in scripts: protect against unintended glob matching in [[ ]] RHS 2019-05-08 12:45:26 +10:00
epoch.sh.in makepkg: Better error messages for versions in (check, make, opt)depends/provides/conflicts 2019-01-10 17:00:03 +10:00
fullpkgver.sh.in makepkg: Better error messages for versions in (check, make, opt)depends/provides/conflicts 2019-01-10 17:00:03 +10:00
install.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
makedepends.sh.in scripts: protect against unintended glob matching in [[ ]] RHS 2019-05-08 12:45:26 +10:00
meson.build libmakepkg: lint disallowed architecture specific variables 2019-01-31 15:03:28 +10:00
optdepends.sh.in scripts: protect against unintended glob matching in [[ ]] RHS 2019-05-08 12:45:26 +10:00
options.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
package_function.sh.in makepkg: reject PKGBUILDs with both split and non-split package functions 2018-09-19 11:10:04 +10:00
package_function_variable.sh.in libmakepkg: lint disallowed variables in package() 2019-01-31 15:03:25 +10:00
pkgbase.sh.in libmakepkg/lint_pkgbuild: lint depends/etc. as if they are pkgname 2018-04-29 21:49:05 +10:00
pkglist.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
pkgname.sh.in makepkg: restrict pkgname and pkgver to ascii 2019-06-06 10:34:23 +10:00
pkgrel.sh.in makepkg: check_pkgrel: Don't say "decimal" in the error message 2019-01-10 17:00:05 +10:00
pkgver.sh.in makepkg: restrict pkgname and pkgver to ascii 2019-06-06 10:34:23 +10:00
provides.sh.in scripts: protect against unintended glob matching in [[ ]] RHS 2019-05-08 12:45:26 +10:00
source.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
util.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
variable.sh.in libmakepkg: centralise random arrays of pkgbuild variables 2019-01-31 10:02:37 +10:00