testing/log4cxx: security upgrade to 1.1.0

This commit is contained in:
J0WI 2023-05-07 23:33:54 +02:00 committed by alice
parent 578fd07303
commit 25fbffbb7f

View File

@ -1,18 +1,22 @@
# Contributor: Russ Webber <russ@rw.id.au>
# Maintainer: Russ Webber <russ@rw.id.au>
pkgname=log4cxx
pkgver=1.0.0
pkgrel=1
pkgver=1.1.0
pkgrel=0
pkgdesc="C++ port of the Log4j logging framework"
url="http://logging.apache.org/log4cxx"
license="Apache-2.0"
options="!check" # testsuite in 0.10.0 does not work on alpine
options="!check" # testsuite in 1.1.0 does not work on alpine
subpackages="$pkgname-dev"
arch="all"
makedepends="cmake zip libxml2-dev apr-util-dev samurai"
source="https://archive.apache.org/dist/logging/log4cxx/$pkgver/apache-log4cxx-$pkgver.tar.gz"
builddir="$srcdir/apache-$pkgname-$pkgver"
# secfixes:
# 1.1.0-r0:
# - CVE-2023-31038
build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
@ -29,7 +33,7 @@ build() {
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE ctest --test-dir build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest --test-dir build -E sizebasedrollingtest
}
package() {
@ -37,5 +41,5 @@ package() {
}
sha512sums="
a6b928d7b5b4fb60a67504be082f436a6d1a750b752a89df51d0660670b6c008e7376cf56c1749fd5fc17777ae8a2d957f72879c9a89487ecb0f179999dc1283 apache-log4cxx-1.0.0.tar.gz
66a66eab933a6afd0779e3f73f65afa4fb82481208b591fd7c7c86ded805f50abcd9cdf954bdb49e1e7f5198e6c1c4fff8a7e180ff5fff9491f1946e9ba6fe2b apache-log4cxx-1.1.0.tar.gz
"