diff options
Diffstat (limited to 'main/vsftpd/APKBUILD')
-rw-r--r-- | main/vsftpd/APKBUILD | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/main/vsftpd/APKBUILD b/main/vsftpd/APKBUILD index 260268540..f53933cd4 100644 --- a/main/vsftpd/APKBUILD +++ b/main/vsftpd/APKBUILD @@ -1,7 +1,8 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=vsftpd -pkgver=2.1.0 -pkgrel=2 +pkgver=2.2.2 +pkgrel=0 pkgdesc="Very secure ftpd" url="http://vsftpd.beasts.org" license="GPL" @@ -9,9 +10,9 @@ depends= makedepends="openssl-dev !libcap-dev" subpackages="$pkgname-doc" source="ftp://vsftpd.beasts.org/users/cevans/vsftpd-${pkgver}.tar.gz -vsftpd-enable-ssl.patch -vsftpd.initd -vsftpd.confd" + vsftpd-enable-ssl.patch + vsftpd.initd + vsftpd.confd" build() { cd "$srcdir/$pkgname-$pkgver" @@ -20,7 +21,10 @@ build() { patch -p0 -i "$srcdir"/vsftpd-enable-ssl.patch || return 1 make || return 1 - +} + +package() { + cd "$srcdir/$pkgname-$pkgver" install -m755 -D vsftpd "$pkgdir"/usr/sbin/vsftpd install -m644 -D vsftpd.8 "$pkgdir"/usr/share/man/man8/vsftpd.8 install -m644 -D vsftpd.conf.5 "$pkgdir"/usr/share/man/man5/vsftpd.conf.5 @@ -30,7 +34,7 @@ build() { mkdir -p "$pkgdir"/usr/share/empty } -md5sums="7890b54e7ffa6106ffbdfda53f47fa41 vsftpd-2.1.0.tar.gz +md5sums="6d6bc136af14c23f8fef6f1a51f55418 vsftpd-2.2.2.tar.gz f3cbaf364cd3c46a2a03b00de9d7e184 vsftpd-enable-ssl.patch 1a56bcc7698dba6490f0007f37c75e9b vsftpd.initd 431dfe7403323e247a88b97beade5d78 vsftpd.confd" |