wok rev 24006

Up sudo (1.9.5p2) CVE-2021-3156
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 29 15:14:04 2021 +0000 (2021-01-29)
parents b553f83f6fb9
children 296c9ca231aa
files sudo-pam/receipt sudo/receipt
line diff
     1.1 --- a/sudo-pam/receipt	Tue Jan 19 09:09:36 2021 +0000
     1.2 +++ b/sudo-pam/receipt	Fri Jan 29 15:14:04 2021 +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  {
     2.1 --- a/sudo/receipt	Tue Jan 19 09:09:36 2021 +0000
     2.2 +++ b/sudo/receipt	Fri Jan 29 15:14:04 2021 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="sudo"
     2.7 -VERSION="1.8.31"
     2.8 +VERSION="1.9.5p2"
     2.9  CATEGORY="security"
    2.10  SHORT_DESC="Allows command execution as root for specified users."
    2.11  MAINTAINER="erjo@slitaz.org"
    2.12 @@ -13,6 +13,12 @@
    2.13  
    2.14  CONFIG_FILES="/etc/sudoers"
    2.15  
    2.16 +current_version()
    2.17 +{
    2.18 +	wget -O - $WEB_SITE 2>/dev/null | \
    2.19 +	grep -A 1 'The current' | sed '/>sudo/!d;s|.*>sudo *||;s|<.*||;q'
    2.20 +}
    2.21 +
    2.22  # Rules to configure and make the package.
    2.23  compile_rules()
    2.24  {