Skip to content
Snippets Groups Projects
  1. Jun 02, 2018
  2. May 31, 2018
  3. May 29, 2018
  4. May 16, 2018
  5. May 13, 2018
  6. May 12, 2018
  7. Mar 24, 2018
    • Eli Schwartz's avatar
      makechrootpkg: fix verifysource with pacman-git · 40f0179a
      Eli Schwartz authored
      
      In pacman-git commit d8717a6a9666ec80c8645d190d6f9c7ab73084ac makepkg
      started checking that the setuid/setgid bit could be removed on the
      $BUILDDIR in order to prevent this propagating to the packages
      themselves.  Unfortunately, this requires the temporary builddir used
      during the --verifysource stage of makepkg, to be owned by $makepkg_user
      which was not the case as it is created as root using mktemp (and given
      world rwx in addition to the restricted deletion bit.)
      
      Obviously makepkg cannot chmod a directory that it does not own. Fix
      this by making $makepkg_user the owner of that directory, as should have
      been the case all along.
      
      (Giving world rwx is illogical on general principle. The fact that this
      is a workaround for makepkg demanding these directories be writable even
      when they are not going to be used for the makepkg options in question,
      is not justification for being careless.)
      
      Signed-off-by: default avatarEli Schwartz <eschwartz@archlinux.org>
      40f0179a
    • Emiel Wiedijk's avatar
      makechrootpkg: respect GNUPGHOME · ffb5003f
      Emiel Wiedijk authored
      
      Previously, makechrootpkg hardcoded ~/.gnupg. Therefore, if a user
      uses a custom GPG home directory, the siganture checking would fail.
      Now makechrootpkg uses $GNUPGHOME, with a fallback to ~/.gnupg.
      
      Signed-off-by: default avatarEmiel Wiedijk <me@aimileus.nl>
      ffb5003f
    • Bartłomiej Piotrowski's avatar
      Remove corepkg symlink · ab3368f0
      Bartłomiej Piotrowski authored
      While still possible with 'commitpkg core', there is a chance it will
      prevent accidental pushes straight to [core].
      ab3368f0
  8. Jan 21, 2018
  9. Dec 27, 2017
  10. Nov 22, 2017
  11. Nov 08, 2017
  12. Oct 30, 2017
    • Luke Shumaker's avatar
      use makepkg library instead of local function copies · 94160d62
      Luke Shumaker authored
      This mirrors dbscripts commit
      625fa02 by Pierre Schmitz <pierre@archlinux.de> at 2017-04-18 14:20:49
      94160d62
    • Luke Shumaker's avatar
      makechrootpkg: Fix function usage comments · 095e5305
      Luke Shumaker authored
      A couple of the comments noting which globals are used by functions are
      outdated/wrong.
      
       - download_sources() : Remove USER from the list.  It was always wrong.
         Originally, it should have been SUDO_USER (not USER), but I should have
         removed it entirely in 4f23609d.
      
       - move_products() : Add SRCPKGDEST to the list.  Though the commit adding
         the comment was only recently upstreamed (as 2fd5931a), it originated in
         2013 in a commit that has since  been rebased many times.  Anyway, in
         this rebasing, it missed move_products() starting to pay attention to
         SRCPKGDEST in fd1be1b2 (since nothing made git think there was a
         "conflict").
      095e5305
    • Luke Shumaker's avatar
      makechrootpkg: move init_variables() to be part of main() · e4db687d
      Luke Shumaker authored
      The reason it wasn't moved before was just to keep the diffs
      (with --ignore-all-space) smaller, to make merging and rebasing work
      easier.  Moving code around in a file tends to make that difficult.
      
      But, readability wise, it belongs in main().
      e4db687d
  13. Sep 14, 2017
  14. Sep 12, 2017
  15. Sep 11, 2017
  16. Aug 24, 2017
Loading