wok diff php-auth-pam/receipt @ rev 25842

remove web-tweetdeck
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 15 11:37:45 2025 +0000 (3 months ago)
parents 73f36875e5a7
children
line diff
     1.1 --- a/php-auth-pam/receipt	Thu Mar 09 18:12:54 2023 +0000
     1.2 +++ b/php-auth-pam/receipt	Thu May 15 11:37:45 2025 +0000
     1.3 @@ -13,6 +13,13 @@
     1.4  DEPENDS="php-apache pam"
     1.5  BUILD_DEPENDS="php-dev pam pam-dev autoconf automake sed coreutils-conditions"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    1.11 +	sed '/orig.tar.gz/!d;s|.*pam_||;s|.orig.*||;q'
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {
    1.17 @@ -38,6 +45,7 @@
    1.18  	cp -a $install/usr/lib/php/extensions/*/*.so $fs/usr/share/php
    1.19  }
    1.20  
    1.21 +# Post install/remove commands for Tazpkg.
    1.22  post_install()
    1.23  {
    1.24  	grep -q ^extension=pam_auth.so "$1/etc/php.ini" || \