summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/proftpd
Commit message (Collapse)AuthorAgeFilesLines
* proftpd: Fix CVE-2023-51713 Out-of-bounds buffer readHitendra Prajapati2024-01-162-0/+279
| | | | | | | Upstream-Status: Backport from https://github.com/proftpd/proftpd/commit/97bbe68363ccf2de0c07f67170ec64a8b4d62592 Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* proftpd: CVE-2021-46854 memory disclosure to radius serverHitendra Prajapati2023-01-192-0/+52
| | | | | | Upstream-Status: Backport from https://github.com/proftpd/proftpd/commit/10a227b4d50e0a2cd2faf87926f58d865da44e43 Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
* proftpd: Fix typo for SRC_URI[md5sum]Konrad Weihmann2020-06-121-1/+1
| | | | | | | Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 5caca0f7bdefd28b9ecc446aea4177e2e297aa20) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* proftpd: make prxs a mulitlib scriptJeremy Puhlman2020-03-061-1/+3
| | | | | | | | | Script encodes compiler settings and compiler name. my $compiler = q(x86_64-poky-linux-gcc -m64 -march=nehalem -mtune=generic -mfpmath=sse -msse4.2 ); Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* proftpd: remove macro-prefix-map from prxsJeremy Puhlman2020-03-061-0/+1
| | | | | | | | macro-prefix-map points to build WORKDIR which will cause reproducibilty failures. Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* proftpd: Update to 1.3.6 releaseKhem Raj2017-06-282-30/+31
| | | | | | | | Use the new gnu-config files for musl support Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-071-2/+1
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* proftpd: remove the script ftpmailMingli Yu2016-09-121-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove the ftpmail script to avoid confusion about it fails to run because it lacks a dependency on Mail/Sendmail.pm which is not shipped by default. Also it has not been maintained for more than 10 years as http://search.cpan.org/~mivkovic/Mail-Sendmail/Sendmail.pm. * And it's bad to add the dependency perl module Mail/Sendmail.pm as it's too old and also send email to Proftp-devel@lists.sourceforge.net to ask guidance about ftpmail as below: Q: In my environment, the ftpmail fails to run as it lacks the dependency on Mail/Sendmail.pm which is not shipped by default and also not maintained more than 10 years as http://search.cpan.org/~mivkovic/Mail-Sendmail/Sendmail.pm. A: Patches for updates to the ftpmail script are highly encouraged! If the Mail-Sendmail package is not to your preference, what would you suggest/prefer using instead? We don't plan to do more improvements about the perl module Mail-Sendmail now since it's not something we, or other distros apparently need as other distribution also not include the ftpmail script. * The ftpmail is initially added as a perl script to send an email notification when upload proftpd log as below commit in https://github.com/proftpd/proftpd.git: commit 8d602d4bf01ef0c6464c7a16dbbe570a0322dc17 Author: castaglia <castaglia> Date: Thu Mar 6 03:06:14 2008 +0000 Added ftpmail, a Perl script which reads a TransferLog FIFO and sends automatic email notifications for uploads. Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: 1.3.5a -> 1.3.5bMingli Yu2016-08-163-315/+2
| | | | | | | | | * Upgrade proftpd from 1.3.5a to 1.3.5b * Remove two backport patches Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: fix system account login failureMingli Yu2016-08-161-0/+9
| | | | | | | | | | When pam is enabled, 1, Customize the proftpd.conf to use pam to authenticate 2, Add proftpd pam configuration file /etc/pam.d/proftpd Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: return stderr to syslogJoe MacDonald2016-08-051-0/+1
| | | | | | | Commit f8dd8cde90c4d6c945177117953e7123e1401236 removed the StandardError option from the proftpd service file, re-introduce it. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: clean the host path in prxsJackie Huang2016-08-051-0/+5
| | | | | | | | | prxs (PRoftpd eXtenSion tool) is a perl script, in which the host path should be avoided. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: fix PACKAGECONFIG settingsJoe Slater2016-08-051-3/+4
| | | | | | | | | | | When using '??=' to set a variable, '+=' will cause the '??=' value to be discarded. We change how PACKAGECONFIG is defined. We also do not make sia support a default since it is not likely to be available. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: start at boot timeJoe Slater2016-08-051-2/+6
| | | | | | | | | Add information to proftpd.service so that it will be started at boot time. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: fix mod_tls build issueCatalin Enache2016-05-182-0/+65
| | | | | | | | | Backported upstream commit: https://github.com/proftpd/proftpd/commit/253e6ef6a4fde5545111f7c439a9692afecc597b Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: CVE-2016-3125Catalin Enache2016-05-052-0/+248
| | | | | | | | | | | | | | The mod_tls module in ProFTPD before 1.3.5b and 1.3.6 before 1.3.6rc2 does not properly handle the TLSDHParamFile directive, which might cause a weaker than intended Diffie-Hellman (DH) key to be used and consequently allow attackers to have unspecified impact via unknown vectors. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-3125 Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: upgrade to 1.3.5aRoy Li2015-07-061-2/+3
| | | | | | | | | | | 1. 1.3.5a includes the fix for CVE-2015-3306: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-3306 2. replace the proftpd generated libtool with the native libtool which support the sysroot Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* meta-networking: standardize SECTION valuesJoe MacDonald2015-06-051-1/+1
| | | | | | | SECTION has been used inconsistently throughout the recipes in this layer. Convert them to all use the same convention. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: add systemd supportRoy Li2015-02-112-1/+19
| | | | | | Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: update to 1.3.5Armin Kuster2014-12-296-301/+156
| | | | | | | | | | | | dropped proftpd-sftp.patch as it is included in update. combined make.patch, move-pidfile-to-var-run.patch, move-runfile-to-var-run.patch into build_fixup Added several packagesconfig options (too much eggnog) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: fix integer overflow CVE-2013-4359Hongxu Jia2014-09-262-1/+144
| | | | | | | | | | | | | Integrate a patch from proftpd upstream to fix an integer overflow bug described in the CVE-2013-4359, which allows remote attachers to cause a denial of service (memory consumption) attack. Refer: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-4359 Signed-off-by: Shan Hai <shan.hai@windriver.com> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* proftpd: add perl to RDEPENDS_proftpdRobert Yang2014-09-261-0/+2
| | | | | | | | Perl: proftpd/usr/bin/ftpasswd:#!/usr/bin/perl proftpd/usr/bin/ftpquota:#!/usr/bin/perl Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* proftpd: inherit autotools-brokensepRobert Yang2014-06-151-1/+1
| | | | | | | | | It needs autotools-brokensep, otherwise do_compile error: proftpd-1.3.4b/include/version.h:1:24: fatal error: buildstamp.h: No such file or directory Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* proftpd: move the runing created file under /var/runRoy Li2014-02-122-0/+40
| | | | | | Signed-off-by: Roy Li <rongqing.li@windriver.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Joe MacDonald <joe@deserted.net>
* proftpd: use /bin/false as the login shell and add home-dirRoy Li2013-12-092-1/+30
| | | | | | | | | Use /bin/false as the login shell, just like what Ubuntu does, otherwise there might be secure issue; add /var/lib/ftp as user ftp home-dir. Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* proftpd: move pidfile from /var/ to /var/run/Roy Li2013-11-272-0/+40
| | | | | | | | | /var/run/ is more suitable to store pidfile for OE, and this fixes "/etc/init.d/proftpd stop" failure too, since this script assumes the pidfile is under /var/run Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* proftpd: Convert proftpd group to system scopeQiang Chen2013-11-251-1/+1
| | | | | | | | | | Proftpd is meant to be a system user, not a normal user of the system so lets pass the correct parameters to the system. Just add --system param when creating ftp group. Signed-off-by: Qiang Chen <qiang.chen@windriver.com> Signed-off-by: Jeff Polk <jeff.polk@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* proftpd: Add PACKAGECONFIG for cursesMartin Jansa2013-09-171-0/+3
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* proftpd: pack missing filesAndreas Müller2013-05-151-1/+3
| | | | | | | | | | WARNING: QA Issue: proftpd: Files/directories were installed but not shipped /home /home/ftp /home/ftp/pub Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
* proftpd: remove postinst - directory can be setup offline in do_installAndreas Müller2013-05-101-11/+5
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Unify indentationMartin Jansa2013-04-151-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | * This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
* multilib: Fix PN - BPN to make fetch work.Randy MacLeod2013-02-041-1/+1
| | | | | Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
* proftpd: fix do_install failure after libexecdir changePaul Eggleton2012-12-051-1/+2
| | | | | | | | | | | | | | As of OE-Core commit id 406bd38b4232f9f399ef5ffe0b4fac72ed605a23 libexecdir has been changed to ${libdir}/${BPN}. As we are already deleting ${libdir}/proftpd which is the same as ${libdir}/${BPN} in this case, introduce a check to see if ${libexecdir} still exists before attempting to remove it possibly a second time. This will handle if libexecdir is set to its original value or a custom value in the distro config. Based on a patch by Kevin Strasser <kevin.strasser@linux.intel.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* proftpd: add from meta-baryonPaul Eggleton2012-11-276-0/+424
This was originally from OE-Classic. Improvements over the OE-Classic recipe for reference: * Update to 1.3.4b * Add workaround for proftpd host IP resolution * Add initscript, borrowed from Debian with some modifications for compatibility and handling for hardcoded paths * Use autotools.bbclass and remove unnecessary configure options * PARALLEL_MAKE = "" is no longer needed, the bug was fixed in 1.3.3c * Set SUMMARY (which sets DESCRIPTION) and base it on the short description from the website * Use useradd.bbclass to add ftp user/group * Add HOMEPAGE * Add/fix description in some patches and improve recipe indentation * Make LICENSE more accurate * Add LIC_FILES_CHKSUM Some of this work was done by Dexuan Cui <dexuan.cui@intel.com> and Kevin Strasser <kevin.strasser@linux.intel.com>. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>