Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: Viber
Date: Tue, 30 Jul 2019 12:11:44 +0200	[thread overview]
Message-ID: <20190730101144.ncQYYKwf5TQEj5hplZQcH2R0nEM_b2o1oGhY_z8EgWI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13401@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 552 bytes --]

There is an updated pull request by 66Ton99 against master on the void-packages repository

https://github.com/66Ton99/void-packages viber
https://github.com/void-linux/void-packages/pull/13401

New package: Viber
New package: viber-10.3.0_37

It has a problem - it can't be versioned "https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb" it does not have any parameters.
Does exist any way to disable "checksum" it is checks inside "preinst" script?

A patch file from https://github.com/void-linux/void-packages/pull/13401.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-viber-13401.patch --]
[-- Type: text/x-diff, Size: 1683 bytes --]

From 89740a1e5035ce33dc03257af4a6f95a5aad64c7 Mon Sep 17 00:00:00 2001
From: Anton Shapka <anton.shapka@oracle.com>
Date: Mon, 29 Jul 2019 19:25:45 +0300
Subject: [PATCH] New package: Viber

---
 srcpkgs/viber/template | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 srcpkgs/viber/template

diff --git a/srcpkgs/viber/template b/srcpkgs/viber/template
new file mode 100644
index 00000000000..8aa1b263f5b
--- /dev/null
+++ b/srcpkgs/viber/template
@@ -0,0 +1,36 @@
+# Template file for 'viber'
+pkgname=viber
+version=10.3.0
+revision=37
+archs="x86_64"
+build_style=fetch
+short_desc="Viber is a cross-platform VoIP and IM software application"
+license="viber"
+homepage="https://www.viber.com/"
+_openssl_version=1.0-1.0.2.s-1
+distfiles="https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb https://sgp.mirror.pkgbuild.com/core/os/x86_64/openssl-${_openssl_version}-x86_64.pkg.tar.xz"
+checksum="a5d7d99afc8c186643d1393152a4729c4fc805f4241896c2f004c721619efe7c 13c5b5c1a372cf9c481b2beb7e5fc607ccf52173d6075ae10281e4a3da179514"
+nocross=yes
+nostrip=yes
+repository=nonfree
+
+do_extract() {
+	ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/viber.deb
+	unxz data.tar.xz
+	tar xopf data.tar
+	gunzip control.tar.gz
+	tar xopf control.tar
+	unxz -f ${XBPS_SRCDISTDIR}/${pkgname}-${version}/openssl-${_openssl_version}-x86_64.pkg.tar.xz --stdout > openssl.tar
+	mkdir openssl
+	tar xopf openssl.tar -C openssl
+}
+
+do_install() {
+	vcopy usr /
+	vcopy opt /
+	vbin preinst
+	vbin postinst
+	vcopy openssl/usr/lib/libssl.so.1.0.0 /opt/viber/lib/libssl.so
+	vcopy openssl/usr/lib/libcrypto.so.1.0.0 /opt/viber/lib/libcrypto.so
+}
+

      parent reply	other threads:[~2019-07-30 10:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-29 16:41 [PR PATCH] " voidlinux-github
2019-07-29 16:45 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-29 16:45 ` voidlinux-github
2019-07-30  9:55 ` voidlinux-github
2019-07-30  9:55 ` voidlinux-github
2019-07-30 10:11 ` voidlinux-github
2019-07-30 10:11 ` voidlinux-github [this message]

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=20190730101144.ncQYYKwf5TQEj5hplZQcH2R0nEM_b2o1oGhY_z8EgWI@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).