pkgsrc-WIP-changes archive

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

mctcli: Import mctcli-0.0.2 as wip/mctcli



Module Name:	pkgsrc-wip
Committed By:	Denis Bodor <lefinnois%lefinnois.net@localhost>
Pushed By:	drrb
Date:		Mon May 23 05:39:13 2022 +0200
Changeset:	380cce459b2edc926a8a247f1c78984666a758d8

Modified Files:
	Makefile
Added Files:
	mctcli/DESCR
	mctcli/Makefile
	mctcli/PLIST
	mctcli/distinfo

Log Message:
mctcli: Import mctcli-0.0.2 as wip/mctcli

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

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

diffstat:
 Makefile        |  1 +
 mctcli/DESCR    |  5 +++++
 mctcli/Makefile | 37 +++++++++++++++++++++++++++++++++++++
 mctcli/PLIST    |  3 +++
 mctcli/distinfo |  5 +++++
 5 files changed, 51 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index eb5ebbc514..ee66affdde 100644
--- a/Makefile
+++ b/Makefile
@@ -2376,6 +2376,7 @@ SUBDIR+=	mcats-iodbc
 SUBDIR+=	mccs
 SUBDIR+=	mce
 SUBDIR+=	mcl
+SUBDIR+=	mctcli
 SUBDIR+=	mcwm
 SUBDIR+=	md4c
 SUBDIR+=	mdadm
diff --git a/mctcli/DESCR b/mctcli/DESCR
new file mode 100644
index 0000000000..c47f8be62d
--- /dev/null
+++ b/mctcli/DESCR
@@ -0,0 +1,5 @@
+MCTcli is a simple tool inspired by MIFARE Classic Tool on Android but in
+command-line (and written in C).
+It's a tool to try to access the content of a MIFARE Classic tag (1K/S50 or
+4K/S70) using libfreefare, libNFC and a device supported by libNFC (tested
+with ACR122U, ASK/LoGO, SCL3711 and PN532-over-USBserial).
diff --git a/mctcli/Makefile b/mctcli/Makefile
new file mode 100644
index 0000000000..b7efbfc79e
--- /dev/null
+++ b/mctcli/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD$
+
+PROGNAME=	mctcli
+VERS=		0.0.2
+
+DISTNAME=	${PROGNAME}-${VERS}
+CATEGORIES=	security
+MASTER_SITES=	${MASTER_SITE_GITHUB:=0xDRRB/}
+GITHUB_TAG=	refs/tags/v${PKGVERSION_NOREV}
+
+MAINTAINER=	lefinnois%lefinnois.net@localhost
+HOMEPAGE=	https://github.com/0xDRRB/mctcli/
+COMMENT=	Simple tool for mapping and reading MIFARE Classic tags
+LICENSE=	gnu-lgpl-v3
+
+
+WRKSRC=		${WRKDIR}/${DISTNAME}
+
+USE_TOOLS+=	pkg-config
+USE_TOOLS+=	gmake
+USE_LANGUAGES+=	c
+
+MAKE_ENV+=	OLDLIB="yes"
+MAKE_ENV+=	SYSKEYFILE=${PREFIX}/share/mctcli/mctcli_keys.dic
+
+INSTALLATION_DIRS=	bin share/mctcli
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PROGNAME} ${DESTDIR}/${PREFIX}/bin/${PROGNAME}
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/mctcli_keys.dic ${DESTDIR}/${PREFIX}/share/mctcli
+
+.include "../../wip/libnfc/buildlink3.mk"
+.include "../../wip/libfreefare/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mctcli/PLIST b/mctcli/PLIST
new file mode 100644
index 0000000000..581712f0d4
--- /dev/null
+++ b/mctcli/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/mctcli
+share/mctcli/mctcli_keys.dic
diff --git a/mctcli/distinfo b/mctcli/distinfo
new file mode 100644
index 0000000000..426a4a9bfe
--- /dev/null
+++ b/mctcli/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (mctcli-0.0.2.tar.gz) = 45d31bb526a732c5e54ac8b199ff3f43d9afa8dd275d4a38e96e99559913a3df
+SHA512 (mctcli-0.0.2.tar.gz) = c122b1b82db799319ba938c9b8be68730c7edf5bdc5f72254cbe558e54e935264188888ee444b1029c0974f6718ae00828e5e913d38eac616e70d2293794b6f5
+Size (mctcli-0.0.2.tar.gz) = 13147 bytes


Home | Main Index | Thread Index | Old Index