1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

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
This commit is contained in:
Nuno Teixeira 2024-08-20 08:09:13 +01:00
parent de97fd015a
commit 8086199cb8
5 changed files with 41 additions and 0 deletions

View File

@ -1088,6 +1088,7 @@
SUBDIR += py-zope.password
SUBDIR += py-zxcvbn
SUBDIR += pygost
SUBDIR += qt-sudo
SUBDIR += qtkeychain
SUBDIR += quantis-kmod
SUBDIR += racoon2

26
security/qt-sudo/Makefile Normal file
View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1724061945
SHA256 (qt-sudo-2.0.1.tar.gz) = d97f38b37f2f8e4411506bed361090415a5617ebd794a9de7d9b4bb606ece3a1
SIZE (qt-sudo-2.0.1.tar.gz) = 40885

View File

@ -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.

View File

@ -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
}
]