pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/nih



Module Name:    pkgsrc
Committed By:   cheusov
Date:           Mon May 27 21:23:35 UTC 2024

Modified Files:
        pkgsrc/pkgtools/nih: Makefile distinfo

Log Message:
Update to 0.16.0

  System-wide NIH config defaults to @SYSCONFDIR@/nih.conf.
  User's NIH config defaults to $HOME/.nihrc.
  Directory for history files defaults to @VARBASE@/cache/nih/history.
  Binary packages cache directory defaults to @VARBASE@/cache/nih/packages.
  pkg_summary(5) directory defaults to @VARBASE@/cache/nih/summary
  Obsolete ~/.nih directory

  nih:
    - Fix "nih history" on Linux.
    - On Y/n question consider <RET> as "No".
    - update man page for "refresh" subcommand.
    - Allow "history", "status" and other commands to unprivileged user.
    - Create tiny bin_summary only once at the time of "nih refresh -b".
    - Add support for unprivileged use of subcomands "search", "info", "list".

  nih install:
    - Add option -W.

  nih clean-cache:
    - Fix help message.

  nih remove:
    - Fix issue when binary repository is not available.

  nih deps:
    - Fix help message (mark -b as the default).

  nih.conf:
    - Add example for getting URL to packages from pkg_install.conf(5).

  nih.default.conf:
    - Update REPOSITORY to https://cdn.NetBSD.org ...
    - Add new formatter "show_summary_NPC".
    - Adapt show_summary_BC formatter for rpm package numbers.

  nih mark:
    - Show error message when no PKGBASEs were specified.

  pkg_status:
    - Improve temporary directory removal.

  pkg_update_plan:
    - Add option -W for ignoring warnings.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/pkgtools/nih/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/pkgtools/nih/distinfo

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

Modified files:

Index: pkgsrc/pkgtools/nih/Makefile
diff -u pkgsrc/pkgtools/nih/Makefile:1.30 pkgsrc/pkgtools/nih/Makefile:1.31
--- pkgsrc/pkgtools/nih/Makefile:1.30   Fri Dec  1 11:39:05 2023
+++ pkgsrc/pkgtools/nih/Makefile        Mon May 27 21:23:35 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.30 2023/12/01 11:39:05 cheusov Exp $
+# $NetBSD: Makefile,v 1.31 2024/05/27 21:23:35 cheusov Exp $
 
-DISTNAME=      pkgnih-0.15.2
+DISTNAME=      pkgnih-0.16.0
 PKGNAME=       ${DISTNAME:S/pkgnih/nih/}
 CATEGORIES=    pkgtools
 MASTER_SITES=  ftp://ftp.NetBSD.org/pub/NetBSD/misc/cheusov/nih/
@@ -13,6 +13,7 @@ LICENSE=      2-clause-bsd
 DEPENDS+=      pkg_summary-utils>=0.67.0:../../pkgtools/pkg_summary-utils
 DEPENDS+=      digest-[0-9]*:../../pkgtools/digest
 DEPENDS+=      pkg_install>=20100915:../../pkgtools/pkg_install
+BUILD_DEFS+=   VARBASE
 
 TOOL_DEPENDS+=         mk-configure>=0.21.0:../../devel/mk-configure
 
@@ -25,9 +26,10 @@ INSTALL_TARGET=              install install-doc
 EGDIR=                 ${PREFIX}/share/examples/nih
 
 CONF_FILES=            ${EGDIR}/nih.conf \
-                       ${PKG_SYSCONFDIR}/nih/config
+                       ${PKG_SYSCONFDIR}/nih.conf
 
-MAKE_DIRS+=            ${PKG_SYSCONFDIR}/nih
+MAKE_DIRS+=            ${VARBASE}/cache/nih/summary ${VARBASE}/cache/nih/src_summary \
+                       ${VARBASE}/cache/nih/packages ${VARBASE}/cache/nih/history
 
 REPLACE_INTERPRETER+=  runawk
 REPLACE.runawk.old=    .*runawk
@@ -36,8 +38,10 @@ REPLACE_FILES.runawk=        nih/pkg_update_pla
                        nih/pkg_create_fake.in nih/analyse_conflicts.in
 
 MAKE_ENV+=             PKG_DBDIR=${PKG_DBDIR}
+MAKE_ENV+=             VARDIR=${VARBASE}
 MAKE_ENV+=             REAL_ROOT_USER=${REAL_ROOT_USER}
 MAKE_ENV+=             REAL_ROOT_GROUP=${REAL_ROOT_GROUP}
+MAKE_ENV+=             PKGSRCDIR=${PKGSRCDIR}
 
 .include "../../mk/bsd.prefs.mk"
 

Index: pkgsrc/pkgtools/nih/distinfo
diff -u pkgsrc/pkgtools/nih/distinfo:1.18 pkgsrc/pkgtools/nih/distinfo:1.19
--- pkgsrc/pkgtools/nih/distinfo:1.18   Fri Dec  1 11:39:05 2023
+++ pkgsrc/pkgtools/nih/distinfo        Mon May 27 21:23:35 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.18 2023/12/01 11:39:05 cheusov Exp $
+$NetBSD: distinfo,v 1.19 2024/05/27 21:23:35 cheusov Exp $
 
-BLAKE2s (pkgnih-0.15.2.tar.gz) = f425261634adc003d25f1e2b5e89ad25e948812bc47a8b24a6fb8ca43c85ec64
-SHA512 (pkgnih-0.15.2.tar.gz) = 5d42aa1b2e3840f29ea10a954f9db6fdba4ed699c8f9f2358b4e3682a6e9aa703bd7ea6e896a3759651c5393fafaa9e5950c9ea6db27db85c8d13ad820be7d0f
-Size (pkgnih-0.15.2.tar.gz) = 54127 bytes
+BLAKE2s (pkgnih-0.16.0.tar.gz) = a407a47fa031303e60b2d5a5b7a0d33b80846ba7350633e8cb2a380a7169f260
+SHA512 (pkgnih-0.16.0.tar.gz) = 619d64f9a1ce98da0ea9296e94391785d3db65123683f8a9b2a5f9e5c72c18e6cc2a7059f8d2a06a9884859b9dcc03937e9571a25a7e0045b9f0e581e9ae5d80
+Size (pkgnih-0.16.0.tar.gz) = 55331 bytes



Home | Main Index | Thread Index | Old Index