either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.
Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.
Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.
Whitespace cleanups and other nits corrected, where necessary.
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.
pkg_grep_summary:
- almost all search strategies were reimplemented in C for better
performance, as a result all utilities using pkg_grep_summary(1)
work much faster. Strategies still implemented in AWK: awk, kw.
- converted to use shell's getopts.
- new regression tests.
pkg_src_summary:
- if -m, -d, -D aren't applied, temporary files are not created.
- adapted for recent paexec(1) improvements.
pkg_update_src_summary:
- progress counter is output if -v is applied.
pkg_summary2deps:
- workaround for buggy patterns like >=foo-1.* was implemented.
pkg_summary-utils build infrastructure is completely reimplemented. Now
it is a two-level project. Subprojects: scripts and grep_summary
(enabled by default), doc and tests.
PKG_TOOLS_BIN env. variable is used at build time as a default
directory for pkg_info(8) (for OpenBSD/FreeBSD in order to avoid
conflicts with their native pkg_* tools).
A number of stupid workarounds for stupid Solaris' userlevel.
All scripts written in shell uses @SH@ in shebang and therefore uses
pkgsrc's ${SH} at run time.
NetBSD make library. Bump version (to 20131207, which was when I wrote
this.) Fixes the build of multimedia/bsdav.
Note: this is not a merge from NetBSD HEAD, but a minimal
reimplementation of the feature to get the job done.
These make templates really need to be merged with or replaced by the
latest versions from NetBSD HEAD. Anyone embarking on such a merge
should probably revert this change (which is only to bsd.prog.mk)
before doing so.
No objection after 3+ weeks on tech-pkg.
* Partial fix for PR pkg/47335
** Define some variables
** Define empty function neatvalue
** Generate Makefile before custom MakeMaker.pm invocation
to avoid no Makefile error.
failures for a long time. (I'm not sure why it sometimes does and
sometimes doesn't, but I think it may depend on different CFLAGS
arising from bootstrapping vs. not bootstrapping.)
While here add a comment to patch-curses__helpers.c; hi Joerg.
Introduce a modified bsd.own.mk on SunOS which enables MKCATPAGES by
default, and a modified bsd.man.mk which correctly installs catman
pages with a section suffix rather than a blanket '.0'.
This allows the SunOS man(1) to find the catman pages correctly.
signature_archive were not initialized properly, therefore randomly failing
in the verify_signature_read_cb() callback.
Partly closes PR pkg/48194; pkgsrc needs to be updated as well.
"please commit" agc@
XXX pull-up to netbsd-6
* Fix build with libnbcompat-20120702, PR pkg/42142's side effect is fixed.
Tested on Solaris 10, OpenBSD, FreeBSD etc.
Detect system's sha2.h and SHA2 functions, and include nbcompat/sha2.h
conditionally.