Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2018-04-03 17:48:14 -0400
committerAllan McRae <allan@archlinux.org>2018-04-29 21:49:05 +1000
commit91b72cc386ca03241791748da5da2b150c724ace (patch)
treeacd1519d07a1a3eeb6913ba7bd2606edb00e263f /README
parentbcaf1b84ff0f0709d35cd0adb1f13965d1101aeb (diff)
libmakepkg/lint_pkgbuild: lint depends/etc. as if they are pkgname
depends, provides, conflicts, replaces, and other variables that are meant to contain package names, are now checked to ensure 1) the name component contains only characters that would equate to a valid pkgname. 2) the version component contains only characters that would equate to a valid pkgver. 3) comparison operator is a valid comparison operator (e.g. provides only allows exact = while optdepends doesn't allow anything) This also refactors pkgname into a shared utility function, wires up pkgbase optdepends and provides to use it, and gives pkgver a touchup to allow referencing where it was called from. Fixes FS#57833 and a bit of extra. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions