wok view vsftpd/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
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 }