diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-08-29 11:55:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-28 22:55:44 -0500 |
commit | b799b983bbfee1eb536b9caebd39f2ee976fa9af (patch) | |
tree | 3a4ba4a224179ed9b8f5d7f10f49097427ad7079 /var | |
parent | 0eeed1f7f75b8844c1c748248ba62fc76afb80e9 (diff) | |
download | spack-b799b983bbfee1eb536b9caebd39f2ee976fa9af.tar.gz spack-b799b983bbfee1eb536b9caebd39f2ee976fa9af.tar.bz2 spack-b799b983bbfee1eb536b9caebd39f2ee976fa9af.tar.xz spack-b799b983bbfee1eb536b9caebd39f2ee976fa9af.zip |
Add new package: vsftpd (#18317)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/vsftpd/package.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/vsftpd/package.py b/var/spack/repos/builtin/packages/vsftpd/package.py new file mode 100644 index 0000000000..29f0bc7839 --- /dev/null +++ b/var/spack/repos/builtin/packages/vsftpd/package.py @@ -0,0 +1,29 @@ +# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class Vsftpd(MakefilePackage): + """vsftpd is a GPL licensed FTP server for UNIX systems, including + Linux.""" + + homepage = "https://security.appspot.com/vsftpd.html" + url = "https://security.appspot.com/downloads/vsftpd-3.0.3.tar.gz" + + version('3.0.3', sha256='9d4d2bf6e6e2884852ba4e69e157a2cecd68c5a7635d66a3a8cf8d898c955ef7') + version('3.0.2', sha256='be46f0e2c5528fe021fafc8dab1ecfea0c1f183063a06977f8537fcd0b195e56') + version('3.0.1', sha256='65487a9fccc0ae566df5999a84448a9ccb57b556b7643ffd345540299487784c') + + depends_on('libcap') + + def install(self, spec, prefix): + mkdirp(prefix.bin) + mkdirp(prefix.man.man5) + mkdirp(prefix.man.man8) + install('vsftpd', prefix.bin) + install('vsftpd.conf.5', prefix.man.man5) + install('vsftpd.8', prefix.man.man8) + install_tree('xinetd.d', join_path(prefix, 'xinetd.d')) |