public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/anydesk/, net-misc/anydesk/files/
@ 2018-12-17  1:20 Thomas Deutschmann
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Deutschmann @ 2018-12-17  1:20 UTC (permalink / raw
  To: gentoo-commits

commit:     eb13c7a7d58039ab02912cc11e5d7bf539f5737a
Author:     Christian Buchinger <cb-gentoo <AT> guya <DOT> de>
AuthorDate: Wed Nov 21 16:12:49 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Dec 17 01:17:31 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb13c7a7

net-misc/anydesk: New package

AnyDesk is a multi-platform remote desktop application.

Closes: https://bugs.gentoo.org/563006
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Christian Buchinger <cb-gentoo <AT> guya.de>
Closes: https://github.com/gentoo/gentoo/pull/10458
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 net-misc/anydesk/Manifest             |  2 +
 net-misc/anydesk/anydesk-4.0.1.ebuild | 98 +++++++++++++++++++++++++++++++++++
 net-misc/anydesk/files/anydesk.init   | 10 ++++
 net-misc/anydesk/metadata.xml         | 21 ++++++++
 4 files changed, 131 insertions(+)

diff --git a/net-misc/anydesk/Manifest b/net-misc/anydesk/Manifest
new file mode 100644
index 00000000000..ca75d1b61d2
--- /dev/null
+++ b/net-misc/anydesk/Manifest
@@ -0,0 +1,2 @@
+DIST anydesk-4.0.1-amd64.tar.gz 3663439 BLAKE2B 6d693262569708d0289f9e4b03e15a4d4b8d7eea5253a18c6694d720e916b9d3d2a6894db16e5e6a31ddc39bd87ef4e766244047761440f9245c5f563ccd8dd4 SHA512 df2d4ec945f77954b8548513052af4d4f16c904ba450f4560c9185e94c2d4e57dc5ffb865239d1082803e040a60775b78d9c09015932b0fa6159378475d73f10
+DIST anydesk-4.0.1-i686.tar.gz 3658518 BLAKE2B 39bcad58de9b5ae76da5e96e32a8799343e1b6f7f78b3db3d02e675acae1ebbfa5c2a47a043b9d88810644656bce027bc347a783fcccbf37cdf44f986f1a8548 SHA512 e922e296149811a7ef77ae642c9ba73ca9888be57f13b0616ba5008f6837c86245d4b8b3a4b8ab6739a97fffa9b397b20d572c1fae7d5a5b2d909e8ee07112cc

diff --git a/net-misc/anydesk/anydesk-4.0.1.ebuild b/net-misc/anydesk/anydesk-4.0.1.ebuild
new file mode 100644
index 00000000000..45ede2ba5a9
--- /dev/null
+++ b/net-misc/anydesk/anydesk-4.0.1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit desktop gnome2-utils systemd xdg-utils
+
+DESCRIPTION="The world's fastest remote desktop application"
+HOMEPAGE="https://anydesk.com"
+SRC_URI="amd64? ( https://download.anydesk.com/linux/${P}-amd64.tar.gz )
+	x86? ( https://download.anydesk.com/linux/${P}-i686.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
+	media-libs/fontconfig
+	media-libs/freetype
+	media-libs/glu
+	media-libs/mesa
+	sys-auth/polkit
+	x11-libs/cairo
+	x11-libs/gdk-pixbuf
+	x11-libs/gtk+
+	x11-libs/gtkglext
+	x11-libs/libICE
+	x11-libs/libSM
+	x11-libs/libX11
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libXi
+	x11-libs/libXmu
+	x11-libs/libXrandr
+	x11-libs/libXt
+	x11-libs/libXtst
+	x11-libs/libxcb
+	x11-libs/pango
+	x11-libs/pangox-compat
+"
+
+RESTRICT="bindist mirror"
+
+QA_PREBUILT="usr/bin/${PN}"
+
+src_install() {
+	exeinto /usr/bin
+	doexe ${PN}
+
+	newinitd "${FILESDIR}"/anydesk.init anydesk
+	systemd_dounit systemd/anydesk.service
+
+	insinto /usr/share/polkit-1/actions
+	doins polkit-1/com.philandro.anydesk.policy
+
+	insinto /usr/share
+	doins -r icons
+
+	domenu anydesk.desktop
+
+	keepdir /etc/${PN}
+
+	dodoc changelog copyright README
+}
+
+pkg_postinst() {
+	xdg_desktop_database_update
+	gnome2_icon_cache_update
+
+	if [[ -n ${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
+		elog "AnyDesk might require the following commands/packages"
+		elog "for some functions:"
+		elog "* lsb_release	(sys-apps/lsb-release)"
+		elog "* lsusb		(sys-apps/usbutils)"
+	fi
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+	gnome2_icon_cache_update
+}

diff --git a/net-misc/anydesk/files/anydesk.init b/net-misc/anydesk/files/anydesk.init
new file mode 100644
index 00000000000..193f6a24721
--- /dev/null
+++ b/net-misc/anydesk/files/anydesk.init
@@ -0,0 +1,10 @@
+#!/sbin/openrc-run
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+name="AnyDesk service"
+description="AnyDesk global service"
+command="/usr/bin/anydesk"
+command_args="--service"
+pidfile="/var/run/anydesk.pid"
+command_background=true

diff --git a/net-misc/anydesk/metadata.xml b/net-misc/anydesk/metadata.xml
new file mode 100644
index 00000000000..09ba7bee800
--- /dev/null
+++ b/net-misc/anydesk/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>cb-gentoo@guya.de</email>
+		<name>Christian Buchinger</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<upstream>
+		<changelog>https://download.anydesk.com/changelog.txt</changelog>
+		<bugs-to>mailto:support@anydesk.com</bugs-to>
+	</upstream>
+	<longdescription lang="en">
+		Connect to a computer remotely, be it from the other end of the office
+		or halfway around the world. AnyDesk ensures secure and reliable remote
+		desktop connections for IT professionals and on-the-go individuals alike.
+	</longdescription>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/anydesk/, net-misc/anydesk/files/
@ 2018-12-22 23:17 Thomas Deutschmann
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Deutschmann @ 2018-12-22 23:17 UTC (permalink / raw
  To: gentoo-commits

commit:     4d75fcd7927ed2ec0bb23c1106c6b7d19cdac9b7
Author:     Christian Buchinger <cb-gentoo <AT> guya <DOT> de>
AuthorDate: Sat Dec 22 09:00:40 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Dec 22 23:01:52 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d75fcd7

net-misc/anydesk: Install to /opt, change desc.

* Install to /opt
* Adjusted package description
* Fixed elog

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Christian Buchinger <cb-gentoo <AT> guya.de>
Closes: https://github.com/gentoo/gentoo/pull/10678
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 .../{anydesk-4.0.1.ebuild => anydesk-4.0.1-r1.ebuild}    | 16 +++++++++++-----
 net-misc/anydesk/files/anydesk-4.0.1.service             | 16 ++++++++++++++++
 net-misc/anydesk/files/anydesk.init                      |  2 +-
 3 files changed, 28 insertions(+), 6 deletions(-)

diff --git a/net-misc/anydesk/anydesk-4.0.1.ebuild b/net-misc/anydesk/anydesk-4.0.1-r1.ebuild
similarity index 86%
rename from net-misc/anydesk/anydesk-4.0.1.ebuild
rename to net-misc/anydesk/anydesk-4.0.1-r1.ebuild
index 45ede2ba5a9..0d1c769a03b 100644
--- a/net-misc/anydesk/anydesk-4.0.1.ebuild
+++ b/net-misc/anydesk/anydesk-4.0.1-r1.ebuild
@@ -5,7 +5,7 @@ EAPI="6"
 
 inherit desktop gnome2-utils systemd xdg-utils
 
-DESCRIPTION="The world's fastest remote desktop application"
+DESCRIPTION="Feature rich multi-platform remote desktop application"
 HOMEPAGE="https://anydesk.com"
 SRC_URI="amd64? ( https://download.anydesk.com/linux/${P}-amd64.tar.gz )
 	x86? ( https://download.anydesk.com/linux/${P}-i686.tar.gz )"
@@ -45,14 +45,20 @@ RDEPEND="
 
 RESTRICT="bindist mirror"
 
-QA_PREBUILT="usr/bin/${PN}"
+QA_PREBUILT="opt/${PN}/*"
 
 src_install() {
-	exeinto /usr/bin
+	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_dounit systemd/anydesk.service
+	systemd_newunit "${FILESDIR}"/anydesk-4.0.1.service anydesk.service
 
 	insinto /usr/share/polkit-1/actions
 	doins polkit-1/com.philandro.anydesk.policy
@@ -71,7 +77,7 @@ pkg_postinst() {
 	xdg_desktop_database_update
 	gnome2_icon_cache_update
 
-	if [[ -n ${REPLACING_VERSIONS} ]]; then
+	if [[ -z ${REPLACING_VERSIONS} ]]; then
 		elog "To run AnyDesk as background service use:"
 		elog
 		elog "OpenRC:"

diff --git a/net-misc/anydesk/files/anydesk-4.0.1.service b/net-misc/anydesk/files/anydesk-4.0.1.service
new file mode 100644
index 00000000000..e7a3ef00837
--- /dev/null
+++ b/net-misc/anydesk/files/anydesk-4.0.1.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=AnyDesk
+Requires=network.target
+After=systemd-user-sessions.service
+
+[Service]
+Type=simple
+ExecStart=/opt/bin/anydesk --service
+PIDFile=/var/run/anydesk.pid
+KillMode=mixed
+TimeoutStopSec=30
+User=root
+LimitNOFILE=100000
+
+[Install]
+WantedBy=multi-user.target

diff --git a/net-misc/anydesk/files/anydesk.init b/net-misc/anydesk/files/anydesk.init
index 193f6a24721..5b8986ed8d1 100644
--- a/net-misc/anydesk/files/anydesk.init
+++ b/net-misc/anydesk/files/anydesk.init
@@ -4,7 +4,7 @@
 
 name="AnyDesk service"
 description="AnyDesk global service"
-command="/usr/bin/anydesk"
+command="/opt/bin/anydesk"
 command_args="--service"
 pidfile="/var/run/anydesk.pid"
 command_background=true


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/anydesk/, net-misc/anydesk/files/
@ 2019-09-08 18:05 Joonas Niilola
  0 siblings, 0 replies; 3+ messages in thread
From: Joonas Niilola @ 2019-09-08 18:05 UTC (permalink / raw
  To: gentoo-commits

commit:     18a76f2bc5da862c84965182c0050a5a2dac7a34
Author:     Christian Buchinger <cb-gentoo <AT> guya <DOT> de>
AuthorDate: Sun Sep  8 12:17:40 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Sep  8 18:04:14 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18a76f2b

net-misc/anydesk: Bump to 5.1.2

Closes: https://bugs.gentoo.org/692488
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Christian Buchinger <cb-gentoo <AT> guya.de>
Closes: https://github.com/gentoo/gentoo/pull/12886
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-misc/anydesk/Manifest              |   2 +
 net-misc/anydesk/anydesk-5.1.2.ebuild  | 104 +++++++++++++++++++++++++++++++++
 net-misc/anydesk/files/anydesk.desktop |  12 ++++
 3 files changed, 118 insertions(+)

diff --git a/net-misc/anydesk/Manifest b/net-misc/anydesk/Manifest
index 768f3ea1ac3..dd93fbba0fe 100644
--- a/net-misc/anydesk/Manifest
+++ b/net-misc/anydesk/Manifest
@@ -2,3 +2,5 @@ DIST anydesk-4.0.1-amd64.tar.gz 3663439 BLAKE2B 6d693262569708d0289f9e4b03e15a4d
 DIST anydesk-4.0.1-i686.tar.gz 3658518 BLAKE2B 39bcad58de9b5ae76da5e96e32a8799343e1b6f7f78b3db3d02e675acae1ebbfa5c2a47a043b9d88810644656bce027bc347a783fcccbf37cdf44f986f1a8548 SHA512 e922e296149811a7ef77ae642c9ba73ca9888be57f13b0616ba5008f6837c86245d4b8b3a4b8ab6739a97fffa9b397b20d572c1fae7d5a5b2d909e8ee07112cc
 DIST anydesk-5.0.0-amd64.tar.gz 4258837 BLAKE2B 1ebb7cb70226873e9a2207823a1d66eb6b2dda9846d2921fc4484638f1bb4b9bf1abe4897af38fe7fb4c1c585187121bcf54bda5bd33a48c052fa5021f5cac07 SHA512 f18a3374dfdc62fecb7d47cdc6d43f7ec71433ed06f4c7165056e9b9526acd624305b0409cf1140f85631f8d7b72cf032ff32298ea24781c8e48e58d7e50abf0
 DIST anydesk-5.0.0-i686.tar.gz 4259050 BLAKE2B 43eb38dda82e6846c3e3c47f28f2556d93a4a420ea82639c7be0fc122a4d1bfdeecc5bbe7088687a54a0cc992307bd0ca4502a9c46539e459cea2d362a962622 SHA512 bfe3b39540aec09432343c554ec761072dc688f271bf164c1b3d6cb54271336b5cf35b51a93902bfad2d92d530c186abe108cc250f2a7f88641c66abd42b3c6a
+DIST anydesk-5.1.2-amd64.tar.gz 4502952 BLAKE2B ff59e13161f58d63512da17162e32e52625ac7ab2698053e5183b10bf7971955797194962fa91d77a2f4d72fae4192811382f3c8664c859db637b6ab6adcd82d SHA512 e05fd51b77dbe5d4deace5dc245481a76e9c27f01ae8240da2eb510fb7c6685f5bb0cc6b89920dfb1aea10002f22f2a1e5bdd8d11a4a608224c2becded88f8e7
+DIST anydesk-5.1.2-i386.tar.gz 4498951 BLAKE2B c9e44513dd2c49fa9ac0312e5a91201161905d81a66f15ab3be0b3f65f3f2c638c584191b120998a8a3961528c185844a079461a8d273dac67f314acb7ac1108 SHA512 51cbd953a93591c7551ddcb17450aff43ddf3b93280f902326f43f9a07f5ed4fa7de1e6ea580b4d56bddfbcdd772c3cdfdf3c85233fe8b6783e7fe681a2095af

diff --git a/net-misc/anydesk/anydesk-5.1.2.ebuild b/net-misc/anydesk/anydesk-5.1.2.ebuild
new file mode 100644
index 00000000000..a3bb4194a94
--- /dev/null
+++ b/net-misc/anydesk/anydesk-5.1.2.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit desktop 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 )
+	x86? ( https://download.anydesk.com/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/libXdamage
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libXi
+	x11-libs/libXmu
+	x11-libs/libXrandr
+	x11-libs/libXt
+	x11-libs/libXtst
+	x11-libs/libxcb
+	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
+		elog "AnyDesk might require the following commands/packages"
+		elog "for some functions:"
+		elog "* lsb_release	(sys-apps/lsb-release)"
+		elog "* lsusb		(sys-apps/usbutils)"
+	fi
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+}

diff --git a/net-misc/anydesk/files/anydesk.desktop b/net-misc/anydesk/files/anydesk.desktop
new file mode 100755
index 00000000000..cd4c1e0089f
--- /dev/null
+++ b/net-misc/anydesk/files/anydesk.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Type=Application
+Name=AnyDesk
+GenericName=AnyDesk
+X-GNOME-FullName=AnyDesk
+Exec=/opt/bin/anydesk %u
+Icon=anydesk
+Terminal=false
+TryExec=anydesk
+Categories=Network;GTK;
+MimeType=x-scheme-handler/anydesk;
+Name[de_DE]=AnyDesk


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-08 18:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-17  1:20 [gentoo-commits] repo/gentoo:master commit in: net-misc/anydesk/, net-misc/anydesk/files/ Thomas Deutschmann
  -- strict thread matches above, loose matches on Subject: below --
2018-12-22 23:17 Thomas Deutschmann
2019-09-08 18:05 Joonas Niilola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox