## Version 0.14.0 (2019-12-12)
* Ensure reverse dependencies are considered when a "pkgin install" triggers
an upgrade of a local package, avoiding potentially nasty bugs.
* Minor performance improvement.
## Version 0.13.0 (2019-09-24)
* "pkgin upgrade" now upgrades all packages instead of only keep packages, and
essentially replaces "pkgin full-upgrade". Selective upgrades have always
been risky and provide no benefit, especially in light of refresh support.
"pkgin full-upgrade" is retained for compatibility but marked as deprecated.
* Refresh the local package repository when a forced update is requested, so
that a failed update can be repaired easily.
* Switch NetBSD default repository from ftp.netbsd.org to cdn.netbsd.org.
## Version 0.11.8 (2019-05-20)
* Improve SQL strictness, avoiding issues where excessive writes to the SQL
error log caused by changes in SQLite 3.27.0 would swamp regular operations.
## Version 0.11.7 (2019-03-07)
* Switch back to NetBSDfr/pkgin as the upstream repository.
* Improve database safety.
* Fix clang -Wmissing-noreturn and -Wformat-nonliteral warnings.
* Fix some typos in the manual page.
## Version 0.11.5 (2018-09-20)
* Fix crash when preferred.conf exists but is empty.
* Improve preferred.conf handling.
* Fix package not available message when attempting to install a non-existent
package.
* Small performance improvement in newline handling.
## Version 0.11.4 (2018-07-03)
* Fix dependency matching to correctly consider DEPENDS rather than simply
attempting to pull in the highest version. Resolves issues with installing
packages depending on samba and their conflicts against tdb and talloc.
## Version 0.11.2 (2018-06-20)
* Fix a couple of issues with PKGPATH handling in import and upgrade.
* Fix an occasional memory corruption issue with commands that call
pkg_info for output.
## Version 0.11.1 (2018-06-14)
* Permit the user to install an older package version.
* Ensure warning and error counters are reset for each phase.
* Print total download size when using -d.
## Version 0.11.0 (2018-06-08)
* Fix build on NetBSD/evbarm.
* Skip download checks for packages that are being removed, prevents
erroneous "empty FILE_SIZE" failures.
* Perform in-place upgrades using `pkg_add -DU` rather than removing
and reinstalling. Should be faster and less error-prone.
* Output formatting improvements. Installs are now split between
refresh, upgrade, and install, with package lists formatted to be
easier to read.
## Version 0.10.1 (2018-06-01)
* Fix BUILD_DATE refresh support for preserved packages.
* Improve provides/requires output to avoid confusion for new users.
## Version 0.10.0 (2018-05-17)
* Add BUILD_DATE support, packages are now upgraded if the BUILD_DATE
has changed, to ensure rebuilt dependencies are correctly handled.
* Download handling fixes.
* Count packages correctly.
* Ensure the remote database is updated before performing upgrades.
* Internal code cleanups, refactoring, WARNS fixes, etc.
* Support nanosecond resolution on pkgdb mtime.
* Sync progressmeter and pkg_install with upstreams.
* Improve SQL logging.
* Fix -d when used with an upgrade action.
* Fix exit status for various commands and usage.
* Avoid segfault in show-category.
* Improve pkgin database initialisation and upgrade checks.
* Support libarchive 2.x and Minix 3.3.0
* Support PKG_INSTALL_DIR and PKGIN_DBDIR, primarily to support the
new pkgin test suite: https://github.com/joyent/pkgin-test-suite
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)
Modified default behaviour for Proceed [Y/n]
Sync wip with pkgsrc: pkgin 0.6.2
20120729
Rewrote narrow_match() using version_check() to avoid more
dirty repositories mistakes.
20120715
Preparing pkginteractive integration.
20120530
SQLite is now part of NetBSD 6.0 base, remove it from pkgin's tree.
Dependency will be added in the package.
Added SQLite build patch from sbd@
Added show-all-categories
unlink() before symlink()
20120525
Dynamically read PKG_DBDIR from pkg_admin
20120524
Do not delete repository entries if the new one is unreachable.
20120429
When a package is marked as TOREMOVE and TOUPGRADE because of a
dependency breakage during upgrade, just follow the usual upgrade
process.
20120427
Handled "no value field" for buggy packages.
20120419
Hopefuly fixed the "dirty repository" bug thanks to bapt
20120416
Added show-{pkg-,}category as requested by Julian Fagir
Added pkg-build-defs as requested by gls@
20120415
Added pkg-content and pkg-descr
Introduced pkg_infos.c to fetch remote informations
Removed -D_FILE_OFFSET_BITS=64 from Makefile and added it in fsops.c
20120414
Fire up pkgin 0.6.0
case: cleanup in summary.c (stacktic)
Packages list queries ordered differently for display and internals
Various minor fixes from NetBSDfr hackathon
Moved break_depends() at the end of impact.c to avoid inconsistencies
Check for real filesystem size to be occuppied by upgrade
Check for user permissions before update_db
update_db() returns a status so we can warn simple users
introduced have_enough_rights(), fixed pkg_keep() perms
Various return codes fixed to satisfy frontends
. Don't download packages when repository is a file:// scheme
. Reduce verbosity when marking non-autoremovable packages
. Keep going if unmet requirements are encountered and warn about
it before proceeding
. Always move pkg_install on top of the "to-upgrade" list
. pkgin now depends on pkgsrc's pkg_install
. Log timestamp
. Better handling of pkg_install error logs
. rec_pkglist() now takes a va_list
. Added "requires" and "provides" to have a closer look on packages
requirements
. Globs can now be passed as an argument for package installation, i.e.
# pkgin in 'mysql-server<5.1'
. Export / import a list of packages as requested by wiz@
. Operations tracing flag (-t)
. Database silent migration
. More flexible check_yesno()
. Made pkgin in / rm yes by default
. One struct to rule them all (Pkglist)
. Got rid of many useless lists (speed x10, literally)
. Introduced FULLPKGNAME as db member, speed ups searches
. unique_pkg(): no more "many versions of foo", pickup newer