From: mobinmob <mobinmob@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] anydesk: fix eula checksum.
Date: Sat, 07 May 2022 09:16:16 +0200 [thread overview]
Message-ID: <20220507071616.Arr9qiWrBKYhxiMChPG2X4S79RTD3x3_lbAFrS2-mm8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36381@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]
There is an updated pull request by mobinmob against master on the void-packages repository
https://github.com/mobinmob/void-packages anydesk
https://github.com/void-linux/void-packages/pull/36381
anydesk: fix eula checksum.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/36381.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-anydesk-36381.patch --]
[-- Type: text/x-diff, Size: 2190 bytes --]
From d22842faf5a77954d65e8107be70692f940add94 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Sun, 27 Mar 2022 21:26:45 +0300
Subject: [PATCH] anydesk: use the generic upstream tarball for the license.
That fixes the issue with the eula checksums,
thanks @tibequadorian.
---
srcpkgs/anydesk/template | 31 +++++++++++--------------------
1 file changed, 11 insertions(+), 20 deletions(-)
diff --git a/srcpkgs/anydesk/template b/srcpkgs/anydesk/template
index ba95d8775fe1..d22134033508 100644
--- a/srcpkgs/anydesk/template
+++ b/srcpkgs/anydesk/template
@@ -1,10 +1,11 @@
# Template file for 'anydesk'
pkgname=anydesk
version=6.1.1
-revision=1
+revision=2
archs="x86_64"
-create_wrksrc=yes
-hostmakedepends="patchelf rpmextract w3m"
+create_wrksrc="yes"
+hostmakedepends="patchelf rpmextract"
+depends="hicolor-icon-theme"
short_desc="Fast remote desktop application"
maintainer="mobinmob <mobinmob@disroot.org>"
license="custom:Proprietary"
@@ -13,28 +14,18 @@ homepage="https://anydesk.com/remote-desktop"
nopie=yes
restricted=yes
-distfiles="https://download.anydesk.com/linux/anydesk_$version-1_x86_64.rpm"
-checksum=93f8ffb2ec46b7601be7682a4096a23ac19768bc5bcd88afb28a88c90f38867a
+distfiles="https://download.anydesk.com/linux/anydesk_${version}-1_x86_64.rpm
+ https://download.anydesk.com/linux/anydesk-${version}-amd64.tar.gz"
+checksum="93f8ffb2ec46b7601be7682a4096a23ac19768bc5bcd88afb28a88c90f38867a
+ 102e72c75502a4779083320322dd047e2b0c00a25ead7444a00aad1db54325aa"
-_eula_digest=cf42c51d94d40c5890b103a1b2c5b62b5faad7af1e14933cab98dea8066175e8
-
-post_extract() {
- $XBPS_FETCH_CMD -o eula.html https://anydesk.com/en/terms
- < eula.html w3m -dump -I utf-8 -T text/html |
- sed -n '/envelope.p/q;/Terms [&] Conditions/,$p' >eula.txt
-
- filesum="$($XBPS_DIGEST_CMD eula.txt)"
- if [ "$filesum" != $_eula_digest ]; then
- msg_error "EULA changed, new digest: $filesum\n"
- fi
-}
do_build() {
patchelf --remove-needed libpangox-1.0.so.0 usr/bin/anydesk
}
do_install() {
- vcopy usr/share usr
- vbin usr/bin/anydesk
- vlicense eula.txt
+ vlicense "${pkgname}-${version}"/copyright
+ rm -rf "${pkgname}-${version}"
+ vcopy "*" /
}
next prev parent reply other threads:[~2022-05-07 7:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-27 18:27 [PR PATCH] " mobinmob
2022-03-27 18:57 ` tibequadorian
2022-03-27 19:00 ` mobinmob
2022-03-27 19:00 ` mobinmob
2022-03-27 19:50 ` [PR PATCH] [Updated] " mobinmob
2022-03-27 19:52 ` mobinmob
2022-03-27 19:56 ` mobinmob
2022-03-30 18:26 ` [PR REVIEW] " Chocimier
2022-04-02 5:45 ` mobinmob
2022-05-07 7:16 ` mobinmob [this message]
2022-05-07 7:17 ` mobinmob
2022-05-07 17:50 ` [PR PATCH] [Merged]: " Chocimier
-- strict thread matches above, loose matches on Subject: below --
2021-10-23 14:26 [PR PATCH] " mobinmob
2021-10-24 11:39 ` [PR PATCH] [Updated] " mobinmob
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220507071616.Arr9qiWrBKYhxiMChPG2X4S79RTD3x3_lbAFrS2-mm8@z \
--to=mobinmob@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).