wok annotate neon/receipt @ rev 25496

Up expat (2.5.0), CVE-2022-43680. Again.
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 02 10:26:08 2022 +0000 (18 months ago)
parents 241fb98cab1c
children
rev   line source
erjo@1217 1 # SliTaz package receipt.
erjo@1217 2
erjo@1217 3 PACKAGE="neon"
Hans-G?nter@24963 4 VERSION="0.32.2"
pascal@1423 5 CATEGORY="development"
Hans-G?nter@21537 6 TAGS="http webdav"
Hans-G?nter@21537 7 SHORT_DESC="Neon HTTP and WebDAV client library."
erjo@1217 8 MAINTAINER="lehswe@gmail.com"
pascal@15584 9 LICENSE="GPL2"
Hans-G?nter@24963 10 WEB_SITE="https://notroj.github.io/neon/"
Hans-G?nter@21537 11
erjo@1217 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24963 13 WGET_URL="https://notroj.github.io/$PACKAGE/$TARBALL"
erjo@1217 14
Hans-G?nter@21537 15 DEPENDS="expat libcomerr3 libkrb5 libssl zlib"
Hans-G?nter@24963 16 BUILD_DEPENDS="expat-dev libxml2-dev openssl-dev xmlto zlib-dev"
pascal@15584 17
pascal@24453 18 # What is the latest version available today?
pascal@24453 19 current_version()
pascal@24453 20 {
pascal@24453 21 wget -O - https://notroj.github.io/neon/ 2>/dev/null | \
pascal@24453 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24453 23 }
pascal@24453 24
erjo@1217 25 # Rules to configure and make the package.
erjo@1217 26 compile_rules()
erjo@1217 27 {
Hans-G?nter@21537 28 ./configure \
Hans-G?nter@21537 29 --prefix=/usr \
Hans-G?nter@21537 30 --infodir=/usr/share/info \
Hans-G?nter@21537 31 --with-ssl=openssl \
Hans-G?nter@21537 32 --mandir=/usr/share/man \
Hans-G?nter@21537 33 --enable-shared \
Hans-G?nter@21537 34 --disable-static \
Hans-G?nter@24963 35 --with-libxml2 \
Hans-G?nter@21537 36 $CONFIGURE_ARGS &&
pascal@1465 37 make &&
Hans-G?nter@24963 38 make install DESTDIR=$DESTDIR
erjo@1217 39 }
erjo@1217 40
erjo@1217 41 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1217 42 genpkg_rules()
erjo@1217 43 {
Hans-G?nter@24963 44 cook_copy_folders bin
Hans-G?nter@24963 45 cook_copy_files *.so*
erjo@1217 46 }