1. 27 Jul, 2018 3 commits
    • Allan McRae's avatar
      Handle root prefix in overwrite operations · 0827aff8
      Allan McRae authored
      
      
      The pacman --overwrite operation currently expects a path without
      the root prefix specified.  This is unexpected, particularly
      given our conflict error message reports the path with the root
      prefix included.
      
      This patch allows libalpm to overwrite files with the root prefix
      specified.
      
      Signed-off-by: Allan McRae's avatarAllan McRae <allan@archlinux.org>
      0827aff8
    • Eli Schwartz's avatar
      makepkg: reduce strictness of pkgver in depends linting · 316b031b
      Eli Schwartz authored and Allan McRae's avatar Allan McRae committed
      
      
      This change was introduced to prevent entries like depends=('foo>').
      However, it had the unintended side effect of causing a number of
      working PKGBUILDs to fail to build. This happened when a PKGBUILD
      defined one variable through calling a "complex" statement within the
      PKGBUILD's package function (e.g. a function or evaluating in a
      subshell), then used it to define the package metadata variable.
      
      extract_function_variable() cannot execute the package function in order
      to retrieve this information, so it performs a simple grep + eval instead
      and in the process misses the contextual awareness of running within the
      package function.
      
      While not catching these "issues" can result in incorrect SRCINFO, the
      resulting packages are fine. Stop aborting on the common case where the
      pkgver of a dependency is dynamically set during the package function
      until the large number of broken PKGBUILDs are fixed, and the
      restrictions of the PKGBUILD format are documented.
      
      "Fixes" FS#58776
      
      Signed-off-by: Eli Schwartz's avatarEli Schwartz <eschwartz@archlinux.org>
      Signed-off-by: Allan McRae's avatarAllan McRae <allan@archlinux.org>
      316b031b
    • Michael Straube's avatar
      makepkg.conf: add missing sha224 sums · 757e85b2
      Michael Straube authored and Allan McRae's avatar Allan McRae committed
      
      
      Add missing sha224 sums to makepkg.conf and it's man page.
      
      Signed-off-by: default avatarMichael Straube <michael.straube@posteo.de>
      Signed-off-by: Allan McRae's avatarAllan McRae <allan@archlinux.org>
      757e85b2
  2. 24 Jul, 2018 2 commits
  3. 19 Jul, 2018 3 commits
  4. 19 Jun, 2018 1 commit
  5. 18 Jun, 2018 17 commits
  6. 04 Jun, 2018 1 commit
  7. 28 May, 2018 1 commit
  8. 27 May, 2018 6 commits
  9. 16 May, 2018 1 commit
    • Eli Schwartz's avatar
      Fix using run_pacman to invoke -Qi with sudo · 6341e5ce
      Eli Schwartz authored and Allan McRae's avatar Allan McRae committed
      In commit 5698d7b6
      
       a new non-root use of
      pacman was added -- previously we used -T or -Qq, and run_pacman did not
      know how to special-case -Qi to skip being prepended with sudo.
      
      The result is:
      
        -> Generating .BUILDINFO file...
      ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
      [sudo] password for eschwartz:
        -> Adding changelog file...
      
      Fix this by using a more generic glob since neither -Q nor -T will ever
      need sudo or PACMAN_OPTS
      
      Signed-off-by: Eli Schwartz's avatarEli Schwartz <eschwartz@archlinux.org>
      Signed-off-by: Allan McRae's avatarAllan McRae <allan@archlinux.org>
      6341e5ce
  10. 15 May, 2018 1 commit
  11. 13 May, 2018 4 commits