wok diff sudo-pam/receipt @ rev 25039

Up aspell-pl (6.0_20210731-0), icmptx (20190501)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 26 14:53:15 2022 +0000 (2022-05-26)
parents ff210fc49547
children 0be8f2748172
line diff
     1.1 --- a/sudo-pam/receipt	Sun Apr 26 10:56:37 2020 +0100
     1.2 +++ b/sudo-pam/receipt	Thu May 26 14:53:15 2022 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="sudo-pam"
     1.7 -VERSION="1.8.31"
     1.8 +VERSION="1.9.5p2"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="Allows command execution as root for specified users using PAM."
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 @@ -16,6 +16,12 @@
    1.13  DEPENDS="pam"
    1.14  BUILD_DEPENDS="pam-dev"
    1.15  
    1.16 +current_version()
    1.17 +{
    1.18 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.19 +	grep -A 1 'The current' | sed '/>sudo/!d;s|.*>sudo *||;s|<.*||;q'
    1.20 +}
    1.21 +
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {