From: Piraty <Piraty@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] toxcore: update to 0.2.18.
Date: Fri, 30 Sep 2022 23:54:07 +0200 [thread overview]
Message-ID: <20220930215407.QmMuoX9zPw_Q19ycGk7Gsr1UGRLB6OFcBhODOoLWEMc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39499@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 415 bytes --]
There is an updated pull request by Piraty against master on the void-packages repository
https://github.com/Piraty/void-packages toxcore-0.2.18
https://github.com/void-linux/void-packages/pull/39499
toxcore: update to 0.2.18.
#### Testing the changes
- I tested the changes in this PR: **YES** (with qtox and toxic)
A patch file from https://github.com/void-linux/void-packages/pull/39499.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-toxcore-0.2.18-39499.patch --]
[-- Type: text/x-diff, Size: 2575 bytes --]
From b2dce70c707d13a0c3483e8e740b7ddce27b9bc8 Mon Sep 17 00:00:00 2001
From: Piraty <piraty1@inbox.ru>
Date: Wed, 28 Sep 2022 00:17:45 +0200
Subject: [PATCH] toxcore: update to 0.2.18, add tox-bootstrapd service, adopt
---
srcpkgs/toxcore/files/tox-bootstrapd/run | 4 ++++
srcpkgs/toxcore/template | 24 ++++++++++++++++++------
2 files changed, 22 insertions(+), 6 deletions(-)
create mode 100755 srcpkgs/toxcore/files/tox-bootstrapd/run
diff --git a/srcpkgs/toxcore/files/tox-bootstrapd/run b/srcpkgs/toxcore/files/tox-bootstrapd/run
new file mode 100755
index 000000000000..e9acbdd6ee95
--- /dev/null
+++ b/srcpkgs/toxcore/files/tox-bootstrapd/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+exec chpst -u _tox_bootstrapd tox-bootstrapd --foreground ${OPTS:-"--config=/etc/tox-bootstrapd.conf"}
diff --git a/srcpkgs/toxcore/template b/srcpkgs/toxcore/template
index 863ef10268af..d43928dfa5ac 100644
--- a/srcpkgs/toxcore/template
+++ b/srcpkgs/toxcore/template
@@ -1,22 +1,34 @@
# Template file for 'toxcore'
pkgname=toxcore
-version=0.2.13
+version=0.2.18
revision=1
wrksrc="c-toxcore-${version}"
build_style=cmake
-configure_args="-DMUST_BUILD_TOXAV=ON -DBUILD_TOXAV=ON"
+configure_args="-DMUST_BUILD_TOXAV=ON -DBUILD_TOXAV=ON -DDHT_BOOTSTRAP=OFF
+ -DBOOTSTRAP_DAEMON=ON"
hostmakedepends="pkg-config"
makedepends="libconfig-devel libsodium-devel libvpx-devel opus-devel"
short_desc="Encrypted peer-to-peer instant messenger protocol library"
-maintainer="Spencer Hill <spencernh77@gmail.com>"
+maintainer="Piraty <piraty1@inbox.ru>"
license="GPL-3.0-or-later"
homepage="https://tox.chat"
changelog="https://raw.githubusercontent.com/TokTok/c-toxcore/master/CHANGELOG.md"
-distfiles="https://github.com/TokTok/c-toxcore/archive/v${version}.tar.gz"
-checksum=67114fa57504c58b695f5dce8ef85124d555f2c3c353d0d2615e6d4845114ab8
+distfiles="https://github.com/TokTok/c-toxcore/releases/download/v${version}/c-toxcore-${version}.tar.gz"
+checksum=f2940537998863593e28bc6a6b5f56f09675f6cd8a28326b7bc31b4836c08942
+
+conf_files="/etc/tox-bootstrapd.conf"
+system_accounts="_tox_bootstrapd"
+make_dirs="/var/lib/tox-bootstrapd 0700 _tox_bootstrapd _tox_bootstrapd"
+_tox_bootstrapd_homedir="/var/lib/tox-bootstrapd"
+_tox_bootstrapd_desc="Account to run Tox's DHT bootstrap daemon"
+
+if [ "${XBPS_CHECK_PKGS}" ]; then
+ configure_args+=" -DAUTOTEST=ON"
+fi
post_install() {
- vsconf other/bootstrap_daemon/tox-bootstrapd.conf
+ vconf other/bootstrap_daemon/tox-bootstrapd.conf
+ vsv tox-bootstrapd
}
toxcore-devel_package() {
next prev parent reply other threads:[~2022-09-30 21:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-28 0:01 [PR PATCH] " Piraty
2022-09-28 0:02 ` [PR PATCH] [Updated] " Piraty
2022-09-28 0:03 ` Piraty
2022-09-30 21:52 ` Piraty
2022-09-30 21:54 ` Piraty [this message]
2022-10-02 19:20 ` [PR PATCH] [Merged]: " Piraty
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=20220930215407.QmMuoX9zPw_Q19ycGk7Gsr1UGRLB6OFcBhODOoLWEMc@z \
--to=piraty@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).