pacman/scripts/libmakepkg
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
..
buildenv Split prepare_buildenv() to libmakepkg 2018-11-27 22:48:43 +10:00
executable libmakepkg: fix missing or inaccurate interdependencies 2019-05-08 12:45:34 +10:00
integrity makepkg: propagate error codes when package failed to sign correctly 2019-05-08 13:08:47 +10:00
lint_config libmakepkg: add lint_config to validate SRCEXT/PKGEXT 2019-05-28 11:13:40 +10:00
lint_package Add meson.build files to build with meson 2018-11-02 03:16:34 -04:00
lint_pkgbuild makepkg: restrict pkgname and pkgver to ascii 2019-06-06 10:34:23 +10:00
source Support application/gzip MIME type in extraction 2019-05-28 10:48:42 +10:00
tidy scripts: protect against unintended glob matching in [[ ]] RHS 2019-05-08 12:45:26 +10:00
util makepkg: also move restore_envvars handling into libmakepkg 2019-05-28 12:46:44 +10:00
.gitignore libmakepkg: fix .gitignore to simply ignore all generated .sh files 2017-12-07 15:37:20 +10:00
buildenv.sh.in libmakepkg: fix missing or inaccurate interdependencies 2019-05-08 12:45:34 +10:00
executable.sh.in libmakepkg: fix missing or inaccurate interdependencies 2019-05-08 12:45:34 +10:00
integrity.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
lint_config.sh.in libmakepkg: Add basic rules to lint makepkg.conf variables 2018-03-15 14:34:13 +10:00
lint_package.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
lint_pkgbuild.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
meson.build meson: remove useless mkdir -p 2018-12-12 10:12:41 +10:00
source.sh.in libmakepkg: implement extendable source protocols 2019-01-22 09:38:31 +10:00
srcinfo.sh.in libmakepkg: fix migration to schema.sh for integsums 2019-05-08 10:05:23 +10:00
tidy.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