diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2014-11-04 11:25:38 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2014-11-04 11:25:46 +0000 |
commit | 01e6a79f76e616857cb3958221e5110452f81f36 (patch) | |
tree | f827bd9c11835817e5f5e3117ac5e7a3b544e0be /main/vsftpd | |
parent | 9c063da9d90602f860ca0e7fd79275f287a75baf (diff) | |
download | aports-01e6a79f76e616857cb3958221e5110452f81f36.tar.bz2 aports-01e6a79f76e616857cb3958221e5110452f81f36.tar.xz |
main/vsftpd: fixes #3494
Diffstat (limited to 'main/vsftpd')
-rw-r--r-- | main/vsftpd/APKBUILD | 4 | ||||
-rwxr-xr-x | main/vsftpd/vsftpd.pre-install | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/main/vsftpd/APKBUILD b/main/vsftpd/APKBUILD index f7ad93ef0e..d97261b7a4 100644 --- a/main/vsftpd/APKBUILD +++ b/main/vsftpd/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=vsftpd pkgver=3.0.2 -pkgrel=7 +pkgrel=8 pkgdesc="Very secure ftpd" url="http://vsftpd.beasts.org" arch="all" @@ -47,6 +47,8 @@ package() { install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname mkdir -p "$pkgdir"/usr/share/empty + mkdir -p "$pkgdir"/var/lib/ftp + chown root:ftp "$pkgdir"/var/lib/ftp } md5sums="8b00c749719089401315bd3c44dddbb2 vsftpd-3.0.2.tar.gz diff --git a/main/vsftpd/vsftpd.pre-install b/main/vsftpd/vsftpd.pre-install index a96fe60b1d..e60f9d82a2 100755 --- a/main/vsftpd/vsftpd.pre-install +++ b/main/vsftpd/vsftpd.pre-install @@ -1,4 +1,5 @@ #!/bin/sh -addgroup -S vsftp &>/dev/null -adduser -h /var/lib/vsftpd -s /sbin/nologin -G vsftp -S vsftp &>/dev/null +addgroup ftp &>/dev/null +addgroup vsftp ftp &>/dev/null +adduser -h /var/lib/ftp -s /sbin/nologin -G ftp -S vsftp &>/dev/null exit 0 |