pkgsrc-Changes archive

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

CVS commit: pkgsrc/shells/bash-completion



Module Name:    pkgsrc
Committed By:   leot
Date:           Wed Jan  7 18:31:54 UTC 2026

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

Log Message:
Install bash_completion.d bits

A lot of functions got deprecated in bash-completion 2.12 but
completion files still rely on them and bash_completion.d provides a
000_bash_completion_compat.bash file for that.

Set the --sysconfdir configure argument for that.
Currently sysconfdir is used only for that so it should be okay to not
handle them like proper configuration files via CONF_FILES or similar.

This should unbreak several external (not provided by bash-completion
or indirectly called by bash-completion) completions.

PKGREVISION++


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/shells/bash-completion/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/shells/bash-completion/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/shells/bash-completion/distinfo
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/shells/bash-completion/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/bash-completion/Makefile
diff -u pkgsrc/shells/bash-completion/Makefile:1.15 pkgsrc/shells/bash-completion/Makefile:1.16
--- pkgsrc/shells/bash-completion/Makefile:1.15 Tue Jan  6 20:20:55 2026
+++ pkgsrc/shells/bash-completion/Makefile      Wed Jan  7 18:31:54 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2026/01/06 20:20:55 adam Exp $
+# $NetBSD: Makefile,v 1.16 2026/01/07 18:31:54 leot Exp $
 #
 # Note to packagers:
 # packages installing additional completion files should drop
@@ -6,6 +6,7 @@
 # with the name of the package as file name.
 
 DISTNAME=      bash-completion-2.17.0
+PKGREVISION=   1
 CATEGORIES=    shells
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=scop/}
 GITHUB_RELEASE=        ${PKGVERSION_NOREV}
@@ -20,6 +21,9 @@ USE_LANGUAGES=        # none
 USE_TOOLS+=    bash:run gmake
 GNU_CONFIGURE= yes
 
+# Used for compatdirs, to have compat functions
+CONFIGURE_ARGS+=       --sysconfdir=${PREFIX}/share/bash-completion
+
 INSTALLATION_DIRS=     lib/pkgconfig
 
 post-install:

Index: pkgsrc/shells/bash-completion/PLIST
diff -u pkgsrc/shells/bash-completion/PLIST:1.8 pkgsrc/shells/bash-completion/PLIST:1.9
--- pkgsrc/shells/bash-completion/PLIST:1.8     Tue Jan  6 20:20:55 2026
+++ pkgsrc/shells/bash-completion/PLIST Wed Jan  7 18:31:54 2026
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.8 2026/01/06 20:20:55 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2026/01/07 18:31:54 leot Exp $
 lib/pkgconfig/bash-completion.pc
 share/bash-completion/bash_completion
+share/bash-completion/bash_completion.d/000_bash_completion_compat.bash
 share/bash-completion/completions/2to3
 share/bash-completion/completions/7z
 share/bash-completion/completions/7za

Index: pkgsrc/shells/bash-completion/distinfo
diff -u pkgsrc/shells/bash-completion/distinfo:1.10 pkgsrc/shells/bash-completion/distinfo:1.11
--- pkgsrc/shells/bash-completion/distinfo:1.10 Tue Jan  6 20:20:55 2026
+++ pkgsrc/shells/bash-completion/distinfo      Wed Jan  7 18:31:54 2026
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.10 2026/01/06 20:20:55 adam Exp $
+$NetBSD: distinfo,v 1.11 2026/01/07 18:31:54 leot Exp $
 
 BLAKE2s (bash-completion-2.17.0.tar.xz) = cd19e71e9f19924d1279c0c5208ed715897153578974ea4348b2ab2ef3989ef0
 SHA512 (bash-completion-2.17.0.tar.xz) = 79f7a22de7df7a6a5cad2e8088ce7e013a3cd5542f3af825c04b2607c824022913dd775202ddab7964dd759e50d5bdf9be6451c70d488efaef10f7cf2f7ac73e
 Size (bash-completion-2.17.0.tar.xz) = 482896 bytes
-SHA1 (patch-Makefile.in) = 7154ead4f516a9405f1f2c0dcc865aa665ee885a
+SHA1 (patch-Makefile.in) = b6af5eb9c66546e80aa909aabdaae3ae67f7fc88
 SHA1 (patch-bash__completion) = 218e09660696a93c499e023b024c0042c021a9df

Index: pkgsrc/shells/bash-completion/patches/patch-Makefile.in
diff -u pkgsrc/shells/bash-completion/patches/patch-Makefile.in:1.2 pkgsrc/shells/bash-completion/patches/patch-Makefile.in:1.3
--- pkgsrc/shells/bash-completion/patches/patch-Makefile.in:1.2 Tue Jan  6 20:20:55 2026
+++ pkgsrc/shells/bash-completion/patches/patch-Makefile.in     Wed Jan  7 18:31:54 2026
@@ -1,14 +1,12 @@
-$NetBSD: patch-Makefile.in,v 1.2 2026/01/06 20:20:55 adam Exp $
+$NetBSD: patch-Makefile.in,v 1.3 2026/01/07 18:31:54 leot Exp $
 
-Don't install profile.d and bash_completion.d bits.
+Don't install profile.d bits.
 
 --- Makefile.in.orig   2025-10-31 14:07:05.000000000 +0000
 +++ Makefile.in
-@@ -329,9 +329,7 @@ pkgdata_DATA = bash_completion
- 
- # Empty, but here just to get the compat dir created with install
+@@ -331,7 +331,6 @@ pkgdata_DATA = bash_completion
  compatdir = $(sysconfdir)/bash_completion.d
--compat_DATA = bash_completion.d/000_bash_completion_compat.bash
+ compat_DATA = bash_completion.d/000_bash_completion_compat.bash
  profiledir = $(sysconfdir)/profile.d
 -profile_DATA = bash_completion.sh
  pkgconfigdir = $(datadir)/pkgconfig



Home | Main Index | Thread Index | Old Index