pkgsrc-WIP-changes archive

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

npmount: Command line tool for non-privileged [un]mount



Module Name:	pkgsrc-wip
Committed By:	Jason W. Bacon <bacon4000%gmail.com@localhost>
Pushed By:	outpaddling
Date:		Sun Jun 11 07:58:55 2023 -0500
Changeset:	635d68448ac40cc85abb736dbec60d956729b119

Modified Files:
	Makefile
Added Files:
	npmount/DESCR
	npmount/Makefile
	npmount/PLIST
	npmount/distinfo
	npmount/patches/patch-Makefile

Log Message:
npmount: Command line tool for non-privileged [un]mount

NPMount is a command-line tool to provide limited mount and unmount
capabilities to non-privileged users, such as mounting and unmounting
external media including optical discs and thumb drives.

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

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

diffstat:
 Makefile                       |  1 +
 npmount/DESCR                  |  3 +++
 npmount/Makefile               | 20 ++++++++++++++++++++
 npmount/PLIST                  |  4 ++++
 npmount/distinfo               |  6 ++++++
 npmount/patches/patch-Makefile | 15 +++++++++++++++
 6 files changed, 49 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index f84cd29379..1dab384fe8 100644
--- a/Makefile
+++ b/Makefile
@@ -2616,6 +2616,7 @@ SUBDIR+=	noto-cjk
 SUBDIR+=	noto-sans-cjk-ttf
 SUBDIR+=	noto-serif-cjk-ttf
 SUBDIR+=	noto-ttf
+SUBDIR+=	npmount
 SUBDIR+=	nq
 SUBDIR+=	nqp
 SUBDIR+=	nrg4iso
diff --git a/npmount/DESCR b/npmount/DESCR
new file mode 100644
index 0000000000..5165313d1a
--- /dev/null
+++ b/npmount/DESCR
@@ -0,0 +1,3 @@
+NPMount is a command-line tool to provide limited mount and unmount
+capabilities to non-privileged users, such as mounting and unmounting
+external media including optical discs and thumb drives.
diff --git a/npmount/Makefile b/npmount/Makefile
new file mode 100644
index 0000000000..70bf39032a
--- /dev/null
+++ b/npmount/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+#
+###########################################################
+#                  Generated by fbsd2pkg                  #
+#              Sun Jun 11 07:48:06 CDT 2023               #
+###########################################################
+
+DISTNAME=	npmount-0.1.1
+CATEGORIES=	sysutils
+MASTER_SITES=	${MASTER_SITE_GITHUB:=outpaddling/}
+
+OWNER=		bacon%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/outpaddling/npmount
+COMMENT=	Command line tool for non-privileged [un]mount
+LICENSE=	2-clause-bsd
+
+INSTALLATION_DIRS=	bin
+
+.include "../../devel/libxtend/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/npmount/PLIST b/npmount/PLIST
new file mode 100644
index 0000000000..31a049201e
--- /dev/null
+++ b/npmount/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+bin/npmount
+etc/npmount.conf.sample
+man/man1/npmount.1
diff --git a/npmount/distinfo b/npmount/distinfo
new file mode 100644
index 0000000000..7d768d0e91
--- /dev/null
+++ b/npmount/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (npmount-0.1.1.tar.gz) = f24c2be7fb4cd32350ba3cde26cedad061b83c9d1c1ba8334adce27c4c0d0ec5
+SHA512 (npmount-0.1.1.tar.gz) = b6241f27a15a4c0f2e8c5f24f3a9a93ce2df5ebd015088a58e9d64e343165762c3b0e484a35536bef782cb1738b9577aed691009e3e4c715d4ee5dd6dd7d4f97
+Size (npmount-0.1.1.tar.gz) = 6773 bytes
+SHA1 (patch-Makefile) = c00c0b1fc7f1a178ee5daa4b69042d9a6187b010
diff --git a/npmount/patches/patch-Makefile b/npmount/patches/patch-Makefile
new file mode 100644
index 0000000000..1d1f823e73
--- /dev/null
+++ b/npmount/patches/patch-Makefile
@@ -0,0 +1,15 @@
+$NetBSD$
+
+# Missing dir
+
+--- Makefile.orig	2023-06-09 15:40:06.000000000 +0000
++++ Makefile
+@@ -163,7 +163,7 @@ realclean: clean
+ # Install all target files (binaries, libraries, docs, etc.)
+ 
+ install: all
+-	${MKDIR} -p ${DESTDIR}${PREFIX}/bin ${DESTDIR}${MANDIR}/man1
++	${MKDIR} -p ${DESTDIR}${PREFIX}/bin ${DESTDIR}${MANDIR}/man1 ${DESTDIR}${PREFIX}/etc
+ 	${INSTALL} -s -m 0755 ${BIN} ${DESTDIR}${PREFIX}/bin
+ 	${INSTALL} -m 0644 Man/*.1 ${DESTDIR}${MANDIR}/man1
+ 	${INSTALL} -m 0644 npmount.conf ${DESTDIR}${PREFIX}/etc/npmount.conf.sample


Home | Main Index | Thread Index | Old Index