Commit graph

139 commits

Author SHA1 Message Date
jperkin
3ae8078c83 pkgin: Update to 22.10.0.
## Version 22.10.0 (2022-10-05)

 * Fix issue where newly-installed packages were not correctly marked as
   keep packages.
2022-10-05 17:23:02 +00:00
jperkin
bf806fc052 pkgin: Update to 22.9.0.
## Version 22.9.0 (2022-09-06)

 * Pass verbose flag down to libfetch operations too.

 * Update show-keep/show-no-keep output format (Sunil Nimmagadda).

 * Add -4 and -6 flags to force libfetch to use IPv4/IPv6 (Staffan Thomén,
   Sebastian Wiedenroth).

 * Convert many SQL queries to use sqlite3_snprintf() and sqlite3 format
   strings to reduce potential SQL injection attacks (Taylor R Campbell).

 * Use sqlite3 savepoints, fixing issue around interrupted local summary
   updates (Taylor R Campbell).

 * Use posix_spawn() on newer macOS.
2022-09-06 12:32:47 +00:00
jperkin
4054adfcfb *: Update my MAINTAINER email address. 2022-07-07 16:28:55 +00:00
adam
f5e35d538b revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
adam
b6d9bd86bc revbump for icu and libffi 2021-12-08 16:01:42 +00:00
jperkin
a158da9ea3 pkgin: Update to 21.12.0.
## Version 21.12.0 (2021-12-01)

 * Manual page fixes.
 * Avoid crash when FILE_SIZE is invalid in a remote repository.
2021-12-01 12:20:58 +00:00
nia
406ad3b7c1 pkgtools: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
2021-10-26 11:11:07 +00:00
jperkin
97ff1a0fcd pkgin: Update to 21.10.1.
## Version 21.10.1 (2021-10-20)

 * Free memory correctly when building package lists for printing.  Reduces
   memory usage considerably when operating on a large number of packages.

 * Avoid infinite loop in package linked list when handling pkg_install.
2021-10-20 08:18:57 +00:00
nia
87598c1aa3 pkgin: Prefer gzip on more 32-bit archs. 2021-10-17 10:06:28 +00:00
jperkin
9275429f08 pkgin: Update to 21.10.0.
Add new pkgin-prefer-gzip option to support the feature listed below, and
activate it by default on what I believe are MACHINE_ARCH that would most
benefit from it - no offence intended ;)

## Version 21.10.0 (2021-10-12)

 * Support building with -DPREFER_GZIP_SUMMARY which will attempt to fetch
   pkg_summary.gz first, useful on slower machines with limited memory.
2021-10-12 12:46:14 +00:00
nia
d171eeaf22 parallel: Remove SHA1 hashes for distfiles 2021-10-07 14:46:45 +00:00
jperkin
5a5e86cbb0 pkgin: Update to 21.7.0.
## Version 21.7.0 (2021-07-22)

 * Syncronise latest humanize_number() from NetBSD, sizes greater than 64PB
   are now printed correctly.
 * Regenerate for autoconf-2.71 and fix "make distcheck".
 * Fix inconsistent output when using globs.
 * Fix out-of-srcdir builds.
 * Improve fetch failure error messages.
 * Update documentation to reflect IRC migration to Libera.
2021-07-22 14:47:46 +00:00
adam
9d0e79c401 revbump for textproc/icu 2021-04-21 11:40:12 +00:00
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
wiz
963d7d00ba pkgin: just depend on pkg_install again
Bump PKGREVISION
2020-12-11 15:56:15 +00:00
wiz
7ed702df9b pkgin: comment out pkg_install dependency
pkg_install required by mk is newer than what is required here, and the
DEPENDS here will always pull in the package even if the base system provides
a newer version.

Bump PKGREVISION.
2020-12-04 13:39:45 +00:00
ryoon
2831546220 *: Recursive revbump from textproc/icu-68.1 2020-11-05 09:07:25 +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
6a2c352e2e pkgin: The cat page is no more. 2020-10-06 15:15:31 +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
kim
dfcd513122 Pass PKG_SYSCONFDIR to configure 2020-07-09 10:46:24 +00:00
adam
6bd0c30da6 Revbump for icu 2020-06-02 08:22:31 +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
rillig
4821a6de2c pkgtools/pkgin: allow no-op SUBST block for paths
In a pkgsrc setup with default paths, the simple substitutions are all
no-ops.  The last two substitutions only apply to Makefile.in, which
means that they are no-ops for the other files.  Since the whole sed
command is not considered an identity substitution, an explicit
SUBST_NOOP_OK is needed here.

https://mail-index.netbsd.org/pkgsrc-users/2020/05/17/msg031245.html
2020-05-17 12:13:46 +00:00
jperkin
18d845cc68 pkgin: Unbreak PKGPATH subst change. 2020-05-04 11:15:50 +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
rillig
9057d45716 pkgtools/pkgin: define PKGPATH before including mk.conf
PKGPATH is one of the few variables that is guaranteed to be defined when
mk.conf is included. Conditions like ".if ${PKGPATH} == category/package"
trigger a "Malformed conditional" when this variable is not defined.
2020-04-28 02:43:21 +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
adam
24daafa112 Recursive revision bump after textproc/icu update 2020-04-12 08:27:48 +00:00
jperkin
26c1bffc9f *: Recursive revision bump for openssl 1.1.1. 2020-01-18 21:48:19 +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
wiz
6c1e67a77b pkgin: fix build with gcc-8.x
Turn off string truncation and overflow warnings until the code is fixed
2019-11-04 08:39:04 +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
ryoon
6fc378bce9 Recursive revbump from textproc/icu 2019-04-03 00:32:25 +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
adam
16dd5de231 revbump after updating textproc/icu 2018-12-09 18:51:58 +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
ryoon
b9c1e1d533 Recursive revbump from textproc/icu-62.1 2018-07-20 03:33:47 +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