aboutsummaryrefslogtreecommitdiff
path: root/package/vsftpd/vsftpd.mk
Commit message (Collapse)AuthorAgeFilesLines
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Gravatar Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* vsftpd: use $(TARGET_MAKE_ENV) when calling $(MAKE)Gravatar Gustavo Zacarias2016-10-221-1/+1
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* vsftpd: Add ftp user creationGravatar Maxime Hadjinlian2015-10-101-0/+9
| | | | | | | | | | | | | | | In order to remove '/home/ftp' and the ftp user from the 'skeleton' package, we need to add the creation of the ftp users to the package so it still work out of the box (with an anonymous user). [Thomas: - remove the VSFTPD_FIX_HOME_PERMISSIONS variable, and simply put the additional command in VSFTPD_INSTALL_TARGET_CMDS. - slightly tweak the comment.] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* vsftpd: bump to version 3.0.3Gravatar Gustavo Zacarias2015-07-281-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: use backtick instead of $(shell ...) make functionGravatar Arnout Vandecappelle2015-07-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is often difficult to know exactly when make will expand the variable, and usually it can only be expanded after the dependencies have been built (e.g. pkg-config or the .pc file). Using a backtick instead makes it very clear that it will be expanded only while executing the command. This change is useful for two cases: 1. The per-package staging (and host) directory will be created as part of the configure step, so any $(shell ...) variable that is used in the configure step will fail because the directory doesn't exist yet. 2. 'make printvars' evaluates the variables it prints. It will therefore trigger a lot of errors from missing .pc files and others. The backticks, on the other hand, are not expanded, so with this change the output of 'make printvars' becomes clean again. This commit contains only the easy changes: replace $(shell ...) with `...`, and also replace ' with " where needed. Follow-up commits will tackle the more complicated cases that need additional explanation. After this change, the following instances of $(shell ...) will remain: - All assignments that use := - All variables that are used in make conditionals (which don't expand the backticks). - All variables that only refer to system executables and make variables that don't change. - The calls to check-host-* in dependencies.mk, because it is eval'ed. [Original patch by Fabio Porcedda, but extended quite a bit by Arnout.] Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* vsftpd: correct openssl linking after 1d046a5c (vsftpd: use pkg-config to ↵Gravatar Peter Korsgaard2015-05-131-1/+1
| | | | | | | | | | | | | | | | get OpenSSL link flags) Fixes: http://autobuild.buildroot.net/results/221/221c987a9657caefad54bcc2fe9d2d71189c94c5/ http://autobuild.buildroot.net/results/90c/90cea7c4fdb3e5af923eedf96d79594d6d02e563/ vsftpd directly uses symbols from libcrypto (X509_{digest,free}), so it needs to link against both. This doesn't trigger for static builds as libssl internally uses libcrypto (and lists it in Requires.private). Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* vsftpd: use pkg-config to get OpenSSL link flagsGravatar Thomas Petazzoni2015-05-131-2/+2
| | | | | | | | | | | | | | | Instead of hardcoding -lssl -lcrypto as the linker flags to link with OpenSSL, use pkg-config to fetch those flags. This allows to behave properly when doing static linking, since pkg-config returns the entire set of libraries we should link against. Fixes: http://autobuild.buildroot.org/results/d71/d710ecfa9ed0a8e3f97d2010d3dabb372485c7f2/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Gergely Imreh <imrehg@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* vsftpd: don't install manpagesGravatar Thomas Petazzoni2014-12-011-4/+0
| | | | | | | | | Installing manpages to the target is quite useless, since we don't support installing documentation on the target. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* vsftpd: use <pkg>_INSTALL_INIT_SYSV and rename init scriptGravatar Thomas Petazzoni2014-12-011-3/+4
| | | | | | | | | | | | | | This commit changes the vsftpd package to use the <pkg>_INSTALL_INIT_SYSV mechanism to install its init script, and renames the init script in the Buildroot source tree to match how it's named on the target. Also, the init script is now installed unconditionally, as is done in most packages. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* vsftpd: Add build option to disable utmpx update codeGravatar Maarten ter Huurne2014-10-121-0/+8
| | | | | | | | | | | | | | This was modeled after a similar option for Dropbear. The utmpx code is automatically disabled when compiling with musl, to avoid a build error due to WTMPX_FILE being undefined. Note that musl has an empty utmpx implementation, so no functionality is lost by not calling it. [Peter: use positive logic] Signed-off-by: Maarten ter Huurne <maarten@treewalker.org> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: replace command install by $(INSTALL)Gravatar Maxime Hadjinlian2014-06-081-4/+4
| | | | | | Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove package clean commandsGravatar Thomas De Schampheleire2013-12-081-4/+0
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove uninstall commandsGravatar Thomas De Schampheleire2013-12-061-7/+0
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Normalize separator size to 80Gravatar Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* vsftpd: add empty directory /usr/share/emptyGravatar Stephan Hoffmann2013-01-211-0/+1
| | | | | | | | | Vsftpd needs an empty directory where it can chroot. If /usr/share/empty isn't present it refuses to work in the default configuration. Signed-off-by: Stephan Hoffmann <sho@relinux.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* vsftpd: install sample config file to /etcGravatar Stephan Hoffmann2013-01-201-0/+3
| | | | | | | | | vsftpd comes with a sample config file that can serve as a starting point for customization and enables a basic functionality. [Peter: drop /usr/share/empty creation] Signed-off-by: Stephan Hoffmann <sho@relinux.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* vsftpd: bump to version 3.0.2Gravatar Gustavo Zacarias2012-10-161-1/+3
| | | | | | | Bump vsftpd to version 3.0.2, closes bug #5330 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* vsftpd: add linux-pam supportGravatar Danomi Manchego2012-09-131-0/+5
| | | | | Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* all packages: rename XXXTARGETS to xxx-packageGravatar Arnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* vsftpd: fix SSL dependencyGravatar Yegor Yefremov2012-03-171-1/+1
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* vsftpd: bump to 2.3.5Gravatar Yegor Yefremov2012-03-161-1/+1
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* vsftpd: bump to version 2.3.4Gravatar Gustavo Zacarias2011-12-111-3/+2
| | | | | | | | Bump vsftpd to version 2.3.4 Fixes build issues with binutils 2.22+ and changed upstream URL Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from GENTARGETSGravatar Thomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* vsftpd: fix build when libcap is enabledGravatar Peter Korsgaard2010-10-181-0/+5
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* vsftpd: convert to gentargets, bump version and fix buildGravatar Peter Korsgaard2010-09-271-65/+38
| | | | | | vsftpd didn't build, and wasn't using the gentargets infrastructure. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Update all packages to quote $(TARGET_CC)Gravatar Thomas Petazzoni2010-07-071-1/+1
| | | | | | | Now that TARGET_CC contains several space-separated words, it must be used quoted everywhere. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* vsftpd: create .configured stamp fileGravatar Peter Korsgaard2009-10-031-0/+2
| | | | | | Ensures that the configure+make steps are not run every time. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: Remove unnecessary dependencies on uclibc.Gravatar Will Newton2009-09-031-2/+2
| | | | | | | | A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/: convert to DOWNLOAD helperGravatar Peter Korsgaard2009-01-161-1/+1
|
* package/: get rid of unneeded $(strip ..)Gravatar Peter Korsgaard2008-12-081-1/+1
|
* vsftpd:Gravatar Wade Berrier2008-10-061-7/+11
| | | | | | | | | | | -Patch to build against newer kernel headers ( vsftpd-2.0.7-uclibc.patch , based on idea from http://www.bitshrine.org/gpp/vsftpd-2.0.5-syscall2.patch ) -new basic init script (no config yet) -Update version (2.0.7) -openssl fixes -cleanup makefile deps so it doesn't get built when things don't change
* package: global largefile CFLAGS handlingGravatar Peter Korsgaard2008-08-041-4/+1
|
* vsftp: enable and fix linkingGravatar Peter Korsgaard2008-07-221-1/+5
| | | | | | | Patch by Wade Berrier. It still errors out on sysdeputil.c for me, but this is no worse than it was before, so committing.
* - global whitespace trimmingGravatar Bernhard Reutner-Fischer2007-08-221-4/+4
|
* - Add skeleton for vsftpd, an FTP daemon.Gravatar Bernhard Reutner-Fischer2006-12-141-0/+69
sysdeputil needs treatment, perhaps it get's Claudio Leonel started