# HG changeset patch # User Hans-G?nter Theisgen # Date 1571583555 -3600 # Node ID ad52c2b51c282819bd1967764ab08f26210cf2d3 # Parent 4e2673103892dc74bc50c4387382cbde6ad5458a updated thttpd (2.25b -> 2.29) diff -r 4e2673103892 -r ad52c2b51c28 thttpd/receipt --- a/thttpd/receipt Sun Oct 20 15:47:58 2019 +0100 +++ b/thttpd/receipt Sun Oct 20 15:59:15 2019 +0100 @@ -1,26 +1,28 @@ # SliTaz package receipt. PACKAGE="thttpd" -VERSION="2.25b" +VERSION="2.29" CATEGORY="network" -SHORT_DESC="Throttleable lightweight httpd server" +SHORT_DESC="Throttleable lightweight httpd server." MAINTAINER="erjo@slitaz.org" LICENSE="BSD" +WEB_SITE="https://www.acme.com/software/thttpd/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.acme.com/software/thttpd/" -WGET_URL="http://www.acme.com/software/thttpd/$TARBALL" +WGET_URL="${WEB_SITE}$TARBALL" DEPENDS="" # Rules to configure and make the package. compile_rules() { - cd $src - patch -p1 -i $stuff/htpassword.c.u || exit 1 - ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ + # 2.25b +# patch -p1 -i $stuff/htpassword.c.u || exit 1 + + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ $CONFIGURE_ARGS && make } @@ -28,12 +30,11 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/sbin \ - $fs/var/log/thttpd \ - - cp -a $src/thttpd $fs/usr/sbin - cp -a $src/extras/htpasswd $fs/usr/sbin - cp -a $src/extras/syslogtocern $fs/usr/sbin - cp -a stuff/etc $fs/ + mkdir -p $fs/usr/sbin + mkdir -p $fs/var/log/thttpd + + cp -a $src/thttpd $fs/usr/sbin + cp -a $src/extras/htpasswd $fs/usr/sbin + cp -a $src/extras/syslogtocern $fs/usr/sbin + cp -a stuff/etc $fs/ } -