wok annotate vsftpd/receipt @ rev 25054

Up quarry (0.3.0.1), sunxi-tools (1.4.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 08:51:13 2022 +0000 (2022-06-06)
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 }