wok-current view vsftpd/receipt @ rev 25458

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 27 16:21:52 2022 +0000 (2022-09-27)
parents 934055de50e2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="vsftpd"
4 VERSION="3.0.5"
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 chown root:root $fs/etc/vsftpd.conf
36 }