1 |
commit: f3568b204e67f067486359f0349157fe3609a98d |
2 |
Author: Alexander Tsoy <alexander <AT> tsoy <DOT> me> |
3 |
AuthorDate: Tue May 21 19:17:02 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 1 08:15:06 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3568b20 |
7 |
|
8 |
x11-misc/x11vnc: restore ssl USE-flag |
9 |
|
10 |
Package should depend on net-libs/libvncserver[ssl=] |
11 |
|
12 |
Bug: https://bugs.gentoo.org/686494 |
13 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
14 |
Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me> |
15 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
16 |
|
17 |
x11-misc/x11vnc/x11vnc-0.9.16-r3.ebuild | 76 +++++++++++++++++++++++++++++++++ |
18 |
1 file changed, 76 insertions(+) |
19 |
|
20 |
diff --git a/x11-misc/x11vnc/x11vnc-0.9.16-r3.ebuild b/x11-misc/x11vnc/x11vnc-0.9.16-r3.ebuild |
21 |
new file mode 100644 |
22 |
index 00000000000..f102419eb68 |
23 |
--- /dev/null |
24 |
+++ b/x11-misc/x11vnc/x11vnc-0.9.16-r3.ebuild |
25 |
@@ -0,0 +1,76 @@ |
26 |
+# Copyright 1999-2019 Gentoo Authors |
27 |
+# Distributed under the terms of the GNU General Public License v2 |
28 |
+ |
29 |
+EAPI=7 |
30 |
+ |
31 |
+inherit autotools |
32 |
+ |
33 |
+DESCRIPTION="VNC server for real X displays" |
34 |
+HOMEPAGE="https://libvnc.github.io/" |
35 |
+SRC_URI="https://github.com/LibVNC/x11vnc/archive/${PV}.tar.gz -> ${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="GPL-2" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" |
40 |
+IUSE="crypt fbcon libressl ssl +xcomposite +xdamage +xfixes xinerama +xrandr zeroconf" |
41 |
+ |
42 |
+COMMON_DEPEND=" |
43 |
+ >=net-libs/libvncserver-0.9.8[ssl=] |
44 |
+ x11-libs/libX11 |
45 |
+ x11-libs/libXcursor |
46 |
+ x11-libs/libXext |
47 |
+ >=x11-libs/libXtst-1.1.0 |
48 |
+ ssl? ( |
49 |
+ !libressl? ( dev-libs/openssl:0= ) |
50 |
+ libressl? ( dev-libs/libressl:= ) |
51 |
+ ) |
52 |
+ xcomposite? ( x11-libs/libXcomposite ) |
53 |
+ xdamage? ( x11-libs/libXdamage ) |
54 |
+ xfixes? ( x11-libs/libXfixes ) |
55 |
+ xinerama? ( x11-libs/libXinerama ) |
56 |
+ xrandr? ( x11-libs/libXrandr ) |
57 |
+ zeroconf? ( >=net-dns/avahi-0.6.4 ) |
58 |
+" |
59 |
+DEPEND="${COMMON_DEPEND} |
60 |
+ x11-base/xorg-proto |
61 |
+ x11-libs/libXt |
62 |
+" |
63 |
+# https://bugzilla.redhat.com/show_bug.cgi?id=920554 |
64 |
+RDEPEND="${COMMON_DEPEND} |
65 |
+ dev-lang/tk:0 |
66 |
+" |
67 |
+ |
68 |
+PATCHES=( |
69 |
+ "${FILESDIR}"/${P}-crypto.patch # https://github.com/LibVNC/x11vnc/issues/86 |
70 |
+ "${FILESDIR}"/${P}-anonymous-ssl.patch # https://github.com/LibVNC/x11vnc/pull/85 |
71 |
+) |
72 |
+ |
73 |
+src_prepare() { |
74 |
+ default |
75 |
+ eautoreconf |
76 |
+} |
77 |
+ |
78 |
+src_configure() { |
79 |
+ # --without-v4l because of missing video4linux 2.x support wrt #389079 |
80 |
+ econf \ |
81 |
+ --without-v4l \ |
82 |
+ --without-xkeyboard \ |
83 |
+ --without-fbpm \ |
84 |
+ --without-dpms \ |
85 |
+ $(use_with crypt) \ |
86 |
+ $(use_with fbcon fbdev) \ |
87 |
+ $(use_with ssl) \ |
88 |
+ $(use_with ssl crypto) \ |
89 |
+ $(use_with xcomposite) \ |
90 |
+ $(use_with xdamage) \ |
91 |
+ $(use_with xfixes) \ |
92 |
+ $(use_with xinerama) \ |
93 |
+ $(use_with xrandr) \ |
94 |
+ $(use_with zeroconf avahi) |
95 |
+} |
96 |
+ |
97 |
+src_install() { |
98 |
+ default |
99 |
+ newinitd "${FILESDIR}/x11vnc.init.d" x11vnc |
100 |
+ newconfd "${FILESDIR}/x11vnc.conf.d" x11vnc |
101 |
+} |