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.
This commit is contained in:
jperkin 2015-08-13 10:05:19 +00:00
parent 5487eb2bb9
commit 426b9716c0
3 changed files with 7 additions and 24 deletions

View file

@ -1,9 +1,8 @@
# $NetBSD: Makefile,v 1.53 2015/04/06 08:17:36 adam Exp $
# $NetBSD: Makefile,v 1.54 2015/08/13 10:05:19 jperkin Exp $
GHCOMMIT= 2e1630265953c9c01836a4b62acfa8397579346a
GHCOMMIT= 0ebcd4363f7198bd467b679daebaa0ce87a5d2ac
DISTNAME= ${GHCOMMIT}
PKGNAME= pkgin-0.8.0
PKGREVISION= 1
PKGNAME= pkgin-0.9.0
CATEGORIES= pkgtools
MASTER_SITES= https://github.com/NetBSDfr/pkgin/archive/

View file

@ -1,6 +1,5 @@
$NetBSD: distinfo,v 1.35 2015/03/25 02:10:01 rodent Exp $
$NetBSD: distinfo,v 1.36 2015/08/13 10:05:19 jperkin Exp $
SHA1 (2e1630265953c9c01836a4b62acfa8397579346a.tar.gz) = 7c2256c6d3da3913735876ee98349714a3d3dd2e
RMD160 (2e1630265953c9c01836a4b62acfa8397579346a.tar.gz) = c458ec864925694790cb6202acc4c042d437b401
Size (2e1630265953c9c01836a4b62acfa8397579346a.tar.gz) = 197231 bytes
SHA1 (patch-external_progressmeter.h) = 76c272c68eab4769d02e21748037933e5cea6c38
SHA1 (0ebcd4363f7198bd467b679daebaa0ce87a5d2ac.tar.gz) = f4b2b1f71d6b5e07fe26e3503380b8d1eeca518e
RMD160 (0ebcd4363f7198bd467b679daebaa0ce87a5d2ac.tar.gz) = 8633f139bb5826e761383b1ddda7ae18a740285b
Size (0ebcd4363f7198bd467b679daebaa0ce87a5d2ac.tar.gz) = 197222 bytes

View file

@ -1,15 +0,0 @@
$NetBSD: patch-external_progressmeter.h,v 1.1 2015/03/25 02:10:02 rodent Exp $
Including sys/termios.h on FreeBSD throws a warning and breaks the build.
--- external/progressmeter.h.orig 2015-03-08 17:49:37.000000000 +0000
+++ external/progressmeter.h
@@ -26,7 +26,7 @@
#include "config.h"
-#ifdef HAVE_SYS_TERMIOS_H
+#if defined(HAVE_SYS_TERMIOS_H) && !defined(__FreeBSD__)
#include <sys/termios.h>
#elif HAVE_TERMIOS_H
#include <termios.h>