lxqt-sudo, new package

Fails to build, see TODO.
This commit is contained in:
pin 2020-01-10 12:25:32 +01:00
parent 7424e9c347
commit 9746bfec08
6 changed files with 81 additions and 0 deletions

View File

@ -2116,6 +2116,7 @@ SUBDIR+= lxqt-powermanagement
SUBDIR+= lxqt-qtplugin
SUBDIR+= lxqt-runner
SUBDIR+= lxqt-session
SUBDIR+= lxqt-sudo
SUBDIR+= lxqt-themes
SUBDIR+= lzlib
SUBDIR+= lzs-lkm

3
lxqt-sudo/DESCR Normal file
View File

@ -0,0 +1,3 @@
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.

34
lxqt-sudo/Makefile Normal file
View File

@ -0,0 +1,34 @@
# $NetBSD$
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
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= ..
CFLAGS.NetBSD+= -D_NETBSD_SOURCE
CMAKE_ARGS+= -DMSK_INSTALL_INCLUDES=/include
INSTALLATION_DIRS+= bin
pre-configure:
${MKDIR} -p ${WRKSRC}/build
TOOL_DEPENDS+= lxqt-build-tools-[0-9]*:../../wip/lxqt-build-tools
DEPENDS+= sudo-[0-9]*:../../security/sudo
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../wip/liblxqt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

4
lxqt-sudo/PLIST Normal file
View File

@ -0,0 +1,4 @@
@comment $NetBSD$
@comment TODO: to fill this file with the file listing:
@comment TODO: 1. run "/usr/bin/make package"
@comment TODO: 2. run "/usr/bin/make print-PLIST"

33
lxqt-sudo/TODO Normal file
View File

@ -0,0 +1,33 @@
[ 94%] Building CXX object CMakeFiles/lxqt-sudo.dir/main.cpp.o
/usr/pkgsrc/wip/lxqt-sudo/work/lxqt-sudo-0.14.1/sudo.cpp:41:10: fatal error: pty.h
#include <pty.h>
^~~~~~~
compilation terminated.
--- CMakeFiles/lxqt-sudo.dir/sudo.cpp.o ---
*** [CMakeFiles/lxqt-sudo.dir/sudo.cpp.o] Error code 1
make[2]: stopped in /usr/pkgsrc/wip/lxqt-sudo/work/lxqt-sudo-0.14.1/build
1 error
make[2]: stopped in /usr/pkgsrc/wip/lxqt-sudo/work/lxqt-sudo-0.14.1/build
--- CMakeFiles/lxqt-sudo.dir/all ---
*** [CMakeFiles/lxqt-sudo.dir/all] Error code 2
make[1]: stopped in /usr/pkgsrc/wip/lxqt-sudo/work/lxqt-sudo-0.14.1/build
1 error
make[1]: stopped in /usr/pkgsrc/wip/lxqt-sudo/work/lxqt-sudo-0.14.1/build
*** [all] Error code 2
make: stopped in /usr/pkgsrc/wip/lxqt-sudo/work/lxqt-sudo-0.14.1/build
1 error
make: stopped in /usr/pkgsrc/wip/lxqt-sudo/work/lxqt-sudo-0.14.1/build
*** Error code 2
Stop.
make[1]: stopped in /usr/pkgsrc/wip/lxqt-sudo
*** Error code 1
Stop.

6
lxqt-sudo/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
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