wok diff openldap/receipt @ rev 25096
created recipe for wordgrinder
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 18 15:13:12 2022 +0100 (2022-06-18) |
parents | d7522d21c4d3 |
children |
line diff
1.1 --- a/openldap/receipt Sat Feb 19 19:01:32 2022 +0000 1.2 +++ b/openldap/receipt Sat Jun 18 15:13:12 2022 +0100 1.3 @@ -19,8 +19,8 @@ 1.4 # What is the latest version available today? 1.5 current_version() 1.6 { 1.7 - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ 1.8 - sed "/latest/d;/stable/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q 1.9 + wget -O - 'https://git.openldap.org/openldap/openldap/-/tags?sort=updated_desc' 2>/dev/null | \ 1.10 + sed '/item-title/!d;s|.*">[A-Z_]*||;s|<.*||;s|_|.|g;q' 1.11 } 1.12 1.13 # Rules to configure and make the package.