vsftpd: don't create /var/empty in the service

it is part of base-files
This commit is contained in:
maxice8 2019-01-17 01:50:30 -02:00 committed by maxice8
parent 0df7f912a1
commit e195b67f8b
3 changed files with 3 additions and 4 deletions

1
srcpkgs/vsftpd/files/vsftpd-ipv6/run Executable file → Normal file
View file

@ -1,4 +1,3 @@
#!/bin/sh #!/bin/sh
[ -r conf ] && . ./conf [ -r conf ] && . ./conf
mkdir -pm 0755 /var/empty
exec vsftpd -obackground=no -olisten=no -olisten_ipv6=yes ${OPTS} exec vsftpd -obackground=no -olisten=no -olisten_ipv6=yes ${OPTS}

1
srcpkgs/vsftpd/files/vsftpd/run Executable file → Normal file
View file

@ -1,4 +1,3 @@
#!/bin/sh #!/bin/sh
[ -r conf ] && . ./conf [ -r conf ] && . ./conf
mkdir -pm 0755 /var/empty
exec vsftpd -obackground=no ${OPTS} exec vsftpd -obackground=no ${OPTS}

View file

@ -1,15 +1,16 @@
# Template file for 'vsftpd' # Template file for 'vsftpd'
pkgname=vsftpd pkgname=vsftpd
version=3.0.3 version=3.0.3
revision=10 revision=11
build_style=gnu-makefile build_style=gnu-makefile
makedepends="pam-devel libcap-devel libressl-devel" makedepends="pam-devel libcap-devel libressl-devel"
short_desc="FTP deamon with focus on security" short_desc="FTP deamon with focus on security"
maintainer="Enno Boland <gottox@voidlinux.org>" maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3" license="GPL-2.0-only"
homepage="https://security.appspot.com/vsftpd.html" homepage="https://security.appspot.com/vsftpd.html"
distfiles="https://security.appspot.com/downloads/${pkgname}-${version}.tar.gz" distfiles="https://security.appspot.com/downloads/${pkgname}-${version}.tar.gz"
checksum=9d4d2bf6e6e2884852ba4e69e157a2cecd68c5a7635d66a3a8cf8d898c955ef7 checksum=9d4d2bf6e6e2884852ba4e69e157a2cecd68c5a7635d66a3a8cf8d898c955ef7
system_accounts="ftp" system_accounts="ftp"
ftp_pgroup=nogroup ftp_pgroup=nogroup
CFLAGS="-Wno-error" CFLAGS="-Wno-error"