mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
botan, bump versions for botan and botan3 (#9503)
This commit is contained in:
@@ -8,9 +8,9 @@ languages."
|
||||
HOMEPAGE="https://botan.randombit.net/"
|
||||
COPYRIGHT="1999-2022 The Botan Authors"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="5"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/randombit/botan/archive/refs/tags/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="47bb0330255cf1a439db3f2bc91894b2f41788e58eb71d27e0abf36038d93f1e"
|
||||
CHECKSUM_SHA256="8f568bf74c2e476d92ac8a1cfc2ba8407ec038fe9458bd0a11e7da827a9b8199"
|
||||
PATCHES="botan-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
@@ -23,7 +23,7 @@ if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
libVersion="8.8.0"
|
||||
libVersion="19.19.3"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
@@ -6,13 +6,13 @@ hardware support, password hashing, and post quantum crypto schemes. \
|
||||
Botan also has a C89 API specifically designed to be easy to call from other \
|
||||
languages."
|
||||
HOMEPAGE="https://botan.randombit.net/"
|
||||
COPYRIGHT="1999-2022 The Botan Authors"
|
||||
COPYRIGHT="1999-2023 The Botan Authors"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/randombit/botan/archive/refs/tags/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="8bafe2e965fa9ccf92ef5741165d735c9fbbe6376c373bbf5702495ad2dfb814"
|
||||
PATCHES="botan-$portVersion.patchset"
|
||||
CHECKSUM_SHA256="2d0af0c3a7140572f3f7f1a22865f9c5eadc102a7fa58f03314709b0bee26c11"
|
||||
SOURCE_DIR="botan-$portVersion"
|
||||
PATCHES="botan3-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -24,7 +24,7 @@ if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
libVersion="0.0.0"
|
||||
libVersion="0.1.1"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
@@ -50,6 +50,7 @@ REQUIRES_devel="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
gcc${secondaryArchSuffix}_syslibs_devel
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:liblzma$secondaryArchSuffix
|
||||
devel:libsqlite3$secondaryArchSuffix
|
||||
@@ -68,7 +69,7 @@ BUILD_PREREQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
runConfigure --omit-buildspec --omit-dirs binDir ./configure.py \
|
||||
--prefix="$prefix" --bindir="$commandBinDir" \
|
||||
--bindir="$commandBinDir" \
|
||||
--enable-shared-library \
|
||||
--disable-static \
|
||||
--with-bzip2 --with-lzma --with-zlib \
|
||||
@@ -88,7 +89,7 @@ INSTALL()
|
||||
"$developDir"
|
||||
|
||||
# install botan3.py to the wright place
|
||||
local installDir="$prefix/lib/python3.9/vendor-packages"
|
||||
local installDir="$prefix/lib/python3.10/vendor-packages"
|
||||
mkdir -p $installDir
|
||||
cp src/python/botan3.py $installDir
|
||||
}
|
||||
Reference in New Issue
Block a user