diff --git a/util/crypt/botan/actions.py b/util/crypt/botan/actions.py
index 53f679a233..53caa6781f 100644
--- a/util/crypt/botan/actions.py
+++ b/util/crypt/botan/actions.py
@@ -2,36 +2,30 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
-# See the file http://www.gnu.org/licenses/gpl.txt
+# See the file https://www.gnu.org/licenses/gpl-3.0.txt
-from pisi.actionsapi import shelltools
-from pisi.actionsapi import autotools
-from pisi.actionsapi import pisitools
-from pisi.actionsapi import pythonmodules
-from pisi.actionsapi import get
+from pisi.actionsapi import pythonmodules, mesontools, pisitools
+
+i = ''.join([
+ ' --prefix=/usr',
+ ' --with-{boost,bzip2,lzma,sqlite3,zlib}',
+ ' --with-python-versions=3.12',
+ ' --with-os-feature=getrandom',
+ ' --disable-static-library',
+ ' --build-tool=ninja',
+ ' ',
+ ])
def setup():
- shelltools.makedirs("build")
- shelltools.cd("build")
+ pythonmodules.run("configure.py %s" % i, pyVer = "3")
- shelltools.system("../configure.py --prefix=/usr \
- --with-bzip \
- --with-lzma \
- --with-zlib \
- --with-boost \
- --with-sqlite3 \
- --with-os-feature=getrandom")
-
def build():
- shelltools.cd("build")
- autotools.make()
+ mesontools.build("-C .")
def check():
- shelltools.cd("build")
- autotools.make("check")
- #pass
+ mesontools.build("-C . check")
def install():
- shelltools.cd("build")
- autotools.rawInstall("DESTDIR=%s" % get.installDIR())
- #pisitools.dodoc("COPYING*", "README")
+ mesontools.install("-C .")
+
+ pisitools.dodoc("license.txt", "doc/authors.txt", "doc/credits.rst")
diff --git a/util/crypt/botan/pspec.xml b/util/crypt/botan/pspec.xml
index 8019d4c338..666cd09619 100644
--- a/util/crypt/botan/pspec.xml
+++ b/util/crypt/botan/pspec.xml
@@ -8,58 +8,63 @@
Kamil Atlı
suvari@pisilinux.org
- BSD
+ BSD-2-Clause
library
botan
- Cryptography Toolkit
- Crypto library written in C++
- https://botan.randombit.net/releases/Botan-3.2.0.tar.xz
+ A C++ cryptography library.
+ Crypto and TLS for Modern C++.
+
+ https://botan.randombit.net/releases/Botan-3.6.1.tar.xz
+
bzip2
+ ninja
+ docutils
xz-devel
zlib-devel
boost-devel
sqlite-devel
python3-devel
-
+
+
+
botan
-
- xz
- zlib
- bzip2
- boost
- libgcc
- sqlite
- python3
-
/usr/bin
- /usr/share/doc
- /usr/lib/python2.7/site-packages
- /usr/lib/python3*/site-packages
- /usr/lib/libbotan*
+ /usr/lib
+ /usr/share
botan-devel
- Development files for botan
+ runtime.header
+ xz-devel
+ zlib-devel
+ boost-devel
+ sqlite-devel
botan
/usr/include
- /usr/lib/pkgconfig
+ /usr/lib/cmake
+ /usr/lib/pkgconfig
+
+ 2025-01-30
+ 3.6.1
+ Version bump.
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2023-11-01
3.2.0