This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The official pacman repository". The branch, master has been updated via ce040514c4ed79f3053a104242cde90af471041a (commit) via 5d2f7ee6c376e59ccbd8b6f9a5355cac358f0e84 (commit) via 031611ff40bb85e493453913ae808116fa92c3cc (commit) via 10fe71e5f3ed5cff52166e78ca063baf8d1c1b83 (commit) via aa284c97f1fdef7d43a523387533ad3981627504 (commit) via f7efa6a93d5361af610827d41045d87c7a72f2b5 (commit) via 30e3e21e873b01b98ab91dc1252d4112d6a9fd2a (commit) via 03d85763e08cbe7c5ef1f9863cf25e026ee2756f (commit) via e9d91a688d1a2ebe58e8a895853debf745a529cf (commit) via 9b2a90cfb1910b5092ffec3375177229101323e4 (commit) from 9b637cc27aba561e5270862a1a3eb515e4f3f744 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit ce040514c4ed79f3053a104242cde90af471041a Author: Eli Schwartz <eschwartz@archlinux.org> Date: Thu Jan 10 00:58:44 2019 -0500 makepkg: return E_PKGBUILD_ERROR for nonexistent PKGBUILD This is not really an error with a "user function". Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> commit 5d2f7ee6c376e59ccbd8b6f9a5355cac358f0e84 Author: Eli Schwartz <eschwartz@archlinux.org> Date: Thu Jan 10 00:58:42 2019 -0500 libmakepkg: simplify splitting command output into array Use mapfile instead of hacking around read -a with the $IFS. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> commit 031611ff40bb85e493453913ae808116fa92c3cc Author: Eli Schwartz <eschwartz@archlinux.org> Date: Thu Jan 10 00:58:41 2019 -0500 libmakepkg: add routine for linting $SOURCE_DATE_EPOCH This can only ever be an int, and the specification states that a malformed timestamp should be considered a fatal error. https://reproducible-builds.org/specs/source-date-epoch/ Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> commit 10fe71e5f3ed5cff52166e78ca063baf8d1c1b83 Author: Eli Schwartz <eschwartz@archlinux.org> Date: Thu Jan 10 00:54:33 2019 -0500 makepkg: fix unguarded use of printf paths can contain printf-unsafe chars, and printf -v is not somehow immune to this Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> commit aa284c97f1fdef7d43a523387533ad3981627504 Author: Luke Shumaker <lukeshu@parabola.nu> Date: Thu Aug 9 13:41:13 2018 -0400 makepkg: check_pkgrel: Don't say "decimal" in the error message If you have a malformed pkgrel, the error message says that it must be a "decimal". That isn't quite true, as that would mean that `1.1 == 1.10`. Signed-off-by: Allan McRae <allan@archlinux.org> commit f7efa6a93d5361af610827d41045d87c7a72f2b5 Author: Luke Shumaker <lukeshu@parabola.nu> Date: Thu Aug 9 13:41:12 2018 -0400 makepkg: Better error messages for versions in (check, make, opt)depends/provides/conflicts Given the depends depends=('foo>=1.2-1.par2') and the error message ==> ERROR: pkgver in depends is not allowed to contain colons, forward slashes, hyphens or whitespace. One would be lead to believe that the problem is that they gave a pkgrel in depends at all, not that the pkgrel contains letters. Each of the (check,make,opt)depends, conflicts, and provides linters use a glob to trim off properly formed epoch an rel from the full version string, and pass the remainder to check_pkgver(). This does a good job of accepting/rejecting full versions, but doesn't do a good job of generating good error messages when rejecting if it's because of the epoch or rel. 1. Factor out check_epoch() and check_pkgrel() from lint_epoch() and lint_pkgrel(), similarly to check_pkgver(). 2. Add a check_fullpkgver() that takes a full [epoch:]ver[-rel] string and splits it in to epoch/ver/rel, and calls the appropriate check_ function on each. 3. Use check_fullpkgver() in the {,check,make,opt}depends, conflicts, and provides linters. Signed-off-by: Allan McRae <allan@archlinux.org> commit 30e3e21e873b01b98ab91dc1252d4112d6a9fd2a Author: Eli Schwartz <eschwartz@archlinux.org> Date: Tue Jun 12 21:17:17 2018 -0400 libmakepkg/lint_pkgbuild: check for invalid variables even if they're empty Checking the length of the variable to be non-zero before considering it an error is inconsistent; license=() and depends='' and `declare arch` should be considered just as wrong. In fact the current check detects depends='' as non-zero and returns an error, but happily considers the others to be perfectly okay. A more reliable check is to simply see if the name has been declared (whether it is set or not), and then enforce that it's been declared to the right type. As an added benefit, avoiding the creation of proxy-evaled variables to count the number of indexes results in simpler code. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> commit 03d85763e08cbe7c5ef1f9863cf25e026ee2756f Author: Allan McRae <allan@archlinux.org> Date: Thu Jan 10 13:52:58 2019 +1000 Add [ignored] to -Qu output for packages in repos that are not Usage = Upgrade List all available updates in -Qu output, but include [ignored] beside those that will not be updated in a -Su operation due to thier repo Usage value (in addition to those that are Ignored). Fixes FS#59854. The following people provided initial patches to print [ignored] on -Qu operations, which highlighted a larger problem to be fixed first: With-thanks-to: morganamilo <morganamilo@gmail.com> With-thanks-to: Michael Straube <michael.straube@posteo.de> Signed-off-by: Allan McRae <allan@archlinux.org> commit e9d91a688d1a2ebe58e8a895853debf745a529cf Author: Allan McRae <allan@archlinux.org> Date: Thu Jan 10 13:44:32 2019 +1000 libalpm/sync.c: change alpm_sync_newversion() to alpm_sync_get_new_version() The behaviour of "pacman -Qu" was very strange... It would only consider packages from repos with Usage = Search (or All), and ignore those with Usage = Sync, Install or Upgrade. This is because the function alpm_sync_newversion() used ALPM_DB_USAGE_SEARCH for its filtering. Given this function is documented (at least in the source) to "Check for new version of pkg in sync repos", I would expect that to look at all repos. However, just changing this parameter, would result in a fairly silent change in behaviour of this function. Instead, rename the function and remove this filtering altogether. Users of this function can filter the dbs passed to this function to achieve their desired output. Signed-off-by: Allan McRae <allan@archlinux.org> commit 9b2a90cfb1910b5092ffec3375177229101323e4 Author: Allan McRae <allan@archlinux.org> Date: Thu Jan 10 12:47:01 2019 +1000 Add -fstack-clash-protection to CFLAGS in debug builds if available Signed-off-by: Allan McRae <allan@archlinux.org> ----------------------------------------------------------------------- Summary of changes: configure.ac | 1 + lib/libalpm/alpm.h | 2 +- lib/libalpm/sync.c | 6 +-- m4/acinclude.m4 | 19 +++++++ scripts/Makefile.am | 2 + scripts/libmakepkg/executable/checksum.sh.in | 2 +- scripts/libmakepkg/lint_config/meson.build | 1 + .../source_date_epoch.sh.in} | 28 ++++------- .../libmakepkg/lint_pkgbuild/checkdepends.sh.in | 10 ++-- scripts/libmakepkg/lint_pkgbuild/conflicts.sh.in | 10 ++-- scripts/libmakepkg/lint_pkgbuild/depends.sh.in | 14 +++--- scripts/libmakepkg/lint_pkgbuild/epoch.sh.in | 10 +++- scripts/libmakepkg/lint_pkgbuild/fullpkgver.sh.in | 58 ++++++++++++++++++++++ scripts/libmakepkg/lint_pkgbuild/makedepends.sh.in | 10 ++-- scripts/libmakepkg/lint_pkgbuild/meson.build | 1 + scripts/libmakepkg/lint_pkgbuild/optdepends.sh.in | 10 ++-- scripts/libmakepkg/lint_pkgbuild/pkgrel.sh.in | 15 ++++-- scripts/libmakepkg/lint_pkgbuild/provides.sh.in | 10 ++-- scripts/libmakepkg/lint_pkgbuild/variable.sh.in | 16 +++--- scripts/makepkg.sh.in | 4 +- src/pacman/query.c | 10 ++-- 21 files changed, 156 insertions(+), 83 deletions(-) copy scripts/libmakepkg/{executable.sh.in => lint_config/source_date_epoch.sh.in} (64%) mode change 100644 => 100755 create mode 100644 scripts/libmakepkg/lint_pkgbuild/fullpkgver.sh.in hooks/post-receive -- The official pacman repository