pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/shells/yash



Module Name:    pkgsrc
Committed By:   vins
Date:           Mon Apr 20 18:36:05 UTC 2026

Modified Files:
        pkgsrc/shells/yash: Makefile PLIST distinfo
        pkgsrc/shells/yash/patches: patch-Makefile.in

Log Message:
shells/yash: update to 2.61

 # changes

  * The `configure` script now accepts the `--disable-doc` option to
    omit installing the manual pages.
  * The `configure` script now has minimal cross compilation support.
    Use the `--host=HOST` option to specify the cross-compilation
    target.
  * Fixed a bug where the `configure` script could produce false
    positive results for function checks when an optimizing compiler
    eliminates the test code. The `configure` script now uses the
    `-fno-builtin` compiler option when compiling function check
    programs.
  * The `times` built-in now uses the `getrusage` function to obtain
    resource usage statistics on systems where it is available, which
    improves precision.
  * Updated the sample initialization script (yashrc):
      The script no longer suggests moving the history file from
      `~/.yash_history` to `${XDG_STATE_HOME}/yash/history` if they
      resolve to the same file.
  * [line-editing] Fixed a bug where attempting to auto-complete
    arguments for unknown commands when the `PREFIX` variable is defined
    would result in an error message.
  * [line-editing] Added completion for `mount`, `sv`, `aria2c`,
    `mkinitcpio`, `7z`, and `hdparm`.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/shells/yash/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/shells/yash/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/shells/yash/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/shells/yash/patches/patch-Makefile.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/shells/yash/Makefile
diff -u pkgsrc/shells/yash/Makefile:1.14 pkgsrc/shells/yash/Makefile:1.15
--- pkgsrc/shells/yash/Makefile:1.14    Sun Oct 12 06:24:27 2025
+++ pkgsrc/shells/yash/Makefile Mon Apr 20 18:36:04 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2025/10/12 06:24:27 vins Exp $
+# $NetBSD: Makefile,v 1.15 2026/04/20 18:36:04 vins Exp $
 
-DISTNAME=      yash-2.60
+DISTNAME=      yash-2.61
 CATEGORIES=    shells
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=magicant/}
 GITHUB_RELEASE=        ${PKGVERSION_NOREV}
@@ -19,11 +19,14 @@ USE_TOOLS+=         intltool xgettext
 HAS_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --prefix=${PREFIX}
 CONFIGURE_ARGS+=       --mandir=${PREFIX}/${PKGMANDIR}
+CONFIGURE_ARGS+=       --disable-doc
 
 USE_PKGLOCALEDIR=      yes
 
 PKG_SHELL=     bin/yash
 
+TEST_TARGET=   test
+
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/shells/yash/PLIST
diff -u pkgsrc/shells/yash/PLIST:1.6 pkgsrc/shells/yash/PLIST:1.7
--- pkgsrc/shells/yash/PLIST:1.6        Sun Oct 12 06:24:27 2025
+++ pkgsrc/shells/yash/PLIST    Mon Apr 20 18:36:05 2026
@@ -1,17 +1,20 @@
-@comment $NetBSD: PLIST,v 1.6 2025/10/12 06:24:27 vins Exp $
+@comment $NetBSD: PLIST,v 1.7 2026/04/20 18:36:05 vins Exp $
 bin/yash
 man/ja/man1/yash.1
 man/man1/yash.1
 share/locale/en@boldquot/LC_MESSAGES/yash.mo
 share/locale/en@quot/LC_MESSAGES/yash.mo
 share/locale/ja/LC_MESSAGES/yash.mo
+share/yash/completion/7z
 share/yash/completion/INIT
+share/yash/completion/README.md
 share/yash/completion/[
 share/yash/completion/_backup
 share/yash/completion/_blocksize
 share/yash/completion/_bsd
 share/yash/completion/_dot
 share/yash/completion/alias
+share/yash/completion/aria2c
 share/yash/completion/array
 share/yash/completion/awk
 share/yash/completion/basename
@@ -137,6 +140,7 @@ share/yash/completion/gview
 share/yash/completion/gvim
 share/yash/completion/gvimdiff
 share/yash/completion/hash
+share/yash/completion/hdparm
 share/yash/completion/head
 share/yash/completion/help
 share/yash/completion/history
@@ -156,8 +160,10 @@ share/yash/completion/man
 share/yash/completion/mesg
 share/yash/completion/mkdir
 share/yash/completion/mkfifo
+share/yash/completion/mkinitcpio
 share/yash/completion/mksh
 share/yash/completion/more
+share/yash/completion/mount
 share/yash/completion/mv
 share/yash/completion/mw
 share/yash/completion/nawk
@@ -208,6 +214,7 @@ share/yash/completion/su
 share/yash/completion/sudo
 share/yash/completion/sudoedit
 share/yash/completion/suspend
+share/yash/completion/sv
 share/yash/completion/svn
 share/yash/completion/tail
 share/yash/completion/tar

Index: pkgsrc/shells/yash/distinfo
diff -u pkgsrc/shells/yash/distinfo:1.9 pkgsrc/shells/yash/distinfo:1.10
--- pkgsrc/shells/yash/distinfo:1.9     Sun Oct 12 06:24:28 2025
+++ pkgsrc/shells/yash/distinfo Mon Apr 20 18:36:05 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2025/10/12 06:24:28 vins Exp $
+$NetBSD: distinfo,v 1.10 2026/04/20 18:36:05 vins Exp $
 
-BLAKE2s (yash-2.60.tar.xz) = dff803412a4ba725af1aabe58c184dcff1ababab9102140b4c0850bd44cb9f0a
-SHA512 (yash-2.60.tar.xz) = 3bd4b0a7220c551a352c5e4b0c2371cb3f9c3b51e1189fc983ef828db1d1a82c50f89631620e2e83a0cda2c3b47a43107272555db0a7e2b33b5fb24272d0a180
-Size (yash-2.60.tar.xz) = 810564 bytes
-SHA1 (patch-Makefile.in) = f9529b43db6f3775a5676b0f96f5cd5c4d60234e
+BLAKE2s (yash-2.61.tar.xz) = 4e61ba0db712a6cd0e9796fd5c9691408306534f238125bfb0da19c1a326a21a
+SHA512 (yash-2.61.tar.xz) = 17e11aafb387d007dc7adee07e83d5166f0e6022a64eeaed36eeedb529c25f49ca7631cd4225bac3c01e14aa1cafe49514b8742a6e6a886d1e94cd7af3706ca8
+Size (yash-2.61.tar.xz) = 821560 bytes
+SHA1 (patch-Makefile.in) = ae994a5033df3d4feb13907b9798dfab422ece3d

Index: pkgsrc/shells/yash/patches/patch-Makefile.in
diff -u pkgsrc/shells/yash/patches/patch-Makefile.in:1.1 pkgsrc/shells/yash/patches/patch-Makefile.in:1.2
--- pkgsrc/shells/yash/patches/patch-Makefile.in:1.1    Sat Aug 26 19:05:31 2023
+++ pkgsrc/shells/yash/patches/patch-Makefile.in        Mon Apr 20 18:36:05 2026
@@ -1,22 +1,13 @@
-$NetBSD: patch-Makefile.in,v 1.1 2023/08/26 19:05:31 vins Exp $
+$NetBSD: patch-Makefile.in,v 1.2 2026/04/20 18:36:05 vins Exp $
 
 Do not build documentation.
 
---- Makefile.in.orig   2023-08-19 23:40:00.000000000 +0000
+--- Makefile.in.orig   2026-04-20 18:13:45.920080359 +0000
 +++ Makefile.in
-@@ -63,7 +63,7 @@ htmldir = @htmldir@
- default_loadpath = @default_loadpath@
- enable_nls = @enable_nls@
- 
--all: $(TARGET) share/config tester mofiles docs
-+all: $(TARGET) share/config tester mofiles
- 
- .c.o:
-       @rm -f $@
-@@ -125,8 +125,8 @@ man html:
+@@ -126,8 +126,8 @@ man html:
  
  INSTALLBINDIRS = $(DESTDIR)$(bindir)
- INSTALLDATADIRS = $(DESTDIR)$(yashdatadir) $(DESTDIR)$(yashdatadir)/completion $(DESTDIR)$(yashdatadir)/initialization $(DESTDIR)$(mandir)
+ INSTALLDATADIRS = $(DESTDIR)$(yashdatadir) $(DESTDIR)$(yashdatadir)/completion $(DESTDIR)$(yashdatadir)/initialization@doc_mandir@
 -INSTALLDIRS = $(INSTALLBINDIRS) $(INSTALLDATADIRS) $(DESTDIR)$(htmldir)
 -install: install-binary install-data
 +INSTALLDIRS = $(INSTALLBINDIRS) $(INSTALLDATADIRS)
@@ -24,15 +15,14 @@ Do not build documentation.
  install-strip: install-binary-strip install-data
  install-binary: $(TARGET) installdirs-binary
        $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(bindir)/$(TARGET)
-@@ -138,7 +138,10 @@ install-data: share/config installdirs-d
-               $(INSTALL_DATA) share/$$file $(DESTDIR)$(yashdatadir)/$$file; \
-       done
+@@ -148,6 +148,10 @@ installdirs-data: installdirs-data-main
        @+if $(enable_nls); then (cd po && $(MAKE) $@); fi
--      @+(cd doc && $(MAKE) install-rec)
+       @+if $(enable_doc); then (cd doc && $(MAKE) installdirs-rec); fi
+ installdirs-data-main: $(INSTALLDATADIRS)
 +install-man:
 +      $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(mandir)/ja/man1 $(DESTDIR)$(mandir)/man1
 +      $(BSD_INSTALL_MAN) doc/$(TARGET:=.1) $(DESTDIR)$(mandir)/man1
 +      $(BSD_INSTALL_MAN) doc/ja/$(TARGET:=.1) $(DESTDIR)$(mandir)/ja/man1
- install-html:
-       @+(cd doc && $(MAKE) $@-rec)
- installdirs: installdirs-binary installdirs-data
+ installdirs-html: $(DESTDIR)$(htmldir)
+ $(INSTALLDIRS):
+       $(INSTALL_DIR) $@



Home | Main Index | Thread Index | Old Index