diff options
author | cheusov <cheusov@pkgsrc.org> | 2014-01-14 01:16:28 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2014-01-14 01:16:28 +0000 |
commit | 6fc42c3a0b7e1906b514ef1ff3690a1ee566f29e (patch) | |
tree | e3bcaa3572e64c22710ff2d3c37ad9626fdba529 | |
parent | 69ac533989b3c3e7e72fbd3ecf2646e516031cf6 (diff) | |
download | pkgsrc-6fc42c3a0b7e1906b514ef1ff3690a1ee566f29e.tar.gz |
Updatd to version 0.12.0:
Most important parts of pkg_grep_summary, a part of
pkgtools/pkg_summary-utils, was reimplemented in C. As a result
"nih {search,info,meta,leaf,install,remove,deps}" should work faster.
nih install:
- if pkg_update_plan(1) fails, nih(1) exits with pkg_update_plan's
exit status.
- packages to be installed or removed are output in sorted order.
nih {search,meta,info}:
- "nih meta" now defaults to -1 mode (internally).
- documentation for -1|-3|-9 ads added for "nih {info,meta}" commands
- "nih info" now defaults to -3 mode.
- "nih {search,meta,info}" now work correctly with -{o,i} options
if ~/.nih/pkg_summary.txt is absent.
- new option -l was added to "nih {search,info}" that outputs
package file list.
Summary for installed packages is cached in
~/.nih/pkg_inst_summary.txt. "nih {refresh,search,info,meta,deps,list} -i"
use this file and update it when necessary.
nih refresh:
- Option -P was added for fully rescanning pkgsrc tree.
- The default value for PKGSRCDIR is not determined at build time
anymore. As a result "nih refresh -p" does not try to access
/tree/pkgsrc used by bouyer@ who builds official NetBSD binary
packages. Now PKGSRCDIR defaults to /usr/pkgsrc.
- "nih refresh -p" shows progress counter (the number of scanned
packages) unless -m is in PSS_OPTIONS.
- option -i was added that updates summaries for installed
packages (~/.nih/pkg_inst_summary.txt).
nih remove:
- does not try to create $CACHEDIR and "cd" to it.
nih list:
- was completely reimplemented and simplified.
- new option -p was added that outputs pkgsrc tree packages.
nih deps:
- new options -b and -p were added for working with binary
repository and pkgsrc scanned packages
(pkg_summary.txt ad pkg_src_summary.txt respectively)
- option -1 was added that outputs direct dependencies or dependents.
nih/config:
- better conversion from "uname -r" to repository URL.
- REPOSITORY for SunOS defaults to smartos.org.
Support for summaries with no PKGPATH, e.g., compat50-5.1.tgz, was
added.
Option -I for "list", "deps', "meta", "info" and "search" was
renamed to -i. Option -I is supported for backward compatibility.
package_search.pdf was updated, fixed and improved.
-rw-r--r-- | pkgtools/nih/Makefile | 10 | ||||
-rw-r--r-- | pkgtools/nih/PLIST | 4 | ||||
-rw-r--r-- | pkgtools/nih/distinfo | 8 |
3 files changed, 10 insertions, 12 deletions
diff --git a/pkgtools/nih/Makefile b/pkgtools/nih/Makefile index 7bb96260ad8..f6c3e64cce8 100644 --- a/pkgtools/nih/Makefile +++ b/pkgtools/nih/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.19 2013/03/08 13:04:32 cheusov Exp $ +# $NetBSD: Makefile,v 1.20 2014/01/14 01:16:28 cheusov Exp $ -DISTNAME= pkgnih-0.11.0 +DISTNAME= pkgnih-0.12.0 PKGNAME= ${DISTNAME:S/pkgnih/nih/} CATEGORIES= pkgtools MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/cheusov/nih/ \ @@ -11,7 +11,7 @@ HOMEPAGE= https://github.com/cheusov/pkgnih COMMENT= Package manager for pkgsrc LICENSE= 2-clause-bsd -DEPENDS+= pkg_summary-utils>=0.60.0:../../pkgtools/pkg_summary-utils +DEPENDS+= pkg_summary-utils>=0.63.0:../../pkgtools/pkg_summary-utils DEPENDS+= digest-[0-9]*:../../pkgtools/digest DEPENDS+= pkg_install>=20100915:../../pkgtools/pkg_install @@ -36,8 +36,6 @@ REPLACE.runawk.new= ${PREFIX}/bin/runawk REPLACE_FILES.runawk= nih/pkg_update_plan.in nih/cmp2hr.in \ nih/pkg_create_fake.in nih/analyse_conflicts.in -MAKE_ENV+= PKGSRCDIR=${PKGSRCDIR} -MAKE_ENV+= PACKAGES=${PACKAGES} MAKE_ENV+= PKG_DBDIR=${PKG_DBDIR} MAKE_ENV+= REAL_ROOT_USER=${REAL_ROOT_USER} MAKE_ENV+= REAL_ROOT_GROUP=${REAL_ROOT_GROUP} @@ -52,7 +50,7 @@ FTP_CMD=${PREFIX}/bin/ftp DEPENDS+= tnftp-[0-9]*:../../net/tnftp .endif -MAKE_ENV+= FTP=${FTP_CMD:Q} +MAKE_ENV+= FTP=${FTP_CMD:Q} PKG_TOOLS_BIN=${PKG_TOOLS_BIN} .if ${OPSYS} =="SunOS" #&& empty(OS_VERSION:M5.11*) REPLACE_SH+= nih/nih.in nih/pkg_status.in diff --git a/pkgtools/nih/PLIST b/pkgtools/nih/PLIST index e9474290122..566e0c3c4a4 100644 --- a/pkgtools/nih/PLIST +++ b/pkgtools/nih/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2013/03/08 13:04:32 cheusov Exp $ +@comment $NetBSD: PLIST,v 1.6 2014/01/14 01:16:28 cheusov Exp $ bin/nih bin/pkg_status bin/pkg_update_plan @@ -8,7 +8,7 @@ libexec/nih/cmp2hr libexec/nih/pkg_create_fake man/man1/nih.1 man/man1/pkg_update_plan.1 -share/doc/pkgnih/COPYRIGHT +share/doc/pkgnih/LICENSE share/doc/pkgnih/NEWS share/doc/pkgnih/README share/doc/pkgnih/TODO diff --git a/pkgtools/nih/distinfo b/pkgtools/nih/distinfo index 21a9f203564..50b35625f97 100644 --- a/pkgtools/nih/distinfo +++ b/pkgtools/nih/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.9 2013/03/08 13:04:32 cheusov Exp $ +$NetBSD: distinfo,v 1.10 2014/01/14 01:16:28 cheusov Exp $ -SHA1 (pkgnih-0.11.0.tar.gz) = 57ee38059d55e2568a1465c62df22bbddc55ba9a -RMD160 (pkgnih-0.11.0.tar.gz) = 7363f411571f1afa81ab1e91d9fb654b42b05e62 -Size (pkgnih-0.11.0.tar.gz) = 36747 bytes +SHA1 (pkgnih-0.12.0.tar.gz) = 960bccb2150603041b64103dcde53778c80798f1 +RMD160 (pkgnih-0.12.0.tar.gz) = 99331f162ce11008e854df504157b6984c705c0a +Size (pkgnih-0.12.0.tar.gz) = 49597 bytes |