The NetBSD Project

CVS log for pkgsrc/pkgtools/nih/Makefile

[BACK] Up to [] / pkgsrc / pkgtools / nih

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jun 6 12:42:10 2023 UTC (3 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, HEAD
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:

Revision 1.26 / (download) - annotate - [select for diffs], Mon Apr 8 21:39:32 2019 UTC (4 years, 5 months ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.25: +1 -2 lines
Diff to previous 1.25 (colored)

Remove from MASTER_SITES

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jan 27 19:07:47 2018 UTC (5 years, 7 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)

pkgtools/*: Realign variables in Makefiles

Mainly done by pkglint, manually reviewed and improved in some few cases.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Jan 19 18:52:21 2017 UTC (6 years, 8 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

Convert all occurrences (353 by my count) of

	MASTER_SITES= 	site1 \

style continuation lines to be simple repeated


lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint

Revision 1.23 / (download) - annotate - [select for diffs], Sat Nov 7 18:20:49 2015 UTC (7 years, 10 months ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Update to 0.14.1: fix in pkg_update_plan (nih install)

Revision 1.22 / (download) - annotate - [select for diffs], Thu Nov 5 21:26:58 2015 UTC (7 years, 10 months ago) by cheusov
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Version 0.14.0, by Aleksey Cheusov, Thu,  5 Nov 2015 23:45:38 +0300

  All messages shown to user are sent to stderr

    - 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.

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

    - A number of typos were fixed (thanks to wiz@).
    - All configuration variables were documented.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Nov 30 01:10:12 2014 UTC (8 years, 9 months ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

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!

    - 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.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jan 14 01:16:28 2014 UTC (9 years, 8 months ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.19: +4 -6 lines
Diff to previous 1.19 (colored)

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.

    - better conversion from "uname -r" to repository URL.
    - REPOSITORY for SunOS defaults to

  Support for summaries with no PKGPATH, e.g., compat50-5.1.tgz, was

  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.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Mar 8 13:04:32 2013 UTC (10 years, 6 months ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.18: +11 -6 lines
Diff to previous 1.18 (colored)

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

    - 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.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Sep 11 23:19:35 2012 UTC (11 years ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.17: +1 -3 lines
Diff to previous 1.17 (colored)

"user-destdir" is default these days

Revision 1.17 / (download) - annotate - [select for diffs], Sat Sep 8 17:52:49 2012 UTC (11 years ago) by cheusov
Branch: MAIN
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored)

DEPENDS on pkg_summary-utils>=0.58.4; ++pkgrevision

Revision 1.16 / (download) - annotate - [select for diffs], Sun Aug 26 16:13:32 2012 UTC (11 years, 1 month ago) by cheusov
Branch: MAIN
Changes since 1.15: +2 -3 lines
Diff to previous 1.15 (colored)

Update to 0.10.1
  Fix gawk warning message appeared on Linux and other systems

  nih install:
     - commands like 'nih install _ package-' now works correctly
     - much better messages are output when update plan failed to build
     - option -p was added in order to skip REQUIRES/PROVIDES checks

  'nih status -Aa' doesn't output status of uninstalled packages

  Fixes and improvements in nih.1

Revision 1.15 / (download) - annotate - [select for diffs], Fri Mar 9 19:05:31 2012 UTC (11 years, 6 months ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.14: +2 -4 lines
Diff to previous 1.14 (colored)

clean-ups (adapted for recent mk-configure)

Revision 1.14 / (download) - annotate - [select for diffs], Tue Nov 22 21:03:07 2011 UTC (11 years, 10 months ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.13: +6 -2 lines
Diff to previous 1.13 (colored)

Fixes for SunOS<5.11 broken userlevel; ++pkgrevision

Revision 1.13 / (download) - annotate - [select for diffs], Mon Nov 21 17:24:31 2011 UTC (11 years, 10 months ago) by cheusov
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Fix bug introduced in 0.10.0. Do not check library files on filesystems
  for not installed (yet) dependencies.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Nov 15 21:11:21 2011 UTC (11 years, 10 months ago) by cheusov
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Update to 0.10.0
  A lot of improvements and grammar fixes in manual page
  by Nikolai Krot.

  Support for marker "keep" was implemented.
  (nih mark -k|-K, nih list -k, nih install).
  "keep" marker means that a package can't be updated by "nih update"
  command.  This marker is particularly useful to mark packages that
  the user compiled manually from pkgsrc.
  Original idea belongs to Debian APT.

  nih install:
    - Options -r and -R options were added
      for installing dependencies or dependent packages.
      Sometimes they may fix mysterious segfaults.
    - Support for package suffix `/' was added that means "remove
      update". See the manual page for details.
    - A virtual package "_" was implemented that means "all packages"
      for which update is available".
    - Fixed: bug in REQUIRES/PROVIDES problem resolver.  Now packages
      that solve REQUIRES/PROVIDES problems are marked as installed by
      user.  Thanks to Jan Smydke for the report.
    - Library files including system libraries that packages require
      through REQUIRES field are also checked during update plan

  fix: $CACHEDIR/All directory is created only when it is really necessary.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Oct 19 21:30:55 2011 UTC (11 years, 11 months ago) by cheusov
Branch: MAIN
Changes since 1.10: +1 -3 lines
Diff to previous 1.10 (colored)

Remove MANDIR= from MAKE_ENV, it is not needed anymore

Revision 1.10 / (download) - annotate - [select for diffs], Sun Oct 9 10:02:45 2011 UTC (11 years, 11 months ago) by cheusov
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Update my email

Revision 1.9 / (download) - annotate - [select for diffs], Fri Sep 9 22:02:19 2011 UTC (12 years ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Update to 0.9.1

  fix in "nih deps": option -t now works correctly

  fix: ~/.nih/config has higher priority than @sysconfdir@/nih/config
       Thanks to Jan Smydke for the report!

  fix: Create "$CACHEDIR/All" on startup.
       Thanks to Zafer Aydogan for the report.

    - REPOSITORY defaults to

  Default nih.conf:
    - One more example of use

Revision 1.8 / (download) - annotate - [select for diffs], Sun Sep 4 15:38:49 2011 UTC (12 years ago) by cheusov
Branch: MAIN
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

Fix pkglint warnings

Revision 1.7 / (download) - annotate - [select for diffs], Mon Aug 29 20:53:32 2011 UTC (12 years, 1 month ago) by cheusov
Branch: MAIN
Changes since 1.6: +4 -5 lines
Diff to previous 1.6 (colored)

Update to 0.9.0

  Support for "try_out" marker was added. New options for subcommands:
  nih install -t, nih remove -t, nih list -t and nih mark -t/-T.
  See manual page for details.

  nih install:
    - after downloading binary packages it checks for common files in
      PLIST fields. If unregistered conflicts are detected, nih exits
      with error. This can be disabled using NO_PLIST_CHECK variable.
    - New option -a was added for running pkg_add(8) directly.

  nih history:
    - "automatic" and "try_out" flags are registered and output.
    - outputs a warning message if NO_INSTALLED_COPY is set.

  nih install|remove:
    - New option -l was added for keeping auto-removable leaf

  nih verify:
    - New option -s was added for comparing running OS and OS packages
      were built for.

    - New global option -s was added for specifying path to

  ~/.nih/installed_* files are compressed by bzip2 at creation time.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Aug 20 15:45:13 2011 UTC (12 years, 1 month ago) by cheusov
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Add MESSAGE (note about pkg_online-client)

Revision 1.5 / (download) - annotate - [select for diffs], Tue Aug 2 14:16:12 2011 UTC (12 years, 1 month ago) by cheusov
Branch: MAIN
Changes since 1.4: +14 -1 lines
Diff to previous 1.4 (colored)

Use /usr/bin/ftp on *BSD systems and ftp command from net/tnftp package.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jul 30 10:46:01 2011 UTC (12 years, 2 months ago) by cheusov
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Update nih to 0.8.0

  nih remove:
    - FIX: -n now works correctly
      Affected versions: 0.7.1-0.7.2

  nih install:
    - FIX: "nih install -n" doesn't change "automatic" flag anymore
    - new suboption -k for continuing download after failures
    - BUILD_DATE field is included to installed_*.txt files

  New command "nih audit" for checking packages for vulnerabilities

  New command "nih history"

  nih mark:
    - new suboption -A and -U, synonyms to -u and -a respectively
    - if neither -a, -A, -u or -U were specified, markers are output.

  nih list:
    - new suboption -b for outputting packages in the repository
    - new suboption -r for outputting raw package summaries

  nih meta:
    - new suboption -r for outputting raw package summaries

  nih refresh:
    - error message is output when download fails

  Minor improvements in "nih -h" and manual page

  Path to ftp(1) defaults to /usr/bin/ftp on NetBSD, FreeBSD, OpenBSD
  and DragonFlyBSD.  On other systems it defaults to tnftp from

  FTP_OPTIONS and WGET_OPTIONS default to "-4" for using IPv4 only.

  New configuration variable IGNORE_CKSUMS was added in order to
  ignore SHA512.txt absent in some repositories.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jun 14 21:21:08 2011 UTC (12 years, 3 months ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Update to nih-0.7.2
  Fix for "Package xxx is not found" problem:

       0 > nih -y install editors/emacs22
       0 > nih -y install editors/emacs20 emacs-
       Package editors/emacs20 is not found
       1 >

Revision 1.2 / (download) - annotate - [select for diffs], Tue May 17 19:53:21 2011 UTC (12 years, 4 months ago) by cheusov
Branch: MAIN
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

Add to mirrors.

Revision / (download) - annotate - [select for diffs] (vendor branch), Mon May 16 22:03:14 2011 UTC (12 years, 4 months ago) by cheusov
Branch: TNF
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

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

Revision 1.1 / (download) - annotate - [select for diffs], Mon May 16 22:03:14 2011 UTC (12 years, 4 months ago) by cheusov
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>