aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2020-03-19 06:47:17 +0200
committerAndy Postnikov <apostnikov@gmail.com>2020-06-13 19:58:06 +0000
commited9f312cf3d62edea24ae3b483aaac443868313e (patch)
tree9ded1c86945956339cb114587932b57ad7a65544
parent483288e288dc7081c8bb8229aea0de5db38f7c31 (diff)
downloadaports-ed9f312cf3d62edea24ae3b483aaac443868313e.tar.gz
aports-ed9f312cf3d62edea24ae3b483aaac443868313e.tar.bz2
aports-ed9f312cf3d62edea24ae3b483aaac443868313e.tar.xz
community/namecoin: upgrade to 0.20.0
Co-authored-by: Leo <thinkabit.ukim@gmail.com>
-rw-r--r--community/namecoin/APKBUILD23
-rw-r--r--community/namecoin/boost-1.72.patch24
-rw-r--r--community/namecoin/skip-fs-test-utf8.patch13
3 files changed, 11 insertions, 49 deletions
diff --git a/community/namecoin/APKBUILD b/community/namecoin/APKBUILD
index 0ded724bd5..39a643310b 100644
--- a/community/namecoin/APKBUILD
+++ b/community/namecoin/APKBUILD
@@ -1,9 +1,8 @@
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=namecoin
-pkgver=0.18.1
-_ver=${pkgver/_/}
-pkgrel=7
+pkgver=0.20.0
+pkgrel=0
pkgdesc="Namecoin is a peer to peer DNS based on bitcoin"
url="https://www.namecoin.org/"
arch="all !s390x !mips !mips64"
@@ -14,17 +13,19 @@ makedepends="$depends_dev autoconf automake libtool boost-dev openssl-dev
install="$pkgname.post-install $pkgname.pre-install"
subpackages="$pkgname-dev $pkgname-qt $pkgname-cli $pkgname-tx $pkgname-tests $pkgname-bench
$pkgname-doc $pkgname-openrc"
-source="$pkgname-$_ver.tar.gz::https://github.com/$pkgname/$pkgname-core/archive/nc${_ver}.tar.gz
- skip-fs-test-utf8.patch
+source="$pkgname-$pkgver.tar.gz::https://github.com/namecoin/namecoin-core/archive/nc$pkgver.tar.gz
ssize_t.patch
- boost-1.72.patch
$pkgname.initd
$pkgname.conf
"
-builddir="$srcdir/$pkgname-core-nc$_ver"
+builddir="$srcdir/$pkgname-core-nc$pkgver"
-build() {
+prepare() {
+ default_prepare
./autogen.sh
+}
+
+build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -40,7 +41,7 @@ build() {
}
check() {
- export LC_ALL="C.UTF-8"
+ export LC_ALL=C; unset LANGUAGE
make check
}
@@ -89,9 +90,7 @@ dev() {
mv "$pkgdir"/usr/include "$subpkgdir"/usr/
}
-sha512sums="5ce720b8fa52a0451a7444922453b0d3a3e01d8d1e39889cdfc341ac834c109e9a24749fb2269d141183e3b9b295d32eabfbdec0259376a699edd82aa5427a84 namecoin-0.18.1.tar.gz
-e9a1151af56dcef37720991452ab29fb2661166f2d755d5336ef606e6029a21b1a6d09b1a4da34955f0b97cd1a4febb19a8270e6f31f9fbbd271f19fe676468a skip-fs-test-utf8.patch
+sha512sums="744898b1f028655bcf63d84cd269d4fecc484f07aa6eb6313f0467d7b1ad4695e812ba764885eb23d2e48c18a31deced4e377ed8ab7a63d915743ab792a802f3 namecoin-0.20.0.tar.gz
98aa5ad81bdb4ae961b791bc978c39117cdf2d83c2181f92bebbb0db107d9b6e86eda265fb3f93ff8a5ca8a7754d7148818b98095d57201dff9363d60b97e7dd ssize_t.patch
-10e01c26b4e86412ff65bc1f5a8b6765e44d2e032440451130f2679eac431379c17784465574aebf169a61da08d60ff0ecb2d31bcc88943b4486cc2b621743fb boost-1.72.patch
1753132f349e02cc248a622eb17f2f98a180d561d46f2e8916b84cc26c98d546214ca305bb1ea378ae14090c0abf8d6ac257c98c6776bbe4dabd68c108f595a3 namecoin.initd
3f92cb9a5f66d0e9e3792691b2e62b929c092030273bb87ebd9564e0c02196a5a9f69c458162f1b35099ac28e9b79b1c4035144b9d2dae4ad3e87d05a40d7ed4 namecoin.conf"
diff --git a/community/namecoin/boost-1.72.patch b/community/namecoin/boost-1.72.patch
deleted file mode 100644
index 8a85ddbab2..0000000000
--- a/community/namecoin/boost-1.72.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From a5929130223973636f3fd25fbfaf2953f2ec96a9 Mon Sep 17 00:00:00 2001
-From: Jan Beich <jbeich@FreeBSD.org>
-Date: Fri, 25 Oct 2019 13:05:17 +0000
-Subject: [PATCH] http: add missing header bootlegged by boost < 1.72
-
-httpserver.cpp:74:10: error: no template named 'deque' in namespace 'std'
- std::deque<std::unique_ptr<WorkItem>> queue;
- ~~~~~^
----
- src/httpserver.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/httpserver.cpp b/src/httpserver.cpp
-index 811377718..d9c711332 100644
---- a/src/httpserver.cpp
-+++ b/src/httpserver.cpp
-@@ -15,6 +15,7 @@
- #include <sync.h>
- #include <ui_interface.h>
-
-+#include <deque>
- #include <memory>
- #include <stdio.h>
- #include <stdlib.h>
diff --git a/community/namecoin/skip-fs-test-utf8.patch b/community/namecoin/skip-fs-test-utf8.patch
deleted file mode 100644
index 385b875253..0000000000
--- a/community/namecoin/skip-fs-test-utf8.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/test/fs_tests.cpp b/src/test/fs_tests.cpp
-index 93aee10..4a01e2e 100644
---- a/src/test/fs_tests.cpp
-+++ b/src/test/fs_tests.cpp
-@@ -14,7 +14,7 @@ BOOST_AUTO_TEST_CASE(fsbridge_fstream)
- fs::path tmpfolder = SetDataDir("fsbridge_fstream");
- // tmpfile1 should be the same as tmpfile2
- fs::path tmpfile1 = tmpfolder / "fs_tests_₿_🏃";
-- fs::path tmpfile2 = tmpfolder / L"fs_tests_₿_🏃";
-+ fs::path tmpfile2 = tmpfolder / "fs_tests_₿_🏃";
- {
- fsbridge::ofstream file(tmpfile1);
- file << "bitcoin";