# HG changeset patch # User Pascal Bellard # Date 1644429479 0 # Node ID 65d7d867e0c13bf670e96a567a33ec2d65b4cd3f # Parent 2e161a0fad08d79c5f1a2ea3e8ec4e2a317275be Add some current_version diff -r 2e161a0fad08 -r 65d7d867e0c1 cifs-utils/receipt --- a/cifs-utils/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/cifs-utils/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="attr gcc83-lib-base libcap linux-cifs" BUILD_DEPENDS="autoconf automake gcc83 krb5-dev libcap-dev samba-dev talloc-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 l2tpd/receipt --- a/l2tpd/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/l2tpd/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -12,6 +12,14 @@ CONFIG_FILES="/etc/l2tp" TAGS="vpn tunnel" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/l2tpd/files/L2TPd/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/L2TPd/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 lame/receipt --- a/lame/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/lame/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -20,6 +20,14 @@ arm) BUILD_DEPENDS="ncurses-dev libtinfo" ;; esac +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/lame/files/lame/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/lame/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 lazarus/receipt --- a/lazarus/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/lazarus/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="fpc fpc-src gdb make" BUILD_DEPENDS="gtk+-dev fpc fpc-src" +# What is the latest version available today? +current_version() +{ + wget -O - 'https://sourceforge.net/projects/lazarus/files/Lazarus Linux SRC RPM/' 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/Lazarus%20||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 lbreakout2/receipt --- a/lbreakout2/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/lbreakout2/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -15,6 +15,14 @@ DEPENDS="libpng libsdl libsdl-mixer zlib" BUILD_DEPENDS="libpng-dev libsdl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/lgames/files/lbreakout2/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;/tar/!d;s|.*/lbreakout2-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 ldapfuse/receipt --- a/ldapfuse/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/ldapfuse/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="libldap fuse libhx" BUILD_DEPENDS="openldap-dev fuse-dev libhx-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/ldapfuse/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/files/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 lensfun/receipt --- a/lensfun/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/lensfun/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="glib" BUILD_DEPENDS="cmake glib-dev libpng python" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/lensfun/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/files/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 lessfs/receipt --- a/lessfs/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/lessfs/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -15,6 +15,14 @@ DEPENDS="fuse db mhash tokyocabinet" BUILD_DEPENDS="fuse-dev db-dev mhash-dev tokyocabinet-dev pkg-config" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/lessfs/files/lessfs/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/lessfs-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 lesstif/receipt --- a/lesstif/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/lesstif/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -15,6 +15,14 @@ xorg-libXdmcp xorg-libXext xorg-libXt util-linux-uuid freetype xorg-libXp" BUILD_DEPENDS="xorg-xextproto util-linux-uuid-dev automake" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/lesstif/files/lesstif/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/lesstif/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 lftpfs/receipt --- a/lftpfs/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/lftpfs/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="perl-fuse perl-ipc-run" BUILD_DEPENDS="perl-fuse perl-ipc-run" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/lftpfs/files/lftpfs/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/lftpfs-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libXaw3dXft/receipt --- a/libXaw3dXft/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libXaw3dXft/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="xorg-libXmu-dev util-linux-uuid-dev expat-dev libxml2-dev" HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/sf-xpaint/files/libxaw3dxft/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libXaw3dXft-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libaal/receipt --- a/libaal/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libaal/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -11,6 +11,13 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$SF_MIRROR/reiser4/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects//reiser4/files/reiser4-utils/libaal/ 2>/dev/null | \ + sed '/scope="row/!d;/tar/!d;s|.*/libaal-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libavc1394/receipt --- a/libavc1394/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libavc1394/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libraw1394" BUILD_DEPENDS="libraw1394-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/libavc1394/files/libavc1394/ 2>/dev/null | \ + sed '/scope="row/!d;/tar/!d;s|.*/libavc1394-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libboost-dev/receipt --- a/libboost-dev/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libboost-dev/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -30,6 +30,14 @@ signal system test thread tr1 wave }" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/boost/files/boost/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/boost/||;s|/.*||;q' +} + # Rules to configure and make the package. # Uses boost:build building tool for the compilation: # Doesn't use DESTDIR. diff -r 2e161a0fad08 -r 65d7d867e0c1 libcclc/receipt --- a/libcclc/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libcclc/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="openssl sqlite" BUILD_DEPENDS="openssl-dev sqlite-dev file" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/ccl/files/libcclc/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libcclc/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libccls/receipt --- a/libccls/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libccls/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="openssl sqlite glib" BUILD_DEPENDS="openssl-dev sqlite-dev glib-dev file" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/ccl/files/libccls/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libccls/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libdisasm/receipt --- a/libdisasm/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libdisasm/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/bastard/files/libdisasm/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libdisasm/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libdv/receipt --- a/libdv/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libdv/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="popt xorg-libXv" BUILD_DEPENDS="gtk+-dev popt-dev xorg-libXv-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/libdv/files/libdv/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libdv/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libexif-gtk/receipt --- a/libexif-gtk/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libexif-gtk/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -15,6 +15,14 @@ BUILD_DEPENDS="file gtk+-dev libexif-dev" HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/libexif/files/libexif-gtk/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libexif-gtk/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libgphoto2/receipt --- a/libgphoto2/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libgphoto2/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -16,6 +16,14 @@ BUILD_DEPENDS="jpeg jpeg-dev libexif libexif-dev libtool \ libusb libusb-compat libusb-compat-dev libusb-dev pkg-config" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gphoto/files/libgphoto/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libgphoto/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libgpod/receipt --- a/libgpod/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libgpod/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -15,6 +15,14 @@ BUILD_DEPENDS="$DEPENDS glib-dev intltool libffi libplist-dev \ libxml2-dev pkg-config pygobject sqlite-dev zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gtkpod/files/libgpod/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libgpod-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libgringotts/receipt --- a/libgringotts/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libgringotts/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="bzip2 zlib libmcrypt mhash" BUILD_DEPENDS="bzip2-dev zlib-dev libmcrypt-dev mhash-dev file" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/gringotts.berlios/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gringotts-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libhx/receipt --- a/libhx/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libhx/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="coreutils-file-special" BUILD_DEPENDS="coreutils-file-special" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/libhx/files/libHX/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libHX-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libjson/receipt --- a/libjson/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libjson/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/libjson/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libjson_||;s|.zip.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 liblo/receipt --- a/liblo/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/liblo/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="gcc83-lib-base" BUILD_DEPENDS="gcc83" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/liblo/files/liblo/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/liblo/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() diff -r 2e161a0fad08 -r 65d7d867e0c1 libmikmod/receipt --- a/libmikmod/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libmikmod/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="" BUILD_DEPENDS="bash" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/mikmod/files/libmikmod/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libmikmod/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libmms/receipt --- a/libmms/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libmms/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="glib" BUILD_DEPENDS="glib-dev pkg-config" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects//libmms/files/libmms/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libmms/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libmng/receipt --- a/libmng/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libmng/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="lcms jpeg zlib" BUILD_DEPENDS="autoconf automake lcms-dev jpeg-dev libtool" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/libmng/files/libmng-devel/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libmng-devel/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libmodplug/receipt --- a/libmodplug/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libmodplug/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -16,6 +16,14 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/modplug-xmms/files/libmodplug/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libmodplug/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libmtp/receipt --- a/libmtp/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libmtp/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="libusb udev" BUILD_DEPENDS="libusb-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/libmtp/files/libmtp/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libmtp/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libnet/receipt --- a/libnet/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libnet/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -10,6 +10,13 @@ WEB_SITE="https://sourceforge.net/projects/libnet-dev/" WGET_URL="$SF_MIRROR/$PACKAGE-dev/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/libnet-dev/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libnet-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libnids/receipt --- a/libnids/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libnids/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="" BUILD_DEPENDS="pkg-config libpcap-dev glib-dev libnet-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/libnids/files/libnids/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libnids/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libnjb/receipt --- a/libnjb/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libnjb/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="libusb-compat" BUILD_DEPENDS="libusb-compat libusb-compat-dev libusb-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/libnjb/files/libnjb/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libnjb/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libpano13/receipt --- a/libpano13/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libpano13/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="jpeg libpng tiff" BUILD_DEPENDS="bash jpeg-dev libpng-dev tiff-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/panotools/files/libpano13/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;/tar/!d;s|.*/libpano13-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libpfm/receipt --- a/libpfm/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libpfm/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/perfmon2/files/ 2>/dev/null | \ + sed '/scope="row/!d;/libpfm/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libpfm-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libpng+apng/receipt --- a/libpng+apng/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libpng+apng/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -21,6 +21,14 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/libpng/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libpng[0-9]*/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libqscintilla/receipt --- a/libqscintilla/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libqscintilla/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -14,6 +14,14 @@ BUILD_DEPENDS="Qt4-dev cmake qmake PyQt-x11-gpl" SUGGESTED="juffed" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/pyqt/files/ 2>/dev/null | \ + sed '/scope="row/!d;/QScintilla/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/QScintilla-||;s|/.*||;q' +} + # Rules to configure and make the package.BUILD_TYPE=Release compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libqwt5-qt4/receipt --- a/libqwt5-qt4/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libqwt5-qt4/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -16,6 +16,14 @@ DEPENDS="gcc-lib-base libQtCore libQtDesigner libQtGui libQtScript libQtXml" BUILD_DEPENDS="$DEPENDS qmake qt4 Qt4-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/qwt/files/qwt/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/qwt/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libraryopt/receipt --- a/libraryopt/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libraryopt/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -12,6 +12,14 @@ DEPENDS="python binutils" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/libraryopt/files/libraryopt/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libraryopt-||;s|.tar.*||;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 librsync/receipt --- a/librsync/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/librsync/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="zlib bzlib popt" BUILD_DEPENDS="popt-dev bzip2-dev zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/librsync/files/librsync/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/librsync/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libsdl-pango/receipt --- a/libsdl-pango/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libsdl-pango/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -20,6 +20,14 @@ arm*) ARCH_MAKE="LIBS=/cross/$ARCH/sysroot/usr/lib" ;; esac +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/sdlpango/files/SDL_Pango/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/SDL_Pango/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libspectrum/receipt --- a/libspectrum/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libspectrum/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="audiofile glib libgcrypt zlib" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/fuse-emulator/files/libspectrum/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libspectrum/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libtirpc/receipt --- a/libtirpc/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libtirpc/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -13,6 +13,14 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/libtirpc/files/libtirpc/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libtirpc/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libtkimg/receipt --- a/libtkimg/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libtkimg/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="tk" BUILD_DEPENDS="tcllib tcl-dev tk-dev xorg-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/tkimg/files/tkimg/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/tkimg/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libupnp/receipt --- a/libupnp/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libupnp/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libxml2" BUILD_DEPENDS="libxml2-dev libpthread-stubs" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/pupnp/pupnp/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[a-z]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 libvncserver/receipt --- a/libvncserver/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/libvncserver/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="jpeg zlib libssl" BUILD_DEPENDS="jpeg-dev zlib openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/libvncserver/files/libvncserver/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/libvncserver/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 linapple/receipt --- a/linapple/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/linapple/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -17,6 +17,14 @@ BUILD_DEPENDS="curl-dev libsdl-dev libzip-dev zlib-dev" CONFIG_FILES="/etc/linapple.conf" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/linapple/files/linapple/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/linapple_src-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 linuxconsoletools/receipt --- a/linuxconsoletools/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/linuxconsoletools/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gcc83-lib-base libsdl2" BUILD_DEPENDS="gcc83 libsdl2-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/linuxconsole/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*/linuxconsoletools-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 lirc/receipt --- a/lirc/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/lirc/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -16,6 +16,14 @@ portaudio-dev alsa-lib-dev libusb-compat-dev util-linux-uuid-dev \ libftdi-dev jack-audio-connection-kit-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/lirc/files/LIRC/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/LIRC/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 lirc64/receipt --- a/lirc64/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/lirc64/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -21,6 +21,14 @@ # Aufs enable chroot AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8(" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/lirc/files/LIRC/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/LIRC/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 littleutils/receipt --- a/littleutils/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/littleutils/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="bash perl" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/littleutils/files/littleutils-source/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/littleutils-source/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 lockdis/receipt --- a/lockdis/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/lockdis/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="xorg-libX11 xorg-libXau xorg-libXpm xorg-libXdmcp" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/lockdis/files/lockdis/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/lockdis-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 log4c/receipt --- a/log4c/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/log4c/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/log4c/files/log4c/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/log4c/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 lsdvd/receipt --- a/lsdvd/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/lsdvd/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libdvdread" BUILD_DEPENDS="automake libdvdread-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/lsdvd/files/lsdvd/ 2>/dev/null | \ + sed '/scope="row/!d;/tar/!d;s|.*/lsdvd-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 luckybackup/receipt --- a/luckybackup/receipt Wed Feb 09 14:43:22 2022 +0100 +++ b/luckybackup/receipt Wed Feb 09 17:57:59 2022 +0000 @@ -15,6 +15,14 @@ DEPENDS="libQtCore libQtNetwork libQtGui" BUILD_DEPENDS="Qt4-dev qmake" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/luckybackup/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/files/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 2e161a0fad08 -r 65d7d867e0c1 openvpn/stuff/usr/bin/make-ovpn --- a/openvpn/stuff/usr/bin/make-ovpn Wed Feb 09 14:43:22 2022 +0100 +++ b/openvpn/stuff/usr/bin/make-ovpn Wed Feb 09 17:57:59 2022 +0000 @@ -4,7 +4,7 @@ [ -z "$1" ] && cat < config-server-name.ovpn - $0 client name server-ip > config-client-name.ovpn + $0 client name server-ip [port] > config-client-name.ovpn Examples: $0 server office 192.168.99 192.168.0.0/255.255.255.0 10.0.0.0/255.0.0.0 @@ -82,7 +82,7 @@ [ "$1" = "client" ] && cat << EOT client -remote ${3:-my.office.com} 1194 +remote ${3:-my.office.com} ${4:-1194} $(common_conf) remote-cert-tls server