index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-06-18 | libmakepkg/lint_pkgbuild: squelch syntax error when a pkgname is empty | Eli Schwartz | |
We fail with an error, but then we also fail with: ==> ERROR: depends is not allowed to be empty. /usr/share/makepkg/lint_pkgbuild/pkgname.sh: line 39: continue: only meaningful in a `for', `while', or `until' loop During the refactor to provide enhanced pkgname=pkgver linting, this was moved out of the ${pkgname[@]} loop to a distinct function, at which time it should have been modified to return rather than continue. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2018-04-29 | libmakepkg/lint_pkgbuild: lint depends/etc. as if they are pkgname | Eli Schwartz | |
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> | |||
2018-03-14 | Update coyrights for 2018 | Allan McRae | |
make update-copyright OLD=2017 NEW=201 Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2017-01-04 | Update copyright years | Allan McRae | |
Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2016-10-10 | lint_pkgbuild/pkgname: pkgname is not allowed to be empty | Christian Hesse | |
We checked for empty array elements, but did not catch empty array. Add a check for that case as well. Signed-off-by: Christian Hesse <mail@eworm.de> Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2016-01-04 | Update copyright years for 2016 | Allan McRae | |
make update-copyright OLD=2015 NEW=2016 Signed-off-by: Allan McRae <allan@archlinux.org> | |||
2015-05-16 | libmakepkg: extract PKGBUILD linting functions | Allan McRae | |
Signed-off-by: Allan McRae <allan@archlinux.org> |