* [Buildroot] [PATCH 1/2] package/proftpd: bump to version 1.3.8d
@ 2025-08-21 9:16 Peter Korsgaard
2025-08-21 9:16 ` [Buildroot] [PATCH 2/2] package/proftpd: fix build w/ gcc-15 Peter Korsgaard
2025-08-22 20:22 ` [Buildroot] [PATCH 1/2] package/proftpd: bump to version 1.3.8d Thomas Petazzoni via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Peter Korsgaard @ 2025-08-21 9:16 UTC (permalink / raw)
To: buildroot
Bugfix release, fixing the following issues:
1.3.8d - Released 14-Mar-2025
--------------------------------
- Issue 1855 - Use of HideNoAccess for SFTP sessions can lead to segfault
and/or unexpected behavior.
- Issue 1876 - SFTP channel allocations can lead to high memory utilization
over time.
1.3.8c - Released 11-Dec-2024
--------------------------------
- Issue 1770 - Using FTPS after upgrading from 1.3.8a to 1.3.8b leads to crash.
- Issue 1785 - Bad handling of lack of extended attributes leads to SFTP out of
memory error.
- Issue 1529 - mod_sftp_sql logs "header value too long" due to unexpected key
header text.
- Issue 1839 - SSH ECDSA host key algorithms not be used as expected despite
configuring appropriate key.
- Issue 1840 - RADIUS Message-Authenticator verification failed with ProFTPD
mod_radius.
- Issue 1830 - Supplemental group inheritance grants unintended access to
GID 0 due to lack of supplemental groups from mod_sql.
https://github.com/proftpd/proftpd/blob/1.3.8/NEWS
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/proftpd/proftpd.hash | 2 +-
package/proftpd/proftpd.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/proftpd/proftpd.hash b/package/proftpd/proftpd.hash
index 5a7d153a31..88b5906945 100644
--- a/package/proftpd/proftpd.hash
+++ b/package/proftpd/proftpd.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 183ab7c6107de271a2959ff268f55c9b6c76b2cf0029e6584fccc019686601e0 proftpd-1.3.8b.tar.gz
+sha256 42ba40d8d5a5a9f28c9dcd7f15aa6b5368fe5efceaacb999041311b170f076d5 proftpd-1.3.8d.tar.gz
sha256 391a473d755c29b5326fb726326ff3c37e42512f53a8f5789fc310232150bf80 COPYING
diff --git a/package/proftpd/proftpd.mk b/package/proftpd/proftpd.mk
index 025fc46e45..84a499a5c0 100644
--- a/package/proftpd/proftpd.mk
+++ b/package/proftpd/proftpd.mk
@@ -4,7 +4,7 @@
#
################################################################################
-PROFTPD_VERSION = 1.3.8b
+PROFTPD_VERSION = 1.3.8d
PROFTPD_SITE = https://github.com/proftpd/proftpd/archive/v$(PROFTPD_VERSION)
PROFTPD_LICENSE = GPL-2.0+
PROFTPD_LICENSE_FILES = COPYING
--
2.39.5
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 2/2] package/proftpd: fix build w/ gcc-15
2025-08-21 9:16 [Buildroot] [PATCH 1/2] package/proftpd: bump to version 1.3.8d Peter Korsgaard
@ 2025-08-21 9:16 ` Peter Korsgaard
2025-08-22 20:22 ` [Buildroot] [PATCH 1/2] package/proftpd: bump to version 1.3.8d Thomas Petazzoni via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2025-08-21 9:16 UTC (permalink / raw)
To: buildroot
The source code contains a number of variables named 'bool', which conflicts
with the C23 keyword. This is fixed upstream in 1.3.9 with
https://github.com/proftpd/proftpd/commit/61be7eb14f200b97804a3cfa85fed51661067c62
but that unfortunately does not cleanly backport to 1.3.8, so instead use
-std=gnu18 when building with GCC >= 15 to fix the following issues:
table.c:1280:31: error: ‘bool’ cannot be used here
1280 | int table_handling_signal(int bool) {
| ^~~~
table.c:1280:31: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/proftpd/proftpd.mk | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/package/proftpd/proftpd.mk b/package/proftpd/proftpd.mk
index 84a499a5c0..d450489cb0 100644
--- a/package/proftpd/proftpd.mk
+++ b/package/proftpd/proftpd.mk
@@ -27,6 +27,14 @@ PROFTPD_CONF_OPTS = \
--with-gnu-ld \
--without-openssl-cmdline
+# source code contains a number of variables named 'bool', which
+# conflicts with the C23 keyword. Fixed upstream in 1.3.9 with
+# https://github.com/proftpd/proftpd/commit/61be7eb14f200b97804a3cfa85fed51661067c62
+# so can be dropped when bumping to that
+ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_15),y)
+PROFTPD_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=gnu18"
+endif
+
ifeq ($(BR2_PACKAGE_LIBIDN2),y)
PROFTPD_DEPENDENCIES += libidn2
endif
--
2.39.5
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [Buildroot] [PATCH 1/2] package/proftpd: bump to version 1.3.8d
2025-08-21 9:16 [Buildroot] [PATCH 1/2] package/proftpd: bump to version 1.3.8d Peter Korsgaard
2025-08-21 9:16 ` [Buildroot] [PATCH 2/2] package/proftpd: fix build w/ gcc-15 Peter Korsgaard
@ 2025-08-22 20:22 ` Thomas Petazzoni via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-08-22 20:22 UTC (permalink / raw)
To: Peter Korsgaard; +Cc: buildroot
On Thu, 21 Aug 2025 11:16:00 +0200
Peter Korsgaard <peter@korsgaard.com> wrote:
> Bugfix release, fixing the following issues:
>
> 1.3.8d - Released 14-Mar-2025
> --------------------------------
> - Issue 1855 - Use of HideNoAccess for SFTP sessions can lead to segfault
> and/or unexpected behavior.
> - Issue 1876 - SFTP channel allocations can lead to high memory utilization
> over time.
Both applied to master, thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-08-22 20:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-21 9:16 [Buildroot] [PATCH 1/2] package/proftpd: bump to version 1.3.8d Peter Korsgaard
2025-08-21 9:16 ` [Buildroot] [PATCH 2/2] package/proftpd: fix build w/ gcc-15 Peter Korsgaard
2025-08-22 20:22 ` [Buildroot] [PATCH 1/2] package/proftpd: bump to version 1.3.8d Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox