View | Details | Raw Unified | Return to bug 229293 | Differences between
and this patch

Collapse All | Expand All

(-)security/lxqt-sudo/Makefile (+23 lines)
Line 0 Link Here
1
# Created by: Olivier Duchateau
2
# $FreeBSD$
3
4
PORTNAME=	lxqt-sudo
5
PORTVERSION=	0.13.0
6
CATEGORIES=	security
7
MASTER_SITES=	LXQT
8
9
MAINTAINER=	jesper@schmitz.computer
10
COMMENT=	GUI frontend to su/sudo for LXQt desktop
11
12
LICENSE=	LGPL21+
13
14
SUB_FILES=	pkg-message
15
16
USES=	cmake:outsource compiler:c++11-lib gettext kde:5 lxqt \
17
	pkgconfig tar:xz
18
USE_QT5=	buildtools_build qmake_build core dbus gui svg widgets \
19
	x11extras xml
20
USE_KDE=	windowsystem
21
USE_LXQT=	buildtools lxqt
22
23
.include <bsd.port.mk>
(-)security/lxqt-sudo/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1527328596
2
SHA256 (lxqt/lxqt-sudo-0.13.0.tar.xz) = 8e05adf4926eead9fa3015be54a76f67ebf3f7c40e1dea0bcafbcf4c38e548c8
3
SIZE (lxqt/lxqt-sudo-0.13.0.tar.xz) = 16208
(-)security/lxqt-sudo/files/patch-sudo.cpp (+16 lines)
Line 0 Link Here
1
--- sudo.cpp.orig	2015-11-02 05:06:33 UTC
2
+++ sudo.cpp
3
@@ -36,7 +36,13 @@
4
 #include <QSocketNotifier>
5
 #include <QDebug>
6
 #include <QThread>
7
+#if defined(__linux__)
8
 #include <pty.h>
9
+#elif defined(__FreeBSD__) || defined(__DragonFly__)
10
+#include <libutil.h>
11
+#include <errno.h>
12
+#include <termios.h>
13
+#endif
14
 #include <unistd.h>
15
 #include <memory>
16
 #include <csignal>
(-)security/lxqt-sudo/files/pkg-message.in (+4 lines)
Line 0 Link Here
1
You can also install one of following ports:
2
3
 * security/sudo
4
 * security/doas
(-)security/lxqt-sudo/pkg-descr (+3 lines)
Line 0 Link Here
1
GUI frontend for sudo/su for the LXQt desktop environment.
2
3
WWW: http://lxqt.org/
(-)security/lxqt-sudo/pkg-plist (+6 lines)
Line 0 Link Here
1
bin/lxqt-sudo
2
bin/lxsu
3
bin/lxsudo
4
man/man1/lxqt-sudo.1.gz
5
man/man1/lxsu.1.gz
6
man/man1/lxsudo.1.gz

Return to bug 229293