From 8086199cb859049e5cb927ef1972c3e549154a25 Mon Sep 17 00:00:00 2001 From: Nuno Teixeira Date: Tue, 20 Aug 2024 08:09:13 +0100 Subject: [PATCH] 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(+) create mode 100644 security/qt-sudo/Makefile create mode 100644 security/qt-sudo/distinfo create mode 100644 security/qt-sudo/pkg-descr create mode 100644 security/qt-sudo/pkg-message 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 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: <