New package, pkgtools/pkgchkxx. From wip.

pkgchkxx and pkgrrxx are complete rewrites of pkgsrc pkg_chk and
pkg_rolling-replace respectively. These are functionally compatible but run
faster.

This implementation achieves better performance by using a faster language,
better algorithms, and making use of many CPUs whenever possible.
This commit is contained in:
bsiegert 2024-01-01 13:39:04 +00:00
parent 0c5d0d5e3c
commit 088153e421
5 changed files with 53 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.125 2023/11/04 09:25:25 wiz Exp $
# $NetBSD: Makefile,v 1.126 2024/01/01 13:39:04 bsiegert Exp $
#
COMMENT= Tools for use in the packages collection
@ -53,6 +53,7 @@ SUBDIR+= pkg_rolling-replace
SUBDIR+= pkg_select
SUBDIR+= pkg_summary-utils
SUBDIR+= pkg_tarup
SUBDIR+= pkgchkxx
SUBDIR+= pkgclean
SUBDIR+= pkgdep
SUBDIR+= pkgdepgraph

6
pkgtools/pkgchkxx/DESCR Normal file
View File

@ -0,0 +1,6 @@
pkgchkxx and pkgrrxx are complete rewrites of pkgsrc pkg_chk and
pkg_rolling-replace respectively. These are functionally compatible but run
faster.
This implementation achieves better performance by using a faster language,
better algorithms, and making use of many CPUs whenever possible.

View File

@ -0,0 +1,35 @@
# $NetBSD: Makefile,v 1.1 2024/01/01 13:39:04 bsiegert Exp $
DISTNAME= pkgchkxx-0.1.6
PKGREVISION= 1
CATEGORIES= pkgtools
MASTER_SITES= ${MASTER_SITE_GITHUB:=depressed-pho/}
GITHUB_RELEASE= ${DISTNAME}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/depressed-pho/pkgchkxx
COMMENT= Complete rewrite of pkg_chk and pkg_rolling-replace in C++
LICENSE= modified-bsd AND 2-clause-bsd
USE_LANGUAGES= c c++
USE_CXX_FEATURES= c++17 filesystem unique_ptr
USE_TOOLS= gmake
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --disable-doxygen
# These are runtime dependencies and therefore must not contain references
# to ${WRKDIR}.
CONFIGURE_ARGS+= BMAKE=${MAKE}
CONFIGURE_ARGS+= PKG_CONFIG=${PREFIX}/bin/pkgconf
CONFIGURE_ARGS+= PKG_CONFIG_LIBDIR= # empty
CONFIGURE_ARGS+= PKG_CONFIG_PATH= # empty
CONFIGURE_ENV+= XARGS=/usr/bin/xargs
DEPENDS+= pkg_install>=20211115:../../pkgtools/pkg_install
DEPENDS+= pkgconf>=1.9.4:../../devel/pkgconf
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../net/libfetch/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

5
pkgtools/pkgchkxx/PLIST Normal file
View File

@ -0,0 +1,5 @@
@comment $NetBSD: PLIST,v 1.1 2024/01/01 13:39:04 bsiegert Exp $
man/man8/pkgchkxx.8
man/man8/pkgrrxx.8
sbin/pkgchkxx
sbin/pkgrrxx

View File

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2024/01/01 13:39:05 bsiegert Exp $
BLAKE2s (pkgchkxx-0.1.6.tar.gz) = 39e49d86f6a48d87ed37178fc3fdb3d3567e28b58a55a05352cfa016ed4846c8
SHA512 (pkgchkxx-0.1.6.tar.gz) = c1ad0ebb57f02b9a75ad38b0cacf9d82d89fd74efbf5aec15507215cb39b529fd633763b1dcdd383573b5090ff23f26ee3fe12400dd84c0542c781c905934bf2
Size (pkgchkxx-0.1.6.tar.gz) = 523672 bytes