pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security lxqt-sudo: add new package, version 0.14.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7669a8ad115d
branches:  trunk
changeset: 428171:7669a8ad115d
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Sat Apr 25 18:24:57 2020 +0000

description:
lxqt-sudo: add new package, version 0.14.1

lxqt-sudo is a graphical front-end of the sudo and su commands.
(Packaged in wip by pin@, final review by myself.)

diffstat:

 security/Makefile                         |   3 +-
 security/lxqt-sudo/DESCR                  |   4 +++
 security/lxqt-sudo/Makefile               |  31 +++++++++++++++++++++++++++
 security/lxqt-sudo/PLIST                  |  35 +++++++++++++++++++++++++++++++
 security/lxqt-sudo/distinfo               |   7 ++++++
 security/lxqt-sudo/patches/patch-sudo.cpp |  20 +++++++++++++++++
 6 files changed, 99 insertions(+), 1 deletions(-)

diffs (134 lines):

diff -r 00a6495dfba6 -r 7669a8ad115d security/Makefile
--- a/security/Makefile Sat Apr 25 18:23:23 2020 +0000
+++ b/security/Makefile Sat Apr 25 18:24:57 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.751 2020/04/25 17:24:40 gutteridge Exp $
+# $NetBSD: Makefile,v 1.752 2020/04/25 18:24:57 gutteridge Exp $
 #
 
 COMMENT=       Security tools
@@ -205,6 +205,7 @@
 SUBDIR+=       lsh
 SUBDIR+=       lua-sec
 SUBDIR+=       lxqt-policykit
+SUBDIR+=       lxqt-sudo
 SUBDIR+=       lynis
 SUBDIR+=       mate-polkit
 SUBDIR+=       mbedtls
diff -r 00a6495dfba6 -r 7669a8ad115d security/lxqt-sudo/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/lxqt-sudo/DESCR  Sat Apr 25 18:24:57 2020 +0000
@@ -0,0 +1,4 @@
+lxqt-sudo is a graphical front-end of commands `sudo`
+and `su` respectively. As such it enables regular users
+to launch applications with permissions of other users,
+including root.
diff -r 00a6495dfba6 -r 7669a8ad115d security/lxqt-sudo/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/lxqt-sudo/Makefile       Sat Apr 25 18:24:57 2020 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2020/04/25 18:24:57 gutteridge Exp $
+
+DISTNAME=      lxqt-sudo-0.14.1
+CATEGORIES=    security
+MASTER_SITES=  https://downloads.lxqt.org/downloads/lxqt-sudo/0.14.1/
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://lxqt.org/
+COMMENT=       LXQt GUI frontend for sudo
+LICENSE=       gnu-lgpl-v2.1
+
+USE_CMAKE=     yes
+USE_TOOLS+=    pkg-config
+USE_LANGUAGES= c c++
+
+CONFIGURE_DIRS=        build
+CMAKE_ARG_PATH=        ..
+
+CMAKE_ARGS+=   -DMSK_INSTALL_INCLUDES=/include
+
+pre-configure:
+       ${MKDIR} -p ${WRKSRC}/build
+
+TOOL_DEPENDS+= lxqt-build-tools-[0-9]*:../../devel/lxqt-build-tools
+TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools
+DEPENDS+=      sudo-[0-9]*:../../security/sudo
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/liblxqt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 00a6495dfba6 -r 7669a8ad115d security/lxqt-sudo/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/lxqt-sudo/PLIST  Sat Apr 25 18:24:57 2020 +0000
@@ -0,0 +1,35 @@
+@comment $NetBSD: PLIST,v 1.1 2020/04/25 18:24:57 gutteridge Exp $
+bin/lxqt-sudo
+bin/lxsu
+bin/lxsudo
+man/man1/lxqt-sudo.1
+man/man1/lxsu.1
+man/man1/lxsudo.1
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_ar.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_ca.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_cs.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_cy.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_da.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_de.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_el.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_es.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_fi.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_fr.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_gl.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_he.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_hu.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_id.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_it.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_ja.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_lt.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_nb_NO.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_nl.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_pl.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_pt.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_ru.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_sk.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_tr.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_uk.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_vi.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_zh_CN.qm
+share/lxqt/translations/lxqt-sudo/lxqt-sudo_zh_TW.qm
diff -r 00a6495dfba6 -r 7669a8ad115d security/lxqt-sudo/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/lxqt-sudo/distinfo       Sat Apr 25 18:24:57 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/04/25 18:24:57 gutteridge Exp $
+
+SHA1 (lxqt-sudo-0.14.1.tar.xz) = ba74c8b6047f8095fe825426e9d29abfaf34bf23
+RMD160 (lxqt-sudo-0.14.1.tar.xz) = bd712eb673239877759b1c3c88bc15592961adf4
+SHA512 (lxqt-sudo-0.14.1.tar.xz) = b2741ead9c03c2dddf878b7658316ad0ce170068aca413b48b2f614e6ee09e7494e9907f7bf46de09c84e50b75cd523b059d47f9a0d2be11b340824475ca9222
+Size (lxqt-sudo-0.14.1.tar.xz) = 30692 bytes
+SHA1 (patch-sudo.cpp) = fbbc7cabe06d896ecb0ed2734f92d314ac9515c5
diff -r 00a6495dfba6 -r 7669a8ad115d security/lxqt-sudo/patches/patch-sudo.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/lxqt-sudo/patches/patch-sudo.cpp Sat Apr 25 18:24:57 2020 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-sudo.cpp,v 1.1 2020/04/25 18:24:57 gutteridge Exp $
+
+Make pty header conditional on Linux
+
+--- sudo.cpp.orig      2019-02-23 23:40:30.000000000 +0000
++++ sudo.cpp
+@@ -38,7 +38,13 @@
+ #include <QThread>
+ #include <QProcessEnvironment>
+ #include <QTimer>
++#if defined(Q_OS_LINUX)
+ #include <pty.h>
++#else
++#include <errno.h>
++#include <termios.h>
++#include <util.h>
++#endif
+ #include <unistd.h>
+ #include <memory>
+ #include <csignal>



Home | Main Index | Thread Index | Old Index