pkgsrc-WIP-changes archive

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

crchack-git: add new package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Mon Apr 22 23:09:58 2024 +0200
Changeset:	cd3b5f54fd144c5c37f69b812603ab1999f09568

Modified Files:
	Makefile
Added Files:
	crchack-git/DESCR
	crchack-git/Makefile
	crchack-git/PLIST

Log Message:
crchack-git: add new package

Has no releases, so just package git version.

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

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

diffstat:
 Makefile             |  1 +
 crchack-git/DESCR    |  6 ++++++
 crchack-git/Makefile | 23 +++++++++++++++++++++++
 crchack-git/PLIST    |  3 +++
 4 files changed, 33 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 765a8b9a49..e056d7dc9c 100644
--- a/Makefile
+++ b/Makefile
@@ -558,6 +558,7 @@ SUBDIR+=	cpm
 SUBDIR+=	cpqarrayd
 SUBDIR+=	cpuminer-multi
 SUBDIR+=	cqlsh
+SUBDIR+=	crchack-git
 SUBDIR+=	creal
 SUBDIR+=	cream
 SUBDIR+=	creduce-git
diff --git a/crchack-git/DESCR b/crchack-git/DESCR
new file mode 100644
index 0000000000..e323b7af65
--- /dev/null
+++ b/crchack-git/DESCR
@@ -0,0 +1,6 @@
+crchack is a public domain tool to force CRC checksums of input
+messages to arbitrarily chosen values. The main advantage over
+existing CRC alteration tools is the ability to obtain the target
+checksum by changing non-contiguous input bits. Furthermore, crchack
+supports all CRC algorithms including custom CRC parameters. crchack
+is also an arbitrary-precision CRC calculator.
diff --git a/crchack-git/Makefile b/crchack-git/Makefile
new file mode 100644
index 0000000000..b7738da519
--- /dev/null
+++ b/crchack-git/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.18 2015/09/13 07:33:05 thomasklausner Exp $
+
+DISTNAME=	crchack-0.0
+CATEGORIES=	archivers
+GIT_REPO=	https://github.com/resilar/crchack.git
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/resilar/crchack
+COMMENT=	Reversing CRC for fun and profit
+LICENSE=	unlicense
+
+USE_LANGUAGES=		c
+USE_CC_FEATURES+=	c99
+USE_TOOLS+=		gmake
+
+INSTALLATION_DIRS+=	bin share/doc/crchack
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/crchack ${DESTDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/crchack
+
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/crchack-git/PLIST b/crchack-git/PLIST
new file mode 100644
index 0000000000..b706e3d6b1
--- /dev/null
+++ b/crchack-git/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/crchack
+share/doc/crchack/README.md


Home | Main Index | Thread Index | Old Index