wok rev 24083

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 10 11:40:16 2021 +0000 (2 months ago)
parents 4bae0fb81a17
children 7344f15111e2
files blender/receipt couchdb/receipt dconf/receipt eaccelerator/receipt erlang/receipt fbida/receipt freedoom/receipt gdal/receipt gnome-commander/receipt gnuradio/receipt go/receipt icedtea6-jdk/receipt kivy/receipt libimobiledevice/receipt linphone/receipt mpd/receipt nagios-plugins/receipt nvidia-96xx/receipt passenger/receipt pingus/receipt postgis/receipt ptlib/receipt puppet/receipt pygoocanvas/receipt redis/receipt ruby-ncurses/receipt virtualbox-ose/receipt
line diff
     1.1 --- a/blender/receipt	Fri Jul 09 18:20:09 2021 +0000
     1.2 +++ b/blender/receipt	Sat Jul 10 11:40:16 2021 +0000
     1.3 @@ -24,6 +24,12 @@
     1.4  	libsdl-dev mesa-dev openal-dev openexr-dev openjpeg-dev pkg-config 
     1.5  	py3k-dev py3k-numpy tiff-dev xorg-libXmu yasm"
     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  {
     2.1 --- a/couchdb/receipt	Fri Jul 09 18:20:09 2021 +0000
     2.2 +++ b/couchdb/receipt	Sat Jul 10 11:40:16 2021 +0000
     2.3 @@ -15,6 +15,12 @@
     2.4  DEPENDS="erlang icu openssl util-linux-getopt spidermonkey libcurl curl"
     2.5  BUILD_DEPENDS="erlang openssl-dev spidermonkey-dev curl-dev icu-dev"
     2.6  
     2.7 +current_version()
     2.8 +{
     2.9 +	wget -O - $WEB_SITE 2>/dev/null | \
    2.10 +	sed '/DOWNLOAD/!d;s|.*version">||;s| .*||'
    2.11 +}
    2.12 +
    2.13  # Rules to configure and make the package.
    2.14  compile_rules()
    2.15  {
     3.1 --- a/dconf/receipt	Fri Jul 09 18:20:09 2021 +0000
     3.2 +++ b/dconf/receipt	Sat Jul 10 11:40:16 2021 +0000
     3.3 @@ -16,6 +16,13 @@
     3.4  GENERIC_MENUS="no"
     3.5  GENERIC_PIXMAPS="no"
     3.6  
     3.7 +current_version()
     3.8 +{
     3.9 +	wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE/ 2>/dev/null | \
    3.10 +	sed '/href="[0-9]/!d;s|.*href="\(.*\)/".*|\1|' | sort -Vr | sed q) 2>/dev/null | \
    3.11 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    3.12 +}
    3.13 +
    3.14  # Rules to configure and make the package.
    3.15  compile_rules()
    3.16  {
     4.1 --- a/eaccelerator/receipt	Fri Jul 09 18:20:09 2021 +0000
     4.2 +++ b/eaccelerator/receipt	Sat Jul 10 11:40:16 2021 +0000
     4.3 @@ -14,6 +14,12 @@
     4.4  DEPENDS="php m4"
     4.5  BUILD_DEPENDS="php-dev sed coreutils-conditions"	# gawk re2c
     4.6  
     4.7 +current_version()
     4.8 +{
     4.9 +	wget -O - https://github.com/eaccelerator/eaccelerator/releases 2>/dev/null | \
    4.10 +	sed '/refs.tags/!d;/-rc/d;/tar.gz/!d;s|.*refs.tags.v*\(.*\).tar.*|\1|;q'
    4.11 +}
    4.12 +
    4.13  # Rules to configure and make the package.
    4.14  compile_rules()
    4.15  {
     5.1 --- a/erlang/receipt	Fri Jul 09 18:20:09 2021 +0000
     5.2 +++ b/erlang/receipt	Sat Jul 10 11:40:16 2021 +0000
     5.3 @@ -18,6 +18,12 @@
     5.4  BUILD_DEPENDS="autoconf gcc+gcj icedtea6-jdk libxslt ncurses-dev 
     5.5  	openssl-dev perl unixODBC-dev wxWidgets-dev"
     5.6  
     5.7 +current_version()
     5.8 +{
     5.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    5.10 +	sed '/otp_src_[0-9]/!d;/tar/!d;/-rc/d;s|.*otp_src_\(.*\).tar.*".*|\1|' | sort -Vr | sed q
    5.11 +}
    5.12 +
    5.13  # Rules to configure and make the package.
    5.14  compile_rules()
    5.15  {
     6.1 --- a/fbida/receipt	Fri Jul 09 18:20:09 2021 +0000
     6.2 +++ b/fbida/receipt	Sat Jul 10 11:40:16 2021 +0000
     6.3 @@ -16,6 +16,12 @@
     6.4  BUILD_DEPENDS="freetype-dev fontconfig-dev libexif-dev curl-dev jpeg-dev \
     6.5  libpng-dev tiff-dev openmotif-dev"
     6.6  
     6.7 +current_version()
     6.8 +{
     6.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    6.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    6.11 +}
    6.12 +
    6.13  # Rules to configure and make the package.
    6.14  compile_rules()
    6.15  {
     7.1 --- a/freedoom/receipt	Fri Jul 09 18:20:09 2021 +0000
     7.2 +++ b/freedoom/receipt	Sat Jul 10 11:40:16 2021 +0000
     7.3 @@ -12,6 +12,12 @@
     7.4  
     7.5  BUILD_DEPENDS="deutex-devel python git ghostscript imagemagick htmldoc"
     7.6  
     7.7 +current_version()
     7.8 +{
     7.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    7.10 +	sed "/$PACKAGE-v*[0-9]/!d;/tar/!d;/-rc/d;/-beta/d;s|.*$PACKAGE-v*\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    7.11 +}
    7.12 +
    7.13  # Rules to configure and make the package.
    7.14  compile_rules()
    7.15  {
     8.1 --- a/gdal/receipt	Fri Jul 09 18:20:09 2021 +0000
     8.2 +++ b/gdal/receipt	Sat Jul 10 11:40:16 2021 +0000
     8.3 @@ -14,6 +14,13 @@
     8.4  BUILD_DEPENDS="python-dev postgresql-dev geos-dev proj-dev curl-dev \
     8.5  swig tiff-dev jasper-dev jpeg-dev file"
     8.6  
     8.7 +current_version()
     8.8 +{
     8.9 +	wget -O - $(dirname $WGET_URL)/$(wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    8.10 +	sed '/href="[0-9]/!d;s|.*href="\(.*\)/".*|\1|' | sort -Vr | sed q) 2>/dev/null | \
    8.11 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    8.12 +}
    8.13 +
    8.14  # Rules to configure and make the package.
    8.15  compile_rules()
    8.16  {
     9.1 --- a/gnome-commander/receipt	Fri Jul 09 18:20:09 2021 +0000
     9.2 +++ b/gnome-commander/receipt	Sat Jul 10 11:40:16 2021 +0000
     9.3 @@ -18,6 +18,13 @@
     9.4  taglib-dev libgsf-dev poppler-dev chmlib-dev lcms-dev flex python-dev \
     9.5  util-linux-uuid-dev libunique-dev"
     9.6  
     9.7 +current_version()
     9.8 +{
     9.9 +	wget -O - $(dirname $WGET_URL)/$(wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    9.10 +	sed '/href="[0-9]/!d;s|.*href="\(.*\)/".*|\1|' | sort -Vr | sed q) 2>/dev/null | \
    9.11 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    9.12 +}
    9.13 +
    9.14  # Rules to configure and make the package.
    9.15  compile_rules()
    9.16  {
    10.1 --- a/gnuradio/receipt	Fri Jul 09 18:20:09 2021 +0000
    10.2 +++ b/gnuradio/receipt	Sat Jul 10 11:40:16 2021 +0000
    10.3 @@ -22,6 +22,12 @@
    10.4  	pygtk-dev python-cheetah python-lxml python-mako python-numpy \
    10.5  	python-six python-sphinx swig"
    10.6  
    10.7 +current_version()
    10.8 +{
    10.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   10.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;/rc[0-9]/d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   10.11 +}
   10.12 +
   10.13  # Rules to configure and make the package.
   10.14  compile_rules()
   10.15  {
    11.1 --- a/go/receipt	Fri Jul 09 18:20:09 2021 +0000
    11.2 +++ b/go/receipt	Sat Jul 10 11:40:16 2021 +0000
    11.3 @@ -14,6 +14,12 @@
    11.4  DEPENDS=""
    11.5  BUILD_DEPENDS="bash bison make ed wget"
    11.6  
    11.7 +current_version()
    11.8 +{
    11.9 +	wget -O - https://golang.org/dl 2>/dev/null | \
   11.10 +	sed '/go[0-9]/!d;/src/!d;s|.*/dl/go\(.*\).src.*".*|\1|;q'
   11.11 +}
   11.12 +
   11.13  # Rules to configure and make the package.
   11.14  compile_rules()
   11.15  {
    12.1 --- a/icedtea6-jdk/receipt	Fri Jul 09 18:20:09 2021 +0000
    12.2 +++ b/icedtea6-jdk/receipt	Sat Jul 10 11:40:16 2021 +0000
    12.3 @@ -32,6 +32,12 @@
    12.4  jdk6-jaxp-$openjdk_version.zip jdk6-jaf-$openjdk_version.zip \
    12.5  openjdk-6-src-$openjdk_version-$openjdk_date.tar.gz"
    12.6  
    12.7 +current_version()
    12.8 +{
    12.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   12.10 +	sed "/$SOURCE-[0-9]/!d;/tar/!d;/rc[0-9]/d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   12.11 +}
   12.12 +
   12.13  # Rules to configure and make the package.
   12.14  compile_rules()
   12.15  {
    13.1 --- a/kivy/receipt	Fri Jul 09 18:20:09 2021 +0000
    13.2 +++ b/kivy/receipt	Sat Jul 10 11:40:16 2021 +0000
    13.3 @@ -16,6 +16,12 @@
    13.4  BUILD_DEPENDS="glew-dev gstreamer-1.0-dev libsdl2-dev libsdl2-image-dev
    13.5  	libsdl2-mixer-dev libsdl2-ttf-dev mesa-dev python-cython python-dev"
    13.6  
    13.7 +current_version()
    13.8 +{
    13.9 +	wget -O - https://github.com/kivy/kivy 2>/dev/null | \
   13.10 +	sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
   13.11 +}
   13.12 +
   13.13  # Rules to configure and make the package.
   13.14  compile_rules()
   13.15  {
    14.1 --- a/libimobiledevice/receipt	Fri Jul 09 18:20:09 2021 +0000
    14.2 +++ b/libimobiledevice/receipt	Sat Jul 10 11:40:16 2021 +0000
    14.3 @@ -14,6 +14,12 @@
    14.4  BUILD_DEPENDS="gnutls-dev glib-dev libplist-dev usbmuxd-dev python-dev swig \
    14.5  libgnutls"
    14.6  
    14.7 +current_version()
    14.8 +{
    14.9 +	wget -O - https://github.com/libimobiledevice/libimobiledevice 2>/dev/null | \
   14.10 +	sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
   14.11 +}
   14.12 +
   14.13  # Rules to configure and make the package.
   14.14  compile_rules()
   14.15  {
    15.1 --- a/linphone/receipt	Fri Jul 09 18:20:09 2021 +0000
    15.2 +++ b/linphone/receipt	Sat Jul 10 11:40:16 2021 +0000
    15.3 @@ -16,6 +16,14 @@
    15.4  BUILD_DEPENDS="cmake exosip-dev ffmpeg-dev glib-dev gtk+-dev intltool 
    15.5  	libglade-dev libsdl-dev libv4l-dev osip-dev speex-dev xorg-libXv-dev"
    15.6  
    15.7 +current_version()
    15.8 +{
    15.9 +	local base=http://download-mirror.savannah.gnu.org/releases/linphone
   15.10 +	wget -O - $base/$(wget -O - $base 2>/dev/null | \
   15.11 +	sed '/href="[0-9]/!d;s|.*href="\(.*\)/".*|\1|' | sort -Vr | sed q)/sources/ 2>/dev/null | \
   15.12 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   15.13 +}
   15.14 +
   15.15  # Rules to configure and make the package.
   15.16  compile_rules()
   15.17  {
    16.1 --- a/mpd/receipt	Fri Jul 09 18:20:09 2021 +0000
    16.2 +++ b/mpd/receipt	Sat Jul 10 11:40:16 2021 +0000
    16.3 @@ -21,6 +21,12 @@
    16.4  
    16.5  HOST_ARCH="i486 arm"
    16.6  
    16.7 +current_version()
    16.8 +{
    16.9 +	wget -O - $WEB_SITE 2>/dev/null | \
   16.10 +	sed '/released/!d;s|.*MPD ||;s| .*||;q'
   16.11 +}
   16.12 +
   16.13  # Handle SliTaz arch
   16.14  case "$SLITAZ_ARCH" in
   16.15  	arm)
    17.1 --- a/nagios-plugins/receipt	Fri Jul 09 18:20:09 2021 +0000
    17.2 +++ b/nagios-plugins/receipt	Sat Jul 10 11:40:16 2021 +0000
    17.3 @@ -15,6 +15,12 @@
    17.4  BUILD_DEPENDS="libmysqlclient mysql-dev openldap-dev openssl-dev \
    17.5  	radiusclient-ng radiusclient-ng-dev procps"
    17.6  
    17.7 +current_version()
    17.8 +{
    17.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   17.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   17.11 +}
   17.12 +
   17.13  # Rules to configure and make the package.
   17.14  compile_rules()
   17.15  {
    18.1 --- a/nvidia-96xx/receipt	Fri Jul 09 18:20:09 2021 +0000
    18.2 +++ b/nvidia-96xx/receipt	Sat Jul 10 11:40:16 2021 +0000
    18.3 @@ -17,8 +17,13 @@
    18.4  DEPENDS="linux xorg-server gtk+ cairo linux-agp linux-drm"
    18.5  BUILD_DEPENDS="linux-module-headers coreutils-file-summarize xz"
    18.6  
    18.7 +current_version()
    18.8 +{
    18.9 +	wget -O - http://download.nvidia.com/XFree86/Linux-x86 2>/dev/null | \
   18.10 +	sed '/href=.96/!d;s|.*>96|96|;s|/.*||' | sort -Vr | sed q
   18.11 +}
   18.12 +
   18.13  # Rules to configure and make the package.
   18.14 -
   18.15  compile_rules()
   18.16  {
   18.17  	cd $src/usr/src/nv/
    19.1 --- a/passenger/receipt	Fri Jul 09 18:20:09 2021 +0000
    19.2 +++ b/passenger/receipt	Sat Jul 10 11:40:16 2021 +0000
    19.3 @@ -16,6 +16,12 @@
    19.4  BUILD_DEPENDS="$DEPENDS ruby-dev curl-dev libev-dev apr-dev apr-util-dev \
    19.5  apache-dev file"
    19.6  
    19.7 +current_version()
    19.8 +{
    19.9 +	wget -O - $WEB_SITE 2>/dev/null | \
   19.10 +	sed '/versions.[0-9]/!d;s|.*versions/||;s|".*||;q'
   19.11 +}
   19.12 +
   19.13  # Rules to configure and make the package.
   19.14  compile_rules()
   19.15  {
    20.1 --- a/pingus/receipt	Fri Jul 09 18:20:09 2021 +0000
    20.2 +++ b/pingus/receipt	Sat Jul 10 11:40:16 2021 +0000
    20.3 @@ -21,6 +21,12 @@
    20.4  libsdl-dev libsdl-image-dev libsdl-mixer-dev 
    20.5  libboost-dev libboost-signals-dev "
    20.6  
    20.7 +current_version()
    20.8 +{
    20.9 +	wget -O - $WEB_SITE/download.html 2>/dev/null | \
   20.10 +	sed "/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
   20.11 +}
   20.12 +
   20.13  # Rules to configure and make the package.
   20.14  compile_rules()
   20.15  {
    21.1 --- a/postgis/receipt	Fri Jul 09 18:20:09 2021 +0000
    21.2 +++ b/postgis/receipt	Sat Jul 10 11:40:16 2021 +0000
    21.3 @@ -14,6 +14,12 @@
    21.4  BUILD_DEPENDS="pkg-config postgresql-dev geos-dev proj-dev libxml2-dev \
    21.5  gtk+-dev gdal-dev jasper-dev curl-dev libpostgresqlclient tiff sqlite-dev"
    21.6  
    21.7 +current_version()
    21.8 +{
    21.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   21.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   21.11 +}
   21.12 +
   21.13  # Rules to configure and make the package.
   21.14  compile_rules()
   21.15  {
    22.1 --- a/ptlib/receipt	Fri Jul 09 18:20:09 2021 +0000
    22.2 +++ b/ptlib/receipt	Sat Jul 10 11:40:16 2021 +0000
    22.3 @@ -16,6 +16,14 @@
    22.4  BUILD_DEPENDS="alsa-lib-dev cyrus-sasl-dev flex openssl-dev \
    22.5  	pkg-config zlib-dev"
    22.6  
    22.7 +current_version()
    22.8 +{
    22.9 +	local base=http://ftp.gnome.org/pub/gnome/sources/$PACKAGE
   22.10 +	wget -O - $base/$(wget -O - $base 2>/dev/null | \
   22.11 +	sed '/href=.[0-9]/!d;s|.*href=.||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
   22.12 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   22.13 +}
   22.14 +
   22.15  # Rules to configure and make the package.
   22.16  compile_rules()
   22.17  {
    23.1 --- a/puppet/receipt	Fri Jul 09 18:20:09 2021 +0000
    23.2 +++ b/puppet/receipt	Sat Jul 10 11:40:16 2021 +0000
    23.3 @@ -13,6 +13,12 @@
    23.4  DEPENDS="ruby facter"
    23.5  BUILD_DEPENDS="ruby-dev facter"
    23.6  
    23.7 +current_version()
    23.8 +{
    23.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   23.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   23.11 +}
   23.12 +
   23.13  # Rules to configure and make the package.
   23.14  compile_rules()
   23.15  {
    24.1 --- a/pygoocanvas/receipt	Fri Jul 09 18:20:09 2021 +0000
    24.2 +++ b/pygoocanvas/receipt	Sat Jul 10 11:40:16 2021 +0000
    24.3 @@ -13,6 +13,14 @@
    24.4  DEPENDS="python pygtk goocanvas"
    24.5  BUILD_DEPENDS="goocanvas-dev python-dev pygobject-dev pycairo-dev pygtk-dev pkg-config"
    24.6  
    24.7 +current_version()
    24.8 +{
    24.9 +	local base=http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE
   24.10 +	wget -O - $base/$(wget -O - $base 2>/dev/null | \
   24.11 +	sed '/href=.[0-9]/!d;s|.*href=.||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
   24.12 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   24.13 +}
   24.14 +
   24.15  # Rules to configure and make the package.
   24.16  compile_rules()
   24.17  {
   24.18 @@ -32,4 +40,3 @@
   24.19  	mkdir -p $fs/usr
   24.20  	cp -a $install/usr/lib $fs/usr
   24.21  }
   24.22 -
    25.1 --- a/redis/receipt	Fri Jul 09 18:20:09 2021 +0000
    25.2 +++ b/redis/receipt	Sat Jul 10 11:40:16 2021 +0000
    25.3 @@ -15,6 +15,12 @@
    25.4  DEPENDS="gcc83-lib-base"
    25.5  BUILD_DEPENDS="gcc83 libxslt"
    25.6  
    25.7 +current_version()
    25.8 +{
    25.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   25.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   25.11 +}
   25.12 +
   25.13  # Rules to configure and make the package.
   25.14  compile_rules()
   25.15  {
    26.1 --- a/ruby-ncurses/receipt	Fri Jul 09 18:20:09 2021 +0000
    26.2 +++ b/ruby-ncurses/receipt	Sat Jul 10 11:40:16 2021 +0000
    26.3 @@ -15,6 +15,12 @@
    26.4  WEB_SITE="http://pkgs.fedoraproject.org/repo/pkgs/ruby-ncurses/"
    26.5  WGET_URL="${WEB_SITE}$TARBALL/63fd3d09a51cdd745e1ed37f85621ea2/$TARBALL"
    26.6  
    26.7 +current_version()
    26.8 +{
    26.9 +	wget -O - $WEB_SITE 2>/dev/null | \
   26.10 +	sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   26.11 +}
   26.12 +
   26.13  # Rules to configure and make the package.
   26.14  compile_rules()
   26.15  {
    27.1 --- a/virtualbox-ose/receipt	Fri Jul 09 18:20:09 2021 +0000
    27.2 +++ b/virtualbox-ose/receipt	Sat Jul 10 11:40:16 2021 +0000
    27.3 @@ -24,6 +24,12 @@
    27.4  pam pam-dev bzip2 linux-module-headers pkg-config tar wget vde2-dev \
    27.5  libpng-dev gsoap-dev libdevmapper-dev makeself cdrkit flex"
    27.6  
    27.7 +current_version()
    27.8 +{
    27.9 +	wget -O - http://download.virtualbox.org/virtualbox 2>/dev/null | \
   27.10 +	sed '/href=.[0-9]/!d;s|.*href=.||;s|/.*||' | sort -Vr | sed q
   27.11 +}
   27.12 +
   27.13  # Rules to configure and make the package.
   27.14  compile_rules()
   27.15  {