~alpine/aports

testing/opendht: upgrade to 2.4.2 v1 REJECTED

Gavin Henry: 1
 testing/opendht: upgrade to 2.4.2

 1 files changed, 3 insertions(+), 3 deletions(-)
ya, something like:

```
@@ -22,7 +22,10 @@ makedepends="
        samurai
        "
 subpackages="$pkgname-static py3-$pkgname:_py3 $pkgname-libs $pkgname-dev $pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/savoirfairelinux/opendht/archive/refs/tags/$pkgver.tar.gz"
+source="
+       $pkgname-$pkgver.tar.gz::https://github.com/savoirfairelinux/opendht/archive/refs/tags/$pkgver.tar.gz
+       https://github.com/savoirfairelinux/opendht/commit/c39eceeddf38fc9864149b85ef0f7b9e3595900e.patch
+       "
```

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/33461#note_231454
it would be preferred to actually save the patch and commit it instead of a url to it (since those github patch urls change randomly all the time, and then the checksums fail. don't ask me why :p )

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/33461#note_231456
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/4040/mbox | git am -3
Learn more about email & git

[PATCH] testing/opendht: upgrade to 2.4.2 Export this patch

---
 testing/opendht/APKBUILD | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/testing/opendht/APKBUILD b/testing/opendht/APKBUILD
index 1d1a635fb0..df12593f95 100644
--- a/testing/opendht/APKBUILD
+++ b/testing/opendht/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Gavin Henry <ghenry@sentrypeer.org>
# Maintainer: Gavin Henry <ghenry@sentrypeer.org>
pkgname=opendht
pkgver=2.4.0
pkgrel=3
pkgver=2.4.2
pkgrel=0
pkgdesc="C++17 Distributed Hash Table implementation"
url="https://github.com/savoirfairelinux/opendht"
arch="all"
@@ -64,5 +64,5 @@ _py3() {
}

sha512sums="
e7db51f47c5b5254d97c39d67f9b7329c70680bfe5d9f189627332a5fccb3bdf12e420d507dfd5e0fd023109ed5f32d47ccb9c52d0d4bb69cf6178e7e665205a  opendht-2.4.0.tar.gz
254fbaa33cb418f409d16e991154a66a88a6e842d1bf1fe3ba741acad04c3707d3b7becdb3bf575da4c1a91a3bfa93763dbc6dff9839201a52fac824bb6e32c9  opendht-2.4.2.tar.gz
"
-- 
2.35.2
and now it seems like they forgot some includes in the right place :) (this is probably only visible on musl, as there are less things randomly exposed, so generally you need to be more proactive with #include). it's probably as easy to fix as adding a small patch with the right include in the right place

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/33461#note_231292
Thanks. Yeah, the readline fix is in git, I'll do a 2.4.3 when it's out. Wasn't sure it would affect Alpine or not.

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/33461#note_231304
you can just pick this patch into the package until they make a new release: https://github.com/savoirfairelinux/opendht/commit/c39eceeddf38fc9864149b85ef0f7b9e3595900e.patch

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/33461#note_231450
Thanks. And update my APKBUILD with a src? I'll read some examples over the weekend.

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/33461#note_231453
I think 2.4.3 will be out before Monday anyway. I'll close this.

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/33461#note_231517