wok-6.x annotate vsftpd/receipt @ rev 25233
updated python-requests (2.23.0 -> 2.27.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 17:27:05 2022 +0100 (2022-07-13) |
parents | 4c4ad11b9096 |
children | 1730124f1afa |
rev | line source |
---|---|
pascal@11228 | 1 # SliTaz package receipt. |
pascal@11228 | 2 |
pascal@11228 | 3 PACKAGE="vsftpd" |
Hans-G?nter@22117 | 4 VERSION="3.0.3" |
pascal@11228 | 5 CATEGORY="network" |
Hans-G?nter@22117 | 6 SHORT_DESC="Secure FTP server." |
pascal@11228 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15363 | 8 LICENSE="GPL2" |
Hans-G?nter@22117 | 9 WEB_SITE="https://security.appspot.com/vsftpd.html" |
Hans-G?nter@22117 | 10 |
pascal@11228 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
samuel_trassare@11864 | 12 WGET_URL="https://security.appspot.com/downloads/$TARBALL" |
pascal@11228 | 13 |
pascal@24462 | 14 # What is the latest version available today? |
pascal@24462 | 15 current_version() |
pascal@24462 | 16 { |
pascal@24462 | 17 wget -O - $WEB_SITE 2>/dev/null | gunzip 2> /dev/null | \ |
pascal@24462 | 18 sed '/vsftpd-/!d;/tar..z/!d;s|.*vsftpd-||;s|.tar.*||' | sort -Vr | sed q |
pascal@24462 | 19 } |
pascal@24462 | 20 |
pascal@11228 | 21 # Rules to configure and make the package. |
pascal@11228 | 22 compile_rules() |
pascal@11228 | 23 { |
pascal@11228 | 24 make |
pascal@11228 | 25 } |
pascal@11228 | 26 |
pascal@11228 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11228 | 28 genpkg_rules() |
pascal@11228 | 29 { |
Hans-G?nter@22117 | 30 mkdir -p $fs/usr/bin |
Hans-G?nter@22117 | 31 mkdir -p $fs/etc |
Hans-G?nter@22117 | 32 |
Hans-G?nter@22117 | 33 cp -a $src/vsftpd $fs/usr/bin |
Hans-G?nter@22117 | 34 cp -a $src/vsftpd.conf $fs/etc |
pascal@11228 | 35 } |