Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2024 08:10:23 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8086199cb859 - main - security/qt-sudo: New port: Clone of LXQt sudo tool without LXQt libs
Message-ID:  <202408200810.47K8ANlQ086936@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=8086199cb859049e5cb927ef1972c3e549154a25

commit 8086199cb859049e5cb927ef1972c3e549154a25
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-08-20 07:09:13 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-08-20 08:10:10 +0000

    security/qt-sudo: New port: Clone of LXQt sudo tool without LXQt libs
    
    qt-sudo is a clone of LXQt sudo tool (without LXQt libs). It is the ONLY
    privilege escalation tool supported by Baiacu, Octopi, OctoPkg, OctoPkgin,
    OctoXBPS and QTGZManager applications.
    
    WWW: https://github.com/aarnt/qt-sudo
---
 security/Makefile            |  1 +
 security/qt-sudo/Makefile    | 26 ++++++++++++++++++++++++++
 security/qt-sudo/distinfo    |  3 +++
 security/qt-sudo/pkg-descr   |  3 +++
 security/qt-sudo/pkg-message |  8 ++++++++
 5 files changed, 41 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index fb503086d916..e76f47b5f736 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1088,6 +1088,7 @@
     SUBDIR += py-zope.password
     SUBDIR += py-zxcvbn
     SUBDIR += pygost
+    SUBDIR += qt-sudo
     SUBDIR += qtkeychain
     SUBDIR += quantis-kmod
     SUBDIR += racoon2
diff --git a/security/qt-sudo/Makefile b/security/qt-sudo/Makefile
new file mode 100644
index 000000000000..ba9c44f2d104
--- /dev/null
+++ b/security/qt-sudo/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	qt-sudo
+DISTVERSION=	2.0.1
+CATEGORIES=	security
+MASTER_SITES=	https://github.com/aarnt/${PORTNAME}/releases/download/v${DISTVERSION}/
+
+MAINTAINER=	eduardo@FreeBSD.org
+COMMENT=	Clone of LXQt sudo tool without LXQt libs
+WWW=		https://github.com/aarnt/qt-sudo
+
+LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		gl qmake qt:6
+USE_GL=		opengl
+USE_QT=		base tools
+
+PLIST_FILES=	bin/${PORTNAME}
+
+post-patch:
+	${REINPLACE_CMD} 's#/usr/local#${PREFIX}#' \
+		${WRKSRC}/sudo.cpp
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/security/qt-sudo/distinfo b/security/qt-sudo/distinfo
new file mode 100644
index 000000000000..e80c21a0c5ad
--- /dev/null
+++ b/security/qt-sudo/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1724061945
+SHA256 (qt-sudo-2.0.1.tar.gz) = d97f38b37f2f8e4411506bed361090415a5617ebd794a9de7d9b4bb606ece3a1
+SIZE (qt-sudo-2.0.1.tar.gz) = 40885
diff --git a/security/qt-sudo/pkg-descr b/security/qt-sudo/pkg-descr
new file mode 100644
index 000000000000..17f83ed4b204
--- /dev/null
+++ b/security/qt-sudo/pkg-descr
@@ -0,0 +1,3 @@
+This is a clone of LXQt sudo tool (without LXQt libs). It is the ONLY
+privilege escalation tool supported by Baiacu, Octopi, OctoPkg, OctoPkgin,
+OctoXBPS and QTGZManager applications.
diff --git a/security/qt-sudo/pkg-message b/security/qt-sudo/pkg-message
new file mode 100644
index 000000000000..290a98168038
--- /dev/null
+++ b/security/qt-sudo/pkg-message
@@ -0,0 +1,8 @@
+[
+{ type: install
+  message: <<EOM
+* qt-sudo supports both sudo and doas
+* You must be in the sudoers or doas.conf file in order to use qt-sudo
+EOM
+}
+]



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