./pkgtools/nih, Package manager for pkgsrc

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.14.1, Package name: nih-0.14.1, Maintainer: cheusov

NIH Invented Here :-)
This is a package manager for pkgsrc.

Available commands:
nih help - Display help message
nih refresh - Download pkg_summary and SHA512 files
nih install - Install or update packages
nih uninstall - Uninstall packages
nih verify - Verify packages integrity
nih status - Show status of installed packages
nih info - Show information about packages
nih meta - Output available or installed meta packages
nih search - Powerful search in packages
nih leaf - Output or remove autoinstalled leaf packages
nih list - List packages
nih mark - Mark packages
nih deps - Show dependencies
nih clean-cache - Clean-up cache directory with binaries


Required to run:
[pkgtools/pkg_install] [pkgtools/digest] [pkgtools/pkg_summary-utils]

Required to build:
[devel/mk-configure] [pkgtools/cwrappers]

Master sites:

SHA1: 9209cc1b337d85be57f7ea1bcb1c526929fd2353
RMD160: 1325c00972486a8829eb17f1af0e900f2707921a
Filesize: 52.133 KB

Version history: (Expand)


CVS history: (Expand)


   2017-01-19 19:52:30 by Alistair G. Crooks | Files touched by this commit (352)
Log message:
Convert all occurrences (353 by my count) of

	MASTER_SITES= 	site1 \
			site2

style continuation lines to be simple repeated

	MASTER_SITES+= site1
	MASTER_SITES+= site2

lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.
   2015-11-07 19:20:49 by Aleksey Cheusov | Files touched by this commit (2) | Package updated
Log message:
Update to 0.14.1: fix in pkg_update_plan (nih install)
   2015-11-05 22:26:58 by Aleksey Cheusov | Files touched by this commit (1) | Package updated
Log message:
Version 0.14.0, by Aleksey Cheusov, Thu,  5 Nov 2015 23:45:38 +0300

  All messages shown to user are sent to stderr

  nih:
    - CACHEDIR is initialized in nih.default.conf (thanks to wiz@).
    - IPv4-only for download is not the default anymore (thanks to gdt@).
    - Binary package checksums are kept in pkg_summary.txt.
    - Preliminary support for multiple repositories.
    - Clean-ups for function "fetch".
      It just runs either fetch_wget or fetch_ftp and does nothing else.
    - Atomic update for pkg_inst_summary.txt was implemented
      (thanks to wiz@ for pointing out!).

  nih history:
    - Option -p was introduced.

  nih list:
    - Fix: bug in -f (unexpected line: `Updating pkg_inst_summary...`).

  nih remove:
    - "nih remove" without arguments uninstalls leaf packages.
      This is correct according to the documentation.
      "nih install" works the same way (thanks to wiz@ for the report).

  nih install:
    - Missing dependencies are fixed in a different way.
      When nih finds the missing dependency it tries to install
      the dependency and then update the installed package.
      This is more correct way to fix consequences of 'pkg_delete -f'.
    - Fix: the rule "do not change PKGPATHs of installed packages"
      was broken in 0.13.0 (thanks to wiz@ for the report!).
    - Fix: packages are no longer installed as a dependency by mistake.
    - Fix: flag "automatic" is unset correctly
      ("pkg_add -UD" does not change it).
    - Fix: "fake" package creation.
    - New option -w was added for ignoring non-existing package.
    - New option -f was added for getting package list from a file.
    - If "package could not be found", nih exits with non-zero status.
    - Configuration variables yes_install and yes_remove_pkgs were removed.
      New option -Y was added as a replacement (See NIH_OPTS for details).
    - Unnecessary variable "cksums" was removed.
    - Better explanation for update plan build failures.

  pkg_update_plan:
    - New option -w was added for the same purpose as in "nih install".
    - Man page was updated.

  nih.1:
    - A number of typos were fixed (thanks to wiz@).
    - All configuration variables were documented.
   2015-11-04 01:38:40 by Alistair G. Crooks | Files touched by this commit (10)
Log message:
Add SHA512 digests for distfiles for pkgtools category

Existing SHA1 digests verified and found to be the same on the machine
holding the existing distfiles (morden).  All existing SHA1 digests
retained for now as an audit trail.
   2014-11-30 02:10:12 by Aleksey Cheusov | Files touched by this commit (2) | Package updated
Log message:
Update to 0.13.0
  NIH_<subcommand>_OPTS variables were introduced. With their help one
  can configure EVERYTHING from config file.

  NIH_OPTS config variable was also introduced.

  nih mark:
    - new option -n was added.

  nih install:
    - Option -D doesn't remove temporary directory.
    - New options -v and -V were added.
    - NO_REQPROV_CHECK and NO_REQPROV_CHECK config variables were
      removed.  Use NIH_INSTALL_OPTS instead.

  nih uninstall:
    - does not need "nih refresh -b".
      Thanks to Andrey N. Oktyabrski for the report!

  Fixed:
    - Finding a correct dependency now works correctly if dependency
      is ambiguous.
    - Unicity problem in "nih install PKGNAME" was fixed.
    - Analysing file conflicts now works correctly with files
      containing a space character.
    - Fix in saving ~/.nih/installed_* files
    - Check for version emptyness in "fake packages" was added.
   2014-01-14 02:16:28 by Aleksey Cheusov | Files touched by this commit (3) | Package updated
Log message:
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.
   2013-03-08 14:04:32 by Aleksey Cheusov | Files touched by this commit (3) | Package updated
Log message:
Version 0.11.0, by Aleksey Cheusov, Fri,  8 Mar 2013 15:56:56 +0300

  nih install:
    - Order of packages does matter
      ("nih install emacs- editors/emacs22" is correct)
    - Option -P and new config variable NO_REQPROV_CHECK were added
    - Option -L and new config variable NO_REMOVE_LEAVES were added
    - "Nothing to be done" message is output if everything is up-to-date
    - Download failures and cksum failures are handled differently
    - Handling CONFLICTS between installed packages and packages to
      install are handled differently. Now package splits and similar
      problems are resolved with a help of "fake" packages. Fake
      packages are always marked for updates.
      New option -f for "nih list" was added in order to list them
    - Improvemed download progress messages

  nih uninstall:
    - Option -L was added, see "nih install -L"
    - Options -p and -P were added. See "nih install"

  nih leaf:
    - Command was reimplemented and simplified
    - Option -t option was removed
      pkg_status doesn't have -ltRn options anymore
    - Option -r was added

  nih search:
    - Option -I uses pkg_digger_installed provided by pkg_summary-utils

  pkg_update_plan:
    - Fixes in error messages

  nih search|meta|info:
    - Option -p was added. With a help of it one may search in
      pkgsrc packages offline. Also see "nih refresh -p" and man page

  Now nih works correctly if REPOSITORY is a directory

  Fixes for shell's "trap" command.
   2012-09-12 01:19:40 by Aleksej Saushev | Files touched by this commit (60)
Log message:
"user-destdir" is default these days