Commit graph

69 commits

Author SHA1 Message Date
jperkin
3d5974cc68 pkgin: Update to 20.12.1.
## Version 20.12.1 (2020-12-30)

 * Fix version selection of packages and dependencies for install.  Previously
   the first returned match would win, and preferred.conf was not considered
   for dependencies.
2020-12-30 09:21:22 +00:00
jperkin
3c06f2c04f pkgin: Update to 20.12.0.
## Version 20.12.0 (2020-12-13)

 * Return correct MACHINE_ARCH when using $arch in repositories.conf.
2020-12-13 09:13:08 +00:00
jperkin
33012abda2 pkgin: Update to 20.11.0.
## Version 20.11.0 (2020-11-02)

 * Avoid segmentation fault when trying to install package conflicts.
 * Remove default 15 second download timeout, also fixing -fno-common.
 * Remove debugging code that snuck into the previous release.
2020-11-02 14:25:39 +00:00
jperkin
0571d63d09 pkgin: Update to 20.8.0.
## Version 20.8.0 (2020-08-28)

 * Avoid segmentation faults across a few different scenarios.
2020-08-28 16:21:09 +00:00
jperkin
eae908a42a pkgin: Update to 20.7.0.
Update pkg_install dependency for "pkg_admin rebuild-tree" fixes.

## Version 20.7.0 (2020-07-13)

 * Order package installs correctly.
 * Switch to mdoc(7) manual page, converted by wizd(8).
 * Remove -F (force reinstall) flag.
 * Enable compiler warnings in maintainer mode.
 * Match candidate packages correctly, avoiding issues with packages that
   include "-[0-9]" in their package names.
 * Various internal cleanups.
2020-07-13 18:18:54 +00:00
jperkin
18ec400fba pkgin: Update to 20.5.1.
This is quite a disruptive change, but has been tested in various ways across
Darwin, Minix, and SmartOS, so I'm reasonably confident I caught most issues.

With the switch to automake the pkgsrc Makefile has been able to be simplified
a lot, and I also took the opportunity to remove the mostly useless MESSAGE
file.

## Version 20.5.1 (2020-05-25)

 * Improve make portability.

## Version 20.5.0 (2020-05-25)

 * Switch to automake and overhaul mandatory configure options.
 * Remove unused code and pointless configure tests, cleaning up includes
   and headers where appropriate.
 * New version number scheme (yy.m.x).  The previous scheme had no relevance,
   this one at least gives users some clue about how up-to-date their version
   is.
2020-05-25 08:42:05 +00:00
jperkin
ccc3e27c10 pkgin: Update to 0.16.1.
The "jperkin should have run the test suite before releasing 0.16.0" release.

## Version 0.16.1 (2020-04-29)

 * Don't attempt to update the keep list if we're only downloading packages.
 * Avoid C99isms for now, fixes CentOS 6 build.
 * Ignore "pkg_admin rebuild-tree" output, removes spurious "Done." messages
   from output.
 * Some minor internal refactoring.
2020-04-29 15:09:20 +00:00
jperkin
104f4863f2 pkgin: Update to 0.16.0.
## Version 0.16.0 (2020-04-27)

 * Rebuild +REQUIRED_BY files after each pkgdb modification, ensuring
   consistency and avoiding "Can't open +CONTENTS of ..." errors during
   subsequent upgrades.
 * Improved output sorting.
 * Turn off WARNS.
 * Minor cleanups.
 * Documentation fixes.
 * Flush yes/no prompt before reading response (Michael Forney).
2020-04-27 14:54:47 +00:00
jperkin
4270a35ebb pkgin: Update to 0.15.0.
## Version 0.15.0 (2020-01-06)

 * Also match full package names when searching (Erik van Nooijen).
2020-01-06 09:39:02 +00:00
jperkin
0d591897dd pkgin: Update to 0.14.0.
## 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.
2019-12-12 15:52:53 +00:00
jperkin
c0b827e822 pkgin: Update to 0.13.0.
## 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.
2019-09-24 12:57:22 +00:00
jperkin
03ddd5d987 pkgin: Update to 0.12.0.
## Version 0.12.0 (2019-06-13)

 * Fix ordering of database updates, ensuring modification times are only
   updated once the new data is committed.
2019-06-13 13:06:40 +00:00
jperkin
189127ddc1 pkgin: Update to 0.11.8.
## 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.
2019-05-20 12:26:06 +00:00
jperkin
55d2a14083 pkgin: Update to 0.11.7.
## 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.
2019-03-07 11:08:38 +00:00
wiz
dd197d9a8f pkgin: fix some clang build errors on NetBSD-current 2019-01-15 09:49:40 +00:00
jperkin
6caec73804 pkgin: Update to 0.11.6.
## Version 0.11.6 (2018-09-20)

 * Fix -Werror=conversion build issue.
2018-09-20 12:45:19 +00:00
jperkin
5ed874ab8e pkgin: Update to 0.11.5.
## 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.
2018-09-20 10:13:54 +00:00
jperkin
96981b31f1 pkgin: Update to 0.11.4.
## 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.
2018-07-03 17:39:35 +00:00
jperkin
84d4dd6d8a pkgin: Update to 0.11.3.
## Version 0.11.3 (2018-06-29)

 * Allow -y flag to work with autoremove.
 * Improve -n flag and autoremove output formatting.
2018-06-29 11:27:56 +00:00
jperkin
06bfddc114 pkgin: Update to 0.11.2.
## 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.
2018-06-20 09:29:51 +00:00
jperkin
bb71c45c74 pkgin: Update to 0.11.1.
## 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.
2018-06-14 11:47:13 +00:00
jperkin
164b346a9f pkgin: Update to 0.11.0.
## 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.
2018-06-08 21:59:58 +00:00
jperkin
b8f578aefd pkgin: Update to 0.10.2.
## Version 0.10.2 (2018-06-06)

 * Fix -f flag when used with install.
 * Handle empty BUILD_DATE correctly.
2018-06-06 11:10:06 +00:00
jperkin
ec220ba5b0 pkgin: Update to 0.10.1.
## 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.
2018-05-31 23:23:33 +00:00
jperkin
95ba313e30 pkgin: Update to version 0.10.0 and take MAINTAINER.
## 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
2018-05-17 13:55:23 +00:00
jperkin
bc5850cedd Update pkgin to 0.9.4. Changes:
* Check for pkg_summary updates before fetching packages.
2016-02-08 16:39:30 +00:00
agc
771abda008 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.
2015-11-04 00:38:39 +00:00
gdt
5aafdaef9e Revert previous.
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.
2015-09-27 16:41:12 +00:00
gdt
1775bf7047 Disable -Werror to avoid build failures.
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.
2015-09-26 12:15:28 +00:00
jperkin
27085577b1 Update pkgin to version 0.9.3. Changes:
* 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.
2015-08-18 19:31:29 +00:00
jperkin
b80e538302 Pick up configure version bump. Ride previous version. 2015-08-17 16:05:26 +00:00
jperkin
00d4d1af57 Update pkgin to version 0.9.2. Changes:
* Fix -Wempty-body issue, noticed by joerg.
2015-08-17 09:40:11 +00:00
jperkin
7a744f9636 Update pkgin to version 0.9.1. Changes:
* Fix off-by-one NUL handling in pkg_summary.  Problem noticed by yrmt,
    caused occasional failures on OSX.
2015-08-13 15:16:55 +00:00
jperkin
426b9716c0 Update pkgin to version 0.9.0. Changes:
* 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.
2015-08-13 10:05:19 +00:00
rodent
65559addc2 Including <sys/termios.h> on FreeBSD throws a warning. This warning breaks
the build. Patch fixes that.
2015-03-25 02:10:01 +00:00
imil
12ee1fb684 Updated pkgin to version 0.8.0
20150308
        bugfix: added missing dash before ffu

20150128
        0.8.0
        Added preferred.conf support
        man page now based on ronn <http://rtomayko.github.io/ronn/ronn.1.html>
2015-03-08 17:57:42 +00:00
imil
a0139b05c1 Updated to pkgin 0.7.0
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)
2015-01-25 10:09:34 +00:00
jperkin
a8b03cb4c2 Support catpage. Bump PKGREVISION. 2014-01-21 16:31:27 +00:00
wiz
1a229f0701 Allow specifying multiple input files for 'pkgin import'.
Ok imil@, will be integrated upstream
2013-10-06 08:28:47 +00:00
joerg
f7a9a45b34 Don't pass non-literal strings as format string. 2013-09-10 14:40:33 +00:00
jperkin
319c043093 Remove workaround for 'pkg_add -f' bug, now that it is fixed in pkg_install.
Bump PKGREVISION.
2013-09-02 10:38:04 +00:00
imil
cda1a83536 0.6.4
Large file systems fix by Filip Hajny
	gcc 4.7 / unused-but-set-variable fix by Makoto Fujiwara
	Moved to GitHub
2013-06-16 14:37:33 +00:00
imil
b8c8d88a3e NetBSD specific: repositories.conf is configured using OS release number. 2013-02-25 19:35:38 +00:00
imil
a915ba7d68 0.6.3.1
Do not exit with not enough space message when install size is negative
2012-12-14 22:43:45 +00:00
imil
6b82479a16 0.6.3
PR3555339@sf (stacktic)
        Avoid negative speed when a download start (stacktic)
        PR47196 fixed by stacktic
        PR47060 fixed by stacktic
        Added show-no-keep by orgrim
        Fixed PR47192 (by stacktic)
2012-12-14 09:05:48 +00:00
imil
9a2590b4d4 Forgot to bump version in configure.ac 2012-08-01 11:25:40 +00:00
imil
f192453dbc 0.6.2.2
Fixed bad size_pkg
2012-08-01 11:15:32 +00:00
imil
df166bf6ae 0.6.2.1
0.6.2 broke build for systems lacking __UNCONST
2012-07-30 18:43:51 +00:00
imil
e9ff62ba2d 20120730
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.
2012-07-30 10:43:03 +00:00
imil
529d11ce8b patch-Makefile.in now upstream 2012-05-28 20:21:47 +00:00