pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/pkgchkxx: Import 0.1
Module Name: pkgsrc-wip
Committed By: PHO <pho%cielonegro.org@localhost>
Pushed By: pho
Date: Sat Jul 22 17:23:10 2023 +0900
Changeset: 3b18942e266236403651fb6c303af2013418a494
Modified Files:
Makefile
Added Files:
pkgchkxx/DESCR
pkgchkxx/Makefile
pkgchkxx/PLIST
pkgchkxx/distinfo
Log Message:
wip/pkgchkxx: Import 0.1
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.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3b18942e266236403651fb6c303af2013418a494
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
pkgchkxx/DESCR | 6 ++++++
pkgchkxx/Makefile | 34 ++++++++++++++++++++++++++++++++++
pkgchkxx/PLIST | 5 +++++
pkgchkxx/distinfo | 5 +++++
5 files changed, 51 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 383f04b812..390260d812 100644
--- a/Makefile
+++ b/Makefile
@@ -3180,6 +3180,7 @@ SUBDIR+= pkg_conflicts
SUBDIR+= pkg_fake
SUBDIR+= pkg_rmleaves
SUBDIR+= pkg_summary-utils
+SUBDIR+= pkgchkxx
SUBDIR+= pkgmanager
SUBDIR+= plank
SUBDIR+= plantri
diff --git a/pkgchkxx/DESCR b/pkgchkxx/DESCR
new file mode 100644
index 0000000000..667dd7ed94
--- /dev/null
+++ b/pkgchkxx/DESCR
@@ -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.
diff --git a/pkgchkxx/Makefile b/pkgchkxx/Makefile
new file mode 100644
index 0000000000..e9f3bbd511
--- /dev/null
+++ b/pkgchkxx/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD$
+
+DISTNAME= pkgchkxx-0.1
+CATEGORIES= pkgtools
+MASTER_SITES= ${MASTER_SITE_GITHUB:=depressed-pho/}
+GITHUB_RELEASE= ${DISTNAME}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+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+= PKG_CONFIG=${PREFIX}/bin/pkgconf
+CONFIGURE_ARGS+= PKG_CONFIG_LIBDIR= # empty
+CONFIGURE_ARGS+= PKG_CONFIG_PATH= # empty
+CONFIGURE_ENV+= XARGS=/usr/bin/xargs
+
+DEPENDS+= bmake>=20200524:../../devel/bmake
+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"
diff --git a/pkgchkxx/PLIST b/pkgchkxx/PLIST
new file mode 100644
index 0000000000..45db206728
--- /dev/null
+++ b/pkgchkxx/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+man/man8/pkgchkxx.8
+man/man8/pkgrrxx.8
+sbin/pkgchkxx
+sbin/pkgrrxx
diff --git a/pkgchkxx/distinfo b/pkgchkxx/distinfo
new file mode 100644
index 0000000000..71b712d500
--- /dev/null
+++ b/pkgchkxx/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (pkgchkxx-0.1.tar.gz) = 2ddbf3fc0a7b3775aadb7e4f2eef89f30b7e9c45deb09cef8c0225b7593c17da
+SHA512 (pkgchkxx-0.1.tar.gz) = c932b7c9f98610ff766082594c0630634016c8873705babb208061dcc024bf4981695e512d31ebd4503ed9c474f9749a3594715fedb60f489045da91cf63e2ce
+Size (pkgchkxx-0.1.tar.gz) = 521187 bytes
Home |
Main Index |
Thread Index |
Old Index