diff options
Diffstat (limited to 'main/vsftpd')
-rw-r--r-- | main/vsftpd/APKBUILD | 5 | ||||
-rw-r--r-- | main/vsftpd/vsftpd.confd | 4 | ||||
-rwxr-xr-x | main/vsftpd/vsftpd.pre-install | 3 |
3 files changed, 8 insertions, 4 deletions
diff --git a/main/vsftpd/APKBUILD b/main/vsftpd/APKBUILD index e4b0466d8b..ef353ee3e6 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=1 +pkgrel=2 pkgdesc="Very secure ftpd" url="http://vsftpd.beasts.org" arch="all" @@ -10,6 +10,7 @@ license="GPL" depends= makedepends="openssl-dev libcap-dev linux-pam-dev" subpackages="$pkgname-doc" +install="$pkgname.pre-install" source="https://security.appspot.com/downloads/vsftpd-${pkgver}.tar.gz vsftpd-enable-ssl.patch vsftpd-gnu-source.patch @@ -50,4 +51,4 @@ md5sums="8b00c749719089401315bd3c44dddbb2 vsftpd-3.0.2.tar.gz f3cbaf364cd3c46a2a03b00de9d7e184 vsftpd-enable-ssl.patch f2245efcc271356743805f38d6c5aea3 vsftpd-gnu-source.patch b48784af42b0f787e55276fc20476aa2 vsftpd.initd -ac2ae36e4849bf50e0f03fa5e02a7bae vsftpd.confd" +9e495776096c78c3f9d9e6756a8c3003 vsftpd.confd" diff --git a/main/vsftpd/vsftpd.confd b/main/vsftpd/vsftpd.confd index 0ef89316b9..f14602696d 100644 --- a/main/vsftpd/vsftpd.confd +++ b/main/vsftpd/vsftpd.confd @@ -5,5 +5,5 @@ # OPTS="/etc/vsftpd/vsftpd.conf" -USER="nobody" -GROUP="nobody" +USER="vsftp" +GROUP="vsftp" diff --git a/main/vsftpd/vsftpd.pre-install b/main/vsftpd/vsftpd.pre-install new file mode 100755 index 0000000000..cb151882b0 --- /dev/null +++ b/main/vsftpd/vsftpd.pre-install @@ -0,0 +1,3 @@ +#!/bin/sh +addgroup -S vsftp &>/dev/null +adduser -h /var/lib/vsftpd -s /bin/false -G vsftp -S vsftp &>/dev/null |