package/apg: add optional dependency to libxcrypt
PATCH 1/9 package/apg: add optional dependency to libxcrypt
When glibc was bumped to version 2.39 in commit b5680f53d60acf8ff6010082f873438a39bd5d97 it removed the deprecated libcrypt support.
As glibc's libcrypt was providing apg's libcrypt dependency this broke the apg build using glibc version 2.39.
To fix this select the libxcrypt dependency to apg when using a glibc toolchain and add the dependency if selected.
Fixes:
http://autobuild.buildroot.net/results/3df84ae300bb648492cffc21e4481fc5abf02aeb/
--- package/apg/Config.in | 1 + package/apg/apg.mk | 4 ++++ 2 files changed, 5 insertions(+)
package/apg/Config.in +1 -0
@@ -1,5 +1,6 @@ config BR2_PACKAGE_APG bool "apg" + select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC help Automated Password Generator (APG).
package/apg/apg.mk +4 -0
@@ -9,6 +9,10 @@ APG_SITE = $(call github,wilx,apg,v$(APG_VERSION)) APG_LICENSE = BSD-3-Clause APG_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_LIBXCRYPT),y) +APG_DEPENDENCIES += libxcrypt +endif + define APG_BUILD_CMDS $(MAKE) $(TARGET_CONFIGURE_OPTS) FLAGS="$(TARGET_CFLAGS)" -C $(@D) endef
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/9 package/apr: add optional dependency to libxcrypt
When glibc was bumped to version 2.39 in commit b5680f53d60acf8ff6010082f873438a39bd5d97 it removed the deprecated libcrypt support.
As glibc's libcrypt was providing apr's libcrypt dependency this broke the apache build using glibc version 2.39.
To fix this select the libxcrypt dependency to apr when using a glibc toolchain and add the dependency if selected.
Fixes:
http://autobuild.buildroot.net/results/11ccf857a70ae9f44e8d3ae39fc01db68632ca64/
--- package/apr/Config.in | 1 + package/apr/apr.mk | 4 ++++ 2 files changed, 5 insertions(+)
package/apr/Config.in +1 -0
@@ -3,6 +3,7 @@ config BR2_PACKAGE_APR # apr really needs shared library support depends on !BR2_STATIC_LIBS depends on BR2_USE_MMU # fork() in apr_proc_fork() + select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC help The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a
package/apr/apr.mk +4 -0
@@ -68,6 +68,10 @@ else APR_CONF_OPTS += --disable-nonportable-atomics endif +ifeq ($(BR2_PACKAGE_LIBXCRYPT),y) +APR_DEPENDENCIES += libxcrypt +endif + ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) APR_DEPENDENCIES += util-linux endif
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 3/9 package/dovecot: add optional dependency to libxcrypt
In reply to Bernd KuhlsWhen glibc was bumped to version 2.39 in commit b5680f53d60acf8ff6010082f873438a39bd5d97 it removed the deprecated libcrypt support.
As glibc's libcrypt was providing dovecot's libcrypt dependency this broke the dovecot build using glibc version 2.39.
To fix this select the libxcrypt dependency to dovecot when using a glibc toolchain and add the dependency if selected.
Fixes:
http://autobuild.buildroot.net/results/99d816fb7a033ec73a958200041f0dcd728e0e87/
--- package/dovecot/Config.in | 1 + package/dovecot/dovecot.mk | 4 ++++ 2 files changed, 5 insertions(+)
package/dovecot/Config.in +1 -0
@@ -2,6 +2,7 @@ config BR2_PACKAGE_DOVECOT bool "dovecot" depends on !BR2_STATIC_LIBS depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_ZLIB help
package/dovecot/dovecot.mk +4 -0
@@ -73,6 +73,10 @@ else DOVECOT_CONF_OPTS += --without-sodium endif +ifeq ($(BR2_PACKAGE_LIBXCRYPT),y) +DOVECOT_DEPENDENCIES += libxcrypt +endif + ifeq ($(BR2_PACKAGE_LINUX_PAM),y) DOVECOT_CONF_OPTS += --with-pam DOVECOT_DEPENDENCIES += linux-pam
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 4/9 package/freeswitch: add optional dependency to libxcrypt
In reply to Bernd KuhlsWhen glibc was bumped to version 2.39 in commit b5680f53d60acf8ff6010082f873438a39bd5d97 it removed the deprecated libcrypt support.
As glibc's libcrypt was providing freeswitch's libcrypt dependency this broke the freeswitch build using glibc version 2.39.
To fix this select the libxcrypt dependency to freeswitch when using a glibc toolchain and add the dependency if selected.
--- package/freeswitch/Config.in | 1 + package/freeswitch/freeswitch.mk | 4 ++++ 2 files changed, 5 insertions(+)
package/freeswitch/Config.in +1 -0
@@ -7,6 +7,7 @@ config BR2_PACKAGE_FREESWITCH depends on BR2_USE_WCHAR # uses wchar_t select BR2_PACKAGE_FFMPEG_SWSCALE if BR2_PACKAGE_FFMPEG select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_JPEG # src/mod/applications/mod_cv/mod_cv.cpp includes # highgui.h, imgproc.hpp & objdetect.hpp
package/freeswitch/freeswitch.mk +4 -0
@@ -229,6 +229,10 @@ FREESWITCH_DEPENDENCIES += libpng FREESWITCH_ENABLED_MODULES += formats/mod_png endif +ifeq ($(BR2_PACKAGE_LIBXCRYPT),y) +FREESWITCH_DEPENDENCIES += libxcrypt +endif + ifeq ($(BR2_PACKAGE_LIBYAML),y) FREESWITCH_DEPENDENCIES += libyaml FREESWITCH_ENABLED_MODULES += languages/mod_yaml
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 5/9 package/leafnode2: add optional dependency to libxcrypt
In reply to Bernd KuhlsWhen glibc was bumped to version 2.39 in commit b5680f53d60acf8ff6010082f873438a39bd5d97 it removed the deprecated libcrypt support.
As glibc's libcrypt was providing leafnode2's libcrypt dependency this broke the leafnode2 build using glibc version 2.39.
To fix this select the libxcrypt dependency to leafnode2 when using a glibc toolchain and add the dependency if selected.
Fixes:
http://autobuild.buildroot.net/results/08f86ce128623105087cda0c5b32a1d0d0cfa166/
--- package/leafnode2/Config.in | 1 + package/leafnode2/leafnode2.mk | 4 ++++ 2 files changed, 5 insertions(+)
package/leafnode2/Config.in +1 -0
@@ -1,6 +1,7 @@ config BR2_PACKAGE_LEAFNODE2 bool "leafnode2" depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_PCRE help Leafnode-2 is a store-and-forward NNTP (or Usenet) proxy
package/leafnode2/leafnode2.mk +4 -0
@@ -14,6 +14,10 @@ LEAFNODE2_AUTORECONF = YES LEAFNODE2_CONF_ENV = \ PCRECONFIG="$(STAGING_DIR)/usr/bin/pcre-config" +ifeq ($(BR2_PACKAGE_LIBXCRYPT),y) +LEAFNODE2_DEPENDENCIES += libxcrypt +endif + # --enable-runas-user use 'news' as default but the configure stop # if news doesn't exist on the build host. # Use 'root' while cross-compiling
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 6/9 package/lighttpd: add optional dependency to libxcrypt
In reply to Bernd KuhlsWhen glibc was bumped to version 2.39 in commit b5680f53d60acf8ff6010082f873438a39bd5d97 it removed the deprecated libcrypt support.
As glibc's libcrypt was providing lighttpd's libcrypt dependency this broke the lighttpd build using glibc version 2.39.
To fix this select the libxcrypt dependency to lighttpd when using a glibc toolchain and add the dependency if selected.
--- package/lighttpd/Config.in | 1 + package/lighttpd/lighttpd.mk | 4 ++++ 2 files changed, 5 insertions(+)
package/lighttpd/Config.in +1 -0
@@ -6,6 +6,7 @@ config BR2_PACKAGE_LIGHTTPD bool "lighttpd" depends on BR2_USE_MMU # fork() depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_XXHASH help lighttpd a secure, fast, compliant and very flexible
package/lighttpd/lighttpd.mk +4 -0
@@ -30,6 +30,10 @@ LIGHTTPD_CONF_OPTS = \ -Dbuild_static=false \ -Dmoduledir=lib/lighttpd +ifeq ($(BR2_PACKAGE_LIBXCRYPT),y) +LIGHTTPD_DEPENDENCIES += libxcrypt +endif + ifeq ($(BR2_PACKAGE_LIGHTTPD_BROTLI),y) LIGHTTPD_DEPENDENCIES += brotli LIGHTTPD_CONF_OPTS += -Dwith_brotli=enabled
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 7/9 package/pure-ftpd: add optional dependency to libxcrypt
In reply to Bernd KuhlsWhen glibc was bumped to version 2.39 in commit b5680f53d60acf8ff6010082f873438a39bd5d97 it removed the deprecated libcrypt support.
As glibc's libcrypt was providing pure-ftpd's libcrypt dependency this broke the pure-ftpd build using glibc version 2.39.
To fix this select the libxcrypt dependency to pure-ftpd when using a glibc toolchain and add the dependency if selected.
Fixes:
http://autobuild.buildroot.net/results/2a62f48973b30873f4da842e75176633398bef86/
--- package/pure-ftpd/Config.in | 1 + package/pure-ftpd/pure-ftpd.mk | 4 ++++ 2 files changed, 5 insertions(+)
package/pure-ftpd/Config.in +1 -0
@@ -2,6 +2,7 @@ config BR2_PACKAGE_PURE_FTPD bool "pure-ftpd" depends on BR2_USE_MMU # fork() select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC help Pure-FTPd is a free (BSD), secure, production-quality and standard- conformant FTP server. It doesn't provide useless
package/pure-ftpd/pure-ftpd.mk +4 -0
@@ -30,6 +30,10 @@ ifeq ($(BR2_PACKAGE_LIBSODIUM),y) PURE_FTPD_DEPENDENCIES += libsodium endif +ifeq ($(BR2_PACKAGE_LIBXCRYPT),y) +PURE_FTPD_DEPENDENCIES += libxcrypt +endif + ifeq ($(BR2_PACKAGE_MARIADB),y) PURE_FTPD_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr PURE_FTPD_DEPENDENCIES += mariadb
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 8/9 package/squid: add optional dependency to libxcrypt
In reply to Bernd KuhlsWhen glibc was bumped to version 2.39 in commit b5680f53d60acf8ff6010082f873438a39bd5d97 it removed the deprecated libcrypt support.
As glibc's libcrypt was providing squid's libcrypt dependency this broke the squid build using glibc version 2.39.
To fix this select the libxcrypt dependency to squid when using a glibc toolchain and add the dependency if selected.
--- package/squid/Config.in | 1 + package/squid/squid.mk | 4 ++++ 2 files changed, 5 insertions(+)
package/squid/Config.in +1 -0
@@ -17,6 +17,7 @@ config BR2_PACKAGE_SQUID depends on BR2_USE_MMU select BR2_PACKAGE_LIBCAP select BR2_PACKAGE_LIBTOOL + select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_LIBXML2 help Caching proxy for the Web supporting HTTP, HTTPS, FTP, and
package/squid/squid.mk +4 -0
@@ -52,6 +52,10 @@ else SQUID_CONF_OPTS += --without-mit-krb5 endif +ifeq ($(BR2_PACKAGE_LIBXCRYPT),y) +SQUID_DEPENDENCIES += libxcrypt +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) SQUID_CONF_OPTS += --with-openssl SQUID_DEPENDENCIES += openssl
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 9/9 package/sysvinit: add optional dependency to libxcrypt
In reply to Bernd KuhlsWhen glibc was bumped to version 2.39 in commit b5680f53d60acf8ff6010082f873438a39bd5d97 it removed the deprecated libcrypt support.
As glibc's libcrypt was providing sysvinit's libcrypt dependency this broke the sysvinit build using glibc version 2.39.
To fix this select the libxcrypt dependency to sysvinit when using a glibc toolchain and add the dependency if selected.
Fixes:
http://autobuild.buildroot.net/results/3a9/3a99389bd7b6db7f9467b34c7bead1d58ce5a18d/
--- package/sysvinit/Config.in | 1 + package/sysvinit/sysvinit.mk | 4 ++++ 2 files changed, 5 insertions(+)
package/sysvinit/Config.in +1 -0
@@ -3,6 +3,7 @@ config BR2_PACKAGE_SYSVINIT depends on BR2_USE_MMU # fork() depends on BR2_INIT_SYSV depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS + select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC help System V style implementation of /sbin/init, parent of all processes
package/sysvinit/sysvinit.mk +4 -0
@@ -18,6 +18,10 @@ SYSVINIT_DEPENDENCIES += libselinux SYSVINIT_MAKE_OPTS += WITH_SELINUX="yes" endif +ifeq ($(BR2_PACKAGE_LIBXCRYPT),y) +SYSVINIT_DEPENDENCIES += libxcrypt +endif + define SYSVINIT_BUILD_CMDS $(TARGET_CONFIGURE_OPTS) $(MAKE) $(SYSVINIT_MAKE_OPTS) -C $(@D)/src endef
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Bernd, All,
On 2024-04-03 17:36 +0200, Bernd Kuhls spake thusly:
Quoted 7 lines
When glibc was bumped to version 2.39 in commit
b5680f53d60acf8ff6010082f873438a39bd5d97it removed the deprecated libcrypt support.As glibc's libcrypt was providing apg's libcrypt dependency this broke the apg build using glibc version 2.39.
Quoted 7 lines
To fix this select the libxcrypt dependency to apg when using a glibc toolchain and add the dependency if selected.
Fixes:
http://autobuild.buildroot.net/results/3df84ae300bb648492cffc21e4481fc5abf02aeb/Signed-off-by Bernd Kuhls <[email protected]>
Thanks a lot for those patches! Whole series applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 38 lines
--- package/apg/Config.in | 1 + package/apg/apg.mk | 4 ++++ 2 files changed, 5 insertions(+)package/apg/Config.in +1
-0@@ -1,5 +1,6 @@ config BR2_PACKAGE_APG bool "apg" + select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC help Automated Password Generator (APG).package/apg/apg.mk +4
-0@@ -9,6 +9,10 @@ APG_SITE = $(call github,wilx,apg,v$(APG_VERSION)) APG_LICENSE = BSD-3-Clause APG_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_LIBXCRYPT),y) +APG_DEPENDENCIES += libxcrypt +endif + define APG_BUILD_CMDS $(MAKE) $(TARGET_CONFIGURE_OPTS) FLAGS="$(TARGET_CFLAGS)" -C $(@D) endefSignature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot