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.
This warning isn't supposed to fire on macro code, so this is either
something subtly odd in pkgin or broken in OS X's clang. This still
needs fixing, but in a way that's more limited to the problematic
platform.
At least on OS X with clang, pkgin fails to build because of extra
parens around ==. See https://github.com/NetBSDfr/pkgin/issues/64
for details.
This seems to be a new issue with something in the pkgsrc build
environment (bsd makefiles or compat libs), not in pkgin proper, but
pkgin's use of bsd makefiles leads to Werror.
* Ensure we aren't copying overlapping memory regions. Issue found by
Matthias Ferdinand.
* Free libarchive resources after use.
* Various WARNS and build cleanups.
Tested on Linux (now builds on Ubuntu 12.04), OSX, SmartOS and NetBSD.
* Significantly reduce RAM requirements for both "install" and "update",
headline number is "pkgin install gcc47" on SmartOS/x86_64 reduces from
383MB to 14MB, as well as being significantly faster, especially on
slower hardware. See my blog post at
<http://www.perkin.org.uk/posts/reducing-ram-usage-in-pkgin.html> for
more details.
* Handle pkg_add signature verification failures.
* Support pkg_summary.xz if available.
* Don't switch to parsable output when stdout isn't a tty, which broke
various automation tools.
* Integrate patches/patch-external_progressmeter.h
Tested on NetBSD, OSX, and SmartOS.
Changes:
20150124
When -n is provided to pkgin ar, rm, in, fug, packages list is shown
as one package per line so it is easier to read (feature proposed
by gdt@ in GitHub issue #41)
20150122
Fixed GitHub issue #33: clean database when repository removed
20150121
Fixed some resource leakage pointed out by coverity scan
20150119
+PRESERVE packages now correctly upgraded without pkg_add -f
20150106
Dropped percentage printout if stdout is not a tty (patch by Havard
Eidnes)
Changed pkg_add -f flag with -D as suggested by Greg Troxel
20150105
Fixed an issue with meta-packages not updating pkgdb, check for
PKG_DBDIR mtime instead
20150102
Avoid deepness > 1 when checking for dependency upgrades, should fix
PR #48561
20141229
Avoid `preserved' packages to be `autoremoved'
20141228
Fixed GH issue #1, NULL PKG_PATH (which is wrong btw) makes pkgin
segfault, strcmp() secured with safe_strcmp()
Added --with-pkginstall to configure
20141223
0.7.0
Fixed GH issue #36, automatic flag no more set when a package is
installed via pkg_add(1)
Added -p (parsable) flag for 3rd party frontends
Added statistics (patch by Youri Mouton)
Package-names-containing-a-dot fix (patch by Yamamoto Takashi)