wok view vsftpd/receipt @ rev 25095

Up libkeybinder (0.3.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 18 13:48:16 2022 +0000 (2022-06-18)
parents 4c4ad11b9096
children 1730124f1afa
line source
1 # SliTaz package receipt.
3 PACKAGE="vsftpd"
4 VERSION="3.0.3"
5 CATEGORY="network"
6 SHORT_DESC="Secure FTP server."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://security.appspot.com/vsftpd.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://security.appspot.com/downloads/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - $WEB_SITE 2>/dev/null | gunzip 2> /dev/null | \
18 sed '/vsftpd-/!d;/tar..z/!d;s|.*vsftpd-||;s|.tar.*||' | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 mkdir -p $fs/etc
33 cp -a $src/vsftpd $fs/usr/bin
34 cp -a $src/vsftpd.conf $fs/etc
35 }