pkgsrc-WIP-changes archive

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

chkugenids: Import chkugenids-0.1 as wip/chkugenids



Module Name:	pkgsrc-wip
Committed By:	Denis Bodor <lefinnois%lefinnois.net@localhost>
Pushed By:	drrb
Date:		Sat Jul 23 10:17:12 2022 +0200
Changeset:	dd5c7aaa453b95200d9dc4efa37484a65c182135

Added Files:
	chkugenids/DESCR
	chkugenids/MESSAGE
	chkugenids/Makefile
	chkugenids/PLIST
	chkugenids/distinfo

Log Message:
chkugenids: Import chkugenids-0.1 as wip/chkugenids

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

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

diffstat:
 chkugenids/DESCR    |  6 ++++++
 chkugenids/MESSAGE  | 12 ++++++++++++
 chkugenids/Makefile | 31 +++++++++++++++++++++++++++++++
 chkugenids/PLIST    |  3 +++
 chkugenids/distinfo |  5 +++++
 5 files changed, 57 insertions(+)

diffs:
diff --git a/chkugenids/DESCR b/chkugenids/DESCR
new file mode 100644
index 0000000000..ff1b49910f
--- /dev/null
+++ b/chkugenids/DESCR
@@ -0,0 +1,6 @@
+chkugenids is a little tool to get informations about USB devices from
+`/dev/ugenN.EE` (endpoint *EE* of device *N*).
+
+The main goal of this program is to display informations about USB generic
+device so you can use them with `devpubd` to setup symlinks, permissions,
+and so on.
diff --git a/chkugenids/MESSAGE b/chkugenids/MESSAGE
new file mode 100644
index 0000000000..b1008b8882
--- /dev/null
+++ b/chkugenids/MESSAGE
@@ -0,0 +1,12 @@
+===========================================================================
+$NetBSD$
+
+chkugenids can be used with devpubd to adjust permissions of /dev/ugenN.EE
+entries. Sample script can be found in /usr/pkg/share/examples/chkugenids.
+
+You can start with :
+
+	cp /usr/pkg/share/examples/chkugenids/04-NFCsetperm \
+	/libexec/devpubd-hooks
+
+===========================================================================
diff --git a/chkugenids/Makefile b/chkugenids/Makefile
new file mode 100644
index 0000000000..62b1dc213e
--- /dev/null
+++ b/chkugenids/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD$
+
+PROGNAME=	chkugenids
+VERS=		0.1
+
+DISTNAME=	${PROGNAME}-${VERS}
+CATEGORIES=	sysutils
+MASTER_SITES=	${MASTER_SITE_GITHUB:=0xDRRB/}
+GITHUB_TAG=	refs/tags/v${PKGVERSION_NOREV}
+
+MAINTAINER=	lefinnois%lefinnois.net@localhost
+HOMEPAGE=	https://github.com/0xDRRB/chkugenids/
+COMMENT=	Command line tool to get info on USB device through /dev/ugenN.EE
+LICENSE=	2-clause-bsd
+
+
+WRKSRC=		${WRKDIR}/${DISTNAME}
+
+USE_LANGUAGES+=	c
+
+EGDIR=		${PREFIX}/share/examples/chkugenids
+
+INSTALLATION_DIRS=	sbin ${EGDIR}
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PROGNAME} ${DESTDIR}/${PREFIX}/sbin/${PROGNAME}
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/04-NFCsetperm ${DESTDIR}${EGDIR}/04-NFCsetperm
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/chkugenids/PLIST b/chkugenids/PLIST
new file mode 100644
index 0000000000..361f681527
--- /dev/null
+++ b/chkugenids/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+sbin/chkugenids
+share/examples/chkugenids/04-NFCsetperm
diff --git a/chkugenids/distinfo b/chkugenids/distinfo
new file mode 100644
index 0000000000..adb226b779
--- /dev/null
+++ b/chkugenids/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (chkugenids-0.1.tar.gz) = 11982b8e5125e653cadba6e8959007589ade7301abe8250346304aa43199cd29
+SHA512 (chkugenids-0.1.tar.gz) = 7f205bc62bdb9d007498bc8edbf937e7914446d08bee8eb456cc1dcf8b98eaa3bbf0550c0aff5f595a05946a56cf1370bf304eda5b88f5bd04f9f2e49c2b7553
+Size (chkugenids-0.1.tar.gz) = 4413 bytes


Home | Main Index | Thread Index | Old Index