Received: by mail.netbsd.org (Postfix, from userid 605) id 62BEC84EAD; Tue, 12 Oct 2021 12:46:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 9EA0284EA7 for ; Tue, 12 Oct 2021 12:46:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id tp4t8SkiI79C for ; Tue, 12 Oct 2021 12:46:15 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id EF15584C71 for ; Tue, 12 Oct 2021 12:46:14 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id E8984FA97; Tue, 12 Oct 2021 12:46:14 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1634042774287910" MIME-Version: 1.0 Date: Tue, 12 Oct 2021 12:46:14 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/pkgtools/pkgin To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20211012124614.E8984FA97@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1634042774287910 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Tue Oct 12 12:46:14 UTC 2021 Modified Files: pkgsrc/pkgtools/pkgin: Makefile distinfo Added Files: pkgsrc/pkgtools/pkgin: options.mk Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.114 -r1.115 pkgsrc/pkgtools/pkgin/Makefile cvs rdiff -u -r1.71 -r1.72 pkgsrc/pkgtools/pkgin/distinfo cvs rdiff -u -r0 -r1.3 pkgsrc/pkgtools/pkgin/options.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1634042774287910 Content-Disposition: inline Content-Length: 2580 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/pkgtools/pkgin/Makefile diff -u pkgsrc/pkgtools/pkgin/Makefile:1.114 pkgsrc/pkgtools/pkgin/Makefile:1.115 --- pkgsrc/pkgtools/pkgin/Makefile:1.114 Thu Jul 22 14:47:46 2021 +++ pkgsrc/pkgtools/pkgin/Makefile Tue Oct 12 12:46:14 2021 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.114 2021/07/22 14:47:46 jperkin Exp $ +# $NetBSD: Makefile,v 1.115 2021/10/12 12:46:14 jperkin Exp $ -DISTNAME= pkgin-21.7.0 +DISTNAME= pkgin-21.10.0 CATEGORIES= pkgtools MASTER_SITES= ${MASTER_SITE_GITHUB:=NetBSDfr/} GITHUB_TAG= v${PKGVERSION_NOREV} @@ -47,6 +47,8 @@ CFLAGS.SunOS+= -D_FILE_OFFSET_BITS=64 DEPENDS+= pkg_install>=20200701:../../pkgtools/pkg_install +.include "options.mk" + # those have official repositories .if !empty(PKGIN_REPOSITORY_URL) pre-install: Index: pkgsrc/pkgtools/pkgin/distinfo diff -u pkgsrc/pkgtools/pkgin/distinfo:1.71 pkgsrc/pkgtools/pkgin/distinfo:1.72 --- pkgsrc/pkgtools/pkgin/distinfo:1.71 Thu Oct 7 14:47:19 2021 +++ pkgsrc/pkgtools/pkgin/distinfo Tue Oct 12 12:46:14 2021 @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.71 2021/10/07 14:47:19 nia Exp $ +$NetBSD: distinfo,v 1.72 2021/10/12 12:46:14 jperkin Exp $ -RMD160 (pkgin-21.7.0.tar.gz) = 733f23427ad5e6194b8dd4b2ebaedb0d6fb4197a -SHA512 (pkgin-21.7.0.tar.gz) = c68fd8f247e8bde4c2dc2b1cd16ce3eaf8fa419838c41ca691f4f157e2560ba63e3e6770cac0130a325aee0f10579e7f3e0f32df90fdb8f976d5800a0bde5813 -Size (pkgin-21.7.0.tar.gz) = 247438 bytes +RMD160 (pkgin-21.10.0.tar.gz) = 6c57a928384d76af60a299cad396622aa8974d31 +SHA512 (pkgin-21.10.0.tar.gz) = f2b2efc2b4172db0a0055fecf306f067e0bcd2ac1eea41e38df44afde9d91cefe6131d72d854762642de61750ee3cd1482b9108dd9ae21daca34fda1b2920b62 +Size (pkgin-21.10.0.tar.gz) = 247816 bytes Added files: Index: pkgsrc/pkgtools/pkgin/options.mk diff -u /dev/null pkgsrc/pkgtools/pkgin/options.mk:1.3 --- /dev/null Tue Oct 12 12:46:14 2021 +++ pkgsrc/pkgtools/pkgin/options.mk Tue Oct 12 12:46:14 2021 @@ -0,0 +1,21 @@ +# $NetBSD: options.mk,v 1.3 2021/10/12 12:46:14 jperkin Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.pkgin +PKG_SUPPORTED_OPTIONS= pkgin-prefer-gzip + +.include "../../mk/bsd.prefs.mk" + +# +# Prefer pkg_summary.gz instead of .bz2 or .xz on hosts that are likely to be +# slower or have limited memory where the higher compression can cause issues. +# +PROBABLY_SLOW_ARCHS= alpha hppa m68k sparc vax +.if !empty(PROBABLY_SLOW_ARCHS:M${MACHINE_ARCH}) +PKG_SUGGESTED_OPTIONS= pkgin-prefer-gzip +.endif + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mpkgin-prefer-gzip) +CPPFLAGS+= -DPREFER_GZIP_SUMMARY +.endif --_----------=_1634042774287910--