Skip to content
Snippets Groups Projects
  1. Oct 03, 2018
  2. Sep 24, 2018
  3. Jul 29, 2018
  4. Jun 22, 2018
  5. Jun 21, 2018
    • Oliver Smith's avatar
      newapkbuild: check arguments and improve usage() · a68354eb
      Oliver Smith authored and Natanael Copa's avatar Natanael Copa committed
      Changes:
      * argument sanity checks:
        * `PKGNAME[-PKGVER] | SRCURL`
          * check if missing
          * check if specified more than once (see below)
        * specifying more than one buildtype flag
        * `-n` (set pkgname) without using SRCURL as last argument
        * `-s` (sourceforge source) without using PKGNAME as last argument
      * Typo fix: exist -> exists
      * `usage()`:
        * always print PKGNAME and PKGDESC (instead of NAME and DESC,
          NAME was used in one place and PKGNAME in another)
        * link to <https://spdx.org/licenses/>
        * `-m` (meson) flag was missing in short usage line at the top
        * indicate that the buildtypes are exclusive
        * `-c` flag: remove "to new directory" wording to make the
          message shorter (this should be obvious)
        * remove empty line at the end
      
      NOTE: Before this commit, the `PKGNAME[-PKGVER] | SRCURL` was allowed
      to be specified more than once, and the code looped over the arguments.
      But this was not documented in `usage()` and had unexpected results:
      
      ```
      $ newapkbuild first second third
      $ tree
      .
      ___ first
          ___ APKBUILD
          ___ first
          ___ ___ APKBUILD
          ___ ___ first
          ___ ___ ___ APKBUILD
          ___ ___ ___ src
          ___ ___ src
          ___ src
      ```
      a68354eb
  6. May 31, 2018
    • Natanael Copa's avatar
      ==== release 3.2.0_rc2 ==== · 0bb0bd84
      Natanael Copa authored
      0bb0bd84
    • Natanael Copa's avatar
      abuild: fix race when stripping · c0a86293
      Natanael Copa authored
      scanelf may pick up tempfiles created by strip or setfattr since it runs
      in spearate process and pipes the out to a subshell. This causes a race
      and may lead to the while loop attempt to strip seomthing that no longer
      exists.
      
      We fix that by test if file exists before try manipulate it. We could
      have written he file list to a temp file first, but this way we benefit
      from multiple cores working in parallel.
      c0a86293
  7. May 24, 2018
  8. May 07, 2018
  9. Apr 24, 2018
  10. Apr 22, 2018
    • Sören Tempel's avatar
      abuild.in: don't fail if git describe fails · 720a2c18
      Sören Tempel authored
      `git describe` by default looks for tags, but `git clone` does not clone
      tags by default which causes failures on travis currently.
      
      Also redirect `git describe` errors to /dev/null while being here.
      720a2c18
  11. Apr 17, 2018
  12. Apr 15, 2018
  13. Apr 11, 2018
Loading