Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2023 12:05:37 GMT
From:      "Jason W. Bacon" <jwb@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 31e744b50536 - main - sysutils/npmount: Command line tool for non-privileged [un]mount
Message-ID:  <202306101205.35AC5bFJ072254@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jwb:

URL: https://cgit.FreeBSD.org/ports/commit/?id=31e744b505365cef38ee65dd469b51a62872f298

commit 31e744b505365cef38ee65dd469b51a62872f298
Author:     Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2023-06-10 12:05:07 +0000
Commit:     Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2023-06-10 12:05:07 +0000

    sysutils/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.
---
 sysutils/Makefile          |  1 +
 sysutils/npmount/Makefile  | 19 +++++++++++++++++++
 sysutils/npmount/distinfo  |  3 +++
 sysutils/npmount/pkg-descr |  3 +++
 sysutils/npmount/pkg-plist |  5 +++++
 5 files changed, 31 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index cfe9fc8071e5..ba438cf73f33 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -832,6 +832,7 @@
     SUBDIR += nomad
     SUBDIR += nomad-pot-driver
     SUBDIR += npadmin
+    SUBDIR += npmount
     SUBDIR += nq
     SUBDIR += nrg2iso
     SUBDIR += nss_ndb
diff --git a/sysutils/npmount/Makefile b/sysutils/npmount/Makefile
new file mode 100644
index 000000000000..5826b4d744ef
--- /dev/null
+++ b/sysutils/npmount/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	npmount
+DISTVERSION=	0.1.1
+CATEGORIES=	sysutils
+
+MAINTAINER=	jwb@FreeBSD.org
+COMMENT=	Command line tool for non-privileged [un]mount
+WWW=		https://github.com/outpaddling/npmount
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libxtend.so:devel/libxtend
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	outpaddling
+
+WITH_DEBUG=	yes
+
+.include <bsd.port.mk>
diff --git a/sysutils/npmount/distinfo b/sysutils/npmount/distinfo
new file mode 100644
index 000000000000..e0714d38285d
--- /dev/null
+++ b/sysutils/npmount/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1686347552
+SHA256 (outpaddling-npmount-0.1.1_GH0.tar.gz) = fb5a48d36edd93e84352d01f24c8fe35c76461c4797de6486ad17e15013d48a4
+SIZE (outpaddling-npmount-0.1.1_GH0.tar.gz) = 6773
diff --git a/sysutils/npmount/pkg-descr b/sysutils/npmount/pkg-descr
new file mode 100644
index 000000000000..5165313d1a15
--- /dev/null
+++ b/sysutils/npmount/pkg-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/sysutils/npmount/pkg-plist b/sysutils/npmount/pkg-plist
new file mode 100644
index 000000000000..c29f83af97c2
--- /dev/null
+++ b/sysutils/npmount/pkg-plist
@@ -0,0 +1,5 @@
+@mode 4711
+bin/npmount
+@mode
+@sample %%ETCDIR%%.conf.sample
+man/man1/npmount.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306101205.35AC5bFJ072254>