wok diff libmcs/receipt @ rev 24779

thttpd: race condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 18:08:11 2022 +0000 (2022-03-19)
parents eeba7ab1dffe
children 00e3b45c063b
line diff
     1.1 --- a/libmcs/receipt	Thu Jan 24 18:16:34 2019 +0100
     1.2 +++ b/libmcs/receipt	Sat Mar 19 18:08:11 2022 +0000
     1.3 @@ -7,12 +7,19 @@
     1.4  MAINTAINER="mimas@slitaz.org"
     1.5  LICENSE="BSD"
     1.6  TARBALL="$PACKAGE-$VERSION.tgz"
     1.7 -WEB_SITE="https://github.com/atheme-legacy/libmcs/"
     1.8 +WEB_SITE="https://github.com/atheme-legacy/libmcs"
     1.9  WGET_URL="http://distfiles.atheme.org/$TARBALL"
    1.10  
    1.11  DEPENDS="libmowgli"
    1.12  BUILD_DEPENDS="libmowgli-dev"
    1.13  
    1.14 +# What is the latest version available today?
    1.15 +current_version()
    1.16 +{
    1.17 +	wget -O - $WEB_SITE/tags 2>/dev/null | \
    1.18 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    1.19 +}
    1.20 +
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {