summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2021-01-27 22:59:49 -0100
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2021-01-27 22:59:49 -0100
commit97e2a2c987e8db3894b44256f8bd8bc1c80e46b3 (patch)
tree622e85e0eadb2a983bf30d17d7f30feb3384b0b2
parentwww-apps/drupal: Drop vulnerable releases. (diff)
downloadjmbsvicetto-97e2a2c987e8db3894b44256f8bd8bc1c80e46b3.tar.gz
jmbsvicetto-97e2a2c987e8db3894b44256f8bd8bc1c80e46b3.tar.bz2
jmbsvicetto-97e2a2c987e8db3894b44256f8bd8bc1c80e46b3.zip
net-misc/anydesk: Sync from tree.
Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
-rw-r--r--net-misc/anydesk/Manifest4
-rw-r--r--net-misc/anydesk/anydesk-5.5.6.ebuild116
-rw-r--r--net-misc/anydesk/anydesk-6.0.0-r1.ebuild (renamed from net-misc/anydesk/anydesk-5.5.4.ebuild)10
-rw-r--r--net-misc/anydesk/anydesk-6.0.0.ebuild116
-rw-r--r--net-misc/anydesk/anydesk-6.0.1.ebuild20
-rw-r--r--net-misc/anydesk/files/anydesk.init2
6 files changed, 18 insertions, 250 deletions
diff --git a/net-misc/anydesk/Manifest b/net-misc/anydesk/Manifest
index dcfb685..035940e 100644
--- a/net-misc/anydesk/Manifest
+++ b/net-misc/anydesk/Manifest
@@ -1,7 +1,3 @@
-DIST anydesk-5.5.4-amd64.tar.gz 4886562 BLAKE2B f8a754de375db95ae5af728e0433cd25594a7d9ca03f0a2f133a661ca8b8ae70979ed209f224cffc71c7cc7d3a52566d6d0686bf1fa758563855695d6a92c6ab SHA512 dd9d78dbdb07930027d1222d715bae678c8933940289f2466c0a3600602e616365228ebd074bfb12ae07c9b30f44f038b4fe07374eea743784c320d3bb8d1d61
-DIST anydesk-5.5.4-i386.tar.gz 4796401 BLAKE2B 35b89fcbc1565a548e3631fbd476bb5516405a62db537d1b5b76a18d3a4e912fe2be7fb92a451d1dcd11c3d16be5e012b53842a40811687320e4d806d0723509 SHA512 d6d14eed83c5b48fb02bbfe25b12c7875d984ab27ef713645aab4a4f63f5a54253da63133699a559ef4b827c9f56b3055efe0e08a4c31334247928f21c5539db
-DIST anydesk-5.5.6-amd64.tar.gz 5054062 BLAKE2B a131fe5e10def7017cf29e8cc175e2b448be7fe3e9fa7257dc0cb470f31f6fdc78e510b5e377bc10528f0eb7f264572bf4c334c9d412f8f7404aaf85d4babbb9 SHA512 32527532fb769dccc6df8208c18e391ac6537e38f7d6c5acfd3280dbbc7cf0c545ec55416eb798ad8a6d3b0e958778d87696c9d721dd1739c17b935f1046c29d
-DIST anydesk-5.5.6-i386.tar.gz 4970197 BLAKE2B b656071498784052ce1c81f32c0ae333039930b26487d204dc5f55e8352f263878437ab3a4e2ac8469745ece75a29056f553f12f33fe96c9c2bc54d3d4644941 SHA512 3b561e014cc4c149f4d77b43c4e5427266604679dfdf9253bb76689ee6c6ac5b274cc5ac58147bdc136c20f616c9f9d8dbc2c11b5b85d0f184a0251ece2ad265
DIST anydesk-6.0.0-amd64.tar.gz 5195378 BLAKE2B b967e063cff609ff9a93f3946c6f555987526d2fd163130dc74d0e69d720972a483e0b7df04b1e39c9096156a7161ab46b160b243e249fca4ce7c6c565ae104e SHA512 f41e1fd7dc505166a21b0b7a16ad295e75b55ba73646564c8f1531f3ea659f58868294e694479a518f8692f1eb14918fa6a62c7b1e115f81da478bf8d268e07c
DIST anydesk-6.0.0-i386.tar.gz 5116771 BLAKE2B 074907ac1976a3b9df7df0acf29663039e0b56466c417cb40b6c2d5d643fa4f207af529ee89a278f26ede330e8bc6fc3b32e9e5a451811ff2d8e6e1b2ccd9065 SHA512 09bc0b0ae0f9d2ca764e9feee81c38a9890e710908265c35c181657a13eb5d326cde52d01b7ba68132aac1784b6422df33c904b130f025967e9375332a350414
DIST anydesk-6.0.1-amd64.tar.gz 5209989 BLAKE2B 5588b40460af9033aca744440d5ce43db608b8dc188a33c6f317e5e36c32b5ee8b102761b2153365018dea3a3afad03b4b1a2720cafd98f62789de407deaaeeb SHA512 bdf585bdb6fe5738e253f631807965446f585a4ffed3747b2e147b3f39d474c3a9c6177c88e2cfa1c0ae0e46c0219f581171147393609f0ecd7fa4d6cccd369d
diff --git a/net-misc/anydesk/anydesk-5.5.6.ebuild b/net-misc/anydesk/anydesk-5.5.6.ebuild
deleted file mode 100644
index 6b1d45e..0000000
--- a/net-misc/anydesk/anydesk-5.5.6.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit desktop eutils systemd xdg-utils
-
-DESCRIPTION="Feature rich multi-platform remote desktop application"
-HOMEPAGE="https://anydesk.com"
-SRC_URI="amd64? (
- https://download.anydesk.com/linux/${P}-amd64.tar.gz
- https://download.anydesk.com/linux/generic-linux/${P}-amd64.tar.gz
- )
- x86? (
- https://download.anydesk.com/linux/${P}-i386.tar.gz
- https://download.anydesk.com/linux/generic-linux/${P}-i386.tar.gz
- )"
-
-# OpeSSL/SSLeay, libvpx, zlib, Xiph, xxHash
-LICENSE="AnyDesk-TOS BSD BSD-2 openssl ZLIB"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-
-RDEPEND="
- dev-libs/atk
- dev-libs/glib:2
- media-libs/fontconfig:1.0
- media-libs/freetype:2
- media-libs/glu
- media-libs/mesa[X(+)]
- sys-auth/polkit
- x11-libs/cairo
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:2
- x11-libs/gtkglext
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libxcb
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXi
- x11-libs/libxkbfile
- x11-libs/libXmu
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXt
- x11-libs/libXtst
- x11-libs/pango
- x11-libs/pangox-compat
-"
-
-RESTRICT="bindist mirror"
-
-QA_PREBUILT="opt/${PN}/*"
-
-src_install() {
- local dst="/opt/${PN}"
-
- dodir ${dst}
- exeinto ${dst}
- doexe ${PN}
-
- dodir /opt/bin
- dosym ${dst}/${PN} /opt/bin/${PN}
-
- newinitd "${FILESDIR}"/anydesk.init anydesk
- systemd_newunit "${FILESDIR}"/anydesk-4.0.1.service anydesk.service
-
- insinto /usr/share/polkit-1/actions
- doins polkit-1/com.philandro.anydesk.policy
-
- insinto /usr/share
- doins -r icons
-
- domenu "${FILESDIR}"/anydesk.desktop
-
- keepdir /etc/${PN}
-
- dodoc copyright README
-}
-
-pkg_postinst() {
- xdg_desktop_database_update
- xdg_icon_cache_update
-
- if [[ -z ${REPLACING_VERSIONS} ]]; then
- elog "To run AnyDesk as background service use:"
- elog
- elog "OpenRC:"
- elog "# rc-service anydesk start"
- elog "# rc-update add anydesk default"
- elog
- elog "Systemd:"
- elog "# systemctl start anydesk.service"
- elog "# systemctl enable anydesk.service"
- elog
- elog "Please see README at /usr/share/doc/${PF}/README.bz2 for"
- elog "further information about the linux version of AnyDesk."
- elog
- fi
-
- elog "For querying information about the host PC AnyDesk calls"
- elog "the following commands. Feel free to install them, but it"
- elog "should run without as well."
- elog
- optfeature "lsb_release" sys-apps/lsb-release
- optfeature "lspci" sys-apps/pciutils
- optfeature "lsusb" sys-apps/usbutils
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- xdg_icon_cache_update
-}
diff --git a/net-misc/anydesk/anydesk-5.5.4.ebuild b/net-misc/anydesk/anydesk-6.0.0-r1.ebuild
index 6b1d45e..f65f8c4 100644
--- a/net-misc/anydesk/anydesk-5.5.4.ebuild
+++ b/net-misc/anydesk/anydesk-6.0.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
-inherit desktop eutils systemd xdg-utils
+inherit desktop optfeature systemd xdg-utils
DESCRIPTION="Feature rich multi-platform remote desktop application"
HOMEPAGE="https://anydesk.com"
@@ -48,8 +48,8 @@ RDEPEND="
x11-libs/libXt
x11-libs/libXtst
x11-libs/pango
- x11-libs/pangox-compat
"
+BDEPEND="dev-util/patchelf"
RESTRICT="bindist mirror"
@@ -58,10 +58,12 @@ QA_PREBUILT="opt/${PN}/*"
src_install() {
local dst="/opt/${PN}"
- dodir ${dst}
exeinto ${dst}
doexe ${PN}
+ # bug 706344
+ patchelf --remove-needed libpangox-1.0.so.0 "${ED}"${dst}/${PN} || die
+
dodir /opt/bin
dosym ${dst}/${PN} /opt/bin/${PN}
diff --git a/net-misc/anydesk/anydesk-6.0.0.ebuild b/net-misc/anydesk/anydesk-6.0.0.ebuild
deleted file mode 100644
index 6b1d45e..0000000
--- a/net-misc/anydesk/anydesk-6.0.0.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit desktop eutils systemd xdg-utils
-
-DESCRIPTION="Feature rich multi-platform remote desktop application"
-HOMEPAGE="https://anydesk.com"
-SRC_URI="amd64? (
- https://download.anydesk.com/linux/${P}-amd64.tar.gz
- https://download.anydesk.com/linux/generic-linux/${P}-amd64.tar.gz
- )
- x86? (
- https://download.anydesk.com/linux/${P}-i386.tar.gz
- https://download.anydesk.com/linux/generic-linux/${P}-i386.tar.gz
- )"
-
-# OpeSSL/SSLeay, libvpx, zlib, Xiph, xxHash
-LICENSE="AnyDesk-TOS BSD BSD-2 openssl ZLIB"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-
-RDEPEND="
- dev-libs/atk
- dev-libs/glib:2
- media-libs/fontconfig:1.0
- media-libs/freetype:2
- media-libs/glu
- media-libs/mesa[X(+)]
- sys-auth/polkit
- x11-libs/cairo
- x11-libs/gdk-pixbuf:2
- x11-libs/gtk+:2
- x11-libs/gtkglext
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libxcb
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXi
- x11-libs/libxkbfile
- x11-libs/libXmu
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXt
- x11-libs/libXtst
- x11-libs/pango
- x11-libs/pangox-compat
-"
-
-RESTRICT="bindist mirror"
-
-QA_PREBUILT="opt/${PN}/*"
-
-src_install() {
- local dst="/opt/${PN}"
-
- dodir ${dst}
- exeinto ${dst}
- doexe ${PN}
-
- dodir /opt/bin
- dosym ${dst}/${PN} /opt/bin/${PN}
-
- newinitd "${FILESDIR}"/anydesk.init anydesk
- systemd_newunit "${FILESDIR}"/anydesk-4.0.1.service anydesk.service
-
- insinto /usr/share/polkit-1/actions
- doins polkit-1/com.philandro.anydesk.policy
-
- insinto /usr/share
- doins -r icons
-
- domenu "${FILESDIR}"/anydesk.desktop
-
- keepdir /etc/${PN}
-
- dodoc copyright README
-}
-
-pkg_postinst() {
- xdg_desktop_database_update
- xdg_icon_cache_update
-
- if [[ -z ${REPLACING_VERSIONS} ]]; then
- elog "To run AnyDesk as background service use:"
- elog
- elog "OpenRC:"
- elog "# rc-service anydesk start"
- elog "# rc-update add anydesk default"
- elog
- elog "Systemd:"
- elog "# systemctl start anydesk.service"
- elog "# systemctl enable anydesk.service"
- elog
- elog "Please see README at /usr/share/doc/${PF}/README.bz2 for"
- elog "further information about the linux version of AnyDesk."
- elog
- fi
-
- elog "For querying information about the host PC AnyDesk calls"
- elog "the following commands. Feel free to install them, but it"
- elog "should run without as well."
- elog
- optfeature "lsb_release" sys-apps/lsb-release
- optfeature "lspci" sys-apps/pciutils
- optfeature "lsusb" sys-apps/usbutils
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- xdg_icon_cache_update
-}
diff --git a/net-misc/anydesk/anydesk-6.0.1.ebuild b/net-misc/anydesk/anydesk-6.0.1.ebuild
index 6b1d45e..ba96ed3 100644
--- a/net-misc/anydesk/anydesk-6.0.1.ebuild
+++ b/net-misc/anydesk/anydesk-6.0.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
-inherit desktop eutils systemd xdg-utils
+inherit desktop optfeature systemd xdg-utils
DESCRIPTION="Feature rich multi-platform remote desktop application"
HOMEPAGE="https://anydesk.com"
@@ -48,8 +48,8 @@ RDEPEND="
x11-libs/libXt
x11-libs/libXtst
x11-libs/pango
- x11-libs/pangox-compat
"
+BDEPEND="dev-util/patchelf"
RESTRICT="bindist mirror"
@@ -58,15 +58,17 @@ QA_PREBUILT="opt/${PN}/*"
src_install() {
local dst="/opt/${PN}"
- dodir ${dst}
exeinto ${dst}
doexe ${PN}
+ # bug 706344
+ patchelf --remove-needed libpangox-1.0.so.0 "${ED}${dst}/${PN}" || die
+
dodir /opt/bin
- dosym ${dst}/${PN} /opt/bin/${PN}
+ dosym "${dst}/${PN}" "/opt/bin/${PN}"
- newinitd "${FILESDIR}"/anydesk.init anydesk
- systemd_newunit "${FILESDIR}"/anydesk-4.0.1.service anydesk.service
+ newinitd "${FILESDIR}/anydesk.init" anydesk
+ systemd_newunit "${FILESDIR}/anydesk-4.0.1.service" anydesk.service
insinto /usr/share/polkit-1/actions
doins polkit-1/com.philandro.anydesk.policy
@@ -74,9 +76,9 @@ src_install() {
insinto /usr/share
doins -r icons
- domenu "${FILESDIR}"/anydesk.desktop
+ domenu "${FILESDIR}/anydesk.desktop"
- keepdir /etc/${PN}
+ keepdir "/etc/${PN}"
dodoc copyright README
}
diff --git a/net-misc/anydesk/files/anydesk.init b/net-misc/anydesk/files/anydesk.init
index eced405..f48e458 100644
--- a/net-misc/anydesk/files/anydesk.init
+++ b/net-misc/anydesk/files/anydesk.init
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
name="AnyDesk service"