pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mctool-dev: Draft package for mktool-alike written in C.



Module Name:	pkgsrc-wip
Committed By:	Taylor R Campbell <riastradh%NetBSD.org@localhost>
Pushed By:	riastradh
Date:		Sun Jul 20 03:36:23 2025 +0000
Changeset:	58756ed4a0b9f2e676e354aad59ecc2102352060

Modified Files:
	Makefile
Added Files:
	mctool-dev/DESCR
	mctool-dev/Makefile
	mctool-dev/PLIST

Log Message:
mctool-dev: Draft package for mktool-alike written in C.

Meant to be more easily portable than anything rusty, but I haven't
tested on anything but NetBSD yet.

Only lightly tested, figure I'd post it here in wip in case anyone
else wants to play for it before I find a round tuit to dust off the
draft, write some more automatic tests with the help of bozohttpd,
and verify it hooks up nicely to pkgsrc infrastructure.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=58756ed4a0b9f2e676e354aad59ecc2102352060

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile            |  1 +
 mctool-dev/DESCR    |  1 +
 mctool-dev/Makefile | 26 ++++++++++++++++++++++++++
 mctool-dev/PLIST    |  2 ++
 4 files changed, 30 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 9c11d230f9..4eb3bef09a 100644
--- a/Makefile
+++ b/Makefile
@@ -2337,6 +2337,7 @@ SUBDIR+=	mccs
 SUBDIR+=	mce
 SUBDIR+=	mcl
 SUBDIR+=	mctcli
+SUBDIR+=	mctool-dev
 SUBDIR+=	mcwm
 SUBDIR+=	mdadm
 SUBDIR+=	mdbtools
diff --git a/mctool-dev/DESCR b/mctool-dev/DESCR
new file mode 100644
index 0000000000..b600a1b76e
--- /dev/null
+++ b/mctool-dev/DESCR
@@ -0,0 +1 @@
+Portable C tool for parallel and pipelined fetch/distinfo.
diff --git a/mctool-dev/Makefile b/mctool-dev/Makefile
new file mode 100644
index 0000000000..ce19c87b89
--- /dev/null
+++ b/mctool-dev/Makefile
@@ -0,0 +1,26 @@
+#	$NetBSD$
+
+DISTNAME=	mctool-0.0a20250330.dev5
+PKGNAME=	${DISTNAME}
+CATEGORIES=	pkgtools
+HG_REPO=	https://hg.mumble.net/campbell/pkgsrc-mctool
+HG_TAG=		18e9df54aaeb6c1f8790f063565da09ec3063763
+
+MAINTAINER=	riastradh%NetBSD.org@localhost
+HOMEPAGE=	https://hg.mumble.net/campbell/pkgsrc-mctool
+COMMENT=	High performance portable alternatives for pkgsrc/mk
+LICENSE=	2-clause-bsd
+
+USE_TOOLS+=	pkg-config
+
+NO_CONFIGURE=	yes
+
+INSTALLATION_DIRS+=	bin
+INSTALL_MAKE_FLAGS+=	BINDIR=${PREFIX:Q}/bin
+
+TEST_TARGET=	check
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../wip/mk/hg-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mctool-dev/PLIST b/mctool-dev/PLIST
new file mode 100644
index 0000000000..366aa49c1d
--- /dev/null
+++ b/mctool-dev/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/mctool


Home | Main Index | Thread Index | Old Index