Wed Jan 1 01:04:28 2020 UTC ()
devel/samurai: Update to 1.0

Changelog picked from https://github.com/michaelforney/samurai/releases:

New features

* The -d keepdepfile and -d keeprsp debugging options are
  now supported to allow inspection of the generated
  dependency file and RSP file respectively.

Bug fixes

* Failed jobs weren't releasing their pool slot. This could
  cause the build to terminate early when pool depth was 1,
  and the failure limit (-k flag) had not yet been reached.
* Dependency files containing more than one output: input
  line would have the first character of the output path
  skipped on subsequent lines. This would result an error
  since all lines in the dependency file must refer to the
  same output path.
* Empty paths in build edges (e.g. expanded from an undefined
  variable) were not getting rejected, causing a NUL byte to
  be written past the end of the allocation for the path string
  when it was canonicalized as ..
* Recursive rule variable definitions were not detected and
  rejected, causing infinite recursion when attempting to expand them.

Cleanups

* Better error message for dependency log read failure,
  differentiating unexpected EOF from read error.
* Standard output is now line buffered, even when redirected
  to a pipe or regular file. This allows incremental progress
  updates in cases where the output is being saved or piped
  to another command.
* The Makefile now declares dependencies on header files, so
  that during development, objects get rebuilt when the headers change.


(ng0)
diff -r1.1 -r1.2 pkgsrc/devel/samurai/Makefile
diff -r1.1 -r1.2 pkgsrc/devel/samurai/distinfo

cvs diff -r1.1 -r1.2 pkgsrc/devel/samurai/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/samurai/Makefile 2019/12/11 23:36:29 1.1
+++ pkgsrc/devel/samurai/Makefile 2020/01/01 01:04:28 1.2
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.1 2019/12/11 23:36:29 ng0 Exp $ 1# $NetBSD: Makefile,v 1.2 2020/01/01 01:04:28 ng0 Exp $
2 2
3DISTNAME= samurai-0.7 3DISTNAME= samurai-1.0
4CATEGORIES= devel 4CATEGORIES= devel
5MASTER_SITES= ${MASTER_SITE_GITHUB:=michaelforney/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=michaelforney/}
6 6
7MAINTAINER= ng0@NetBSD.org 7MAINTAINER= ng0@NetBSD.org
8HOMEPAGE= https://github.com/michaelforney/samurai/ 8HOMEPAGE= https://github.com/michaelforney/samurai/
9COMMENT= Ninja-compatible build tool written in C 9COMMENT= Ninja-compatible build tool written in C
10LICENSE= isc AND apache-2.0 10LICENSE= isc AND apache-2.0
11 11
12BUILD_TARGET= samu 12BUILD_TARGET= samu
13 13
14MAKE_FLAGS+= PREFIX=${PREFIX} 14MAKE_FLAGS+= PREFIX=${PREFIX}
15MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR} 15MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}
16 16

cvs diff -r1.1 -r1.2 pkgsrc/devel/samurai/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/samurai/distinfo 2019/12/11 23:36:29 1.1
+++ pkgsrc/devel/samurai/distinfo 2020/01/01 01:04:28 1.2
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.1 2019/12/11 23:36:29 ng0 Exp $ 1$NetBSD: distinfo,v 1.2 2020/01/01 01:04:28 ng0 Exp $
2 2
3SHA1 (samurai-0.7.tar.gz) = 8d6bd5492026e2a256699a47d3895fa35c774491 3SHA1 (samurai-1.0.tar.gz) = 3963c57b85866e873ed974dd666a9119da274466
4RMD160 (samurai-0.7.tar.gz) = ac8677acec4beb99b2596a4238058c88aa8dc356 4RMD160 (samurai-1.0.tar.gz) = ca2d01b50a93cff75a7040308937a40cd5fb04d8
5SHA512 (samurai-0.7.tar.gz) = c47120a2b516c0d130c5a01d99972979c69103d1c6b110722c4c6fcac3147df25d60d9d19913d7c78902c257800d6a5e1bcbb775618058ebfe6db29098dc4001 5SHA512 (samurai-1.0.tar.gz) = 87b2a11a39dc36f3582abdc7c9d358c8fce241fe4155b5177d3e8588d1c040a62eb9daafd2365febbfadd6fcc27a3ceacf6f29ca6f871c822aad6f4bad527a51
6Size (samurai-0.7.tar.gz) = 28197 bytes 6Size (samurai-1.0.tar.gz) = 28680 bytes