Re: Update sysutils/bat

2022-01-14 Thread Laurent Cheylus
On Wed, 12 Jan 2022 10:55:18 - (UTC), Laurent Cheylus wrote:

> I have some issue to build bat v0.19.0 port on OpenBSD 7.0 / amd64 : 
> failed when build of libgit2-sys crate.

Problem fixed after build/install of libgit2 v0.19.0 port => bat v0.19 port 
build/install OK on OpenBSD 7.0/amd64.

Laurent



Re: Update sysutils/bat

2022-01-12 Thread Laurent Cheylus
On Sun, 9 Jan 2022 07:57:20 +0100, Rafael Sadowski wrote:

> Feedback, ok?

I have some issue to build bat v0.19.0 port on OpenBSD 7.0 / amd64 : 
failed when build of libgit2-sys crate.

$ cd /usr/ports/sysutils/bat
Update sources from CVS for v0.19.0 version

$ make build
(...)
 Running `/usr/obj/ports/bat-0.19.0/build-amd64/target/release/build/
libgit2-sys-ec0536975269a131/build-script-
build`  
 
error: failed to run custom build command for `libgit2-sys v0.12.26+1.3.0`

Caused by:
  process didn't exit successfully: `/usr/obj/ports/bat-0.19.0/build-
amd64/target/release/build/libgit2-sys-ec0536975269a131/build-script-
build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=LIBGIT2_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-openbsd
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_openbsd
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=LIBGIT2_STATIC
  cargo:rerun-if-env-changed=LIBGIT2_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-openbsd
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_openbsd
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-openbsd
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_openbsd
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-openbsd
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_openbsd
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:rustc-cfg=libgit2_vendored

  --- stderr
  fatal: not a git repository (or any parent up to mount point /usr)
  Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not 
set).
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: 
Os { code: 2, kind: NotFound, message: "No such file or directory" }', /
usr/obj/ports/bat-0.19.0/bat-0.19.0/modcargo-crates/libgit2-
sys-0.12.26+1.3.0/build.rs:198:39
  note: run with `RUST_BACKTRACE=1` environment variable to display a 
backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed===>] 133/152: 
ansi_colours(build) 

  
*** Error 101 in . (/usr/ports/devel/cargo/cargo.port.mk:304 'do-build': 
@cd /usr/obj/ports/bat-0.19.0/bat-0.19.0 && /usr/bin/env -i PORTSDI...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2952 '/usr/obj/
ports/bat-0.19.0/build-amd64/.build_done': @cd /usr/ports/sysutils...)
*** Error 2 in /usr/ports/sysutils/bat (/usr/ports/infrastructure/mk/
bsd.port.mk:2602 'build': @lock=bat-0.19.0;  export _LOCKS_HELD=" 
bat-0...)


Laurent



Re: Update sysutils/bat

2022-01-08 Thread Björn Ketelaars
On Sun 09/01/2022 07:57, Rafael Sadowski wrote:
> Feedback, ok?

Builds and runs on amd64. OK bket@



Update sysutils/bat

2022-01-08 Thread Rafael Sadowski
Feedback, ok?

Rafael

diff --git a/sysutils/bat/Makefile b/sysutils/bat/Makefile
index 179c1bc8b36..e24fd399a88 100644
--- a/sysutils/bat/Makefile
+++ b/sysutils/bat/Makefile
@@ -4,8 +4,7 @@ COMMENT =   cat(1) clone with wings
 
 GH_ACCOUNT =   sharkdp
 GH_PROJECT =   bat
-GH_TAGNAME =   v0.18.3
-REVISION = 0
+GH_TAGNAME =   v0.19.0
 
 CATEGORIES =   sysutils
 
@@ -21,7 +20,6 @@ WANTLIB += c c++abi git2 m onig pthread
 
 CONFIGURE_STYLE =  cargo
 SEPARATE_BUILD =   Yes
-PATCHORIG =.openbsd.orig
 
 LIB_DEPENDS += devel/libgit2/libgit2 \
textproc/oniguruma
diff --git a/sysutils/bat/crates.inc b/sysutils/bat/crates.inc
index 01137db2f8f..5fb060194cc 100644
--- a/sysutils/bat/crates.inc
+++ b/sysutils/bat/crates.inc
@@ -1,33 +1,31 @@
 # $OpenBSD: crates.inc,v 1.5 2021/09/11 07:36:14 semarie Exp $
+
 MODCARGO_CRATES += adler   1.0.2   # 0BSD OR MIT OR Apache-2.0
 MODCARGO_CRATES += aho-corasick0.7.18  # Unlicense/MIT
 MODCARGO_CRATES += ansi_colours1.0.4   # LGPL-3.0-or-later
-MODCARGO_CRATES += ansi_term   0.11.0  # MIT
 MODCARGO_CRATES += ansi_term   0.12.1  # MIT
-MODCARGO_CRATES += assert_cmd  1.0.5   # MIT OR Apache-2.0
+MODCARGO_CRATES += assert_cmd  2.0.2   # MIT OR Apache-2.0
 MODCARGO_CRATES += atty0.2.14  # MIT
 MODCARGO_CRATES += autocfg 1.0.1   # Apache-2.0 OR MIT
 MODCARGO_CRATES += base64  0.13.0  # MIT/Apache-2.0
 MODCARGO_CRATES += bincode 1.3.3   # MIT
 MODCARGO_CRATES += bit-set 0.5.2   # MIT/Apache-2.0
 MODCARGO_CRATES += bit-vec 0.6.3   # MIT/Apache-2.0
-MODCARGO_CRATES += bitflags1.2.1   # MIT/Apache-2.0
-MODCARGO_CRATES += bstr0.2.16  # MIT OR Apache-2.0
+MODCARGO_CRATES += bitflags1.3.2   # MIT/Apache-2.0
+MODCARGO_CRATES += bstr0.2.17  # MIT OR Apache-2.0
 MODCARGO_CRATES += bugreport   0.4.1   # MIT/Apache-2.0
-MODCARGO_CRATES += byteorder   1.4.3   # Unlicense OR MIT
-MODCARGO_CRATES += cc  1.0.67  # MIT/Apache-2.0
+MODCARGO_CRATES += cc  1.0.72  # MIT/Apache-2.0
 MODCARGO_CRATES += cfg-if  1.0.0   # MIT/Apache-2.0
-MODCARGO_CRATES += chrono  0.4.19  # MIT/Apache-2.0
-MODCARGO_CRATES += clap2.33.3  # MIT
+MODCARGO_CRATES += clap2.34.0  # MIT
 MODCARGO_CRATES += clircle 0.3.0   # MIT OR Apache-2.0
-MODCARGO_CRATES += console 0.14.1  # MIT
+MODCARGO_CRATES += console 0.15.0  # MIT
 MODCARGO_CRATES += content_inspector   0.2.4   # MIT/Apache-2.0
-MODCARGO_CRATES += crc32fast   1.2.1   # MIT OR Apache-2.0
-MODCARGO_CRATES += difference  2.0.0   # MIT
+MODCARGO_CRATES += crc32fast   1.3.0   # MIT OR Apache-2.0
+MODCARGO_CRATES += difflib 0.4.0   # MIT
 MODCARGO_CRATES += dirs-next   2.0.0   # MIT OR Apache-2.0
 MODCARGO_CRATES += dirs-sys-next   0.1.2   # MIT OR Apache-2.0
 MODCARGO_CRATES += doc-comment 0.3.3   # MIT
-MODCARGO_CRATES += dtoa0.4.8   # MIT OR Apache-2.0
+MODCARGO_CRATES += either  1.6.1   # MIT/Apache-2.0
 MODCARGO_CRATES += encode_unicode  0.3.6   # MIT/Apache-2.0
 MODCARGO_CRATES += encoding0.2.33  # MIT
 MODCARGO_CRATES += encoding-index-japanese 1.20141219.5# CC0-1.0
@@ -36,106 +34,106 @@ MODCARGO_CRATES +=encoding-index-simpchinese  
1.20141219.5# CC0-1.0
 MODCARGO_CRATES += encoding-index-singlebyte   1.20141219.5# 
CC0-1.0
 MODCARGO_CRATES += encoding-index-tradchinese  1.20141219.5# 
CC0-1.0
 MODCARGO_CRATES += encoding_index_tests0.1.4   # CC0-1.0
-MODCARGO_CRATES += error-chain 0.12.4  # MIT/Apache-2.0
-MODCARGO_CRATES += fancy-regex 0.3.5   # MIT
-MODCARGO_CRATES += flate2  1.0.20  # MIT/Apache-2.0
-MODCARGO_CRATES += float-cmp   0.8.0   # MIT
+MODCARGO_CRATES += fancy-regex 0.7.1   # MIT
+MODCARGO_CRATES += flate2  1.0.22  # MIT/Apache-2.0
+MODCARGO_CRATES += float-cmp   0.9.0   # MIT
 MODCARGO_CRATES += fnv 1.0.7   # Apache-2.0 / MIT
 MODCARGO_CRATES += form_urlencoded 1.0.1   # MIT/Apache-2.0
-MODCARGO_CRATES += getrandom   0.2.2   # MIT OR Apache-2.0
-MODCARGO_CRATES += git-version 0.3.4   # BSD-2-Clause
-MODCARGO_CRATES += git-version-macro   0.3.4   # BSD-2-Clause
-MODCARGO_CRATES += git20.13.20 # MIT/Apache-2.0
+MODCARGO_CRATES += getrandom   0.2.3   # MIT OR Apache-2.0
+MODCARGO_CRATES += git-version 0.3.5   # BSD-2-Clause
+MODCARGO_CRATES += git-version-macro   0.3.5   # BSD-2-Clause
+MODCARGO_CRATES += git20.13.25 # MIT/Apache-2.0
 MODCARGO_CRATES += glob0.3.0   # MIT/Apache-2.0
 MODCARGO_CRATES += globset 0.4.8   # Unlicense/MIT
 MODCARGO_CRATES += grep-cli0.1.6   # Unlicense/MIT
-MODCARGO_CRATES += hashbrown   0.9.1   # Apache-2.0/MIT
-MODCARGO_CRATES

sysutils/bat: fix build on i386

2021-09-13 Thread Theo Buehler
sysconf returns a long which is an i32 on ILP32 architectures.
Add a cast which is a noop on LP64 architectures; the overflow of
an u32 in this check can't happen on ILP32 anyway.

Index: Makefile
===
RCS file: /cvs/ports/sysutils/bat/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile11 Sep 2021 07:36:14 -  1.5
+++ Makefile13 Sep 2021 20:11:34 -
@@ -1,19 +1,11 @@
 # $OpenBSD: Makefile,v 1.5 2021/09/11 07:36:14 semarie Exp $
 
-# building sys-info fails
-# error[E0308]: mismatched types
-#--> 
/pobj/bat-0.18.2/bat-0.18.2/modcargo-crates/sys-info-0.9.0/lib.rs:542:29
-# |
-# 542 | if ret < 1 || ret > std::u32::MAX as i64 {
-# |  expected `i32`, found 
`i64`
-
-ONLY_FOR_ARCHS =   ${LP64_ARCHS}
-
 COMMENT =  cat(1) clone with wings
 
 GH_ACCOUNT =   sharkdp
 GH_PROJECT =   bat
 GH_TAGNAME =   v0.18.3
+REVISION = 0
 
 CATEGORIES =   sysutils
 
@@ -29,6 +21,7 @@ WANTLIB += c c++abi git2 m onig pthread
 
 CONFIGURE_STYLE =  cargo
 SEPARATE_BUILD =   Yes
+PATCHORIG =.openbsd.orig
 
 LIB_DEPENDS += devel/libgit2/libgit2 \
textproc/oniguruma
Index: patches/patch-modcargo-crates_sys-info-0_9_0_lib_rs
===
RCS file: patches/patch-modcargo-crates_sys-info-0_9_0_lib_rs
diff -N patches/patch-modcargo-crates_sys-info-0_9_0_lib_rs
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-modcargo-crates_sys-info-0_9_0_lib_rs 13 Sep 2021 20:11:34 
-
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Fix build on ILP32 architectures.
+
+Index: modcargo-crates/sys-info-0.9.0/lib.rs
+--- modcargo-crates/sys-info-0.9.0/lib.rs.orig
 modcargo-crates/sys-info-0.9.0/lib.rs
+@@ -539,7 +539,7 @@ pub fn cpu_num() -> Result {
+ #[cfg(any(target_os = "solaris", target_os = "illumos", target_os = 
"freebsd", target_os = "openbsd", target_os = "netbsd"))]
+ {
+ let ret = unsafe { libc::sysconf(libc::_SC_NPROCESSORS_ONLN) };
+-if ret < 1 || ret > std::u32::MAX as i64 {
++if ret < 1 || ret as i64 > std::u32::MAX as i64 {
+ Err(Error::IO(io::Error::last_os_error()))
+ } else {
+ Ok(ret as u32)



Re: sysutils/bat: port cleanup + dependencies update for upcoming rustc 1.54.0

2021-08-02 Thread Klemens Nanni
On Mon, Aug 02, 2021 at 10:46:01AM +0200, Sebastien Marie wrote:
> sysutils/bat fails to build with rust 1.54.0
> 
> I updated git2 dependencies to copte with rust version, and while here
> did some cleanup:
> 
> - include licence information for crates (see make
>   modcargo-gen-crates-licenses)
> - avoid setting LIBGIT2_SYS_USE_PKG_CONFIG=1 (it is already done by
>   devel/cargo module)
> - use .include "crates.inc" instead of  : no need to look
>   at system directories for this file
> 
> Comments or OK ?
> -- 
> Sebastien Marie
> 
> diff e3d54f8cc133a5f660b2920b368935c35848a77c 
> /data/semarie/repos/openbsd/ports
> blob - 441dea9061c66f635d8c5429d87f926e0ee4b161
> file + sysutils/bat/Makefile
> --- sysutils/bat/Makefile
> +++ sysutils/bat/Makefile
> @@ -30,11 +30,12 @@ WANTLIB += c c++abi git2 m onig pthread
>  CONFIGURE_STYLE =cargo
>  SEPARATE_BUILD = Yes
>  
> -MAKE_ENV +=  LIBGIT2_SYS_USE_PKG_CONFIG=1
> -
>  LIB_DEPENDS +=   devel/libgit2/libgit2 \
>   textproc/oniguruma
>  
> -.include 
> +# update git2 to copte with rust 1.54.0

"cope"

> +MODCARGO_CRATES_UPDATE += git2 libgit2-sys

Doesn't that warrant a REIVISION bump as the executable will change?

> +.include "crates.inc"
> +

Makes sense on its own;  can you commit the crates.inc move separately
to avoid churn around the relevant diff?

>  .include 
> blob - 66c23035e121276c7444da1e30d3f70060599116
> file + sysutils/bat/crates.inc
> --- sysutils/bat/crates.inc
> +++ sysutils/bat/crates.inc
> @@ -1,147 +1,147 @@
> -MODCARGO_CRATES +=   adler   1.0.2
> -MODCARGO_CRATES +=   aho-corasick0.7.18
> -MODCARGO_CRATES +=   ansi_colours1.0.4
> -MODCARGO_CRATES +=   ansi_term   0.11.0
> -MODCARGO_CRATES +=   ansi_term   0.12.1
> -MODCARGO_CRATES +=   assert_cmd  1.0.5
> -MODCARGO_CRATES +=   atty0.2.14
> -MODCARGO_CRATES +=   autocfg 1.0.1
> -MODCARGO_CRATES +=   base64  0.13.0
> -MODCARGO_CRATES +=   bincode 1.3.3
> -MODCARGO_CRATES +=   bit-set 0.5.2
> -MODCARGO_CRATES +=   bit-vec 0.6.3
> -MODCARGO_CRATES +=   bitflags1.2.1
> -MODCARGO_CRATES +=   bstr0.2.16
> -MODCARGO_CRATES +=   bugreport   0.4.0
> -MODCARGO_CRATES +=   byteorder   1.4.3
> -MODCARGO_CRATES +=   cc  1.0.67
> -MODCARGO_CRATES +=   cfg-if  1.0.0
> -MODCARGO_CRATES +=   chrono  0.4.19
> -MODCARGO_CRATES +=   clap2.33.3
> -MODCARGO_CRATES +=   clircle 0.3.0
> -MODCARGO_CRATES +=   console 0.14.1
> -MODCARGO_CRATES +=   content_inspector   0.2.4
> -MODCARGO_CRATES +=   crc32fast   1.2.1
> -MODCARGO_CRATES +=   difference  2.0.0
> -MODCARGO_CRATES +=   dirs-next   2.0.0
> -MODCARGO_CRATES +=   dirs-sys-next   0.1.2
> -MODCARGO_CRATES +=   doc-comment 0.3.3
> -MODCARGO_CRATES +=   dtoa0.4.8
> -MODCARGO_CRATES +=   encode_unicode  0.3.6
> -MODCARGO_CRATES +=   encoding0.2.33
> -MODCARGO_CRATES +=   encoding-index-japanese 1.20141219.5
> -MODCARGO_CRATES +=   encoding-index-korean   1.20141219.5
> -MODCARGO_CRATES +=   encoding-index-simpchinese  1.20141219.5
> -MODCARGO_CRATES +=   encoding-index-singlebyte   1.20141219.5
> -MODCARGO_CRATES +=   encoding-index-tradchinese  1.20141219.5
> -MODCARGO_CRATES +=   encoding_index_tests0.1.4
> -MODCARGO_CRATES +=   error-chain 0.12.4
> -MODCARGO_CRATES +=   fancy-regex 0.3.5
> -MODCARGO_CRATES +=   flate2  1.0.20
> -MODCARGO_CRATES +=   float-cmp   0.8.0
> -MODCARGO_CRATES +=   fnv 1.0.7
> -MODCARGO_CRATES +=   form_urlencoded 1.0.1
> -MODCARGO_CRATES +=   getrandom   0.2.2
> -MODCARGO_CRATES +=   git-version 0.3.4
> -MODCARGO_CRATES +=   git-version-macro   0.3.4
> -MODCARGO_CRATES +=   git20.13.19
> -MODCARGO_CRATES +=   glob0.3.0
> -MODCARGO_CRATES +=   globset 0.4.8
> -MODCARGO_CRATES +=   grep-cli0.1.6
> -MODCARGO_CRATES +=   hashbrown   0.9.1
> -MODCARGO_CRATES +=   hermit-abi  0.1.18
> -MODCARGO_CRATES +=   idna0.2.3
> -MODCARGO_CRATES +=   indexmap1.6.2
> -MODCARGO_CRATES +=   instant 0.1.9
> -MODCARGO_CRATES +=   itoa0.4.7
> -MODCARGO_CRATES +=   jobserver   0.1.22
> -MODCARGO_CRATES +=   lazy_static 1.4.0
> -MODCARGO_CRATES +=   lazycell1.3.0
> -MODCARGO_CRATES +=   libc0.2.95
> -MODCARGO_CRATES +=   libgit2-sys 0.12.20+1.1.0
> -MODCARGO_CRATES +=   libz-sys1.1.3
> -MODCARGO_CRATES +=   line-wrap   0.1.1
> -MODCARGO_CRATES +=   linked-hash-map 0.5.4
> -MODCARGO_CRATES +=   lock_api0.4.4
> -MODCARGO_CRATES +=   log 0.4.14
> -MODCARGO_CRATES +=   matches 0.1.8
> -MODCARGO_CRATES +=   memchr  2.4.0
> -MODCARGO_CRATES 

sysutils/bat: port cleanup + dependencies update for upcoming rustc 1.54.0

2021-08-02 Thread Sebastien Marie
Hi,

sysutils/bat fails to build with rust 1.54.0

I updated git2 dependencies to copte with rust version, and while here
did some cleanup:

- include licence information for crates (see make
  modcargo-gen-crates-licenses)
- avoid setting LIBGIT2_SYS_USE_PKG_CONFIG=1 (it is already done by
  devel/cargo module)
- use .include "crates.inc" instead of  : no need to look
  at system directories for this file

Comments or OK ?
-- 
Sebastien Marie


diff e3d54f8cc133a5f660b2920b368935c35848a77c /data/semarie/repos/openbsd/ports
blob - 441dea9061c66f635d8c5429d87f926e0ee4b161
file + sysutils/bat/Makefile
--- sysutils/bat/Makefile
+++ sysutils/bat/Makefile
@@ -30,11 +30,12 @@ WANTLIB += c c++abi git2 m onig pthread
 CONFIGURE_STYLE =  cargo
 SEPARATE_BUILD =   Yes
 
-MAKE_ENV +=LIBGIT2_SYS_USE_PKG_CONFIG=1
-
 LIB_DEPENDS += devel/libgit2/libgit2 \
textproc/oniguruma
 
-.include 
+# update git2 to copte with rust 1.54.0
+MODCARGO_CRATES_UPDATE += git2 libgit2-sys
 
+.include "crates.inc"
+
 .include 
blob - 66c23035e121276c7444da1e30d3f70060599116
file + sysutils/bat/crates.inc
--- sysutils/bat/crates.inc
+++ sysutils/bat/crates.inc
@@ -1,147 +1,147 @@
-MODCARGO_CRATES += adler   1.0.2
-MODCARGO_CRATES += aho-corasick0.7.18
-MODCARGO_CRATES += ansi_colours1.0.4
-MODCARGO_CRATES += ansi_term   0.11.0
-MODCARGO_CRATES += ansi_term   0.12.1
-MODCARGO_CRATES += assert_cmd  1.0.5
-MODCARGO_CRATES += atty0.2.14
-MODCARGO_CRATES += autocfg 1.0.1
-MODCARGO_CRATES += base64  0.13.0
-MODCARGO_CRATES += bincode 1.3.3
-MODCARGO_CRATES += bit-set 0.5.2
-MODCARGO_CRATES += bit-vec 0.6.3
-MODCARGO_CRATES += bitflags1.2.1
-MODCARGO_CRATES += bstr0.2.16
-MODCARGO_CRATES += bugreport   0.4.0
-MODCARGO_CRATES += byteorder   1.4.3
-MODCARGO_CRATES += cc  1.0.67
-MODCARGO_CRATES += cfg-if  1.0.0
-MODCARGO_CRATES += chrono  0.4.19
-MODCARGO_CRATES += clap2.33.3
-MODCARGO_CRATES += clircle 0.3.0
-MODCARGO_CRATES += console 0.14.1
-MODCARGO_CRATES += content_inspector   0.2.4
-MODCARGO_CRATES += crc32fast   1.2.1
-MODCARGO_CRATES += difference  2.0.0
-MODCARGO_CRATES += dirs-next   2.0.0
-MODCARGO_CRATES += dirs-sys-next   0.1.2
-MODCARGO_CRATES += doc-comment 0.3.3
-MODCARGO_CRATES += dtoa0.4.8
-MODCARGO_CRATES += encode_unicode  0.3.6
-MODCARGO_CRATES += encoding0.2.33
-MODCARGO_CRATES += encoding-index-japanese 1.20141219.5
-MODCARGO_CRATES += encoding-index-korean   1.20141219.5
-MODCARGO_CRATES += encoding-index-simpchinese  1.20141219.5
-MODCARGO_CRATES += encoding-index-singlebyte   1.20141219.5
-MODCARGO_CRATES += encoding-index-tradchinese  1.20141219.5
-MODCARGO_CRATES += encoding_index_tests0.1.4
-MODCARGO_CRATES += error-chain 0.12.4
-MODCARGO_CRATES += fancy-regex 0.3.5
-MODCARGO_CRATES += flate2  1.0.20
-MODCARGO_CRATES += float-cmp   0.8.0
-MODCARGO_CRATES += fnv 1.0.7
-MODCARGO_CRATES += form_urlencoded 1.0.1
-MODCARGO_CRATES += getrandom   0.2.2
-MODCARGO_CRATES += git-version 0.3.4
-MODCARGO_CRATES += git-version-macro   0.3.4
-MODCARGO_CRATES += git20.13.19
-MODCARGO_CRATES += glob0.3.0
-MODCARGO_CRATES += globset 0.4.8
-MODCARGO_CRATES += grep-cli0.1.6
-MODCARGO_CRATES += hashbrown   0.9.1
-MODCARGO_CRATES += hermit-abi  0.1.18
-MODCARGO_CRATES += idna0.2.3
-MODCARGO_CRATES += indexmap1.6.2
-MODCARGO_CRATES += instant 0.1.9
-MODCARGO_CRATES += itoa0.4.7
-MODCARGO_CRATES += jobserver   0.1.22
-MODCARGO_CRATES += lazy_static 1.4.0
-MODCARGO_CRATES += lazycell1.3.0
-MODCARGO_CRATES += libc0.2.95
-MODCARGO_CRATES += libgit2-sys 0.12.20+1.1.0
-MODCARGO_CRATES += libz-sys1.1.3
-MODCARGO_CRATES += line-wrap   0.1.1
-MODCARGO_CRATES += linked-hash-map 0.5.4
-MODCARGO_CRATES += lock_api0.4.4
-MODCARGO_CRATES += log 0.4.14
-MODCARGO_CRATES += matches 0.1.8
-MODCARGO_CRATES += memchr  2.4.0
-MODCARGO_CRATES += memoffset   0.6.4
-MODCARGO_CRATES += miniz_oxide 0.4.4
-MODCARGO_CRATES += nix 0.21.0
-MODCARGO_CRATES += normalize-line-endings  0.3.0
-MODCARGO_CRATES += num-integer 0.1.44
-MODCARGO_CRATES += num-traits  0.2.14
-MODCARGO_CRATES += onig6.1.1
-MODCARGO_CRATES += onig_sys69.6.0
-MODCARGO_CRATES += parking_lot 0.11.1
-MODCARGO_CRATES += parking_lot_core0.8.3
-MODCARGO_CRATES += path_abs0.5.1
-MODCARGO_CRATES += percent-encoding2.1.0
-MODCARGO_CRATES += pest2.1.3
-MODCARGO_CRATES += pkg-config  0.3.19
-MODCARGO_CRATES += plist   1.1.0
-MODCAR

Re: sysutils/bat

2021-07-27 Thread Erling Westenvik
On Tue, Jul 27, 2021 at 12:36:09PM -0400, Kenneth R Westerback wrote:
> On Tue, Jul 27, 2021 at 10:15:23AM -0600, Theo de Raadt wrote:
> > Ingo Schwarze  wrote:
> > 
> > > Theo de Raadt wrote on Tue, Jul 27, 2021 at 09:12:58AM -0600:
> > > > Ian Darwin  wrote:
> > > >> On Tue, Jul 27, 2021 at 04:47:46PM +0200, Ingo Schwarze wrote:
> > > 
> > > >>>> Changes by:  st...@cvs.openbsd.org   2021/07/27 05:55:36
> > > >>>> 
> > > >>>> Modified files:
> > > >>>>  sysutils/bat   : Makefile 
> > > >>>> 
> > > >>>> Log message:
> > > >>>> set sysutils/bat to ONLY_FOR_ARCHS=${LP64_ARCHS}, one of the 147
> > > >>>> dependencies (sys-info) has a 32 vs 64 bit issue when checking
> > > >>>> the number of CPUs online
> > > 
> > > >>> Wait, a cat with 147 dependencies?  Looks like it's a rabbit after 
> > > >>> all!
> > > >>> At least there can be no doubt that it inhabits a rabbit hole, 
> > > >>> doesn't it?
> > > >>> 
> > > >>> Besides, isn't a program that stops working once your machine has
> > > >>> more than four billion CPUs utterly useless in the 31st century?
> > > >>> 
> > > >>> If it didn't constantly trip up otherwise busy porters, this port
> > > >>> would be a really good laugh.
> > > >>> 
> > > >>> *Looking at the calendar*
> > > >>> No, it's unlikely to be the Easter bunny.
> > > >>> We are not that close to Apil 1.
> > > 
> > > >> And to think that Rob Pike once wrote a paper "cat -v considered 
> > > >> harmful"
> > > >> since it added unnecessary functionality to cat, whose only job is
> > > >> to catenate files...
> > > 
> > > > bat is my favorite rust program
> > > > 
> > > > please continue maintaining it in ports,
> > > > i don't want the standup comedy to end
> > > 
> > > I didn't mean to summon tedu@ regarding the port,
> > > quite to the contary, i might even contribute to it!
> > > 
> > > https://github.com/sharkdp/bat/pull/1756
> > 
> > I won't use bat until it has an emacs mode.
> > 
> 
> I thought the classic indication of maturity was when it sprouted a full LISP 
> interpreter.
> 
>  Ken
> 

Let's not get carried away. Script kiddies like me will be happy if it
can parse, send and receive email automatically.



Re: sysutils/bat

2021-07-27 Thread Ian Darwin
On Tue, Jul 27, 2021 at 10:15:23AM -0600, Theo de Raadt wrote:
> > >> And to think that Rob Pike once wrote a paper "cat -v considered harmful"
> > >> since it added unnecessary functionality to cat, whose only job is
> > >> to catenate files...
> > 
> > > bat is my favorite rust program
> > > 
> > > please continue maintaining it in ports,
> > > i don't want the standup comedy to end
> > 
> > I didn't mean to summon tedu@ regarding the port,
> > quite to the contary, i might even contribute to it!
> > 
> > https://github.com/sharkdp/bat/pull/1756
> 
> I won't use bat until it has an emacs mode.

If 'bat' is 'cat with wings', it's just to prove that pigs can fly. 



Re: sysutils/bat

2021-07-27 Thread Kenneth R Westerback
On Tue, Jul 27, 2021 at 10:15:23AM -0600, Theo de Raadt wrote:
> Ingo Schwarze  wrote:
> 
> > Theo de Raadt wrote on Tue, Jul 27, 2021 at 09:12:58AM -0600:
> > > Ian Darwin  wrote:
> > >> On Tue, Jul 27, 2021 at 04:47:46PM +0200, Ingo Schwarze wrote:
> > 
> > >>>> Changes by:st...@cvs.openbsd.org   2021/07/27 05:55:36
> > >>>> 
> > >>>> Modified files:
> > >>>>sysutils/bat   : Makefile 
> > >>>> 
> > >>>> Log message:
> > >>>> set sysutils/bat to ONLY_FOR_ARCHS=${LP64_ARCHS}, one of the 147
> > >>>> dependencies (sys-info) has a 32 vs 64 bit issue when checking
> > >>>> the number of CPUs online
> > 
> > >>> Wait, a cat with 147 dependencies?  Looks like it's a rabbit after all!
> > >>> At least there can be no doubt that it inhabits a rabbit hole, doesn't 
> > >>> it?
> > >>> 
> > >>> Besides, isn't a program that stops working once your machine has
> > >>> more than four billion CPUs utterly useless in the 31st century?
> > >>> 
> > >>> If it didn't constantly trip up otherwise busy porters, this port
> > >>> would be a really good laugh.
> > >>> 
> > >>> *Looking at the calendar*
> > >>> No, it's unlikely to be the Easter bunny.
> > >>> We are not that close to Apil 1.
> > 
> > >> And to think that Rob Pike once wrote a paper "cat -v considered harmful"
> > >> since it added unnecessary functionality to cat, whose only job is
> > >> to catenate files...
> > 
> > > bat is my favorite rust program
> > > 
> > > please continue maintaining it in ports,
> > > i don't want the standup comedy to end
> > 
> > I didn't mean to summon tedu@ regarding the port,
> > quite to the contary, i might even contribute to it!
> > 
> > https://github.com/sharkdp/bat/pull/1756
> 
> I won't use bat until it has an emacs mode.
> 

I thought the classic indication of maturity was when it sprouted a full LISP 
interpreter.

 Ken



Re: sysutils/bat

2021-07-27 Thread Theo de Raadt
Ingo Schwarze  wrote:

> Theo de Raadt wrote on Tue, Jul 27, 2021 at 09:12:58AM -0600:
> > Ian Darwin  wrote:
> >> On Tue, Jul 27, 2021 at 04:47:46PM +0200, Ingo Schwarze wrote:
> 
> >>>> Changes by:  st...@cvs.openbsd.org   2021/07/27 05:55:36
> >>>> 
> >>>> Modified files:
> >>>>  sysutils/bat   : Makefile 
> >>>> 
> >>>> Log message:
> >>>> set sysutils/bat to ONLY_FOR_ARCHS=${LP64_ARCHS}, one of the 147
> >>>> dependencies (sys-info) has a 32 vs 64 bit issue when checking
> >>>> the number of CPUs online
> 
> >>> Wait, a cat with 147 dependencies?  Looks like it's a rabbit after all!
> >>> At least there can be no doubt that it inhabits a rabbit hole, doesn't it?
> >>> 
> >>> Besides, isn't a program that stops working once your machine has
> >>> more than four billion CPUs utterly useless in the 31st century?
> >>> 
> >>> If it didn't constantly trip up otherwise busy porters, this port
> >>> would be a really good laugh.
> >>> 
> >>> *Looking at the calendar*
> >>> No, it's unlikely to be the Easter bunny.
> >>> We are not that close to Apil 1.
> 
> >> And to think that Rob Pike once wrote a paper "cat -v considered harmful"
> >> since it added unnecessary functionality to cat, whose only job is
> >> to catenate files...
> 
> > bat is my favorite rust program
> > 
> > please continue maintaining it in ports,
> > i don't want the standup comedy to end
> 
> I didn't mean to summon tedu@ regarding the port,
> quite to the contary, i might even contribute to it!
> 
> https://github.com/sharkdp/bat/pull/1756

I won't use bat until it has an emacs mode.



Re: sysutils/bat

2021-07-27 Thread Ingo Schwarze
Theo de Raadt wrote on Tue, Jul 27, 2021 at 09:12:58AM -0600:
> Ian Darwin  wrote:
>> On Tue, Jul 27, 2021 at 04:47:46PM +0200, Ingo Schwarze wrote:

>>>> Changes by:st...@cvs.openbsd.org   2021/07/27 05:55:36
>>>> 
>>>> Modified files:
>>>>sysutils/bat   : Makefile 
>>>> 
>>>> Log message:
>>>> set sysutils/bat to ONLY_FOR_ARCHS=${LP64_ARCHS}, one of the 147
>>>> dependencies (sys-info) has a 32 vs 64 bit issue when checking
>>>> the number of CPUs online

>>> Wait, a cat with 147 dependencies?  Looks like it's a rabbit after all!
>>> At least there can be no doubt that it inhabits a rabbit hole, doesn't it?
>>> 
>>> Besides, isn't a program that stops working once your machine has
>>> more than four billion CPUs utterly useless in the 31st century?
>>> 
>>> If it didn't constantly trip up otherwise busy porters, this port
>>> would be a really good laugh.
>>> 
>>> *Looking at the calendar*
>>> No, it's unlikely to be the Easter bunny.
>>> We are not that close to Apil 1.

>> And to think that Rob Pike once wrote a paper "cat -v considered harmful"
>> since it added unnecessary functionality to cat, whose only job is
>> to catenate files...

> bat is my favorite rust program
> 
> please continue maintaining it in ports,
> i don't want the standup comedy to end

I didn't mean to summon tedu@ regarding the port,
quite to the contary, i might even contribute to it!

https://github.com/sharkdp/bat/pull/1756



Re: sysutils/bat

2021-07-27 Thread Theo de Raadt
Ian Darwin  wrote:

> On Tue, Jul 27, 2021 at 04:47:46PM +0200, Ingo Schwarze wrote:
> > > Changes by:   st...@cvs.openbsd.org   2021/07/27 05:55:36
> > > 
> > > Modified files:
> > >   sysutils/bat   : Makefile 
> > > 
> > > Log message:
> > > set sysutils/bat to ONLY_FOR_ARCHS=${LP64_ARCHS}, one of the 147
> > > dependencies (sys-info) has a 32 vs 64 bit issue when checking
> > > the number of CPUs online
> > 
> > Wait, a cat with 147 dependencies?  Looks like it's a rabbit after all!
> > At least there can be no doubt that it inhabits a rabbit hole, doesn't it?
> > 
> > Besides, isn't a program that stops working once your machine has
> > more than four billion CPUs utterly useless in the 31st century?
> > 
> > If it didn't constantly trip up otherwise busy porters, this port
> > would be a really good laugh.
> > 
> > *Looking at the calendar*
> > No, it's unlikely to be the Easter bunny.
> > We are not that close to Apil 1.
> 
> And to think that Rob Pike once wrote a paper "cat -v considered harmful"
> since it added unnecessary functionality to cat, whose only job is
> to catenate files...

bat is my favorite rust program

please continue maintaining it in ports, i don't want the standup comedy
to end



Re: sysutils/bat

2021-07-27 Thread Ian Darwin
On Tue, Jul 27, 2021 at 04:47:46PM +0200, Ingo Schwarze wrote:
> > Changes by: st...@cvs.openbsd.org   2021/07/27 05:55:36
> > 
> > Modified files:
> > sysutils/bat   : Makefile 
> > 
> > Log message:
> > set sysutils/bat to ONLY_FOR_ARCHS=${LP64_ARCHS}, one of the 147
> > dependencies (sys-info) has a 32 vs 64 bit issue when checking
> > the number of CPUs online
> 
> Wait, a cat with 147 dependencies?  Looks like it's a rabbit after all!
> At least there can be no doubt that it inhabits a rabbit hole, doesn't it?
> 
> Besides, isn't a program that stops working once your machine has
> more than four billion CPUs utterly useless in the 31st century?
> 
> If it didn't constantly trip up otherwise busy porters, this port
> would be a really good laugh.
> 
> *Looking at the calendar*
> No, it's unlikely to be the Easter bunny.
> We are not that close to Apil 1.

And to think that Rob Pike once wrote a paper "cat -v considered harmful"
since it added unnecessary functionality to cat, whose only job is
to catenate files...



Re: sysutils/bat

2021-07-27 Thread Ingo Schwarze
> Changes by:   st...@cvs.openbsd.org   2021/07/27 05:55:36
> 
> Modified files:
>       sysutils/bat   : Makefile 
> 
> Log message:
> set sysutils/bat to ONLY_FOR_ARCHS=${LP64_ARCHS}, one of the 147
> dependencies (sys-info) has a 32 vs 64 bit issue when checking
> the number of CPUs online

Wait, a cat with 147 dependencies?  Looks like it's a rabbit after all!
At least there can be no doubt that it inhabits a rabbit hole, doesn't it?

Besides, isn't a program that stops working once your machine has
more than four billion CPUs utterly useless in the 31st century?

If it didn't constantly trip up otherwise busy porters, this port
would be a really good laugh.

*Looking at the calendar*
No, it's unlikely to be the Easter bunny.
We are not that close to Apil 1.