Github messages for voidlinux
 help / color / mirror / Atom feed
From: mhmdanas <mhmdanas@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] botan: update to 3.0.0.
Date: Sat, 20 May 2023 21:13:11 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43974@inbox.vuxu.org> (raw)

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

There is a new pull request by mhmdanas against master on the void-packages repository

https://github.com/mhmdanas/void-packages botan-3.0.0
https://github.com/void-linux/void-packages/pull/43974

botan: update to 3.0.0.
<!-- 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 [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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/43974.patch is attached

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

From 4cec06caa7a8387b08779ede9ec57e0f14f4fe92 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Sat, 20 May 2023 20:09:59 +0100
Subject: [PATCH 1/4] botan: update to 3.0.0.

---
 common/shlibs          |  2 +-
 srcpkgs/botan/template | 32 +++++++++++++-------------------
 2 files changed, 14 insertions(+), 20 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 4803f08e1e0f..544cbc677f9e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2909,7 +2909,7 @@ libKDb3.so.4 kdb-3.1.0_1
 libKPropertyWidgets3.so.4 kproperty-3.1.0_1
 libKPropertyCore3.so.4 kproperty-3.1.0_1
 libKReport3.so.4 kreport-3.1.0_1
-libbotan-2.so.19 botan-2.19.1_1
+libbotan-3.so.0 botan-3.0.0_1
 libswipl.so.9 swi-prolog-9.0.0_1
 libpcre2-16.so.0 libpcre2-10.22_1
 libpcre2-32.so.0 libpcre2-10.22_1
diff --git a/srcpkgs/botan/template b/srcpkgs/botan/template
index 6b381a014d66..b5e558af1f36 100644
--- a/srcpkgs/botan/template
+++ b/srcpkgs/botan/template
@@ -1,7 +1,7 @@
 # Template file for 'botan'
 pkgname=botan
-version=2.19.3
-revision=2
+version=3.0.0
+revision=1
 build_style=gnu-makefile
 hostmakedepends="doxygen python3"
 makedepends="bzip2-devel liblzma-devel sqlite-devel zlib-devel"
@@ -11,7 +11,7 @@ license="BSD-2-Clause"
 homepage="https://botan.randombit.net/"
 changelog="https://botan.randombit.net/news.html"
 distfiles="https://botan.randombit.net/releases/Botan-${version}.tar.xz"
-checksum=dae047f399c5a47f087db5d3d9d9e8f11ae4985d14c928d71da1aff801802d55
+checksum=5da552e00fa1c047a90c22eb5f0247ec27e7432b68b78e10a7ce0955269ccad7
 python_version=3
 
 LDFLAGS="-pthread"
@@ -19,15 +19,13 @@ LDFLAGS="-pthread"
 do_configure() {
 	local _args _cpu
 
-	_args="--prefix=/usr"
-	_args+=" --os=linux"
-	_args+=" --with-doxygen"
-	_args+=" --with-bzip2"
-	_args+=" --with-lzma"
-	_args+=" --with-zlib"
-	_args+=" --with-sqlite3"
-	_args+=" --enable-shared"
-	_args+=" --cc=gcc"
+	_args="--prefix=/usr --os=linux --with-doxygen --with-bzip2 --with-lzma
+	 --with-zlib --with-sqlite3 --cc=gcc --build-targets cli
+	 --build-targets shared --build-targets static"
+
+	if [ "$XBPS_CHECK_PKGS" ]; then
+		_args+=" --build-targets tests"
+	fi
 
 	case "$XBPS_TARGET_MACHINE" in
 	i686*)
@@ -36,11 +34,7 @@ do_configure() {
 	x86_64*)
 		_cpu="x86_64"
 		;;
-	armv5*)
-		_cpu="arm"
-		_args+=" --disable-modules=simd"
-		;;
-	armv6*)
+	armv[56]*)
 		_cpu="arm"
 		_args+=" --disable-modules=simd"
 		;;
@@ -90,8 +84,8 @@ botan-devel_package() {
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
 	pkg_install() {
 		vmove usr/include
-		vmove usr/lib/*.a
-		vmove usr/lib/*.so
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
 		vmove usr/lib/pkgconfig
 	}
 }

From 7ebefab79f83b19f8ececbf8496c4d85003b2576 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Sat, 20 May 2023 20:12:15 +0100
Subject: [PATCH 2/4] corectrl: revbump for botan-3.0.0.

---
 srcpkgs/corectrl/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/corectrl/template b/srcpkgs/corectrl/template
index b85385804faa..01447148fb32 100644
--- a/srcpkgs/corectrl/template
+++ b/srcpkgs/corectrl/template
@@ -1,7 +1,7 @@
 # Template file for 'corectrl'
 pkgname=corectrl
 version=1.2.3
-revision=3
+revision=4
 build_style=cmake
 configure_args="-DBUILD_TESTING=OFF"
 hostmakedepends="pkg-config extra-cmake-modules qt5-host-tools qt5-qmake

From 2b1805ebc685f75794146ea654f0ed9a40d09270 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Sat, 20 May 2023 20:12:16 +0100
Subject: [PATCH 3/4] keepassxc: revbump for botan-3.0.0.

---
 srcpkgs/keepassxc/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/keepassxc/template b/srcpkgs/keepassxc/template
index ddc700edc819..348255689f4b 100644
--- a/srcpkgs/keepassxc/template
+++ b/srcpkgs/keepassxc/template
@@ -1,7 +1,7 @@
 # Template file for 'keepassxc'
 pkgname=keepassxc
 version=2.7.5
-revision=1
+revision=2
 build_style=cmake
 configure_args="-DWITH_TESTS=ON -DWITH_XC_UPDATECHECK=OFF -DWITH_XC_DOCS=ON
  -DWITH_XC_AUTOTYPE=$(vopt_if autotype ON OFF)

From 4abd5ffa4b2431e0d1c4bb771e48d2faeff3f2cc Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Sat, 20 May 2023 20:12:17 +0100
Subject: [PATCH 4/4] qownnotes: revbump for botan-3.0.0.

---
 srcpkgs/qownnotes/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/qownnotes/template b/srcpkgs/qownnotes/template
index d79035baacce..11eb98df2b9e 100644
--- a/srcpkgs/qownnotes/template
+++ b/srcpkgs/qownnotes/template
@@ -1,7 +1,7 @@
 # Template file for 'qownnotes'
 pkgname=qownnotes
 version=23.2.3
-revision=1
+revision=2
 build_style=qmake
 hostmakedepends="pkg-config qt5-qmake qt5-host-tools"
 makedepends="botan-devel qt5-declarative-devel qt5-svg-devel

             reply	other threads:[~2023-05-20 19:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-20 19:13 mhmdanas [this message]
2023-07-22 16:51 ` [PR PATCH] [Updated] " mhmdanas
2023-12-01 23:25 ` [PR PATCH] [Updated] botan: update to 3.1.1 mhmdanas
2023-12-02  0:52 ` mhmdanas
2023-12-04 20:53 ` mhmdanas
2024-02-14 11:01 ` [PR PATCH] [Closed]: New package: botan3-3.2.0 mhmdanas

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43974@inbox.vuxu.org \
    --to=mhmdanas@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).