# HG changeset patch # User Pascal Bellard # Date 1628527769 0 # Node ID 46dcc80bef412b93aa576d851f77cc75f8b91fa2 # Parent a3b6dd3aac6ff4a67976dd29c7af6d20ae749e57 Add fasmg diff -r a3b6dd3aac6f -r 46dcc80bef41 Geomyidae/receipt --- a/Geomyidae/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/Geomyidae/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -15,8 +15,8 @@ current_version() { - wget -O - http://r-36.net/scm/geomyidae/refs.html | \ - cat X | sed '//!d;s|.*v||;s|<.*||' | sed '$!d' + wget -O - http://r-36.net/scm/geomyidae/refs.html 2> /dev/null | \ + sed '//!d;s|.*v||;s|<.*||' | sed '$!d' } # Rules to configure and make the package. diff -r a3b6dd3aac6f -r 46dcc80bef41 fasm/receipt --- a/fasm/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/fasm/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="" BUILD_DEPENDS="" +current_version() +{ + wget -O - $WEB_SITE/download.php 2>/dev/null | \ + sed '/tar.gz/!d;s|.tar.*||;s|.*fasm-||' +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 fasmg/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fasmg/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -0,0 +1,41 @@ +# SliTaz package receipt. + +PACKAGE="fasmg" +VERSION="jdp2" +CATEGORY="development" +SHORT_DESC="Assembly language programming for x86, x86-64." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="other" +WEB_SITE="https://flatassembler.net/" + +TARBALL="$PACKAGE.$VERSION.zip" +WGET_URL="$WEB_SITE$TARBALL" + +DEPENDS="" +BUILD_DEPENDS="" + +current_version() +{ + wget -O - $WEB_SITE/download.php 2>/dev/null | \ + sed '/"fasmg/!d;s|.zip.*||;s|.*fasmg.||' +} + +# Rules to configure and make the package. +compile_rules() +{ + mkdir -p $DESTDIR/usr/bin + mkdir -p $DESTDIR/usr/share/doc + + cp docs/* $DESTDIR/usr/share/doc + chmod +x fasmg + cd source/linux + ../../fasmg fasmg.asm $DESTDIR/usr/bin/fasmg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/fasmg + cp -a $install/usr/bin $fs/usr + cp -a $src/examples/* $fs/usr/share/fasmg +} diff -r a3b6dd3aac6f -r 46dcc80bef41 ipxe/receipt --- a/ipxe/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/ipxe/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -26,6 +26,7 @@ cd $src/src patch -p1 < $stuff/cmd_isgt.u sed -i 's|SIZEOF_LOW_4GB / SIZEOF_2MB_PAGE|1 << (SIZEOF_LOW_4GB_LOG2 - SIZEOF_2MB_PAGE_LOG2)|' arch/x86/transitions/librm.S + sed -i 's|i.86|i386|;s|bswapl\t%eax|xchgb\t%al, %ah\n\troll\t$16, %eax\n\txchgb\t%al, %ah|' arch/x86/prefix/unlzma.S sed -i 's/-llzma/& -lpthread/' Makefile.* sed -i 's|//\(#define.*CONSOLE_FRAMEBUFFER\)|\1|' config/console.h sed -i 's|//\(#define.*CONSOLE_SERIAL\)|\1|' config/console.h diff -r a3b6dd3aac6f -r 46dcc80bef41 redis/receipt --- a/redis/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/redis/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -18,7 +18,7 @@ current_version() { wget -O - $(dirname $WGET_URL) 2>/dev/null | \ - sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*>$PACKAGE-||;s|.t.*||" | sort -Vr | sed q } # Rules to configure and make the package. diff -r a3b6dd3aac6f -r 46dcc80bef41 squid/receipt --- a/squid/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squid/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -15,6 +15,12 @@ BUILD_DEPENDS="perl openssl-dev openldap-dev cyrus-sasl-dev libcap-dev libdb" SUGGESTED="iptables" +current_version() +{ + wget -O - $WEB_SITE/Versions 2>/dev/null | \ + sed '1,/suitable for production use/d;/href/!d;s|.*[0-9]/">||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squidclamav/receipt --- a/squidclamav/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squidclamav/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -16,6 +16,12 @@ CONFIG_FILES="/etc/squidclamav.conf" +current_version() +{ + wget -O - https://github.com/darold/squidclamav/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squidguardmgr/receipt --- a/squidguardmgr/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squidguardmgr/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -13,6 +13,12 @@ BUILD_DEPENDS="perl squidguard " CONFIG_FILES="/etc/squidguardmgr.conf" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/tar.gz/!d;s|.*mgr-||;s|.tar.*||' +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squidview/receipt --- a/squidview/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squidview/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="gcc-lib-base ncurses" BUILD_DEPENDS="ncurses-dev" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/the source/!d;s|.*view-||;s|.tar.*||' +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-archive/receipt --- a/squirrelmail-archive/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-archive/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="squirrelmail" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=121" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-autocomplete/receipt --- a/squirrelmail-autocomplete/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-autocomplete/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -18,6 +18,12 @@ HOST_ARCH="any" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=32" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-autorespond/receipt --- a/squirrelmail-autorespond/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-autorespond/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="squirrelmail vacation" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=172" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-bookmarks/receipt --- a/squirrelmail-bookmarks/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-bookmarks/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="squirrelmail" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=93" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-calendard-file-backend/receipt --- a/squirrelmail-calendard-file-backend/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-calendard-file-backend/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="squirrelmail" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=239" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-calendard-sql-backend/receipt --- a/squirrelmail-calendard-sql-backend/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-calendard-sql-backend/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -16,6 +16,12 @@ DEPENDS="squirrelmail php-mysql" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=247" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-compatibility-plugin/receipt --- a/squirrelmail-compatibility-plugin/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-compatibility-plugin/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -16,6 +16,12 @@ HOST_ARCH="any" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=152" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-html/receipt --- a/squirrelmail-html/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-html/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -16,6 +16,12 @@ HOST_ARCH="any" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=55" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-html_mail/receipt --- a/squirrelmail-html_mail/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-html_mail/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -3,7 +3,7 @@ PACKAGE="squirrelmail-html_mail" VERSION="2.3-1.4" CATEGORY="network" -SHORT_DESC="Vacation and forwarding plugin for Web mail." +SHORT_DESC="HTML compose plugin for Web mail." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" SOURCE="html_mail" @@ -15,6 +15,12 @@ DEPENDS="squirrelmail perl-html-parser perl-text-aspell" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=209" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-ldapuser/receipt --- a/squirrelmail-ldapuser/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-ldapuser/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="squirrelmail openldap" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=97" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-legend/receipt --- a/squirrelmail-legend/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-legend/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="squirrelmail" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=66" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-locales/receipt --- a/squirrelmail-locales/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-locales/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -61,6 +61,12 @@ HOST_ARCH="any" +current_version() +{ + wget -O - https://sourceforge.net/projects/squirrelmail/files/locales/ 2>/dev/null | \ + sed '/scope="row"/!d;s|.*locales/||;s|/.*||;q' +} + compile_rules() { [ -d $src ] || mkdir $src diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-msg_flags/receipt --- a/squirrelmail-msg_flags/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-msg_flags/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -16,6 +16,12 @@ HOST_ARCH="any" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=91" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-multilogin/receipt --- a/squirrelmail-multilogin/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-multilogin/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -18,6 +18,12 @@ HOST_ARCH="any" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=148" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-notes/receipt --- a/squirrelmail-notes/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-notes/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="squirrelmail" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=79" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-quota/receipt --- a/squirrelmail-quota/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-quota/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="squirrelmail squirrelmail-compatibility-plugin" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=237" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-shared_calendars/receipt --- a/squirrelmail-shared_calendars/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-shared_calendars/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="squirrelmail squirrelmail-compatibility-plugin squirrelmail-calendard-backend" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=105" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-sieve/receipt --- a/squirrelmail-sieve/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-sieve/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="squirrelmail" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=73" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-sizes/receipt --- a/squirrelmail-sizes/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-sizes/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="squirrelmail" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=87" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-smallcal/receipt --- a/squirrelmail-smallcal/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-smallcal/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="squirrelmail squirrelmail-compatibility-plugin" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=90" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-spamassassin/receipt --- a/squirrelmail-spamassassin/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-spamassassin/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -3,7 +3,7 @@ PACKAGE="squirrelmail-spamassassin" VERSION="1.0-1.2.7" CATEGORY="network" -SHORT_DESC="Vacation and forwarding plugin for Web mail." +SHORT_DESC="SpamAssassin configuration plugin for Web mail." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" SOURCE="saconf" @@ -15,6 +15,12 @@ DEPENDS="squirrelmail" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=111" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail-vkeyboard/receipt --- a/squirrelmail-vkeyboard/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail-vkeyboard/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="squirrelmail" +current_version() +{ + wget -O - "$WEB_SITE/plugin_view.php?id=159" 2>/dev/null | \ + sed "/tarball/!d;s|.*$SOURCE.||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a3b6dd3aac6f -r 46dcc80bef41 squirrelmail/receipt --- a/squirrelmail/receipt Tue Jul 27 16:57:54 2021 +0000 +++ b/squirrelmail/receipt Mon Aug 09 16:49:29 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="php" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Released/!d;s|.*SquirrelMail ||;s| Released.*||;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() {