pkgsrc-WIP-changes archive

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

nfcapdu: Import nfcapdu-0.0.1 as wip/nfcapdu



Module Name:	pkgsrc-wip
Committed By:	Denis Bodor <lefinnois%lefinnois.net@localhost>
Pushed By:	drrb
Date:		Tue May 24 09:14:09 2022 +0200
Changeset:	dace33eaa2602678c9cc4f87a56bedc47eabdc10

Modified Files:
	Makefile
Added Files:
	nfcapdu/DESCR
	nfcapdu/MESSAGE
	nfcapdu/Makefile
	nfcapdu/PLIST
	nfcapdu/distinfo

Log Message:
nfcapdu: Import nfcapdu-0.0.1 as wip/nfcapdu

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

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

diffstat:
 Makefile         |  1 +
 nfcapdu/DESCR    | 11 +++++++++++
 nfcapdu/MESSAGE  | 12 ++++++++++++
 nfcapdu/Makefile | 37 +++++++++++++++++++++++++++++++++++++
 nfcapdu/PLIST    |  3 +++
 nfcapdu/distinfo |  5 +++++
 6 files changed, 69 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index ea9ef1b55f..65fc8bae48 100644
--- a/Makefile
+++ b/Makefile
@@ -2397,6 +2397,7 @@ SUBDIR+=	meta-tracker
 SUBDIR+=	metal
 SUBDIR+=	metalog
 SUBDIR+=	metasploit
+SUBDIR+=	nfcapdu
 SUBDIR+=	mfoc
 SUBDIR+=	mfoc-hardnested
 SUBDIR+=	mg-cvs
diff --git a/nfcapdu/DESCR b/nfcapdu/DESCR
new file mode 100644
index 0000000000..26d2e24c36
--- /dev/null
+++ b/nfcapdu/DESCR
@@ -0,0 +1,11 @@
+nfcapdu is a little command line tool to exchange APDUs with an RFID/NFC tag.
+It allows you to create an interactive session to send APDUs to a tag and
+receive responses.
+
+- It supports the creation of aliases (defined in ~/.nfcapdurc) to simplify
+  the sending of common commands
+- APDU history is kept between sessions (in ~/.nfcapdu_history)
+- Have completion for commands and aliases
+- You can set default modulation and baud rate in config file
+  (see nfcapdurc_sample)
+- You can enable or disable colors in config file (see nfcapdurc_sample)
diff --git a/nfcapdu/MESSAGE b/nfcapdu/MESSAGE
new file mode 100644
index 0000000000..5648370d57
--- /dev/null
+++ b/nfcapdu/MESSAGE
@@ -0,0 +1,12 @@
+===========================================================================
+$NetBSD$
+
+Before using nfcapdu you may want to create and edit the file:
+
+	~/.nfcapdurc
+
+A good start is:
+
+	$ cp ${PREFIX}/share/examples/nfcapdu/nfcapdurc ~/.nfcapdurc
+
+===========================================================================
diff --git a/nfcapdu/Makefile b/nfcapdu/Makefile
new file mode 100644
index 0000000000..f7ca68b4e8
--- /dev/null
+++ b/nfcapdu/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD$
+
+PROGNAME=	nfcapdu
+VERS=		0.0.1
+
+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/nfcapdu/
+COMMENT=	Command line tool to exchange APDUs with an RFID/NFC tag
+LICENSE=	gnu-lgpl-v3
+
+
+WRKSRC=		${WRKDIR}/${DISTNAME}
+
+USE_TOOLS+=	pkg-config gmake
+USE_LANGUAGES+=	c
+
+EGDIR=		${PREFIX}/share/examples/nfcapdu
+
+INSTALLATION_DIRS=	bin ${EGDIR}
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PROGNAME} ${DESTDIR}/${PREFIX}/bin/${PROGNAME}
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/nfcapdurc_sample ${DESTDIR}${EGDIR}/nfcapdurc
+
+.include "../../devel/readline/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../wip/libnfc/buildlink3.mk"
+.include "../../wip/libfreefare/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/nfcapdu/PLIST b/nfcapdu/PLIST
new file mode 100644
index 0000000000..bc0ee27ecb
--- /dev/null
+++ b/nfcapdu/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/nfcapdu
+share/examples/nfcapdu/nfcapdurc
diff --git a/nfcapdu/distinfo b/nfcapdu/distinfo
new file mode 100644
index 0000000000..a4b0b1f824
--- /dev/null
+++ b/nfcapdu/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (nfcapdu-0.0.1.tar.gz) = f2d3e805af99424763c67358e2fe8be4275c0f8b0a75f96e09dfdd3224df2707
+SHA512 (nfcapdu-0.0.1.tar.gz) = 955c1b8db94a87c16c2f4fe338fc118e0e2827d161c3faba7cded4dc206312d021a1b5fae9f31b5eca4ce8812ef83a85fdb0ed346c3423ddfed026d20c5fab72
+Size (nfcapdu-0.0.1.tar.gz) = 17024 bytes


Home | Main Index | Thread Index | Old Index