wok diff nagios-plugins/receipt @ rev 24365

created recipe for rubberband-2.0.2
author Hans-G?nter Theisgen
date Fri Feb 04 17:35:01 2022 +0100 (2022-02-04)
parents b15cc3561ef8
children cf5131fd17f5
line diff
     1.1 --- a/nagios-plugins/receipt	Wed Mar 25 19:09:46 2020 +0100
     1.2 +++ b/nagios-plugins/receipt	Fri Feb 04 17:35:01 2022 +0100
     1.3 @@ -15,6 +15,12 @@
     1.4  BUILD_DEPENDS="libmysqlclient mysql-dev openldap-dev openssl-dev \
     1.5  	radiusclient-ng radiusclient-ng-dev procps"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    1.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {